General ⇒ Block diagrams in latex
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Block diagrams in latex
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
Block diagrams in latex
Code: Select all
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-node,pst-poly}
\begin{document}
\begin{psmatrix}
\rnode{N1}{\psframebox{some text}}\\
\rnode{N2}{\pspolygonbox[PolyNbSides=6]{some looooooooong text}}\\
\rnode{N3}{\psframebox{some text}}
\end{psmatrix}
\ncline{N1}{N2}
\ncline{N2}{N3}
\end{document}