How do I hyphen a word using LaTex?

3 次查看(过去 30 天)
I am trying to add the word "multi-disciplinary" in the X-axis of a figure, but I use the \hyphenation command without success.
I hope anyone could help me
Regards. Rafael

回答(2 个)

Jonas
Jonas 2022-5-6
编辑:Jonas 2022-5-6
as far as I am aware, there is no automatic hyphenation in the labels, if you want to break the label, use e.g.
xlabel({'multi-','disciplinary'},'Interpreter','latex')

Star Strider
Star Strider 2022-5-6
It appears to work as written —
figure
xlabel("multi-disciplinary", 'Interpreter','latex')
Do you want a different result?
.

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by