summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-11-23 21:02:52 +0000
committerNorbert Preining <preining@logic.at>2007-11-23 21:02:52 +0000
commit5653ce628aa53a3e9e43cc96795c69275605411e (patch)
treeb5f68e1299750710e310fda88d5fc0ad8982ed83 /Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex
parent2f8e0a1a87cf9aea619c2fc175a5b904f342086b (diff)
pst-light3d update
git-svn-id: svn://tug.org/texlive/trunk@5581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex79
1 files changed, 47 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex b/Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex
index 2393f159be4..4276ca2d2ab 100644
--- a/Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-light3d/pst-light3d-doc.tex
@@ -11,7 +11,12 @@
%
\usepackage{pst-plot}
\usepackage{pst-tree}
-\usepackage{pst-example}
+\usepackage{showexpl,xspace}
+\def\PST{{\texttt{PSTricks}}\xspace}
+\def\PDF{{\texttt{PDF}}\xspace}
+\def\pst{{\texttt{pstricks}}\xspace}
+\def\PS{PostScript\xspace}
+\newcommand*\CMD[1]{{\UrlFont\texttt{\textbackslash #1}}}
\usepackage{url}
\def\PstLightThreeDPackage{\texttt{pst-light3d}}
\definecolor{DarkGreen}{cmyk}{1,0,1,0.8}
@@ -49,83 +54,83 @@ Documentation revised by Herbert Voß}}
using the \cs{PstLightThreeDGraphic} macro, with various customization parameters.
\end{abstract}
%
-\tableofcontents
+%\tableofcontents
\clearpage
\section{Examples}
-\begin{Beispiel}[colwidth=5.5cm]
+\begin{LTXexample}[width=5.5cm]
\DeclareFixedFont{\Bf}{T1}{ptm}{b}{n}{3cm}
\PstLightThreeDText[fillstyle=solid,fillcolor=white]{\Bf Test}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=5.5cm]
+\begin{LTXexample}[width=5.5cm]
\DeclareFixedFont{\Bf}{T1}{ptm}{b}{n}{3cm}
\PstLightThreeDText[linestyle=none,fillstyle=solid, fillcolor=darkgray]{\Bf Test}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=5.5cm]
+\begin{LTXexample}[width=5.5cm]
\psset{linestyle=none,fillstyle=solid,fillcolor=LightGreen}%
\PstLightThreeDText[LightThreeDAngle=0]{\Bf Test}\\[0.5cm]
\PstLightThreeDText[LightThreeDAngle=90]{\Bf Test}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=5.5cm]
+\begin{LTXexample}[width=5.5cm]
\psset{linestyle=none,fillstyle=solid,fillcolor=magenta,}%
\PstLightThreeDText[LightThreeDXLength=0.5, LightThreeDYLength=-1]{\Bf Test}\\[1cm]
\PstLightThreeDText[LightThreeDXLength=-1, LightThreeDYLength=0.5]{\Bf Test}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=5.5cm]
+\begin{LTXexample}[width=5.5cm]
\DeclareFixedFont{\Sf}{T1}{phv}{b}{n}{3cm}
\psset{linestyle=none,fillstyle=solid,fillcolor=cyan}%
\PstLightThreeDText[LightThreeDColorPsCommand=1.2 div setgray]{\Sf 123}\\[1cm]
\PstLightThreeDText[LightThreeDColorPsCommand=2.5 div setgray]{\Sf 123}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=5.5cm]
+\begin{LTXexample}[width=5.5cm]
\DeclareFixedFont{\Rm}{T1}{ptm}{m}{n}{3cm}
\psset{linestyle=none,fillstyle=solid}%
\PstLightThreeDText[fillcolor=Violet, LightThreeDColorPsCommand=%
2.5 div 0.7 exch 0.8 sethsbcolor]{\Rm 987}\\[1cm]
\PstLightThreeDText[fillcolor=DarkGreen, LightThreeDColorPsCommand=%
2 div 0.5 exch 0.2 exch sethsbcolor]{\Rm 987}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}
+\begin{LTXexample}[pos=t]
\DeclareFixedFont{\Rmb}{T1}{ptm}{m}{n}{4cm}
\PstLightThreeDText[linestyle=none,fillstyle=solid,fillcolor=Gold, LightThreeDColorPsCommand=%
1.2 div 0.15 exch 0.7 exch sethsbcolor]{\Rmb PSTricks}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=4cm]
+\begin{LTXexample}[width=4cm]
\psset{unit=0.5cm,linestyle=solid,fillstyle=none}%
\pspicture(-0.1,-3.5)(7.2,3)
\PstLightThreeDGraphic[LightThreeDXLength=0.4, LightThreeDColorPsCommand=%
1.2 div 0.15 exch 0.7 exch sethsbcolor]{%
\pscurve(0,2)(1,-3)(2,2)(4,3)(7,0)}
\endpspicture
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=4cm]
+\begin{LTXexample}[width=4cm]
\psset{unit=0.5cm,linestyle=solid,fillstyle=none}%
\pspicture(0,-3.5)(7.7,3)
\PstLightThreeDGraphic[LightThreeDXLength=0.8, LightThreeDColorPsCommand=%
2 div 0.35 exch 0.9 exch sethsbcolor]{\pspolygon(0,2)(1,-3)(2,0)(4,1)(6,1)(7,3)}
\endpspicture
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=4cm]
+\begin{LTXexample}[width=4cm]
\psset{unit=0.5cm,linestyle=solid,fillstyle=none}%
\pspicture(0.5,-3.6)(3.8,3)
\PstLightThreeDGraphic[LightThreeDColorPsCommand=%
2.6 div 0.12 exch 0.7 exch sethsbcolor]{\psellipse(2,0)(1.5,3)}
\endpspicture
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=4cm]
+\begin{LTXexample}[width=4cm]
\SpecialCoor
\def\PstCoordinates{}%
\Multido{\nDistance=0.00+0.02,\iAngle=0+20}{200}{%
@@ -135,9 +140,9 @@ Documentation revised by Herbert Voß}}
\PstLightThreeDGraphic[LightThreeDLength=0.2, LightThreeDColorPsCommand=%
1.2 div 0.3 exch 0.7 exch sethsbcolor]{\expandafter\pscurve\PstCoordinates}
\endpspicture
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}[colwidth=4cm]
+\begin{LTXexample}[width=4cm]
\SpecialCoor
\def\PstCoordinates{}%
\Multido{\nDistance=0.00+0.02,\iAngle=0+20}{200}{%
@@ -149,19 +154,21 @@ Documentation revised by Herbert Voß}}
\pstVerb{ /Counter 0 def }%
\expandafter\pscurve\PstCoordinates}
\endpspicture
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}
-\PstLightThreeDGraphic[LightThreeDXLength=0.2, LightThreeDYLength=-0.2, LightThreeDColorPsCommand=%
- 1.2 div 0.65 exch 0.9 sethsbcolor]{%
+\begin{LTXexample}[pos=t]
+\PstLightThreeDGraphic[LightThreeDXLength=0.2,
+ LightThreeDYLength=-0.2,
+ LightThreeDColorPsCommand=
+ 1.2 div 0.65 exch 0.9 sethsbcolor]{%
\large \let\TovalORIG\Toval \def\Toval#1{\TovalORIG{\raise2mm\hbox{\hskip2mm#1}}}%
\let\TtriORIG\Ttri \def\Ttri#1{\TtriORIG{\raise3mm\hbox{#1}}}%
\psset{framesep=0.15,fillstyle=gradient,gradmidpoint=0, gradbegin=cyan,gradend=blue}%
\pstree[treesep=0.5]{\Ttri{Jane}} {\psset{framesep=0.25}%
\pstree{\Toval{Marc}} {\Toval{Bob}\Toval{Ann}\Toval{Peter}}}}
-\end{Beispiel}
+\end{LTXexample}
-\begin{Beispiel}
+\begin{LTXexample}[pos=t]
\psset{xunit=8cm,yunit=3cm}%
\pspicture(-0.45,-1.6)(1,1.3)%
\psaxes[Dx=0.2,Oy=-1.2,Dy=0.2,tickstyle=top, axesstyle=frame](0,-1.2)(1,1.2)%
@@ -174,7 +181,15 @@ Documentation revised by Herbert Voß}}
\rput(-0.3,-0.1){\textcolor{blue}{$\cos (40 \times x) / 2$}}%
\rput(0.5,-1.5){$x$}%
\endpspicture
-\end{Beispiel}
+\end{LTXexample}
%
+
+\nocite{*}
+\bgroup
+\raggedright
+\bibliographystyle{plain}
+\bibliography{\jobname}
+\egroup
+
\end{document}