Guest User

pathprob

a guest
Jun 30th, 2014
13
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \documentclass[
  2. a4paper
  3. ]{scrartcl}
  4.  
  5. \usepackage{lmodern}
  6. \usepackage[T1]{fontenc}
  7. \usepackage[utf8]{inputenc}
  8.  
  9. \usepackage{tikz}
  10. \usetikzlibrary{intersections}
  11.  
  12. \listfiles
  13.  
  14. \begin{document}
  15. \begin{center}
  16. \begin{tikzpicture}[font=\sffamily\small]
  17. \path[name path=aaa] (0,0) rectangle (10,0) node[midway, above] {aaa};
  18. \begin{scope}[yshift=-2cm, below=of aaa, anchor=north]
  19. \node[fill=red!20] at (2,0) {Test};
  20. \end{scope}
  21. \draw[fill=red] (aaa) -- (5,2);
  22. \end{tikzpicture}
  23. \end{center}
  24. \end{document}
RAW Paste Data