在AsciiDoc块中渲染乳胶

时间:2019-07-23 06:42:27

标签: asciidoc

AsciiDoc中的block类型很多:

  • 引用块____
  • 文字块....
  • 代码块----
  • ...

我想知道是否可以在任何这些块中渲染乳胶

= Rendering latex
:stem: latexmath


----
latexmath:[\sqrt{4}]
----

我注意到有Passthroughs一章对此进行了讨论。

所以,我尝试了

[subs=+macros] 
----
pass:c[latexmath:[\sqrt{4}]]
pass:q[latexmath:[\sqrt{4}]]
pass:a[latexmath:[\sqrt{4}]]
pass:r[latexmath:[\sqrt{4}]]
pass:m[latexmath:[\sqrt{4}]]
pass:p[latexmath:[\sqrt{4}]]
----

但这没有帮助。

尽管stem block可以渲染乳胶,但多行内容的默认布局居中,而多余的空间则被忽略,这不是我想要的。我想保留原始布局,只渲染乳胶部分。

0 个答案:

没有答案