Skip to content

Commit 4e0e9a8

Browse files
committed
Add 'verbatimforcewraps=true' to LaTeX sage_docbuild/conf.py
1 parent 84bcce6 commit 4e0e9a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sage_docbuild/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,11 @@ def linkcode_resolve(domain, info):
647647
\makeatother
648648
"""
649649

650+
# Enable "hard wrapping" long code lines (only applies if breaking
651+
# long codelines at spaces or other suitable places failed, typically
652+
# this is for long decimal expansions or possibly long string identifiers)
653+
latex_elements['sphinxsetup'] = "verbatimforcewraps=true"
654+
650655
# Documents to append as an appendix to all manuals.
651656
# latex_appendices = []
652657

0 commit comments

Comments
 (0)