Search code examples
formattingmathjaxasciidoc

How to get bold and italic text in asciidoc mathjax equation?


None of the following approaches produces output that is both bold and italic:

:stem: latexmath

[latexmath]
++++        

\it{\bf{foo}}
\textit{\textbf{foo}}
\mathit{\mathbf{foo}} 

++++

=> How can I achieve foo?

I use Chrome 67.0.3396.99 with the Asciidoctor.js Preview Plugin to render my the asciidoc file.

Related:


Solution

  • \pmb{foo}
    

    (Some further chars to get to the 30 char limit for answers.)