summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2020-01-04 12:42:18 +0100
committerRobert Göhler <github@ghlr.de>2020-01-04 12:42:18 +0100
commitfa0a2ec10cea60b438b67b8b7a7143cdcbb082b8 (patch)
tree91516ebc3a95f9e031b5674fbb29fabf43a4787a /docs/conf.py
parentfaf67e43dff6c16aba6df68dbfb490daaa0ff584 (diff)
downloadvyos-documentation-fa0a2ec10cea60b438b67b8b7a7143cdcbb082b8.tar.gz
vyos-documentation-fa0a2ec10cea60b438b67b8b7a7143cdcbb082b8.zip
latex: add preamble for directive block
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py3
1 files changed, 3 insertions, 0 deletions
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