diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex | 47 |
1 files changed, 30 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex index ad125eebf20..1307b9d58dc 100644 --- a/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex @@ -1,13 +1,17 @@ %% $Id: pst-dart-doc.tex 728 2018-02-09 19:29:41Z herbert $ -\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false, - headings=small, headinclude=false,footinclude=false,oneside]{pst-doc} -\usepackage[utf8]{inputenc} -\usepackage{dtk-logos} + +\errorcontextlines=100 +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{} +\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, + headinclude=false,footinclude=false,twoside,english]{pst-doc} + +\usepackage{hvlogos,iftex} \usepackage{pst-dart} \let\pstDartFV\fileversion -\renewcommand\bgImage{\psDartBoard[unit=2,fontsize=15pt]} +\renewcommand\bgImage{}%\psDartBoard[unit=2,fontsize=15pt]} -\addbibresource{pst-dart-doc.bib} +\addbibresource{\jobname.bib} \lstset{language=PSTricks, @@ -25,12 +29,14 @@ % \begin{document} + + \title{\texttt{pst-dart}} \subtitle{Plotting a Dart ; v.\pstDartFV} \author{Thomas Söll\\Herbert Voß} \docauthor{} \date{\today} -\maketitle +\settitle \tableofcontents @@ -62,6 +68,7 @@ \section{Examples} \subsection{The default size} + \begin{LTXexample} \begin{pspicture}[showgrid](-3,-3)(9,3) \psDartBoard % The default Dartboard (radius=2.1cm) @@ -70,6 +77,7 @@ \end{LTXexample} + \subsection{Scaling} \begin{LTXexample}[pos=r,width=0.58\linewidth] @@ -132,30 +140,35 @@ environment \Lenv{pspicture} as can be seen in the above examples.. \section{Changing the viewpoint} -You can change the viewpoint with the two optional arguments \Lkeyword{preCode}\footnote{There is also a \Lkeyword{postCode}, -which is not of real interest here.} -which allow to change the transformation matrix of PostScript. However, it does \emph{not} work -with \XeLaTeX, you have to choose the Sequenz \texttt{latex}$\rightarrow$\texttt{dvips}$\rightarrow$\texttt{ps2pdf}. +You can change the viewpoint with the optional argument +\Lkeyword{viewpoint} +%\footnote{There is also a \Lkeyword{postCode}, +%which is not of real interest here.} +which expects three space separated values for $x$ $y$ $z$, where at least one value must be unless 0. +%allow to change the transformation matrix of PostScript. However, it does \emph{not} work +%with \XeLaTeX, you have to choose the Sequenz \texttt{latex}$\rightarrow$\texttt{dvips}$\rightarrow$\texttt{ps2pdf}. + \begin{LTXexample}[pos=t] -\begin{pspicture}(-4.5,-4.5)(4.5,4.5) -\psDartBoard[preCode={[1 0.2 0.5 1 0 0 ] concat },fontsize=18pt,unit=1.5] -\psDart[unit=0.5,rot=45](1,-1) +\begin{pspicture}(-2,-3)(12,4) +\psDartBoard[boardview=1 0 0,fontsize=18pt,unit=1.5] +\psDart[unit=0.5,rot=110](1,-1) +%% +\psDartBoard[boardview=1 0 1,fontsize=18pt,unit=1.5](10cm,0) +\psDart[unit=0.5,rot=50](9cm,-1cm) \end{pspicture} \end{LTXexample} - - \clearpage \section{List of all optional arguments for \texttt{pst-dart}} \xkvview{family=pst-dart,columns={key,type,default}} +\nocite{*} \bgroup \RaggedRight -\nocite{*} \printbibliography \egroup |