my Latex and Tex4ht cheat sheet
my Latex cheat sheet - 12000.org
my Latex cheat sheet - 12000.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
see http://tex.stackexchange.com/questions/124862/<br />
how-to-draw-a-diagram-that-forks-out-then-joins-in-the-middle-then-forks-out-ag<br />
%written by Qrrbrbirlbel at Tex stackexchange<br />
\documentclass[tikz]{st<strong>and</strong>alone}<br />
\usetikzlibrary{positioning-plus,paths.ortho}<br />
\tikzset{<br />
parents/.style 2 args={<br />
@parents/.style={insert path={edge[edge from children path] (#1-##1)}},<br />
@parents/.list={#2}},<br />
edge from parent path={<br />
(\tikzparentnode\tikzparentanchor) |-| (\tikzchildnode\tikzchildanchor)},<br />
edge from children path/.style={<br />
to path={<br />
(\tikztostart\tikzchildanchor) |-| (\tikztotarget\tikzparentanchor) \tikztonodes}}<br />
}<br />
\begin{document}<br />
\begin{tikzpicture}[<br />
node distance=\tikzleveldistance <strong>and</strong> \tikzsiblingdistance,<br />
on grid,<br />
text depth=+0pt,<br />
hvvh=from center<br />
]<br />
\node (A) {A}<br />
child {node {B}}<br />
child {node {C}};<br />
\node[below=2:of A] (E) {E} [parents={A}{1,2}]<br />
[sibling distance/.exp<strong>and</strong>ed=2*\the\tikzsiblingdistance]<br />
child {node {F}<br />
child {coordinate<br />
[anchor=center,sibling distance/.exp<strong>and</strong>ed=.5*\the\tikzsiblingdistance]<br />
child {node {N}}<br />
child {node {Q}}<br />
}<br />
child {node {R}}<br />
}<br />
child {node {G}}<br />
child {node {H}};<br />
\node[below=of (E-2)(E-3)] (L) {L} [parents={E}{2,3}]<br />
child {node {M}}<br />
child {node {N}}<br />
child {node {K}}<br />
;<br />
\end{tikzpicture}<br />
\end{document}<br />
PDF<br />
90