summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/22-06-66.ltx
blob: 134a1c5cab8ef57f82f23fa5a364a5f4089aab91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 22-06-66 auf Seite 441.
%% 
%%  Copyright (C) 2016 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{169.16928pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pst-solides3d}
%StopShownPreambleCommands
\begin{document}
\begin{pspicture}(-3,-4)(4,5)
\psset{unit=0.5,fontsize=150,Decran=50,
  viewpoint=50 20 30 rtp2xyz,solidmemory}
\psSolid[object=cube,a=8,action=draw,name=A]
\psSolid[object=plan,action=none,
  definition=solidface,args=A 0,name=P0]
\psProjection[object=texte,text=0,
  plan=P0,linecolor=cyan]
\psSolid[object=plan,action=none,
  definition=solidface,args=A 1,name=P1]
\psProjection[object=texte,text=1,
  plan=P1,phi=180,linecolor=cyan]
\psSolid[object=plan,action=none,
  definition=solidface,args=A 4,name=P4]
\psProjection[object=texte,text=4,
  plan=P4,phi=-90,linecolor=cyan]
\axesIIID[showOrigin=false](4,4,4)(9,6,7)
\end{pspicture}
\end{document}