【发布时间】:2013-01-09 21:29:43
【问题描述】:
如何在 reStructuredText / Sphinx 中输入大括号?
非常感谢!
【问题讨论】:
标签: python-sphinx restructuredtext
如何在 reStructuredText / Sphinx 中输入大括号?
非常感谢!
【问题讨论】:
标签: python-sphinx restructuredtext
您可以使用 math mode,它使用 LaTeX 语法来渲染大括号并控制它们的大小:
.. math::
\{ \big\{ \Big\{ \bigg\{ \Bigg\{
( \big( \Big( \bigg( \Bigg(
会给你这样的东西:
尽管注意limitations of basic math mode:这些符号需要conf.py 中的extensions = ['sphinx.ext.pngmath'] 才能工作。
【讨论】: