[pstricks] decimal separator in pstricks-add+pst-plot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Apr 26 16:31:44 CEST 2009


Vafa Khalighi schrieb:
> Thanks to all. I think I have found my answer. Suppose in xepersian,
> \decimalseparator stands for unicode character 066B, then the following code
> does what I want:
> 
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \def\@writeDecimals#1{%
>   \ifx\@xyDecimals\@empty% take value as is
>     \def\@tempa{#1}% write only if not empty
>     \ifx\@tempa\@empty% write nothing
>     \else
>       \ifPst at comma{,}\else\decimalseparator\fi%


try the pstricks-add.tex from
http://voss.homedns.org/packages/pstricks-add/

then you can define globally
\psset{decimalSeparator=...}

Herbert


More information about the PSTricks mailing list