[pstricks] Is a small red horizontal line a bug?
Manfred Braun
manfred.braun at uni-due.de
Tue Apr 22 21:21:18 CEST 2014
Hi,
It seems that \pstextpath cannot handle all compound symbols correctly. The small horizontal line is the horizontal bar of the square root symbol, and it is not correspondingly rotated and placed along the path. If you replace $\sqrt x$ by $\surd x$, the line disappears, but the square root symbol is still displayed only in its "short" form, without the bar. The same effect appears, if you try to typeset $\frac{a}{b}$ along a path.
Manfred
On 22.04.2014, at 21:16, Donut E. Knot wrote:
> Dear folks,
>
>
> Please consider the following code.
>
> \documentclass[pstricks,border=12pt,12pt]{standalone}
> \usepackage{pst-plot,pst-text}
> \psset{unit=4cm}
>
> \def\f{sqrt(x)}
> \def\g{x}
>
> \begin{document}
> \multido{\r=-1.0+0.1}{18}{%
> \begin{pspicture}[algebraic,plotpoints=200](-1,-1)(2.25,2.25)
> \psaxes{->}(0,0)(-1,-1)(2,2)[$x$,0][$y$,90]%
> \pstextpath[r](0,.1){\psplot[linecolor=blue]{-.5}{1.5}{\g}}{\textcolor{blue}{$g(x)= x$}}%
>
> \pstextpath[c](\r,.1){\psplot[linecolor=red]{0}{1.5}{\f}}{\textcolor{red}{$f(x)=\sqrt x$}}%
> \end{pspicture}}
> \end{document}
>
> There is a small red horizontal line as shown in this figure http://i.stack.imgur.com/mVTOu.gif. Is it a bug?
>
>
> Thank you in advance.
>
>
> best regards,
>
>
> I am who I say I am
> (http://tex.stackexchange.com/users/19356)
>
> View on i.stack.imgur.com
> Preview by Yahoo
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140422/acc83385/attachment-0001.html>
More information about the PSTricks
mailing list