[pstricks] Package Clash within multiAxes0.tex

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Jul 13 11:05:56 CEST 2007


rossi at york.cuny.edu wrote:
> I downloaded the file multiAxes0.tex from the pstricks component of the tug
> web site.
>
> Here is what happened:
>
> 1) I compile the file "as is" and obtain the graph shown on the web site
> with the x-axis given as 1953/1955, ..., etc.
>
> 2) I placed the option \psaxes[comma=true, ...] in the \psaxes command.
>
> 3) This requires \usepackage{pstricks-add}
>
> 4) Recompiling the multiAxes0.tex gives the numbers 1, 2, 3, ... as the
> x-axis, and the array containing 1953/55, ..., etc is ignored.
>   
use this beginning of the document

Herbert

\documentclass[12pt]{article}
\usepackage{pstricks-add}
\usepackage{multido}
\usepackage{numprint}% you need the latest (!!!) version
\npthousandsep{\,}
\usepackage{arrayjob}% load it after numprint
%
\newarray{\Years}
\readarray{Years}{%
        & 1953/55 & 1955/57 & 1957/59 & 1959/61 & 1961/63 & 1963/64%
}
\makeatletter
\def\ps@@vlabel#1{\numprint{#1}}%
\def\ps@@hlabel#1{{\checkYears(#1)\small\cachedata}}
\makeatother
%
....





More information about the PSTricks mailing list