[texhax] Tikz: Modifying Positions

Christopher Olah christopherolah.co at gmail.com
Fri May 21 03:06:06 CEST 2010


> \draw (b.west) ++(0,1) -- (a.east);

No luck with this... Thanks for trying.

> The Tikz calc library is your friend here---the following should achieve
> what you want to achieve:
>
> % in preamble,
> \usepackage{tikz}
> \usetikzlibrary{calc}
>
> % in your tikzpicture
>
> \draw (a.est) -- ($(b.west) + (0,1)$);
>
> You can do all manner of relative tweaking if you wrap the calculation with
> ($ ... $)
>

That works like a charm. Thank you!


More information about the texhax mailing list