TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

Another Minimal Non-Working Example...

    \draw (0pt,0pt) to [in=down] (\mypoint);

Everything is fine without the [in=down] modifier. Assistance welcome! I need a fix that retains the general structure; this is a simplification of a real situation in which I have hundreds of these to [in=down] (\mypoint) line segments in my draw command, where \mypoint is a different macro in each case, and it's not feasible to create a new node for every call of the macro.

share|improve this question
up vote 2 down vote accepted

Since you stored the value of 20pt as a length, you should access its value using \the\mylength. Redefining your macro as \newcommand*\mypoint{\the\mylength,20pt} will work.

See What is the difference between \def and \newlength? for more details on using length macros.

share|improve this answer
Thanks! Is it not a bit bizarre that this error only appeared when the [in=down] parameter was invoked, though? – Jamie Vicary Nov 6 '11 at 23:18
Yeah, it seems that the curveto handler which replaces the lineto handler if you use something like in=down or bend right handles its coordinates differently. – Jake Nov 6 '11 at 23:23

Your Answer


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.