Skip to content
Myr

Added part style

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent cbcd15c · Browse files · 1 file+36 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+36 added−0 removed

  • other:+36 added−0 removed

1 file+36 added−0 removed

modified:docs/flaskstyle.sty+36 added
68 unmodified lines
69\ChNameVar{\raggedleft\normalsize}70\ChNumVar{\raggedleft \bfseries\Large}71\ChTitleVar{\raggedleft \rm\Huge}7273\renewcommand\thepart{\@Roman\c@part}74\renewcommand\part{%75 \if@noskipsec \leavevmode \fi76 \cleardoublepage77 \vspace*{8cm}%78 \@afterindentfalse79 \secdef\@part\@spart}8081\def\@part[#1]#2{%82 \ifnum \c@secnumdepth >\m@ne83 \refstepcounter{part}%84 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%85 \else86 \addcontentsline{toc}{part}{#1}%87 \fi88 {\parindent \z@ \center89 \interlinepenalty \@M90 \normalfont91 \ifnum \c@secnumdepth >\m@ne92 \rm\Large \partname~\thepart93 \par\nobreak94 \fi95 \MakeUppercase{\rm\Huge #2}%96 \markboth{}{}\par}%97 \nobreak98 \vskip 3ex99 \@afterheading}100\def\@spart#1{%101 {\parindent \z@ \center102 \interlinepenalty \@M103 \normalfont104 \huge \bfseries #1\par}%105 \nobreak106 \vskip 3ex107 \@afterheading}108109% use inconsolata font110\usepackage{inconsolata}111112% fix single quotes, for inconsolata. (does not work)
6 unmodified lines