%% %% A DANTE-Edition example %% %% Example 36-00-57 on page 791. %% %% Copyright (C) 2011 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% %% %% ==== % Show page(s) 1 %% \documentclass[]{article} \pagestyle{empty} \setlength\textwidth{375.57637pt} \setlength\parindent{0pt} \usepackage[tiling]{pst-fill} \usepackage{pst-text} \SpecialCoor \newcommand\TileA{% \psset{unit=0.2}% \begin{pspicture}(2,2) \psframe*[linecolor=red](0,0)(1,1) \psframe*[linecolor=blue](1,0)(2,1) \psframe*[linecolor=yellow](0,1)(1,2) \psframe*[linecolor=green](1,1)(2,2) \end{pspicture}} \newcommand\Hexagon[1]{% \pspolygon*[linecolor=#1](0.5;0)(0.5;60)(0.5;120)(0.5;180)(0.5;240)(0.5;300)} \newcommand\TileB{% \psset{unit=0.5} \begin{pspicture}(1.5,1.732) \rput(0,0){\Hexagon{red}}\rput(.75,0.433){\Hexagon{yellow}} \rput(0,0.866){\Hexagon{cyan}}\rput(.75,1.3){\Hexagon{green}} \end{pspicture}} \DeclareFixedFont{\bigrm}{T1}{ptm}{m}{n}{3cm} \begin{document} \begin{pspicture}(10,2.2) \psboxfill{\TileA} \pscharpath[fillstyle=boxfill,fillloopadd=3]{\rput[b](4.5,0){\bigrm Donald}} \end{pspicture} \end{document}