Tag Info

New answers tagged

5

For increasing the gap between the line and text, you can use raise=<dimen>. To align text at the center, use text align=center. I could not find out why the extra arrow head comes (it is due to decorations, but why...). To bypass that extra head, you can plot two times, once with decoration and another with line like \addplot[draw=none, ...


3

You can tell xstring to do the expansion for you via \fullexpandarg or another lighter setting described in the manual. \documentclass{article} \usepackage{fontspec} \usepackage{xstring} \usepackage{tikz} \usetikzlibrary{positioning,decorations.text} \newcommand{\releasedate}{2015-03-27} \newcommand\manufacturedatetext{% {\fullexpandarg ...


5

For A: Put the node right after to[out=90,in=90] like \draw [<->] (data) to[out=90,in=90]node [pos=.5, above, sloped] (TextNode) {TCP} (app) ; For B, do this: \draw[<->,postaction={decorate,decoration={text along path,raise=1ex,text align=center,text={TCP}}}] (data) to[out=90,in=90] (app); Full code: \documentclass{article} ...



Top 50 recent answers are included