diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-doc.cls')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-doc.cls | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls index ae6b7a06257..553a6901711 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls +++ b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls @@ -1,4 +1,4 @@ -% $Id: pst-doc.cls 246 2010-01-04 19:54:06Z herbert $ +% $Id: pst-doc.cls 282 2010-02-09 21:05:55Z herbert $ % %% %% The PSTricks Project @@ -78,6 +78,7 @@ \RequirePackage{multido} \RequirePackage{lscape} \RequirePackage{graphicx} +\RequirePackage{eso-pic} \definecolor{DOrange}{rgb}{1,.4,.2} \RequirePackage{amsmath, amssymb} \RequirePackage{tabularx,ragged2e} @@ -285,6 +286,7 @@ \let\nxLdim\nxLcs \let\nxLskip\nxLcs \def\Lctr#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Counter!#1@\texttt{#1}}} +\def\LCtr#1{\texttt{#1}\index{#1@\texttt{#1}}\index{TeX Counter@\TeX\ Counter!#1@\texttt{#1}}} \def\nxLctr#1{\texttt{#1}} % \newcommand\Lnotation [1]{\nxLnotation{#1}\xLnotation{#1}} @@ -402,10 +404,30 @@ \renewcommand\maketitle{% \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} + +\vspace{5cm} +\parbox{10cm}{\sffamily\@date} + +\vfill +~\\ +\makebox[.5\textwidth]{\put(0,0){\bgImage}}\\ +~ + +\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.2,10) - \psframe[fillstyle=solid,linecolor=Orange!85!Red,fillcolor=Orange!85!Red,linestyle=solid](0,10)(21.2,10.5) - \psframe[fillstyle=solid,linecolor=Orange!85!Red,fillcolor=Orange!85!Red,linestyle=solid](0,21.1)(21.2,21.2) + \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}} @@ -416,6 +438,7 @@ \bfseries\tabular[t]{@{}l@{}}\@author\endtabular}}} \rput[C](11,4){\bgImage}% \end{pspicture}% +\fi \end{titlepage} \setcounter{footnote}{0}% \global\let\thanks\relax% |