Changeset 82bc7a9 in sasview for docs


Ignore:
Timestamp:
Mar 17, 2016 5:28:39 AM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ee0e15c
Parents:
53750a1
Message:

put in latex preample so that docs (sort of) build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/source/conf.py

    rd85c194 r82bc7a9  
    201201# -- Options for LaTeX output -------------------------------------------------- 
    202202 
     203LATEX_PREAMBLE=r""" 
     204\renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode 
     205\usepackage[utf8]{inputenc}      % Allow unicode symbols in text 
     206\DeclareUnicodeCharacter {00B7} {\ensuremath{\cdot}}   % cdot 
     207\DeclareUnicodeCharacter {00B0} {\ensuremath{^\circ}}  % degrees 
     208\DeclareUnicodeCharacter {212B} {\AA}                  % Angstrom 
     209""" 
    203210latex_elements = { 
    204211# The paper size ('letterpaper' or 'a4paper'). 
    205 #'papersize': 'letterpaper', 
     212'papersize': 'a4paper', 
    206213 
    207214# The font size ('10pt', '11pt' or '12pt'). 
     
    209216 
    210217# Additional stuff for the LaTeX preamble. 
    211 #'preamble': '', 
     218'preamble': LATEX_PREAMBLE 
     219 
    212220} 
    213221 
Note: See TracChangeset for help on using the changeset viewer.