TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am interested in drawing a specially rendered text on a curve.

The LaTeX package pst-text provides a function to draw text on a curve (pstextpath) and a function to specially render text (pscharpath):

MWE for what I want to combine:


        % Specially Rendered Text:
          \pscharpath[linecolor=orange,fillstyle=solid,fillcolor=black,linewidth=0.3pt]{\RM Specially Rendered Text}

        % Text on a Curve:
            \psplot{-3}{3}{0.5 x x mul 0.1 mul sub}
          \RM Text on a Curve


Summary: How to write specially rendered text on a curve?

share|improve this question

migrated from stackoverflow.com Dec 14 '12 at 16:40

This question came from our site for professional and enthusiast programmers.

and what is your problem? – Herbert Dec 14 '12 at 16:46
@Herbert I guess the problem is replication of the glowing effect below to the curved path. – percusse Dec 14 '12 at 16:47
ah I see. That is possibble but needs some modifications of the code – Herbert Oct 8 '13 at 7:19

I'm not sure that this is really an answer, but according to the documentation on \pscharpath and \pstextpath:

With the optional *, the character path is not removed from the PostScript environment at the end. This is mainly for special hacks. For example, you can use \pscharpath* in the first argument of \pstextpath, and thus typeset text along the character path of some other text. However, you cannot combine \pscharpath and \pstextpath in any other way. E.g., you cannot typeset character outlines along a path, and then fill and stroke the outlines with \pscharpath.

share|improve this answer
It says : You cannont typeset character outlines along a path, and then fill and stroke the outlines with \pscharpath... It'll require a more complex transformation. Sorry, dude – EisenHeim Aug 12 '14 at 12:11
@Pierre Yeah, I don't know the mechanics behind \pscharpath and \pstextpath, but I have the feeling it should be possible to merge them (even if it requires a deeper hack). – matheburg Aug 12 '14 at 13:39
@Pierre I'm not sure I understand your comment which seems only to repeat the same information from the quote in my answer. – A.Ellett Aug 12 '14 at 13:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.