diff options
author | Karl Berry <karl@freefriends.org> | 2020-08-04 21:27:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-08-04 21:27:23 +0000 |
commit | 40b7a17d9a7fae639bf4f42c43a3b3e9541ddef6 (patch) | |
tree | d57b5fbed8f1e7b3e1d7791de689abe71e51e99f /Master/texmf-dist/doc/generic | |
parent | 8e5194535eaedd65d996aacc7a818a4974117cb7 (diff) |
pst-3dplot (4aug20)
git-svn-id: svn://tug.org/texlive/trunk@56043 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-3dplot/Changes | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-3dplot/README | 35 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf | bin | 3020360 -> 2382647 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex | 32 |
4 files changed, 23 insertions, 45 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/Changes b/Master/texmf-dist/doc/generic/pst-3dplot/Changes index baa9872ce34..52a55130856 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/Changes +++ b/Master/texmf-dist/doc/generic/pst-3dplot/Changes @@ -20,6 +20,7 @@ pst-3dplot.pro -------- pst-3dplot.tex -------- +2.05 2020-08-04 - fix for hiddenLine 2.04 2017-04-05 - added coorType=7 2.03 2014-12-01 - modifications to coorType=6 2.02 2014-09-01 - use the alternative for hidden lines of \psThreeDBox diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/README b/Master/texmf-dist/doc/generic/pst-3dplot/README index d6642cec840..31d732ee7a9 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/README +++ b/Master/texmf-dist/doc/generic/pst-3dplot/README @@ -2,7 +2,7 @@ %% %% Herbert Voss <hvoss@tug.org> %% -%% 2014-02-01 +%% 2020-08-04 %% PSTricks offers excellent macros to insert more or less complex @@ -13,36 +13,3 @@ dimensional graphical objects. pst-3dplot is similiar to the pst-plot package for two dimensional objects and mathematical functions. -Save the files - -pst-3dplot.sty -pst-3dplot.tex -pst-3dplot.pro - -in any place, where latex or any other TeX program will find it. -The pro file should go into $TEXMF$/dvips/pstricks/. - -pst-3dplot uses the extended version of the keyval package. So -be sure that you -- have installed xkeyval with the special pst-xkey - (CTAN: /macros/latex/contrib/xkeyval/) -- do not load another package after pst-3dplot, which loads - the old keyval.sty or pst-key.tex - - -If you like to get the documentation file in another format run - -latex pst-3dplot-doc.tex -bibtex pst-3dplot-doc -latex pst-3dplot-doc.tex -dvips pst-3dplot-doc.dvi - -to get a PostScript file. But pay attention, that the pst-3dplot -files are saved in the above mentioned way, before you run -latex on the documentation file. - -The intermediate DVI file works only with viewers which can -interprete the embedded PostScript code. - -For another PDF output read the introduction from -the documentation. diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf Binary files differindex 5445581f931..dab17352ac4 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex index f44958f1811..775c5d55e25 100644 --- a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex @@ -1,15 +1,11 @@ \input{pst-3dplot-doc.dat} -%% $Id: pst-3dplot-doc.tex 401 2017-04-05 06:57:36Z herbert $ -\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings +%% $Id: pst-3dplot-doc.tex 21 2020-08-04 12:53:07Z herbert $ +\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings, headexclude,footexclude,oneside,dvipsnames,svgnames]{pst-doc} \listfiles \usepackage[utf8]{inputenc} - -\usepackage{biblatex} -\addbibresource{\jobname.bib} - \usepackage{pst-grad,pst-3dplot} \let\pstFV\fileversion \let\belowcaptionskip\abovecaptionskip @@ -19,6 +15,8 @@ %\usepackage{tabularx} %\usepackage{longtable} % +\usepackage{biblatex} +\addbibresource{\jobname.bib} \makeatletter \renewcommand*\l@subsection{\bprot@dottedtocline{2}{1.5em}{3.6em}} @@ -1266,7 +1264,8 @@ A box is a special case of a square and has the syntax \end{BDef} -These are the origin vector $\vec{o}$ and three direction vectors $\vec{u}$, $\vec{v}$ and $\vec{w}$, +These are the origin vector $\vec{o}$ and three direction vectors $\vec{u}$ ($x$ direction) , $\vec{v}$ ($y$ direction) +and $\vec{w}$ ($z$ direction), which are for example shown in the following figure. @@ -1291,16 +1290,24 @@ which are for example shown in the following figure. \begin{pspicture}(-2,-1.25)(3,4.25) \psset{Alpha=30,Beta=30} \pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4] - \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0) + \pstThreeDBox[hiddenLine](-1,1,2)(2,0,0)(0,1,0)(0,0,2) \pstThreeDDot[drawCoor=true](-1,1,2) \end{pspicture} \end{LTXexample} + +Hidden lines are only possible if you view the object from the +front and not from behind. + +\iffalse + +If you are looking from behind, then change the order of the ditection vectors: + \begin{LTXexample}[width=5.25cm] \begin{pspicture}(-2,-1.25)(3,4.25) \psset{Alpha=210,Beta=30} \pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4] - \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0) + \pstThreeDBox[hiddenLine,alternative](-1,1,2)(2,0,0)(0,1,0)(0,0,2) \pstThreeDDot[drawCoor=true](-1,1,2) \end{pspicture} \end{LTXexample} @@ -1318,7 +1325,7 @@ which are for example shown in the following figure. \begin{pspicture}(-2,-1.25)(3,4.25) \psset{Alpha=130,Beta=30} \pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4] - \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0) + \pstThreeDBox[hiddenLine](-1,1,2)(2,0,0)(0,1,0)(0,0,2) \pstThreeDDot[drawCoor=true](-1,1,2) \end{pspicture} \end{LTXexample} @@ -1327,11 +1334,14 @@ which are for example shown in the following figure. \begin{pspicture}(-2,-1.25)(3,4.25) \psset{Alpha=130,Beta=100} \pstThreeDCoor[xMin=-3,xMax=1,yMin=-1,yMax=2,zMin=-1,zMax=4] - \pstThreeDBox[hiddenLine](-1,1,2)(0,0,2)(2,0,0)(0,1,0) + \pstThreeDBox[hiddenLine](-1,1,2)(2,0,0)(0,1,0)(0,0,2) \pstThreeDDot[drawCoor=true](-1,1,2) \end{pspicture} \end{LTXexample} +\fi + +\clearpage \begin{BDef} \Lcs{psBox}\OptArgs\Largr{vector o}\Largb{width}\Largb{depth}\Largb{height} |