latex_sphinx_base.tplx
59 lines
| 1.7 KiB
| text/plain
|
TextLexer
Jonathan Frederic
|
r9735 | ((============================================================================ | ||
NBConvert Sphinx-Latex Template | ||||
Purpose: Allow export of PDF friendly Latex inspired by Sphinx. Most of the | ||||
template is derived directly from Sphinx source. | ||||
Inheritance: null>display_priority>latex_base | ||||
==========================================================================)) | ||||
Jonathan Frederic
|
r9734 | ((*- extends 'latex_base.tplx' -*)) | ||
Jonathan Frederic
|
r9735 | ((============================================================================ | ||
Header, overrides base | ||||
==========================================================================)) | ||||
Jonathan Frederic
|
r9734 | ((* block header *)) | ||
Jonathan Frederic
|
r9735 | |||
Jonathan Frederic
|
r9740 | %\newcommand{\sphinxlogo}{} | ||
Jonathan Frederic
|
r9735 | |||
%% Generated by Sphinx (not really.) | ||||
Jonathan Frederic
|
r9740 | \def\sphinxdocclass{((* block documentclass *))sphinxmanual((* endblock documentclass *))} | ||
\documentclass[letterpaper,10pt,english]{report} | ||||
Jonathan Frederic
|
r9736 | \usepackage[utf8]{inputenc} %(inputenc)s | ||
\DeclareUnicodeCharacter{00A0}{\\nobreakspace} %(utf8extra)s | ||||
\usepackage[T1]{fontenc} %(fontenc)s | ||||
\usepackage{babel} %(babel)s | ||||
\usepackage{times} %(fontpkg)s | ||||
Jonathan Frederic
|
r9740 | \usepackage{import} | ||
\usepackage[Bjarne]{templates/tex/fncychap} | ||||
%\usepackage[Bjarne]{} %(fncychap)s | ||||
Jonathan Frederic
|
r9736 | \usepackage{longtable} %(longtable)s | ||
\usepackage{templates/tex/sphinx} | ||||
Jonathan Frederic
|
r9735 | \usepackage{multirow} | ||
Jonathan Frederic
|
r9736 | %"" (preamble)s | ||
Jonathan Frederic
|
r9740 | \title{((( nb.metadata.name )))} %(title)s} | ||
Jonathan Frederic
|
r9736 | \date{} %(date)s} | ||
\release{} %(release)s} | ||||
\author{} %(author)s} | ||||
\newcommand{\sphinxlogo}{} %(logo)s} | ||||
\renewcommand{\releasename}{Release} %(releasename)s} | ||||
\makeindex %(makeindex)s | ||||
Jonathan Frederic
|
r9735 | |||
Jonathan Frederic
|
r9736 | ((* endblock header *)) | ||
Jonathan Frederic
|
r9734 | |||
Jonathan Frederic
|
r9736 | ((* block body *)) | ||
Jonathan Frederic
|
r9740 | \begin{document} | ||
%(shorthandoff)s | ||||
\maketitle | ||||
\tableofcontents %(tableofcontents)s | ||||
\renewcommand{\indexname}{%(indexname)s} | ||||
\printindex %(printindex)s | ||||
\end{document} | ||||
Jonathan Frederic
|
r9736 | ((* endblock body *)) | ||
Jonathan Frederic
|
r9734 | |||
Jonathan Frederic
|
r9736 | ((* block footer *)) | ||
((* endblock footer *)) | ||||