mirror of
https://xff.cz/git/u-boot/
synced 2025-09-05 02:32:11 +02:00
doc: fix Latex margins
Adjust the Latex formatting to match Linux v5.13.1: * add Latex margins * reformat the code in doc/conf.py to match Linux Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -351,6 +351,13 @@ latex_elements = {
|
|||||||
'inputenc': '',
|
'inputenc': '',
|
||||||
'utf8extra': '',
|
'utf8extra': '',
|
||||||
|
|
||||||
|
# Set document margins
|
||||||
|
'sphinxsetup': '''
|
||||||
|
hmargin=0.5in, vmargin=1in,
|
||||||
|
parsedliteralwraps=true,
|
||||||
|
verbatimhintsturnover=false,
|
||||||
|
''',
|
||||||
|
|
||||||
# Additional stuff for the LaTeX preamble.
|
# Additional stuff for the LaTeX preamble.
|
||||||
'preamble': '''
|
'preamble': '''
|
||||||
% Use some font with UTF-8 support with XeLaTeX
|
% Use some font with UTF-8 support with XeLaTeX
|
||||||
@@ -358,7 +365,7 @@ latex_elements = {
|
|||||||
\\setsansfont{DejaVu Sans}
|
\\setsansfont{DejaVu Sans}
|
||||||
\\setromanfont{DejaVu Serif}
|
\\setromanfont{DejaVu Serif}
|
||||||
\\setmonofont{DejaVu Sans Mono}
|
\\setmonofont{DejaVu Sans Mono}
|
||||||
'''
|
''',
|
||||||
}
|
}
|
||||||
|
|
||||||
# At least one book (translations) may have Asian characters
|
# At least one book (translations) may have Asian characters
|
||||||
|
Reference in New Issue
Block a user