Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable TeX interpreted messages in waitbar

What is the quickest way to disable TeX markup from displaying in messages in a waitbar? I was expecting an option like

'Interpreter', 'none', ...
like image 551
HeinrichStack Avatar asked Dec 21 '22 02:12

HeinrichStack


2 Answers

The Interpreter property is not available for figures I believe (waitbar creates a figure object), but you can apply it afterward to the waitbar message:

h=waitbar(x,message);
set(findall(h,'type','text'),'Interpreter','none');

You could also escape the problematic characters, but that would be a lot more complicated.

like image 100
Aabaz Avatar answered Jan 07 '23 15:01

Aabaz


You can also set the global Tex Interpreter to None, it applies to waitbars as well.

 set(0, 'DefaulttextInterpreter', 'none');
like image 28
Andrey Rubshtein Avatar answered Jan 07 '23 17:01

Andrey Rubshtein