diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-79.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-79.ltx | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-79.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-79.ltx new file mode 100644 index 00000000000..3651c368ef2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-79.ltx @@ -0,0 +1,38 @@ +%% +%% A DANTE-Edition example +%% +%% Example 23-06-79 on page 431. +%% +%% 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[dvipsnames,svgnames]{pstricks} \usepackage{pst-solides3d} + +\begin{document} +\psset{viewpoint=50 50 20 rtp2xyz,Decran=20,linewidth=0.01} +\begin{pspicture}(-2.5,-1.5)(2.5,1) +\psSolid[object=grille,base=-3 5 -3 3,hue=(Yellow) (CadetBlue)] +\end{pspicture} +% +\begin{pspicture}(-2.5,-1.5)(2.5,1) +\psSolid[object=grille,base=-3 5 -3 3,color1=red!50,color2=green!20,hue=(color1) (color2)] +\end{pspicture} +% +\begin{pspicture}(-2.5,-1.5)(2.5,1) +\psSolid[object=grille,base=-3 5 -3 3,hue=(Yellow) (CadetBlue),deactivatecolor] +\end{pspicture} +\end{document} |