Does MATLAB 7.0 (R14) support the \newline LaTeX tag?

16 visualizaciones (últimos 30 días)
The following code does not correctly interpret the \newline tag in MATLAB 7.0 (R14) :
text(.5,.5,' a \newline b','interpreter','Latex');

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that it handles the \newline LaTeX tag.
To work around this issue, embed the LaTeX expression in a \vbox block as in the following example:
text(.5,.5,'\vbox{\noindent a \newline b}','interpreter','Latex');

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by