Changes in docs/sphinx-docs/source/conf.py [f4771596:959eb01] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/source/conf.py
rf4771596 r959eb01 36 36 'sphinx.ext.coverage', 37 37 'sphinx.ext.mathjax', 38 #'mathjax', # replacement mathjax that allows a list of paths39 38 'dollarmath', 40 39 'sphinx.ext.viewcode'] 41 42 mathjax_path = (43 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?'44 'config=TeX-MML-AM_CHTML')45 46 # For katex uncomment the following47 """48 #STATIC_PATH = '../../_static/'49 STATIC_PATH = ''50 mathjax_path = [51 STATIC_PATH + 'katex/katex.min.js',52 STATIC_PATH + 'katex/contrib/auto-render.min.js',53 STATIC_PATH + 'rendermath.js'54 ]55 mathjax_css = STATIC_PATH + 'katex/katex.min.css'56 """57 58 40 59 41 # Add any paths that contain templates here, relative to this directory. … … 219 201 # -- Options for LaTeX output -------------------------------------------------- 220 202 221 # TODO: seems like angstroms is defined twice.222 203 LATEX_PREAMBLE=r""" 204 \renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode 223 205 \usepackage[utf8]{inputenc} % Allow unicode symbols in text 224 \usepackage{underscore} % Allow underscore outside math mode225 \usepackage[T1]{fontenc} % Use underscore character from font226 \newcommand{\lt}{<} % HTML needs \lt rather than <227 \newcommand{\gt}{>} % HTML needs \gt rather than >228 \renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode229 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom230 206 \DeclareUnicodeCharacter {00B7} {\ensuremath{\cdot}} % cdot 231 207 \DeclareUnicodeCharacter {00B0} {\ensuremath{^\circ}} % degrees 208 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom 232 209 """ 233 210 latex_elements = {
Note: See TracChangeset
for help on using the changeset viewer.