We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Subscripts Longer than 1 Character in Math

asked 2021-05-02 14:31:31 +0200

J.D. gravatar image

I'm putting equations into my LibreOffice Writer document. I know that the syntax for right subscripts in LibreOffice Math is a_{b}. But this doesn't quite work when the subscript is more than one character; and the pattern of when it works/doesn't work seems strange.

For example, suppose I want S_{left} S_{l} displays just fine S_{le} displays as S followed by an upside down question mark S_{lef} displays ok again S_{left} encounters the same display error as S_{le}

It doesn't seem to be a matter of the number of characters being even/odd either. S_{r}, S_{ri}, S_{rig} and S_{righ} display fine. But S_{right} shows that upside down question mark.

What's going wrong here?

edit retag flag offensive close merge delete


1 Answer

Sort by » oldest newest most voted

answered 2021-05-02 14:44:33 +0200

ml9104 gravatar image

updated 2021-05-02 14:52:55 +0200

left is a reserved word, other subscripts work OK.
You can do it like this: S_{"left"}.
Downside is, that it won't be italic by default, you'll need to change that in the Fonts settings.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2021-05-02 14:31:31 +0200

Seen: 23 times

Last updated: May 02