[OS X TeX] pst-node
Michael Sharpe
msharpe at ucsd.edu
Sun Jun 12 20:33:56 CEST 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
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list