TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to draw a line from node A half-way to node B in TiKZ. How can I find express the end point?

share|improve this question
4  
This is described in section 13.5.3 The Syntax of Partway Modiers on p. 135 of the pgfmanual. – Jake Sep 27 '11 at 6:33
up vote 30 down vote accepted

Use

\usetikzlibrary{calc}

and then

($ (A) !.5! (B) $)

to get the middle between node A and B.

share|improve this answer
    
It seems like in the new versions of the manual there is Euler tutorial and the calc explanation is missing. – somenxavier Nov 19 '15 at 8:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.