Some experiments in LaTeX that I mention in my zine, the codex.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
590 B

3 years ago
3 years ago
  1. \documentclass[border=0.3cm]{standalone}
  2. \usepackage{tikz}
  3. \usetikzlibrary{shapes.geometric, arrows}
  4. \tikzstyle{block} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=red, fill=white]
  5. \tikzstyle{arrow} = [thick,->,>=stealth]
  6. \begin{document}
  7. \begin{tikzpicture}[node distance=2cm]
  8. \node (start) [block] {Start};
  9. \node (stop) [block, below of=start] {Stop};
  10. \node (other) [block, right of=stop, xshift=2cm] {Other};
  11. \draw [arrow] (start) -- (stop);
  12. \draw [arrow] (start) -| (other);
  13. \draw [arrow] (other) -- (stop);
  14. \end{tikzpicture}
  15. \end{document}