Separate `\sphinxcapstartof` macro, to facilitate caption below table

This commit is contained in:
jfbu
2017-05-04 15:37:16 +02:00
parent 2034be9b9e
commit 069b937513
4 changed files with 13 additions and 9 deletions

View File

@@ -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)