[texhax] Text following a curve

E. Krishnan ekmath at asianetindia.com
Sat Sep 9 02:08:12 CEST 2006


On Fri, 8 Sep 2006, H V wrote:

> I'm trying to write a text following a curve in a tikzfigure
> environment, but cannot manage. 

I'm not familiar with the package you mention, but have you looked 
at the "PSTricks" package  for this purpose? For example,


      \documentclass{article}
      \usepackage{pstricks,pst-plot,pst-text}

      \begin{document}

      \begin{pspicture}(-3,-1)(3,5)
        \psaxes[labels=none,linecolor=gray](0,0)(-3,-1)(3,5)
        \pstextpath{%
        \psplot[linestyle=none]{-2}{2}{4 x 2 exp sub}}{%
          This is the graph of the equation $y=4-x^2$ for
          $-2\le x\le 2$}
      \end{pspicture}

      \end{document}





-- 
Krishnan



More information about the texhax mailing list