diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news.sty')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news.sty | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news.sty b/Master/texmf-dist/doc/generic/pstricks/pst-news.sty index 7d2ab444208..8ce484574a3 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news.sty +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news.sty @@ -1,7 +1,11 @@ %% $Id: pst-news.sty 9 2008-01-03 20:22:50Z herbert $ \ProvidesPackage{pst-news}[2008/02/01 definitions for PSTricks news (hv)] - +% +%\usepackage{pamathx}% use this if you have the palatino math font +\usepackage{arev}% use this if you do not have the palatino math font +%\usepackage[scaled=0.9]{luximono}% use this if you do not have the palatino math font +% \RequirePackage{pstricks} \let\PSTfiledate\filedate \let\PSTfileversion\fileversion @@ -20,14 +24,6 @@ \makeindex \RequirePackage{tabularx,array,longtable} \SpecialCoor -\RequirePackage[colorlinks,linktocpage]{hyperref} -\RequirePackage{breakurl} -\def\UrlFont{\small\ttfamily} -\makeatletter -\def\verbatim@font{\small\normalfont\ttfamily} -\let\Oldpart\part -\renewcommand\part[1]{\clearpage\Oldpart{#1}} -\makeatother \RequirePackage{ragged2e} \definecolor{hellgelb}{rgb}{1,1,0.8} \definecolor{colKeys}{rgb}{0,0,1} @@ -35,6 +31,11 @@ \definecolor{colComments}{rgb}{1,0,0} \definecolor{colString}{rgb}{0,0.5,0} % +\usepackage{amsmath} +\usepackage{tabularx} +\usepackage{longtable} +\usepackage{xkvview} +\usepackage{pst-math} \RequirePackage{listings} \lstset{% language=PSTricks,% @@ -58,6 +59,17 @@ captionpos=b,% xleftmargin=0pt% } +\lstdefinestyle{syntax}{backgroundcolor=\color{blue!20},numbers=none,xleftmargin=0pt,xrightmargin=0pt, + frame=single} +% +\RequirePackage[colorlinks,linktocpage]{hyperref} +\RequirePackage{breakurl} +\def\UrlFont{\small\ttfamily} +\makeatletter +\def\verbatim@font{\small\normalfont\ttfamily} +\let\Oldpart\part +\renewcommand\part[1]{\clearpage\Oldpart{#1}} +\makeatother %\parindent=0pt % @@ -66,8 +78,11 @@ \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} \let\PSTbibliography\bibliography \renewcommand\bibliography[1]{\begingroup\RaggedRight\PSTbibliography{#1}\endgroup} -\def\PS{PostScript} \def\textat{\char064} +% +\usepackage{xspace} +\def\PS{PostScript\xspace} +\def\dt{\ensuremath{\,\mathrm{d}t}} % \def\LPack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}} @@ -82,5 +97,7 @@ \def\Lkeyval#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Value!#1@\texttt{#1}}} \def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package option!#1@\texttt{#1}}} \def\LPS#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}} +\def\Lps#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}} \def\Index#1{#1\index{#1}} +% \endinput |