summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pst-doc.cls')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pst-doc.cls71
1 files changed, 36 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
index 85015b16e53..15f71fd95b5 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
+++ b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls
@@ -1,11 +1,11 @@
-% $Id: pst-doc.cls 532 2011-07-09 13:02:57Z herbert $
+% $Id: pst-doc.cls 444 2017-04-19 10:55:35Z herbert $
%
%%
%% The PSTricks Project
%%
%% ``pst-doc'' class for use with the PSTricks documentation.
%%
-%% Copyright (C) 2009-2011 Herbert Voss
+%% Copyright (C) 2009-2017 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
@@ -15,7 +15,7 @@
%%
%
\listfiles
-\ProvidesClass{pst-doc}[2011/04/30 v 0.19 PSTricks documentation class (hv)]
+\ProvidesClass{pst-doc}[2017/04/18 v 0.20 PSTricks documentation class (hv)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
%
@@ -23,10 +23,11 @@
%
\RequirePackage[dvipsnames,x11names,svgnames,table]{xcolor}
\RequirePackage{ifxetex}
+\RequirePackage{amsmath, amssymb}
\ifxetex
- \usepackage{unicode.math}
- \usepackage{libertine}
- \usepackage[Scale=MatchLowercase,FakeStretch=0.92]{Anonymous Pro}
+ \usepackage{unicode-math}
+ \usepackage{libertinus}
+ \setmonofont[Scale=MatchLowercase,FakeStretch=0.92]{Anonymous Pro}
\setmathfont{XITS Math}
\else
\RequirePackage[T1]{fontenc}
@@ -85,14 +86,13 @@
\RequirePackage{pst-xkey}
\RequirePackage{pstricks}
\RequirePackage{xkvview}
-\let\pstricksFV\fileversion
-\let\pstricksFD\filedate
+%\let\pstricksFV\fileversion
+%\let\pstricksFD\filedate
\RequirePackage{multido}
\RequirePackage{lscape}
\RequirePackage{graphicx}
\RequirePackage{eso-pic}
\definecolor{DOrange}{rgb}{1,.4,.2}
-\RequirePackage{amsmath, amssymb}
\RequirePackage{tabularx,ragged2e}
\RequirePackage{booktabs}
\RequirePackage[bottom,stable,ragged]{footmisc}
@@ -470,39 +470,40 @@ xleftmargin=0pt,xrightmargin=0pt,
\thispagestyle{empty}%
\begin{titlepage}
\ifpdf
-\AddToShipoutPicture*{\includegraphics{pst-doc.pdf}}
-\vspace*{0.3\textheight}
-\parbox{17cm}{\sffamily\RaggedRight\bfseries\huge\@title}\\[5pt]
-\parbox{15cm}{\sffamily\Large\@subtitle}
+ \AddToShipoutPicture*{\includegraphics{pst-doc.pdf}}
+ \vspace*{0.3\textheight}
+ \parbox{17cm}{\sffamily\RaggedRight\bfseries\huge\@title}\\[5pt]
+ \parbox{15cm}{\sffamily\Large\@subtitle}
-\vspace{5cm}
-\parbox{10cm}{\sffamily\@date}
+ \vspace{5cm}
+ \parbox{10cm}{\sffamily\@date}
-\vfill
-~\\
-\makebox[.5\textwidth]{\put(0,0){\bgImage}}\\
-~
+ \vfill
+ ~\\
+ \makebox[.5\textwidth]{\put(0,0){\bgImage}}\\
+ ~
-\vfill
-\parbox[b]{19cm}{\sffamily\RaggedRight
+ \vfill
+ \parbox[b]{19cm}{\sffamily\RaggedRight
\ifx\@docauthor\empty~\else Documentation by\fi\hfill\makebox[7cm][l]{Package author(s):}\\
\ifx\@docauthor\empty~\else{\bfseries\tabular[t]{@{}l@{}}\@docauthor\endtabular}\fi\hfill\makebox[7cm][l]{%
\bfseries\tabular[t]{@{}l@{}}\@author\endtabular}}
\else
-\begin{pspicture}(1.6in,0)(21,21.7)
- \psframe[fillstyle=solid,linecolor=lightgray,fillcolor=lightgray,linestyle=solid](0,-5.75)(21.5,10)
- \psframe[fillstyle=solid,linecolor=Orange!85!Red,fillcolor=Orange!85!Red,linestyle=solid](0,10)(21.5,10.5)
- \psframe[fillstyle=solid,linecolor=Orange!85!Red,fillcolor=Orange!85!Red,linestyle=solid](0,21.1)(21.5,21.2)
- \rput[lb](3,22){\Huge\sffamily\color{Orange!65!Red}\psscalebox{2}{\textbf{PSTricks}}}
- \rput[lb](3,14.1){\parbox{17cm}{\sffamily\RaggedRight\bfseries\huge\@title}}
- \rput[lb](3,12.6){\parbox{15cm}{\sffamily\Large\@subtitle}}
- \rput[lb](3,7.6){\parbox{15cm}{\sffamily\@date}}
- \rput[lb](3,-2.6){\parbox[b]{19cm}{\sffamily\RaggedRight
- \ifx\@docauthor\empty~\else Documentation by\fi\hfill\makebox[7cm][l]{Package author(s):}\\
- \ifx\@docauthor\empty~\else{\bfseries\tabular[t]{@{}l@{}}\@docauthor\endtabular}\fi\hfill\makebox[7cm][l]{%
- \bfseries\tabular[t]{@{}l@{}}\@author\endtabular}}}
- \rput[C](11,4){\bgImage}%
-\end{pspicture}%
+ \psset{unit=1cm}
+ \begin{pspicture}(1.6in,0)(23cm,21.7cm)
+ \psframe[fillstyle=solid,linecolor=lightgray,fillcolor=lightgray,linestyle=solid](0,-5.75)(23,10)
+ \psframe[fillstyle=solid,linecolor=Orange!85!Red,fillcolor=Orange!85!Red,linestyle=solid](0,10)(23,10.5)
+ \psframe[fillstyle=solid,linecolor=Orange!85!Red,fillcolor=Orange!85!Red,linestyle=solid](0,21.1)(23,21.2)
+ \rput[lb](3,22){\Huge\sffamily\color{Orange!65!Red}\psscalebox{2}{\textbf{PSTricks}}}
+ \rput[lb](3,14.1){\parbox{17cm}{\sffamily\RaggedRight\bfseries\huge\@title}}
+ \rput[lb](3,12.6){\parbox{15cm}{\sffamily\Large\@subtitle}}
+ \rput[lb](3,7.6){\parbox{15cm}{\sffamily\@date}}
+ \rput[lb](3,-2.6){\parbox[b]{19cm}{\sffamily\RaggedRight
+ \ifx\@docauthor\empty~\else Documentation by\fi\hfill\makebox[7cm][l]{Package author(s):}\\
+ \ifx\@docauthor\empty~\else{\bfseries\tabular[t]{@{}l@{}}\@docauthor\endtabular}\fi\hfill\makebox[7cm][l]{%
+ \bfseries\tabular[t]{@{}l@{}}\@author\endtabular}}}
+ \rput[C](11,4){\bgImage}%
+ \end{pspicture}%
\fi
\end{titlepage}
\setcounter{footnote}{0}%