代码之家  ›  专栏  ›  技术社区  ›  Stefan

如何在asciidoc mathjax公式中获取粗体和斜体文本?

  •  1
  • Stefan  · 技术社区  · 7 年前

    以下任何一种方法都不会生成 粗体斜体字 :

    :stem: latexmath
    
    [latexmath]
    ++++        
    
    \it{\bf{foo}}
    \textit{\textbf{foo}}
    \mathit{\mathbf{foo}} 
    
    ++++
    

    =>如何实现 ?

    我使用chrome 67.0.3396.99和asciidoctor.js预览插件来呈现我的asciidoc文件。

    相关:

    1 回复  |  直到 7 年前
        1
  •  1
  •   Stefan    7 年前
    \pmb{foo}
    

    (还有一些字符可以达到答案的30个字符限制。)