Ask Your Question

in math editor, how do I escape keywords ?

asked 2019-08-13 09:14:28 +0200

JN gravatar image

updated 2019-08-13 09:35:10 +0200

In math markup, I'd like to write something like:

%alpha ^{sup} + %alpha ^ {inf}

Obviously this does not work because "sup" is a keyword. Escaping it with double quotes makes the rendering different (literal) , and even with the "ital" keyword in front of it, the result is not conclusive. Is there a way to tell math that the following text is literal but still a symbol?

By the way, writing "sup in the graphical editor seems to work until you try to reedit the formula, which is kind of tricky.

edit retag flag offensive close merge delete


What you write here isn't mathml.

Mike Kaganski gravatar imageMike Kaganski ( 2019-08-13 09:23:52 +0200 )edit

Ah, sorry, this is LO math markup. Will edit the question.

JN gravatar imageJN ( 2019-08-13 09:30:06 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-08-13 10:00:48 +0200

A workaround is using uoper:

%alpha ^{uoper sup {}} + %alpha ^ {inf}
edit flag offensive delete link more


That works!

JN gravatar imageJN ( 2019-08-13 11:08:21 +0200 )edit

%alpha ^{ital "sup"} + %alpha ^{ital "inf"}

Opaque gravatar imageOpaque ( 2019-08-13 12:56:13 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-08-13 09:14:28 +0200

Seen: 18 times

Last updated: Aug 13