[pstricks] Math expressions?
Herbert Voss
LaTeX at ZEDAT.FU-Berlin.DE
Wed Nov 22 10:43:14 CET 2006
Herbert Voss schrieb:
> Johan Ekh schrieb:
>
>> How can I use mathematical expressions and variables when drawing lines
>> and
>> curves?
>> I'd like to do something like:
>>
>> angleB=45
>> \psarc[par](x,y){r}{angleA}{0.5*angleB+30}
>
> you have to disable the angle check.
>
> \documentclass{minimal}
> \usepackage{pstricks}
> \parindent=0pt
>
> \makeatletter
> \def\pst at getangle#1#2{\def#2{#1}}
\def\pst at getangle#1#2{\def#2{#1 }}% space after #1
sorry, forgot this space here
Herbert
More information about the PSTricks
mailing list