GeneralBlock diagrams in latex

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Block diagrams in latex

Post by localghost »

Please provide a minimal working example (MWE) of your flowchart as written up to this point.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

frey
Posts: 11
Joined: Thu Jan 10, 2008 8:26 pm

Block diagrams in latex

Post by frey »

Ok.

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}
Post Reply