diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-14 20:24:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-14 20:24:50 +0000 |
commit | 76b7312019d63997d093e1f87e178d656b68a4fb (patch) | |
tree | 907f7befbdc6dbbba28d5dc09adf0abfe480e996 /Master/texmf-dist/doc/generic | |
parent | f751fc4bd5f7fb3267af8e42e41ff23d61e79d9c (diff) |
pst-tools (14sep21)
git-svn-id: svn://tug.org/texlive/trunk@60507 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-tools/Changes | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-tools/README | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.bib | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf | bin | 128099 -> 151064 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex | 37 |
5 files changed, 29 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-tools/Changes b/Master/texmf-dist/doc/generic/pst-tools/Changes index e5c3d947273..f741afb493e 100644 --- a/Master/texmf-dist/doc/generic/pst-tools/Changes +++ b/Master/texmf-dist/doc/generic/pst-tools/Changes @@ -1,4 +1,5 @@ ..... pst-tools.tex +0.11 2021-09-13 - make it compatible to lualatex 0.10 2020-03-24 - added the random macros from random.tex which is no more on TeXLive 0.09b 2017-12-03 - modified pro file diff --git a/Master/texmf-dist/doc/generic/pst-tools/README b/Master/texmf-dist/doc/generic/pst-tools/README index b1266c5b7fc..e9f6540214f 100644 --- a/Master/texmf-dist/doc/generic/pst-tools/README +++ b/Master/texmf-dist/doc/generic/pst-tools/README @@ -6,13 +6,11 @@ Save the files pst-tools.sty|pro|tex in a directory, which is part of your local TeX tree. The pro file should go into $TEXMF/dvips/pstricks/ Then do not forget to run texhash to update this tree. For more information see the documentation of your LATEX distribution -on installing packages into your local TeX system or read the -TeX Frequently Asked Questions: -(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages). +on installing packages into your local TeX system pst-tools needs pst-plot (pstricks-add) and pstricks, which should be part of your local TeX installation, otherwise get it from a -CTAN server, http://mirror.ctan.org +CTAN server, https://mirror.ctan.org PSTricks is PostScript Tricks, the documentation cannot be run with pdftex, use the sequence latex->dvips->ps2pdf. @@ -22,5 +20,5 @@ with pdftex, use the sequence latex->dvips->ps2pdf. %% in directory macros/latex/base/lppl.txt. -%% $Id: README 286 2010-02-11 09:40:41Z herbert $ +%% $Id: README 245 2021-09-13 18:56:41Z herbert $ hvoss@tug.org
\ No newline at end of file diff --git a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.bib b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.bib index 99ed68ae723..f6ac03b8a01 100644 --- a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.bib +++ b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.bib @@ -1,4 +1,4 @@ -y%% -*-bibtex-*- +%% -*-bibtex-*- @STRING{tugboat = {TUGboat} } @STRING{beiprogramm = {{\TeX}-Beiprogramm} } @STRING{bretter = {Bretter, die die Welt bedeuten} } diff --git a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf Binary files differindex 15cd40da5c4..b37c59bca31 100644 --- a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf +++ b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf diff --git a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex index 9296568bc34..a4c1897f1a3 100644 --- a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex @@ -1,7 +1,10 @@ -%% $Id: pst-tools-doc.tex 1163 2020-03-24 09:47:58Z herbert $ -\documentclass[11pt,english,BCOR=10mm,DIV=13,toc=bibliography,parskip=false, - headings=small,headinclude=false,footinclude=false,oneside]{pst-doc} -\usepackage[utf8]{inputenc} +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{} +%% $Id: pst-tools-doc.tex 245 2021-09-13 18:56:41Z herbert $ +\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, + headinclude=false,footinclude=false,oneside]{pst-doc} +\listfiles +\usepackage{pstricks} \usepackage{pst-tools} \let\pstToolsFV\fileversion \usepackage{xltabular} @@ -19,8 +22,7 @@ \subtitle{Helper functions; v.\pstToolsFV} \author{Herbert Voß} \docauthor{} -\date{\today} -\maketitle +\settitle \begin{abstract} This package defines some tools which are useful for all packages not only the PSTricks like packages. @@ -28,6 +30,8 @@ Since the version 0.10 it includes the macros from \texttt{random.tex}. \vfill \noindent Thanks to: +Marcel Krüger; +Pablo Gonzáles Luengo; Rolf Niepraschk; \end{abstract} @@ -76,7 +80,7 @@ There are the following valid options for \Lcs{psPrintValue}: \Lkeyword{PSfont} & PS font name & Times & only valid \PS\ font names are possible, e.g. \Lps{Times-Roman}, \Lps{Helvetica}, \Lps{Courier}, \Lps{Helvetica}, \Lps{Bookman}. If you want to embed the fonts use always the URW names NimbusRomNo9L-Regu, NimbusSanL-Regu and NimbusMonL-Regu. However, the names -may vary on different operating systems.\\ +may vary on different operating systems. If you leave the argument empty, it will choose the currently active font.\\ \Lkeyword{postString} & <string> & \{\} & will be appended to the number string\\ \Lkeyword{trimSpaces} & <boolean> & false & will strip spaces on the right\\ \Lkeyword{fontscale} & <number> & 10 & the font scale in pt\\ @@ -91,19 +95,23 @@ may vary on different operating systems.\\ \end{xltabular} + + \begin{center} \psset{fontscale=12} \makebox[2em]{x(deg)} \makebox[5em]{$\sin x$} \makebox[4em]{$\cos x$}\hspace{1em} \makebox[5em]{$\sqrt x$}\makebox[7em]{$\sin x+\cos x$}\makebox[6em]{$\sin^2 x+\cos^2 x$}\\[3pt] -\multido{\iA=0+10}{18}{ +\multido{\iA=0+10}{18}{% \makebox[1em]{\iA} \makebox[5em]{\psPrintValue[PSfont=NimbusRomNo9L-Regu,xShift=-10]{\iA\space sin}} - \makebox[4em][r]{\psPrintValue[PSfont=NimbusMonL-Regu,fontscale=10,decimals=3,xShift=-20]{\iA\space cos}}\hspace{1em} + \makebox[4em][r]{\psPrintValue[PSfont={},fontscale=10,decimals=3,xShift=-20]{\iA\space cos}}\hspace{1em} \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=NimbusSanL-Regu]{\iA\space sqrt}} \makebox[7em]{\psPrintValue[comma,PSfont=NimbusRomNo9L-ReguItal]{\iA\space dup sin exch cos add}} - \makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\iA\space dup sin dup mul exch cos dup mul add}}\\} + \makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\iA\space dup sin dup mul exch cos dup mul add}}\\ +} \end{center} + \bigskip \begin{lstlisting} @@ -113,12 +121,15 @@ may vary on different operating systems.\\ \multido{\iA=0+10}{18}{ \makebox[1em]{\iA} \makebox[5em]{\psPrintValue[PSfont=NimbusRomNo9L-Regu,xShift=-10]{\iA\space sin}} - \makebox[4em][r]{\psPrintValue[PSfont=NimbusMonL-Regu,fontscale=10,decimals=3,xShift=-20]{\iA\space cos}}\hspace{1em} + \makebox[4em][r]{\psPrintValue[PSfont={},fontscale=10,decimals=3,xShift=-20]{\iA\space cos}}\hspace{1em} \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=NimbusSanL-Regu]{\iA\space sqrt}} \makebox[7em]{\psPrintValue[comma,PSfont=NimbusRomNo9L-ReguItal]{\iA\space dup sin exch cos add}} \makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\iA\space dup sin dup mul exch cos dup mul add}}\\} \end{lstlisting} + + + With enabled \Lkeyword{algebraic} option there must be two arguments, separated by a comma. The first one is the x value as a number, which can also be PostScript code, which leaves a number on the stack. The second part is the function described in algebraic notation. @@ -134,7 +145,7 @@ Pay attention, in algebraic notation angles must be in radian and not degrees. \makebox[5em]{$\sqrt x$}\makebox[7em]{$\sin x+\cos x$}\makebox[6em]{$\sin^2 x+\cos^2 x$}\\[3pt] \multido{\rA=0+0.1}{18}{\makebox[1em]{\rA} \makebox[5em]{\psPrintValue[PSfont=NimbusSanL-Regu,xShift=-10]{\rA, sin(x)}} - \makebox[4em][r]{\psPrintValue[PSfont=NimbusMonL-Regu,fontscale=10,decimals=3,xShift=-20]{\rA,cos(x)}}\hspace{1em} + \makebox[4em][r]{\psPrintValue[PSfont={},fontscale=10,decimals=3,xShift=-20]{\rA,cos(x)}}\hspace{1em} \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=NimbusSanL-Regu]{\rA,sqrt(x)}} \makebox[7em]{\psPrintValue[comma,PSfont=NimbusRomNo9L-ReguItal]{\rA,sin(x)+cos(x)}} \makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\rA,sin(x)^2+cos(x)^2}}\\} @@ -148,7 +159,7 @@ Pay attention, in algebraic notation angles must be in radian and not degrees. \makebox[5em]{$\sqrt x$}\makebox[7em]{$\sin x+\cos x$}\makebox[6em]{$\sin^2 x+\cos^2 x$}\\[3pt] \multido{\rA=0+0.1}{18}{\makebox[1em]{\rA} \makebox[5em]{\psPrintValue[PSfont=NimbusSanL-Regu,xShift=-10]{\rA, sin(x)}} - \makebox[4em][r]{\psPrintValue[PSfont=NimbusMonL-Regu,fontscale=10,decimals=3,xShift=-20]{\rA,cos(x)}}\hspace{1em} + \makebox[4em][r]{\psPrintValue[PSfont={},fontscale=10,decimals=3,xShift=-20]{\rA,cos(x)}}\hspace{1em} \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=NimbusSanL-Regu]{\rA,sqrt(x)}} \makebox[7em]{\psPrintValue[comma,PSfont=NimbusRomNo9L-ReguItal]{\rA,sin(x)+cos(x)}} \makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\rA,sin(x)^2+cos(x)^2}}\\} |