There are some mathematical equations in the form of:


which I enter in org-mode as

$G_{*u*}$ or $G_{ *u* }$

It gets displayed correctly in org-mode, but when exported to LaTeX, the asterisks are interpreted as literal texts.

Is there a way to get LaTeX export to properly recognize that the subscript should be wrapped in \textbf{}?

There doesn't seem to be a problem with non-subscript texts, e.g. $ *X* $.

1 Answer 1


My understanding of the LaTeX exporter is that it recognizes raw LaTeX, and passes it unchanged to the LaTeX compiler. So you can use either org markup, or LaTeX markup, but you can't nest org markup inside LaTeX markup. eg:

No boldface, works as expected:

Nesting org markup inside a LaTeX element, doesn't work:

Using regular LaTeX without org markup:


enter image description here

  • Makes sense. The $$ makes it part of LaTeX environment already. I should pay attention to that in the future.
    – xji
    Jun 13, 2018 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.