<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">This popped up in a my Quora feed: <<a href="https://qr.ae/pvfsAy" class="">https://qr.ae/pvfsAy</a>><div class=""><br class=""></div><div class="">The code is supposed to generate a complete graph on n vertices using pstricks:</div><div class=""><br class=""></div><div class=""><div class="">% !TEX TS-program = xelatex </div><div class=""> </div><div class="">\documentclass{article} </div><div class="">\pagestyle{empty} </div><div class=""> </div><div class="">\usepackage{pstricks,pst-node,pst-plot} </div><div class="">\usepackage{multido} </div><div class=""> </div><div class="">\newcommand{\K}[1]{% </div><div class=""> \psset{linewidth=0.15pt} </div><div class=""> \begin{pspicture}(-3,-3)(3,3) </div><div class=""> \SpecialCoor </div><div class=""> \degrees[#1] </div><div class=""> \multido{\n=1+1}{#1}{\multido{\i=1+1}{#1}{\psline[linecolor=orange](3;\n)(3;\i)}} </div><div class=""> \end{pspicture} </div><div class="">} </div><div class=""> </div><div class="">\begin{document} </div><div class="">\begin{center} </div><div class="">\K{28} </div><div class="">\end{center} </div><div class="">\end{document} </div></div><div class=""><br class=""></div><div class="">However, this does not compile for me. TeXShop (with fully updated TeXLive 2022) complains of an undefined control sequence in pst-node:</div><div class=""><br class=""></div><div class=""><div class="">/usr/local/texlive/2022/texmf-dist/tex/generic/pst-node/pst-node.tex:829: Undefined control sequence.</div><div class="">\reserved@c ->\psset@@rot </div><div class=""> </div><div class="">l.829 \psset[pst-node]{nrot=0}</div></div><div class=""><br class=""></div><div class="">and it’s downhill from there. I haven’t a clue what to do with that, or how to fix it.</div><div class=""><br class=""></div><div class="">Any ideas? (Please cc replies directly to me as I’m on the digest.)</div><div class=""><br class=""></div><div class="">Thanks,<br class=""><div class="">
David Craig<br class=""><br class="">PS. <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Also, would love to see how this would be done in tikz!</span><br class=""><br class=""><br class=""><<a href="http://www.panix.com/~dac/" class="">http://www.panix.com/~dac/</a>>
</div>
<br class=""></div></body></html>