我可以在 reStructuredText 中使用内联原始 LaTeX

2024-04-24

我正在尝试将 LaTeX 变量嵌入到一些 reStructuredText 中。我知道“.. raw::”指令,但我希望将其嵌入到文本段落中。具体来说,我希望从模板考试文档中复制 \numquestions\ 和 \numpoints\ 变量。我尝试过使用:raw:\numquestions\,但这似乎无效。有什么办法可以做到这一点吗?


Use the raw角色(内联相当于raw指示)。请参阅这些参考资料:

  • http://docutils.sourceforge.net/FAQ.html#how-can-i-include-mathematical-equations-in-documents http://docutils.sourceforge.net/FAQ.html#how-can-i-include-mathematical-equations-in-documents
  • http://docutils.sourceforge.net/docs/ref/rst/roles.html#raw http://docutils.sourceforge.net/docs/ref/rst/roles.html#raw
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

我可以在 reStructuredText 中使用内联原始 LaTeX 的相关文章

随机推荐