101 reputation
3
bio website fb.com/hartimd
location Germany
age 24
visits member for 4 months
seen Nov 3 at 10:02

At the moment I'm student on my way to the masters degree.
I'm using Tex now for about 5 years. On spare time I'm also a little into php.

Is TeX just for programmers, or can normal people use it too?

Beautiful piece of code by @Mark Wibrow

\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}[>=stealth,every node/.style={text depth=0cm},
  every label/.style={label distance=0.5cm, text=red, inner sep=1cm/16}]
\foreach \i [count=\j, count=\k from 0] in {5,7,9,11}{
  \node [label={[name=p-\j]180:$\k$}, label={[name=q-\j]0:$\i/4$}] 
    (n-\j) at (\j/1.25,-\j/1.75) {$p_{\i}$};
  \ifnum\j>1
    \draw [->] (n-\k.south) |- (n-\j.west);
    \draw [blue, ->] (p-\k) to [out=250, in=200] (p-\j);
    \draw [blue, ->] (q-\j.north) to [out=90, in=0]  (q-\k.east);
  \fi
} 
\end{tikzpicture}
\end{document}

Richtig! Die richtige Antwort lautet: Falsch.
Right! The right answer is: wrong.


This user has not asked any questions

3 Votes Cast

all time   by type  
3 up 1 question
0 down 2 answer