[pstricks] Use of variable parameters in PSTRICKS
Rolf Niepraschk
niepraschk at ptb.de
Mon Feb 25 13:38:42 CET 2002
Denis Girou wrote:
>
>
> If I have not completely misunderstood what you try to do (which can be the
> case!), you can look at this quick and dirty (LaTeX) example. You can compute
> the hight of your sidebar in the same way than here I compute the position of
> the page number.
>
> You can perhaps also found some ideas in the `fancyhdr' manual in
> paragraph 20.
>
> \documentclass[a4paper]{article}
>
> % Warnings :
> % - this file must be compiled twice
> % - the coordinates of the \fancyput macro are set for the A4 format
>
> \usepackage{pstcol}
> \usepackage{fancybox}
>
> \makeatletter
>
> \newcount\TotalPages
> \TotalPages=\z@
...
For things like this the LaTeX packages `lastpage' (reference to the
last page) and `count1to' (reference to the total pages) are more
convenient...
...Rolf
--
|| Rolf Niepraschk c/o Physikalisch-Technische Bundesanstalt ||
|| Abbestr. 2-12; D-10587 Berlin, Germany ||
|| Tel/Fax: ++49-30-3481-316/490, email: niepraschk at ptb.de ||
More information about the PSTricks
mailing list