Skip to content

Commit 6755188

Browse files
committed
Make pdf docs generate in landscape.
Given that almost everything in `labscript-devices` has a really long name that overfills the page in latex mode, landscape default for the whole thing is an easy help that reduces the pain.
1 parent c82224a commit 6755188

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,13 @@
172172
else:
173173
todo_include_todos = True
174174

175+
# -- Options for PDF output --------------------------------------------------
176+
177+
latex_elements = {
178+
# make entire document landscape
179+
'geometry': '\\usepackage[landscape]{geometry}',
180+
}
181+
175182
# -- Options for HTML output -------------------------------------------------
176183

177184
# The theme to use for HTML and HTML Help pages. See the documentation for

0 commit comments

Comments
 (0)