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

1

5

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:

Relativize answered 25/7, 2018 at 8:8 Comment(1)
The relevant MathJax issue is github.com/mathjax/MathJax/issues/929, including post to a custom macro.Aligarh
R
10
\pmb{foo}

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

Relativize answered 25/7, 2018 at 8:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.