diff options
Diffstat (limited to 'info/examples/lgc2/6-7-50.ltx')
-rw-r--r-- | info/examples/lgc2/6-7-50.ltx | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/info/examples/lgc2/6-7-50.ltx b/info/examples/lgc2/6-7-50.ltx new file mode 100644 index 0000000000..492bd99b71 --- /dev/null +++ b/info/examples/lgc2/6-7-50.ltx @@ -0,0 +1,51 @@ +%% +%% The LaTeX Graphics Companion, 2ed (first printing May 2007) +%% +%% Example 6-7-50 on page 453. +%% +%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss +%% +%% 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. +%% + +\documentclass{ttctexa} +\pagestyle{empty} +\setcounter{page}{6} +\setlength\textwidth{348.0pt} +\AtBeginDocument{% +% we turn some of the colors to gray for the book +\definecolor{RougeA}{gray}{0.915} +\definecolor{RougeB}{gray}{0.88} +\definecolor{RougeC}{gray}{0.845} +\definecolor{RougeD}{gray}{0.81} +\definecolor{RougeE}{gray}{0.775} +\definecolor{RougeF}{gray}{0.74} +\definecolor{RougeG}{gray}{0.705} +\definecolor{RougeH}{gray}{0.67} +\definecolor{RougeI}{gray}{0.635} +\definecolor{RougeJ}{gray}{0.6} +\definecolor{RougeK}{gray}{0.565} +\definecolor{RougeL}{gray}{0.53} +%\definecolor{blue}{cmyk}{1,0.56,0,0} +\definecolor{red}{cmyk}{0,0,0,.4} +\definecolor{cyan}{cmyk}{0,0,0,.3} +\definecolor{green}{cmyk}{0,0,0,.2} +\definecolor{yellow}{cmyk}{0,0,0,.1} +} +\StartShownPreambleCommands +\usepackage{pstricks,pst-calendar,graphicx} +\StopShownPreambleCommands +\begin{document} +\psset{Year=2007} +\resizebox{\linewidth}{!}{\begin{tabular}{cccc} + \psCalendar[Month=3] & \psCalendar[Month=5] & + \psCalendar[Month=7] & \psCalendar[Month=9] +\end{tabular}} + +\psscalebox{0.25}{\psCalDodecaeder[style=february]} \hfill +\psscalebox{0.25}{\psCalDodecaeder[style=september]} +\end{document} |