latex: add preamble for directive block

This commit is contained in:
Robert Göhler 2020-01-04 12:42:18 +01:00
parent faf67e43df
commit fa0a2ec10c

View File

@ -136,6 +136,9 @@ latex_elements = {
# Latex figure (float) alignment # Latex figure (float) alignment
# #
# 'figure_align': 'htbp', # 'figure_align': 'htbp',
'preamble': r'''\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist''',
} }
# Grouping the document tree into LaTeX files. List of tuples # Grouping the document tree into LaTeX files. List of tuples