From 0eca414d24b2ef276840906d8b58eafb63bd573f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 17 Dec 2018 21:30:22 +0000 Subject: pstricks (17dec18) git-svn-id: svn://tug.org/texlive/trunk@49437 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/pstricks/pst-doc.cls | 32 +++++++----------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to 'Master/texmf-dist/tex/latex/pstricks') diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls index e90cbdd5c01..d03ad411d9c 100644 --- a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls +++ b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls @@ -1,4 +1,4 @@ -% $Id: pst-doc.cls 755 2018-04-13 11:33:43Z herbert $ +% $Id: pst-doc.cls 857 2018-12-13 11:20:40Z herbert $ % %% %% The PSTricks Project @@ -16,7 +16,7 @@ % \listfiles \ProvidesClass{pst-doc}[2017/04/18 v 0.20 PSTricks documentation class (hv)] -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption,usegeometry}{scrartcl}} \ProcessOptions\relax % \LoadClass{scrartcl} @@ -35,7 +35,6 @@ %\RequirePackage[euler-digits]{eulervm} \RequirePackage{bera} %\RequirePackage[scaled=0.85]{luximono} - \RequirePackage[utf8]{inputenc} \fi \usepackage[includeheadfoot,lmargin=2cm,tmargin=1cm,bmargin=1.5cm,rmargin=1.5cm]{geometry} \RequirePackage{ifpdf} @@ -251,23 +250,6 @@ xleftmargin=0pt,xrightmargin=0pt, \setcounter{secnumdepth}{2} % Abbildungsnummerierung mit groesserer Tiefe \setcounter{tocdepth}{2} % Inhaltsverzeichnis mit groesserer Tiefe % -\renewcommand*\l@section[2]{% - \ifnum \c@tocdepth >\z@ - \addpenalty\@secpenalty - \addvspace{1.0em \@plus\p@}% - \setlength\@tempdima{2em}% - \begingroup - \parindent \z@ \rightskip \@pnumwidth - \parfillskip -\@pnumwidth - \leavevmode \bfseries - \advance\leftskip\@tempdima - \hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par - \endgroup - \fi} -\renewcommand*\l@subsection{\bprot@dottedtocline{2}{1.5em}{3.6em}} -\renewcommand*\l@subsubsection{\bprot@dottedtocline{3}{3.8em}{4.5em}} -% % Inhalte von List of Figures \IfPackageLoaded{subfig}{\setcounter{lofdepth}{1} %1 = nur figures, 2 = figures + subfigures } @@ -413,9 +395,9 @@ xleftmargin=0pt,xrightmargin=0pt, \setlength\BDefbelowskip{10pt} \setlength\BDefinlineskip{6pt} % -\newsavebox{\boxdef} +\newsavebox\boxdef \newenvironment{BDef} - {\begin{lrbox}\boxdef + {\begin{lrbox}{\boxdef} \def\arraystretch{1.0} \begin{tabular}{@{}l@{}l@{}l@{}}} {\end{tabular}\end{lrbox} @@ -468,6 +450,7 @@ xleftmargin=0pt,xrightmargin=0pt, \providecommand\bgTitle{} \providecommand\LenToUnit[1]{#1\@gobble} +\iffalse \renewcommand\maketitle{% \thispagestyle{empty}% \begin{titlepage} @@ -503,7 +486,9 @@ xleftmargin=0pt,xrightmargin=0pt, \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}}} + \bfseries\shortstack[l]{\@author} + %\begin{tabular}[t]{@{}l@{}} \@author\end{tabular}% +}}} \rput[C](11,4){\bgImage}% \end{pspicture}% \fi @@ -522,6 +507,7 @@ xleftmargin=0pt,xrightmargin=0pt, \global\let\date\relax% \global\let\and\relax% } +\fi \newdimen\fullWidth \fullWidth=\linewidth -- cgit v1.2.3