mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Separate `\sphinxcapstartof` macro, to facilitate caption below table
This commit is contained in:
@@ -895,6 +895,7 @@ def test_latex_table_tabulars(app, status, warning):
|
||||
# table having caption
|
||||
table = tables['table having caption']
|
||||
assert ('\\begin{savenotes}\\sphinxattablestart\n\\centering\n'
|
||||
'\\sphinxcapstartof{table}\n'
|
||||
'\\sphinxcaptionof{table}{caption for table}'
|
||||
'\\label{\\detokenize{tabular:id1}}\n'
|
||||
'\\sphinxaftercaption' in table)
|
||||
|
||||
Reference in New Issue
Block a user