mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Allow configuring the separator used in numbering equations (#12523)
Co-authored-by: Thomas Fanning <tom@ferb.ne.anl.gov> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
@@ -906,6 +906,18 @@ These options control maths markup and notation.
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
.. confval:: math_numsep
|
||||
:type: :code-py:`str`
|
||||
:default: :code-py:`'.'`
|
||||
|
||||
A string that defines the separator between section numbers
|
||||
and the equation number when :confval:`numfig` is enabled and
|
||||
:confval:`numfig_secnum_depth` is positive.
|
||||
|
||||
Example: :code-py:`'-'` gets rendered as ``1.2-3``.
|
||||
|
||||
.. versionadded:: 7.4
|
||||
|
||||
|
||||
Options for the nitpicky mode
|
||||
-----------------------------
|
||||
|
||||
Reference in New Issue
Block a user