GeneralCentering over a PSTricks node

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
stretch65
Posts: 4
Joined: Thu Mar 18, 2010 6:49 am

Centering over a PSTricks node

Post by stretch65 »

Hi,

I've defined a pstricks node as follows:

Code: Select all

\pnode(2,3){A}
Now, I want to center a short line of text on it, but I don't know how. Can someone help?
Last edited by stretch65 on Sun Nov 07, 2010 6:37 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Centering over a PSTricks node

Post by CrazyHorse »

stretch65 wrote: I've defined a pstricks node as follows:

Code: Select all

\pnode(2,3){A}
Now, I want to center a short line of text on it, but I don't know how. Can someone help?

Code: Select all

\documentclass{article}
\usepackage{pst-node}
\SpecialCoor
\begin{document}

\pnode(2,3){A}\psdot(A)
\uput[90](A){above}
\uput[-90](A){below}
\rput(A){center}

\end{document}
Herbert
Post Reply