From b1a25756ae4b472c485026140eb0faea23b9ae19 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 3 Sep 2007 16:35:02 +0000 Subject: pst-math update (1sep07) git-svn-id: svn://tug.org/texlive/trunk@4855 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-math/Changes | 9 ++++ .../doc/generic/pst-math/pst-math-doc.pdf | Bin 0 -> 147850 bytes .../doc/generic/pst-math/pst-math-doc.tex | 51 ++++++--------------- .../texmf-dist/doc/generic/pst-math/pst-math.pdf | Bin 162112 -> 0 bytes 4 files changed, 22 insertions(+), 38 deletions(-) create mode 100644 Master/texmf-dist/doc/generic/pst-math/Changes create mode 100644 Master/texmf-dist/doc/generic/pst-math/pst-math-doc.pdf delete mode 100644 Master/texmf-dist/doc/generic/pst-math/pst-math.pdf (limited to 'Master/texmf-dist/doc/generic/pst-math') diff --git a/Master/texmf-dist/doc/generic/pst-math/Changes b/Master/texmf-dist/doc/generic/pst-math/Changes new file mode 100644 index 00000000000..00fa71e866c --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-math/Changes @@ -0,0 +1,9 @@ +..... pst-math.pro +0.2 2007-08-30 added GAMMA function (hv) +0.1 first CTAN version (cj) + + +..... pst-math.sty + + +..... pst-math.tex diff --git a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.pdf b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.pdf new file mode 100644 index 00000000000..b9f4114e28e Binary files /dev/null and b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.pdf differ diff --git a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex index aa40adde20e..e2d92f518a0 100644 --- a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex @@ -4,9 +4,9 @@ \usepackage[a4paper,margin=1.5cm,includeheadfoot]{geometry} \usepackage{fancyhdr} \usepackage[baw,pstricks]{fvrb-ex} -\usepackage{pst-infixplot,pst-math} +\usepackage{pstricks} +\usepackage{pst-math,pst-plot} \usepackage{amsmath,amssymb} -\usepackage{pstcol} \makeatletter \renewcommand{\Begin@Example}{% @@ -96,10 +96,8 @@ \makeatletter \def\DefOfOperator{\@ifstar{\DefOfOperator@}{\DefOfOperator@@}} - \def\DefOfOperator@#1#2#3#4{{\operator@font#1}:\left\{\begin{array}{ccc} #2&\to\\ x&\mapsto\end{array}\right.} - \def\DefOfOperator@@#1#2#3{{\operator@font#1}:\left\{\begin{array}{ccc} #2&\to\\ x&\mapsto&{\operator@font#1}(x)\end{array}\right.} @@ -109,7 +107,7 @@ x&\mapsto&{\operator@font#1}(x)\end{array}\right.} \title{\MathPackage\\ A PSTricks package for enhancing mathematical operators in PSTricks\\ \normalsize ver. 0.2} \author{Christophe \textsc{Jorssen} \texttt{}\\ \footnotesize `libre' is the french word for `free'} -\date{04/07/14} +\date{\today} \maketitle \setlength{\columnseprule}{0.6pt} @@ -330,23 +328,27 @@ ATANH defined by \end{pspicture} \end{SideBySideExample} -\MathPackage{} introduces postscript operator GAMMALN defined by +\MathPackage{} introduces postscript operator GAMMA and GAMMALN defined by + +\[\DefOfOperator*{\Gamma}{\mathbb{R} \backslash\mathbb{Z}}{\mathbb R}{\displaystyle\int_0^\infty t^{x-1}\mathrm e^{-t}\,\mathrm d t}\] \[\DefOfOperator*{\ln\Gamma}{]0,+\infty[}{\mathbb R}{\ln\displaystyle\int_0^t t^{x-1}\mathrm e^{-t}\,\mathrm d t}\] \begin{center} \begin{tabular}{c|c|c|c} - \textbf{Stack} & \textbf{Operator} & \textbf{Result} & \textbf{Description} \\ - \hline + \textbf{Stack} & \textbf{Operator} & \textbf{Result} & \textbf{Description} \\\hline + \textsf{\textsl{num}} & \textsf{\textbf{GAMMA}} & \textsf{\textsl{real}} & Return $\Gamma$ function of \textsf{\textsl{num}}\\ \textsf{\textsl{num}} & \textsf{\textbf{GAMMALN}} & \textsf{\textsl{real}} & Return logarithm of $\Gamma$ function of \textsf{\textsl{num}} \end{tabular} \end{center} \begin{SideBySideExample}[xrightmargin=10.5cm] - \begin{pspicture}(-.5,-.5)(6,6) + \begin{pspicture*}(-.5,-.5)(6.2,6.2) \psaxes{->}(0,0)(-.5,-.5)(6,6) \psplot[linecolor=blue, - plotpoints=1000]{.1}{6}{x /HLCBWz&GAMMALN"} - \end{pspicture} + plotpoints=200]{.1}{6}{x /HLCBWz&GAMMA"} + \psplot[linecolor=red, + plotpoints=200]{.1}{6}{x /HLCBWz&GAMMALN"} + \end{pspicture*} \end{SideBySideExample} \begin{SideBySideExample}[xrightmargin=10.5cm] @@ -380,33 +382,6 @@ ATANH defined by \end{pspicture} \end{SideBySideExample} -\section{\texttt{Infix-RPN} and \texttt{pst-infixplot} support} - -You can now use the operators defined in \MathPackage{} with the infix notation, using the -\texttt{infix-RPN} package. The packages must be read in the fellowing order: - -\begin{Verbatim}[label={\LaTeX{} preamble}] - \usepackage{infix-RPN,pst-math} -\end{Verbatim} - -If you want to use \MathPackage{} with \texttt{pst-infixplot}, then read the packages in the -fellowing order: - -\begin{Verbatim}[label={\LaTeX{} preamble}] - \usepackage{pst-infixplot,pst-math} -\end{Verbatim} - -\begin{SideBySideExample}[xrightmargin=10.5cm] - \psset{xunit=.5,yunit=3} - \begin{pspicture}*(-1.5,-.75)(19,1.5) - \psaxes[Dx=5,Dy=.5]{->}% - (0,0)(-1,-.75)(19,1.5) - \psPlot[linecolor=red, - plotpoints=1000]{0.0001}{20}% - {BESSEL_Y0(x)-BESSEL_Y1(x)} - \end{pspicture} -\end{SideBySideExample} - \section{Credits} Many thanks to Jacques L'helgoualc'h and Herbert Voss. diff --git a/Master/texmf-dist/doc/generic/pst-math/pst-math.pdf b/Master/texmf-dist/doc/generic/pst-math/pst-math.pdf deleted file mode 100644 index c05fee1491e..00000000000 Binary files a/Master/texmf-dist/doc/generic/pst-math/pst-math.pdf and /dev/null differ -- cgit v1.2.3