summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/23-06-66.ltx
blob: e5ec57df551cf62f9540db392dc76132f0ffb11d (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
%% 
%%  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{166.324pt}
\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}