0

How to type large curly brackets in reStructuredText / Sphinx?

Thanks much!

mzjn
  • 48,958
  • 13
  • 128
  • 248
xxks-kkk
  • 2,336
  • 3
  • 28
  • 48

1 Answers1

2

You can use the math mode, which uses LaTeX syntax, to render braces and control their size:

.. math::

    \{ \big\{ \Big\{ \bigg\{ \Bigg\{

    (  \big(  \Big(  \bigg(  \Bigg(

will give you something like this:

braces and brackets of various sizes various

although be aware of the limitations of basic math mode: these symbols need extensions = ['sphinx.ext.pngmath'] in your conf.py to work.

Community
  • 1
  • 1
Bonlenfum
  • 19,101
  • 2
  • 53
  • 56