How can I add bulleted list in Matlab annotation textbox
I am trying to add a bulleted list in a Matlab annotation textbox. I’ve tried using LaTex commands but all I get is: Unable to interpret latex string, such as
str = ‘begin{itemized} item First Line item Second Line end{itemized}’;
figure;
ha = annotation(‘textbox’, [0.5 0.5 0.4 0.2], ‘Interpreter’, ‘latex’);
set(ha, ‘String’, str)
This is similar to the way you put a table in an annotated textbox:
<http://www.mathworks.com/matlabcentral/answers/99523-how-do-i-create-a-latex-table-in-a-matlab-text-box Latex Table>I am trying to add a bulleted list in a Matlab annotation textbox. I’ve tried using LaTex commands but all I get is: Unable to interpret latex string, such as
str = ‘begin{itemized} item First Line item Second Line end{itemized}’;
figure;
ha = annotation(‘textbox’, [0.5 0.5 0.4 0.2], ‘Interpreter’, ‘latex’);
set(ha, ‘String’, str)
This is similar to the way you put a table in an annotated textbox:
<http://www.mathworks.com/matlabcentral/answers/99523-how-do-i-create-a-latex-table-in-a-matlab-text-box Latex Table> I am trying to add a bulleted list in a Matlab annotation textbox. I’ve tried using LaTex commands but all I get is: Unable to interpret latex string, such as
str = ‘begin{itemized} item First Line item Second Line end{itemized}’;
figure;
ha = annotation(‘textbox’, [0.5 0.5 0.4 0.2], ‘Interpreter’, ‘latex’);
set(ha, ‘String’, str)
This is similar to the way you put a table in an annotated textbox:
<http://www.mathworks.com/matlabcentral/answers/99523-how-do-i-create-a-latex-table-in-a-matlab-text-box Latex Table> latex, bulleted list, annotation MATLAB Answers — New Questions