诀窍是使用 \''{a} 并确保解释器设置为latex(而不是tex)。例:
\''{a}
title('Maxim\''{a}ln\''{i}','FontSize',30,'Interpreter','latex')