Fix PDF layout.

This commit is contained in:
Chris Johns 2016-01-26 21:48:15 +11:00 committed by Amar Takhar
parent 8083970e47
commit 7130ed3229
3 changed files with 10 additions and 12 deletions

View File

@ -2,6 +2,9 @@
RTEMS C User's Guide RTEMS C User's Guide
==================== ====================
RTEMS C User's Guide
--------------------
| COPYRIGHT (c) 1988 - 2015. | COPYRIGHT (c) 1988 - 2015.
| On-Line Applications Research Corporation (OAR). | On-Line Applications Research Corporation (OAR).
@ -18,8 +21,7 @@ The RTEMS Project is hosted at http://www.rtems.org/. Any inquiries concerning
RTEMS, its related support components, or its documentation should be directed RTEMS, its related support components, or its documentation should be directed
to the Community Project hosted at http://www.rtems.org/. to the Community Project hosted at http://www.rtems.org/.
RTEMS Online Resources .. topic:: RTEMS Online Resources
----------------------
================ ============================= ================ =============================
Home https://www.rtems.org/ Home https://www.rtems.org/
@ -30,17 +32,11 @@ RTEMS Online Resources
Git Repositories https://git.rtems.org/ Git Repositories https://git.rtems.org/
================ ============================= ================ =============================
Table of Contents
-----------------
.. toctree::
preface
.. toctree:: .. toctree::
:maxdepth: 3 :maxdepth: 3
:numbered: :numbered:
preface
overview overview
key_concepts key_concepts
rtems_data_types rtems_data_types

View File

@ -175,7 +175,7 @@ latex_documents = [] # must be overridden in local conf.py
# 'fontpkg': r'\usepackage{mathpazo}', # 'fontpkg': r'\usepackage{mathpazo}',
latex_elements = { latex_elements = {
'papersize': 'a4paper', 'papersize': 'a4paper',
'pointsize': '12pt', 'pointsize': '11pt',
'preamble': r''' 'preamble': r'''
\usepackage{rtemsstyle} \usepackage{rtemsstyle}
''' '''
@ -198,7 +198,7 @@ latex_use_parts = True
latex_show_pagerefs = True latex_show_pagerefs = True
# If true, show URL addresses after external links. # If true, show URL addresses after external links.
latex_show_urls=True #latex_show_urls=True
# Documents to append as an appendix to all manuals. # Documents to append as an appendix to all manuals.
#latex_appendices = [] #latex_appendices = []

View File

@ -109,6 +109,8 @@
\@afterheading} \@afterheading}
% use inconsolata font % use inconsolata font
\usepackage{charter}
\usepackage[defaultsans]{lato}
\usepackage{inconsolata} \usepackage{inconsolata}
% fix single quotes, for inconsolata. (does not work) % fix single quotes, for inconsolata. (does not work)