I've defined a pstricks node as follows:
Code: Select all
\pnode(2,3){A}
Code: Select all
\pnode(2,3){A}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
stretch65 wrote: I've defined a pstricks node as follows:
Now, I want to center a short line of text on it, but I don't know how. Can someone help?Code: Select all
\pnode(2,3){A}
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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis