mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	docs-rst: better adjust margins and font size
As we have big tables, reduce the left/right margins and decrease the point size to 8pt. Visually, it is still good enough, and now less tables are too big to be displayed. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
		
							parent
							
								
									a682ec4ba1
								
							
						
					
					
						commit
						85c21e5c3e
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -249,7 +249,7 @@ latex_elements = {
 | 
			
		|||
'papersize': 'a4paper',
 | 
			
		||||
 | 
			
		||||
# The font size ('10pt', '11pt' or '12pt').
 | 
			
		||||
'pointsize': '10pt',
 | 
			
		||||
'pointsize': '8pt',
 | 
			
		||||
 | 
			
		||||
# Latex figure (float) alignment
 | 
			
		||||
#'figure_align': 'htbp',
 | 
			
		||||
| 
						 | 
				
			
			@ -260,6 +260,9 @@ latex_elements = {
 | 
			
		|||
 | 
			
		||||
# Additional stuff for the LaTeX preamble.
 | 
			
		||||
    'preamble': '''
 | 
			
		||||
	% Adjust margins
 | 
			
		||||
	\\usepackage[margin=0.5in, top=1in, bottom=1in]{geometry}
 | 
			
		||||
 | 
			
		||||
        % Allow generate some pages in landscape
 | 
			
		||||
        \\usepackage{lscape}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue