Graphics, Figures & Tables ⇒ pst-node/pstricks object inside equation environment?
pst-node/pstricks object inside equation environment?
However, I wanted to display the diagram(s) inside an equation environment. Is it possible to contain the pspicture environment inside equation environment, perhaps by using \mbox? Is it possible to issue pstricks commands inside an \mbox?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
pst-node/pstricks object inside equation environment?
Code: Select all
\begin{equation}
\makebox[3.2cm][l]{\rule[-1.366cm]{0cm}{2.732cm}\Cnode[radius=0.5cm](0.5,-0.866){A}\rput(0.5,-0.866){a}
\Cnode[radius=0.5cm](2.5,-0.866){B}\rput(2.5,-0.866){b}
\Cnode[radius=0.5cm](1.5,0.866){C}\rput(1.5,0.866){c}
\ncline{A}{B}
\ncline{A}{C}
\ncline{B}{C}}
\end{equation}