Sign up ×
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.

I need to construct an arc depending on a variable. Some lines of the code work some do not. Any ideas?




% works
\draw[->] (0,0) arc (-90:90:.5*\BLS) ;

% works
\draw[->] (0,0) arc (-90:90:\BLS{} and 2cm) ;

% don't work
\draw[->] (0,0) arc (-90:90:.5*\BLS{} and 2cm) ;

% don't work
\draw[->] (0,0) arc (-90:90:.5*\BLS and \BLS) ;


share|improve this question

3 Answers 3

up vote 3 down vote accepted


\draw[->] (0,0) arc (-90:90:{.5*\BLS} and 2cm);   
\draw[->] (0,0) arc (-90:90:{.5*\BLS} and \BLS);
share|improve this answer

Or use:

\draw[->] (0,0) arc (-90:90:\BLS{}/2 and 2cm) ;
\draw[->] (0,0) arc (-90:90:\BLS/2 and \BLS) ;
share|improve this answer

Just another way:

\draw[->] (0,0) arc (-90:90:\dimexpr.5\BLS\relax\space and 2cm) ;
share|improve this answer
The extra keystrokes are not deliberately added. – kiss my armpit Apr 28 '14 at 19:24

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.