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 | 119 |
1 files changed, 119 insertions, 0 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 new file mode 100644 index 00000000000..26ee928df7a --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-dart/pst-dart-doc.tex @@ -0,0 +1,119 @@ +%% $Id: pst-dart-doc.tex 714 2018-01-28 19:38:02Z 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{pst-dart} +\let\pstDartFV\fileversion +\renewcommand\bgImage{\psDart[unit=2,fontsize=15pt]} + +\addbibresource{pst-dart-doc.bib} + + +\lstset{language=PSTricks, + morekeywords={psDart},basicstyle=\footnotesize\ttfamily, + literate=% + {Ö}{{\"O}}1 + {Ä}{{\"A}}1 + {Ü}{{\"U}}1 + {ß}{{\ss}}1 + {ü}{{\"u}}1 + {ä}{{\"a}}1 + {ö}{{\"o}}1 + {~}{{\textasciitilde}}1 +} +% +\begin{document} + +\title{\texttt{pst-dart}} +\subtitle{Plotting a Dart ; v.\pstDartFV} +\author{Thomas Söll\\Herbert Voß} +\docauthor{} +\date{\today} +\maketitle + +\tableofcontents + + +\clearpage + +%\begin{abstract} +%\noindent +%\LPack{pst-func} loads by default the following packages: \LPack{pst-plot}, +%\LPack{pstricks-add}, \LPack{pst-math}, \LPack{pst-xkey}, and, of course \LPack{pstricks}. +%All should be already part of your local \TeX\ installation. If not, or in case +%of having older versions, go to \url{http://www.CTAN.org/} and load the newest version. + +%\vfill\noindent +%Thanks to \\ +% Michael Zedler, +%and last but not least +% \url{http://mathworld.wolfram.com}. + +%\end{abstract} + +\section{Syntax of \Lcs{psDart}} + + +\begin{BDef} +\Lcs{psDart}\OptArgs\OptArg*{$(x_0,y_0)$} +\end{BDef} + +\section{Examples} +\subsection{The default size} + +\begin{LTXexample} +\begin{pspicture}[showgrid](-3,-3)(9,3) +\psDart % The default Dartboard (radius=2.1cm) +\psDart[fontsize=7pt](6cm,0) +\end{pspicture} +\end{LTXexample} + + +\subsection{Scaling} + +\begin{LTXexample}[pos=r,width=0.58\linewidth] +\begin{pspicture}[showgrid](-5,-5)(5,5) +\psDart[unit=2] +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=r,width=0.58\linewidth] +\begin{pspicture}[showgrid](-5,-5)(5,5) +\psDart[fontsize=15pt,unit=2] +\end{pspicture} +\end{LTXexample} + + +\subsection{Space} + +\Lcs{psDart} itself uses internally already an environment \Lenv{pspicture} which +reserves the space. But an internal \Lcs{rput} command places the dartboard without specifying +coordinates at the origin which is the reason why one has to reserve space with an additional +environment \Lenv{pspicture} as can be seen in the above examples.. + +%\psset{unit=1cm} + + +%\begin{LTXexample}[pos=r,width=0.6\linewidth] +%foo\psDart bar +%\end{LTXexample} + + + + + +\clearpage +\section{List of all optional arguments for \texttt{pst-func}} +\xkvview{family=pst-dart,columns={key,type,default}} + +\bgroup +\RaggedRight +\nocite{*} +\printbibliography{pst-dart-doc} +\egroup + +\printindex + +\end{document} + + |