summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/pst-news.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-11 23:48:39 +0000
committerKarl Berry <karl@freefriends.org>2010-02-11 23:48:39 +0000
commita82c24b304d3a6727a9cd210d82b33b2c9e3119b (patch)
tree2f331ad49c6edf41f80a30eda60945397bb38428 /Master/texmf-dist/doc/generic/pstricks/pst-news.sty
parentb164898a09f10287c030149a0a36c7938627a9c3 (diff)
pstricks 0.41 (11feb10)
git-svn-id: svn://tug.org/texlive/trunk@16973 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news.sty')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news.sty37
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