I know I can horizontally align text using the B argument like this:


But how do I vertically align it? Do I use the tabular command? Am I using the correct syntax?




This seems to work:


But I read it is not a real pstricks object, so there might be other problems?

  • 2
    This is unclear. What do you mean by horizontal and vertical alignment when you only have a single item?
    – Werner
    Dec 4, 2016 at 6:10
  • I mean vertical and horizontal centering with respect to the (x,y) coordinate.
    – posfan12
    Dec 8, 2016 at 5:54
  • Then use as optional argument for \rput[C] or nothing, it is the default.
    – user2478
    Dec 8, 2016 at 9:08
  • The documentation I was reading doesn't mention the C argument. en.wikibooks.org/wiki/LaTeX/PSTricks
    – posfan12
    Dec 9, 2016 at 9:41

1 Answer 1


Don't know what you mean with "vertical" alignment. But \rput makes more sense for words without line breaking. In the following example the two "L" are printed one over the other:


\psTextFrame[fillstyle=none](-156,-8)(-172,8){\large\itshape L} 
\rput(-164,0){\large\itshape L}\psdot(-164,0)


By the way: \itshape is a switch! It has no argument.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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