diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/36-00-59.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples/36-00-59.ltx | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/36-00-59.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/36-00-59.ltx new file mode 100644 index 00000000000..931c6aee7ee --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples/36-00-59.ltx @@ -0,0 +1,49 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% +%% Copyright (C) 2010 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[]{exaarticle} +\pagestyle{empty} +\setlength\textwidth{190.324pt} +\setlength\parindent{0pt} +\StartShownPreambleCommands +\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} + +\StopShownPreambleCommands +\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} |