[pstricks] How to change the font size of psgraph's (x|y)AxisLabel?

kris.dumont at ugent.be kris.dumont at ugent.be
Wed Aug 18 14:36:12 CEST 2004


Hi,

This is probably what you need to add:

\renewcommand{\pshlabel}[1]{\large{\textsf{#1}}}
\renewcommand{\psvlabel}[1]{\large{\textsf{#1}}}

Regards,
Kris

> Hi all,
>
> i guess the subject says all i want. Here's what i tried so far:
>
> <--- minimal.tex --->
>
> \documentclass[a4paper,12pt]{article}
>
> \usepackage{pstricks-add}% v2.10
>
> \begin{document}
>
> \def\data%
> {%
>   0 0
>   1 1
>   2 4
>   3 9%
> }
>
> \psset{%
>   xAxisLabel={\large x},%
>   yAxisLabel={\large y}%
> }
>
> % \psset{%
> %   xAxisLabel={$x$},%
> %   yAxisLabel={$x^2$}%
> % }
>
> \begin{psgraph}%
>     [axesstyle=frame]%
>     (0,0)(3.0,9.0){12cm}{9cm}
>     \listplot[dotstyle=*,plotstyle=dots]{\data}
> \end{psgraph}
>
> \end{document}
>
> <--- eof --->
>
> I thought that's quite reasonable but i end up with a weird error:
>
> ! TeX capacity exceeded, sorry [parameter stack size=500].
> \@setfontsize #1#2#3->
>                       \@nomath #1\ifx \protect \@typeset at protect \let
>                       \@curr...
> l.25 }
>
> The change to math mode which is commented above works fine. Of
> course, i increased the stack size and rebuilt the format but the
> error still occurs.
>
> Can some confirm this behaviour or has any ideas what to do?
>
> TIA
>   Martin
>
> --
> "Just because you're paranoid don't mean
>  they're not out to get ya"
>   Joe Jackson
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks






More information about the PSTricks mailing list