diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-18 23:32:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-18 23:32:15 +0000 |
commit | 0a11b23c3bc0c1e82d3eb3d880e4bd642660259d (patch) | |
tree | 5d5e5ab80a9648358af358f78b7dc3bca446296f /Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex | |
parent | 1815e02ffa033df14fdb9b47950291b87c8a3e84 (diff) |
pst-perspective (18apr14)
git-svn-id: svn://tug.org/texlive/trunk@33524 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex | 99 |
1 files changed, 94 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex b/Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex index 05574b9d6de..966b729ee6f 100644 --- a/Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex +++ b/Master/texmf-dist/doc/generic/pst-perspective/pst-perspective-docEN.tex @@ -1,5 +1,5 @@ \PassOptionsToPackage{dvipsnames}{xcolor} -\PassOptionsToPackage{distiller}{pstricks} +%\PassOptionsToPackage{distiller}{pstricks} \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false, smallheadings, headexclude,footexclude,oneside]{pst-doc} \usepackage[utf8]{inputenc} @@ -7,9 +7,8 @@ \usepackage{multido,pst-grad,pst-eucl,pst-3dplot,pstricks-add} \usepackage{pst-perspective} -\lstset{language=PSTricks,morekeywords={pstransTSK,pstransTSX,pstransTS,pstMarkAngle,psIntersectionPoint,psboxTS}} -\def\fileversion{1.03} +\def\fileversion{1.04} \let\pstPerspectiveFV\fileversion \renewcommand\bgImage{\psscalebox{0.85}{% \begin{pspicture}[showgrid=false](0.5,-0.5)(11.5,8.5) @@ -32,13 +31,19 @@ \pspolygon[fillstyle=solid,fillcolor=cyan!30,opacity=0.4,linecolor=blue](A')(B')(C')(D')(E')(F')(G')(H') \pspolygon[fillstyle=solid,fillcolor=yellow!40,opacity=0.2,linewidth=0.9pt,linecolor=red](A)(B)(C)(D)(E)(F)(G)(H) \pcline[linewidth=1.3pt](0,0|O)(11,0|O) +\psset{toplinewidth=0.5pt,opacity=0.3,vkf=0.4,phi=33,topfillcolor=cyan} +\psboxTS[linewidth=0.5pt,opacity=0.2,linejoin=1,hideline=true,dash=2pt 2pt,hidelinewidth=0.3pt](-2,8,1){4}{4}{4}{green} +\rput(10,1){\psZylinderTS[opacity=0.6,linewidth=0.5pt,fillstyle=gradient,gradbegin=black!90!blue!80,% +gradend=black!40!blue!30,gradangle=90,gradmidpoint=0.25]{2}{4}} +\psboxTS[linewidth=0.5pt,opacity=0.1,linejoin=1](-2,8,1){4}{4}{4}{green} \end{pspicture} }} \parindent0pt -\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}}, - escapechar=?} +\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}},language=PSTricks, +morekeywords={pstransTSK,pstransTSX,pstransTS,pstMarkAngle,psIntersectionPoint,psboxTS,pstThreeDPlaneGrid,psZylinderTS,psCircleTS,psCircleTSX, +psArcTS,psArcTSX}, escapechar=?} %\lstset{language=PSTricks,morekeywords={pst-perspective},basicstyle=\footnotesize\ttfamily} % @@ -730,8 +735,92 @@ This macro and the others as well can be used in combination with the pst-3dplot \end{pspicture} \end{LTXexample} +\newpage + +\section{Macros for circles and arcs} + +\begin{BDef} +\Lcs{psCircleTS}\OptArgs\Largb{\rm{Radius}},\\ +\Lcs{psCircleTSX}\OptArgs\Largb{\rm{Radius}} +\end{BDef} + +\begin{BDef} +\Lcs{psArcTS}\OptArgs\Largb{\rm{Radius}}\Largb{\rm{Startwinkel}}\Largb{\rm{\"{u}berstrichener Winkel}},\\ +\Lcs{psArcTSX}\OptArgs\Largb{\rm{Radius}}\Largb{\rm{Startwinkel}}\Largb{\rm{\"{u}berstrichener Winkel}} +\end{BDef} + +%\nxLcs{psCircleTS}, \nxLcs{psCircleTSX}, \nxLcs{psarcTS}, \nxLcs{psarcTSX}, \nxLcs{psZylinderTS}} + +\begin{LTXexample}[pos=t] +\begin{pspicture}[showgrid=true,shift=-4.9](0.5,-0.5)(14,7.3) +\rput(2,4){\psCircleTS[fillstyle=solid,fillcolor=blue,opacity=0.5]{2}} +\rput(10,2){\psCircleTSX[fillstyle=solid,fillcolor=red,opacity=0.5]{2}} +\rput(5,2){\psArcTS[linecolor=green,linewidth=0.5pt]{2}{0}{90}} +\psArcTSX[linecolor=magenta,linewidth=0.5pt,originT={6,4},symX=false]{1.5}{0}{120} +\end{pspicture} +\end{LTXexample} \newpage + +\section{Macro for cylinder} + +\begin{BDef} +\Lcs{psZylinderTS}\OptArgs\Largb{\rm{Radius}}\Largb{\rm{H\"{o}he}} +\end{BDef} + +\begin{LTXexample}[pos=t] +\begin{pspicture}[showgrid=true,shift=-4.9](0.5,-0.5)(14,8.8) +\psset{toplinewidth=0.3pt,toplinecolor=cyan} +\rput(10,1){% +\psZylinderTS[opacity=0.6,fillstyle=gradient,gradbegin=black!90!blue!80,gradend=black!40!blue!30,gradangle=90,% +gradmidpoint=0.3,linecolor=cyan,linewidth=0.8pt]{2.5}{6}} +{\psset{phi=30,vkf=2 sqrt 2 div,opacity=0.2} +\psboxTS[hideline=true](-1,2,2){2}{2}{4}{green} +\rput(3,2){% +\psZylinderTS[opacity=0.6,fillstyle=gradient,gradbegin=black!90!blue!80,gradend=black!40!blue!30,gradangle=90,% +gradmidpoint=0.3,linecolor=cyan,linewidth=0.8pt]{1}{4}} +\psboxTS[hideline=false](-1,2,2){2}{2}{4}{green} +} +\end{pspicture} +\end{LTXexample} + +\newpage + +The following additional options are possible for the cylinder so that the top surface of the cylinder can be designed independently. + +\begin{BDef} +\Lcs{pstransTS}[\OptArg*{\nxLkeyword{topfillstyle}}],\\ +\Lcs{pstransTS}[\OptArg*{\nxLkeyword{topmidpoint}}],\\ +\Lcs{pstransTS}[\OptArg*{\nxLkeyword{topangle}}],\\ +\Lcs{pstransTS}[\OptArg*{\nxLkeyword{toplinecolor}}],\\ +\Lcs{pstransTS}[\OptArg*{\nxLkeyword{topfillcolor}}],\\ +\Lcs{pstransTS}[\OptArg*{\nxLkeyword{toplinewidth}}] +\end{BDef} + + +In addition, with \Lkeyset{hideline=true}, \Lkeyset{hidelinewidth=}, \Lkeyset{hidelinestyle=} and \Lkeyset{hidecolor=} covert line of the cylinder with different attributes are displayed. + +\begin{LTXexample}[pos=t] +\begin{pspicture}[showgrid=true](1,-0.3)(16,6) +\psset{toplinewidth=0.5pt,opacity=0.3} +{\psset{vkf=0.4,phi=33,topfillcolor=red} +\psboxTS[linewidth=0.5pt,opacity=0.2,linejoin=1,hideline=true,dash=2pt 2pt,hidelinewidth=0.3pt](-2,2,1){4}{4}{4}{green} +\rput(4,1){\psZylinderTS[opacity=0.6,linewidth=0.5pt,fillstyle=gradient,gradbegin=black!90!blue!80,% +gradend=black!40!blue!30,gradangle=90,gradmidpoint=0.25]{2}{4}} +\psboxTS[linewidth=0.5pt,opacity=0.1,linejoin=1](-2,2,1){4}{4}{4}{green}} +{\psset{vkf=0.7,phi=60,topfillstyle=gradient,topmidpoint=0.4,topangle=90} +\psboxTS[linewidth=0.5pt,opacity=0.2,linejoin=1,hideline=true,dash=2pt 2pt,hidelinewidth=0.3pt](-2,8,1){4}{4}{4}{cyan} +\rput(10,1){\psZylinderTS[hideline=true,hidecolor=orange,dash=2pt 2pt,% +hidelinewidth=0.3pt,opacity=0.6,linewidth=0.5pt,fillstyle=gradient,gradbegin=black!90!blue!80,% +gradend=black!40!blue!30,gradangle=90,gradmidpoint=0.25]{2}{4}} +\psboxTS[linewidth=0.5pt,opacity=0.1,linejoin=1](-2,8,1){4}{4}{4}{cyan}} +\rput{-90}(13,1){\psZylinderTS[phi=-30,linewidth=0.5pt,fillstyle=gradient,gradbegin=black!90!green!80,% +gradend=black!40!green!30,gradangle=90,gradmidpoint=0.25,topfillstyle=gradient,topmidpoint=0.5,topangle=35]{1}{3}} +\end{pspicture} +\end{LTXexample} + +\newpage + \section{Examples} \begin{LTXexample}[pos=t] |