From fa0a2ec10cea60b438b67b8b7a7143cdcbb082b8 Mon Sep 17 00:00:00 2001 From: Robert Göhler Date: Sat, 4 Jan 2020 12:42:18 +0100 Subject: latex: add preamble for directive block --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/conf.py b/docs/conf.py index 400235e9..b5e67368 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -136,6 +136,9 @@ latex_elements = { # Latex figure (float) alignment # # '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 -- cgit v1.2.3