mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.0 KiB
74 lines
2.0 KiB
15 years ago
|
\pagenumbering{arabic}
|
||
|
\definecolor{TitleColor}{rgb}{0,0,0}
|
||
|
\definecolor{InnerLinkColor}{rgb}{0,0,0}
|
||
|
|
||
|
\renewcommand{\maketitle}{%
|
||
|
\begin{titlepage}%
|
||
|
\let\footnotesize\small
|
||
|
\let\footnoterule\relax
|
||
|
\ifsphinxpdfoutput
|
||
|
\begingroup
|
||
|
% This \def is required to deal with multi-line authors; it
|
||
|
% changes \\ to ', ' (comma-space), making it pass muster for
|
||
|
% generating document info in the PDF file.
|
||
|
\def\\{, }
|
||
|
\pdfinfo{
|
||
|
/Author (\@author)
|
||
|
/Title (\@title)
|
||
|
}
|
||
|
\endgroup
|
||
|
\fi
|
||
|
\begin{flushright}%
|
||
|
%\sphinxlogo%
|
||
|
{\center
|
||
|
\vspace*{3cm}
|
||
|
\includegraphics{logo.pdf}
|
||
|
\vspace{3cm}
|
||
|
\par
|
||
|
{\rm\Huge \@title \par}%
|
||
|
{\em\LARGE \py@release\releaseinfo \par}
|
||
|
{\large
|
||
|
\@date \par
|
||
|
\py@authoraddress \par
|
||
|
}}%
|
||
|
\end{flushright}%\par
|
||
|
\@thanks
|
||
|
\end{titlepage}%
|
||
|
\cleardoublepage%
|
||
|
\setcounter{footnote}{0}%
|
||
|
\let\thanks\relax\let\maketitle\relax
|
||
|
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
|
||
|
}
|
||
|
|
||
|
\fancypagestyle{normal}{
|
||
|
\fancyhf{}
|
||
|
\fancyfoot[LE,RO]{{\thepage}}
|
||
|
\fancyfoot[LO]{{\nouppercase{\rightmark}}}
|
||
|
\fancyfoot[RE]{{\nouppercase{\leftmark}}}
|
||
|
\fancyhead[LE,RO]{{ \@title, \py@release}}
|
||
|
\renewcommand{\headrulewidth}{0.4pt}
|
||
|
\renewcommand{\footrulewidth}{0.4pt}
|
||
|
}
|
||
|
|
||
|
\fancypagestyle{plain}{
|
||
|
\fancyhf{}
|
||
|
\fancyfoot[LE,RO]{{\thepage}}
|
||
|
\renewcommand{\headrulewidth}{0pt}
|
||
|
\renewcommand{\footrulewidth}{0.4pt}
|
||
|
}
|
||
|
|
||
|
\titleformat{\section}{\Large}%
|
||
|
{\py@TitleColor\thesection}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
||
|
\titleformat{\subsection}{\large}%
|
||
|
{\py@TitleColor\thesubsection}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
||
|
\titleformat{\subsubsection}{}%
|
||
|
{\py@TitleColor\thesubsubsection}{0.5em}{\py@TitleColor}{\py@NormalColor}
|
||
|
\titleformat{\paragraph}{\large}%
|
||
|
{\py@TitleColor}{0em}{\py@TitleColor}{\py@NormalColor}
|
||
|
|
||
|
\ChNameVar{\raggedleft\normalsize}
|
||
|
\ChNumVar{\raggedleft \bfseries\Large}
|
||
|
\ChTitleVar{\raggedleft \rm\Huge}
|
||
|
|
||
|
\usepackage{inconsolata}
|