#+Name: my-dit #+header: :exports results :file my-dit.png #+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 1200 #+header: :fit yes :noweb yes :headers '("\\usepackage{tikz}") #+begin_src latex :exports results :results raw :file my-dit.png \usetikzlibrary{matrix,arrows,decorations.pathmorphing} \begin{tikzpicture}[scale=2.5,font=\footnotesize\sffamily] \node (A) at (2,2) {dc=test.dc=example.dc=org}; \node (B) at (0,1) {ou=aliases}; \node (C) at (1,1) {ou=people}; \node (D) at (2,1) {ou=group}; \node (E) at (3,1) {ou=smbhosts}; \node (F) at (4,1) {ou=automount}; \node (G) at (5,1) {ou=bozos}; \node (L) at (0,0) {ou=green-dept}; \node (M) at (1,0) {...}; \node (N) at (2,0) {ou=yellow-dept}; \path[-] (A) edge node{} (B) (A) edge node{} (C) (A) edge node{} (D) (A) edge node{} (E) (A) edge node{} (F) (A) edge node{} (G) (C) edge node{} (L) (C) edge node{} (M) (C) edge node{} (N); \end{tikzpicture} #+end_src #+Caption: My Directory Information Tree #+Attr_HTML: :width 840 #+Attr_LaTeX: :width 14cm #+Results: my-dit