LaTeX: textcolor-environment handling suddenly changed
Solved
Until yesterday I could use the textcolor-command to switch back into math-environment within a text-environment:
\text{This is my formula\mbox{:} \textcolor{black}{x^2+y^2=z^2}, which is just an example.}
The formula x^2+y^2=z^2 was formatted in math-style until yesterday. Suddenly the textcolor-environment is no longer interpreted as math-environment, it behaves like the surrounding text-environment.
The result is that all the LaTeX-texts in my applets are pretty destroyed now... Of course I can change that with some effort, but I wonder which handling is correct:
a) textcolor does NOT change the parent-environment (new version)
b) textcolor should switch into math-environment (behaviour until yesterday)
There have been changes in LaTeX lately that might have triggered your issue.
I'm looping your post to the Developers, thank you
Thank you for your reply! While repairing my texts I found another change in LaTeX: it concerns the space between a colon (:) and text. Usually an additional space was inserted between a letter and a colon, but now this space is no longer inserted (actually this would make things easier, because I always had to reduce this space by using \mbox{:} ).
Please can you post links to your affected applets?
Please try the new version (v501)
Thank you for reanimating the lost spaces!
In case someone is interested: In the meantime I found out that switching to math-mode within text-environment can be done by enclosing the math-formula with \[ and \]:
\text{This is a formula: \[c^2=a^2+b^2\], copyright by Pythagoras.}
Comments have been locked on this page!