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?
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
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}