diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-geometrictools/pst-geometrictools-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-geometrictools/pst-geometrictools-doc.tex | 110 |
1 files changed, 54 insertions, 56 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-geometrictools/pst-geometrictools-doc.tex b/Master/texmf-dist/doc/generic/pst-geometrictools/pst-geometrictools-doc.tex index f646e7520f7..47b04b6f2d8 100644 --- a/Master/texmf-dist/doc/generic/pst-geometrictools/pst-geometrictools-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-geometrictools/pst-geometrictools-doc.tex @@ -20,33 +20,16 @@ \listfiles - -\documentclass[% -11pt, -english, -BCOR10mm, -DIV12, -bibliography=totoc, -parskip=false, -fleqn, -smallheadings, -headexclude, -footexclude, -oneside, -dvipsnames, -svgnames, -x11names, -distiller -]{pst-doc} +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{} +%% $Id: pst-venn-doc.tex 848 2018-12-04 09:25:49Z herbert $ +\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, + headinclude=false,footinclude=false,oneside]{pst-doc} \usepackage[autostyle]{csquotes} -\usepackage{biblatex} -%\usepackage[style=dtk]{biblatex} -\addbibresource{pst-geometrictools-doc.bib} -\usepackage[utf8]{inputenc} +%\addbibresource{pst-geometrictools-doc.bib} \let\pstpersFV\fileversion -\usepackage{pst-geometrictools,pst-node,pst-eucl,pst-pers,pstricks-add,animate} -\usepackage{etex} % increase the number of registers (otherwise only 256) +\usepackage{pst-geometrictools,pst-node,pstricks-add,animate} \let\belowcaptionskip\abovecaptionskip @@ -71,22 +54,18 @@ distiller \begin{document} -\title{pst-geometrictools v 1.1} +\title{pst-geometrictools v 1.3} \subtitle{A PSTricks package to draw a protractor, a ruler, a compass and pencils} -\author{Thomas \textsc{Söll}} +\author{Thomas Söll\\Herbert Voß (bugfix)} \date{\today} -\maketitle +\settitle \tableofcontents -\psset{unit=1cm} - - -\clearpage - \begin{abstract} -The package \LPack{pst-geometrictools} offers some customizable options to setup a \emph{protractor}, a \emph{ruler}, a \emph{compass} and \emph{pencils} to the users' wishes. Some geometric tools are predefined +The package \LPack{pst-geometrictools} offers some customizable options to setup a \emph{protractor}, a \emph{ruler}, +a \emph{compass} and \emph{pencils} to the users' wishes. Some geometric tools are predefined and ready-to-use for the customer to be able to present some pixel-free graphics showing the handling of some geometric tools. The geometric tools can be scaled, rotated, positioned, colored as wanted, even labeled---if wanted. @@ -97,12 +76,13 @@ We recommend to use the package \LPack{pst-eucl} (by \textit{Dominique Rodriguez Have fun to use it! -\vfill +\bigskip This program can redistributed and/or modified under the terms of the LaTeX Project Public License Distributed from CTAN archives in directory macros/latex/base/lppl.txt; either version 1.3c of the License, or (at your option) any later version. \end{abstract} + \clearpage @@ -111,8 +91,7 @@ either version 1.3c of the License, or (at your option) any later version. \subsection{\textbackslash psProtractor} \begin{BDef} -\Lcs{psProtractor}\OptArgs\Largb{angle}\Largr{coordinates of the origin} -\\ +\Lcs{psProtractor}\OptArgs\Largb{angle}\Largr{coordinates of the origin}\\ \Lcs{psProtractor}\OptArgs\Largb{angle}\Largr{coordinates of the origin}\Largr{coordinates of a second point} \end{BDef} @@ -181,8 +160,7 @@ The command \Lcs{psRuler} offers a positioning \subsection{\textbackslash psCompass} \begin{BDef} -\Lcs{psCompass}\OptArgs\Largb{radius}\Largr{coordinates of origin} -\\ +\Lcs{psCompass}\OptArgs\Largb{radius}\Largr{coordinates of origin}\\ \Lcs{psCompass}\OptArgs\Largb{radius}\Largr{coordinates of origin}\Largr{coordinates of a second point} \end{BDef} @@ -238,13 +216,14 @@ The command \Lcs{psPencil} contains the options \nxLkeyword{PenScale=}, \nxLkeyw \newpage + \subsection{\textbackslash psParallels (Idea and realization by \emph{Manuel Luque})} \begin{BDef} -\Lcs{psParallels}\OptArgs\Largr{pointA}\Largr{pointB}\Largr{pointC}\Largb{angle} +\Lcs{psParallels}\OptArgs\Largr{pointA}\Largr{pointB}\Largr{pointC} \end{BDef} -The command \Lcs{psParallels} contains the option \nxLkeyword{DistCoeff=}. +The command \Lcs{psParallels} contains the option \nxLkeyword{DistCoeff}. \begin{quote} \begin{tabularx}{\linewidth}{ @{} l >{\ttfamily}l X @{} }\toprule @@ -254,18 +233,36 @@ The command \Lcs{psParallels} contains the option \nxLkeyword{DistCoeff=}. \end{tabularx} \end{quote} -This command is made to directly draw a line parallel to the line containing \texttt{pointA} and \texttt{pointB} intersecting at point \texttt{pointC}. - -\begin{LTXexample}[pos=t,width=17cm] -\begin{pspicture}(-11,-10)(6,2.5) -\psParallels[DistCoeff=1](-6,-1)(1,2)(2,0) -\end{pspicture} +This command is made to directly draw a line parallel to the line containing \texttt{pointA} and \texttt{pointB} +intersecting at point \texttt{pointC}. + + +\begin{LTXexample}[pos=t,width=\linewidth] +\psscalebox{0.5}{% +\begin{pspicture}[showgrid=false](-15,-10)(5,3)% + \pnode(-6,1){A}\uput[100](A){A} + \pnode(1,2){B}\uput[100](B){B} + \pnode(2,0){C}\uput[90](C){C} + \pcline[linecolor=BrickRed,nodesepA=-2,nodesepB=-2](A)(B)% + \psParallels[style=Parallelen,RulerScale=0.5,ProScale=1,DistCoeff=1](A)(B)(C) + \pcline[linecolor=BrickRed](GeodrB)(GeodrA)% + \midAB(GeodrB)(GeodrA){M}% + \psPencil[PenLength=5,pencilColA=red,PenScale=0.5]{60}(M) + \end{pspicture}} \end{LTXexample} -The command \verb+\psParallels[DistCoeff=1](A)(B)(C){angle}+ allows to draw a parallel through the point C with the help of a ruler and protractor. The angle is the one between the pencil and the vertical. -The command uses the option [DistCoef=] as within pst-eucl. If [DistCoef=0] the hypotenuse of the protractor lays on the line (AB), the ruler automatically positions below the protractor. -For an animation, we vary [DistCoef=0..1], the protractor moves along the ruler letting the hypotenuse parallel to the line (AB). If [DistCoef=1], the protractor intersects with the point C. We can now draw the parallel to (AB) intersecting C. +The command \verb+\psParallels[DistCoeff=1](A)(B)(C){angle}+ allows to draw a parallel through the +point C with the help of a ruler and protractor. The angle is the one between the pencil and the vertical. +The command uses the option [DistCoef=] as within pst-eucl. If [DistCoef=0] the hypotenuse of the +protractor lays on the line (AB), the ruler automatically positions below the protractor. + +For an animation, we vary [DistCoef=0..1], the protractor moves along the ruler letting the +hypotenuse parallel to the line (AB). If [DistCoef=1], the protractor intersects with the point C. +We can now draw the parallel to (AB) intersecting C. + + + \newpage @@ -274,12 +271,13 @@ For an animation, we vary [DistCoef=0..1], the protractor moves along the ruler \section{Basic Examples} \begin{LTXexample}[pos=t,width=16cm] -\begin{pspicture}*(-6,-5.5)(10,7) +\psscalebox{0.7}{% +\begin{pspicture}[showgrid=false](-6,-5.5)(10,7) \psProtractor{0}(0,0)% origin of the protractor \psRuler{0}(0,0)% origin of the ruler \psPencil{-30}(6,0)% origin of the pencil \psCompass{3}(2,0)% origin of the compass -\end{pspicture} +\end{pspicture}} \end{LTXexample} We see, that the origins of the \emph{protractor} and \emph{ruler}, \emph{compass} and respectively the \emph{cone end of the pencil} are positioned at $(0|0)$, $(2|0)$, $(6|0)$. Adding an angle rotates the objects around their origins. @@ -473,11 +471,11 @@ Constructing the height of a given triangle. \clearpage -\nocite{*} -\bgroup -\RaggedRight -\printbibliography -\egroup +%\nocite{*} +%\bgroup +%\RaggedRight +%\printbibliography +%\egroup \printindex |