Latex course for IAS IEEE branch
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.

27 lines
785 B

  1. \documentclass{article}
  2. \usepackage{tikz}
  3. \usetikzlibrary{shapes,arrows}
  4. \usepackage{graphicx}
  5. \begin{document}
  6. % 1:
  7. \tikzstyle{block} = [draw, fill=gray!20, rectangle,
  8. minimum height=3em, minimum width=6em]
  9. \tikzstyle{sum} = [draw, fill=gray!20, circle, node distance=1cm]
  10. \tikzstyle{input} = [coordinate]
  11. \tikzstyle{output} = [coordinate]
  12. \tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
  13. % The block diagram code is probably more verbose than necessary
  14. \begin{tikzpicture}[auto, node distance=2cm,>=latex']
  15. %2: We start by placing the blocks
  16. \node [input, name=input] {};
  17. \node [sum, right of=input] (sum) {};
  18. \node [block, right of=sum] (controller) {Texto};
  19. \node [block, right of=controller] (element) {Some};
  20. \end{tikzpicture}
  21. \end{document}