【问题标题】:How to type large curly brackets in reStructuredText / Sphinx如何在 reStructuredText / Sphinx 中键入大括号
【发布时间】:2013-01-09 21:29:43
【问题描述】:

如何在 reStructuredText / Sphinx 中输入大括号?

非常感谢!

【问题讨论】:

    标签: python-sphinx restructuredtext


    【解决方案1】:

    您可以使用 math mode,它使用 LaTeX 语法来渲染大括号并控制它们的大小:

    .. math::
    
        \{ \big\{ \Big\{ \bigg\{ \Bigg\{
    
        (  \big(  \Big(  \bigg(  \Bigg(
    

    会给你这样的东西:

    尽管注意limitations of basic math mode:这些符号需要conf.py 中的extensions = ['sphinx.ext.pngmath'] 才能工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-29
      • 1970-01-01
      • 2012-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-27
      • 1970-01-01
      相关资源
      最近更新 更多