1
·\draw[blue]·(0,0)·--++({ifthenelse(1,0.5,1)*(1cm)},0);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
LaTeX

Compile Error

1. Check the configured compile mode in settings

2. Check the LaTeX log file: