[OS X TeX] pst-node

Michael Sharpe msharpe at ucsd.edu
Sun Jun 12 14:33:56 EDT 2016


> On Jun 12, 2016, at 11:23 AM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
> 
> (I repeat my slap to the forehead—stupid me!)
> Related question:  is there a way to use multi do to create a sequence of circle nodes labelled as I had there—that is, a sequence at positions (1,k) labelled Ak, for k=1…7?  (I also made another stupid error: Ak was supposed to be at position (1,k), not (k,1)—not directly relevant to my question, though).
>> 
\documentclass[11pt]{amsart}
\usepackage{amssymb}
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{multido}

\title{Braid Picture Test}
\begin{document}
\maketitle
\begin{pspicture}(6,8)
\multido{\i=1+1,\ii=7+-1}{7}{\cnodeput(1,\ii){A\i}{$\i$}}
\end{pspicture}
\end{document}  

You might find the pgffor package to have a more intutitive syntax.

Michael


More information about the MacOSX-TeX mailing list