Math rendering works only if the whole text is notated as Latex.
Bug Description
Math rendering (actually Latex) work in the current version 2023.1.0 only if the whole text is notated as Latex.
Steps to reproduce
Create a new plot and give it a label, containing LaTex commands. For example:
t = 1:0.1:10;
u = sin(t);
plot(t,u);
xlabel('$time\:in\:s$');
ylabel('$u_{1}$ in V');
The LaTex Command of the xlabel is rendered correctly. The ylabel is not rendered.
What is the expected correct behavior?
Also parts of strings (as the u_{1}
in 'u_{1}
in V') should be rendered by the math rendering.