new strange LaTeX behaviour with color changing of a long arrow

Robert T. shared this question 4 years ago

Geogebra classic 5.0.509


The combination of a color-changing command with a long-arrow-command suddenly needs a separating sequence after the long-arrow-command. As long as the separating sequence is missing, the whole text cannot be interpreted.

No problem: \orange{\rightarrow} B

Formerly no problem, but now failing: \orange{\longrightarrow} B

Work-around: \orange{\longrightarrow{}} B

If the including command is NOT a color-command, the long-arrow-command works properly:

No problem: \bold{\longrightarrow} B (just for illustration; of course there is no bold long rightarrow).

Comments (1)


Thanks, fixed for next release (v510)

© 2023 International GeoGebra Institute