| Author | liantze <email> |
|---|---|
| Date | 2013-05-06 00:20:36 GMT+0800 |
| Commit | fb43e8ed26566bf151dc11d72627ece37afe009d |
| Parent | a189362 |
| Delta | 27 lines added, 3 lines removed, 24-line increase |
|---|
| \setlength{\footskip}{3em} | ||
| -\setlength{\headsep}{1em} | ||
| +\setlength{\headsep}{.5em} | ||
| +\setlength{\headheight}{2em} | ||
| \providecommand{\RuledPageNum}{\color{\darkhighlight}\adfdoubleflourishleft\ {\color{\maintextcolor}\scriptfamily\Large\thepage}\ \adfdoubleflourishright} | ||
| \providecommand{\decoheadline}{\color{\tertiarycolor}\LARGE\hrulefill\ \textcolor{\darkhighlight}{\adfdoubleflourishleft\ \adfgee\ \adfdoubleflourishright}\ \hrulefill} |
| %%% Hook for cover page etc | ||
| -% TODO: change this to use key options | ||
| \newcommand{\makecover}[1][]{% | ||
| \begin{titlingpage} | ||
| \setlength{\parskip}{\oldparskip} | ||
| \clearpage | ||
| +} | ||
| + | ||
| +\newcommand{\dedication}[1]{% | ||
| +\cleartoverso\thispagestyle{empty} | ||
| +\vspace*{\stretch{1}} | ||
| +\begin{center} | ||
| +\itshape\Large | ||
| +#1 | ||
| +\end{center} | ||
| +\vspace*{\stretch{2}} | ||
| } | ||
| \newcommand{\headingcolor}{\primarycolor} | ||
| -\newcommand{\headingfamily}{\headingfamily} | ||
| +\newcommand{\headingfamily}{\sffamily} | ||
| \newcommand{\headingsize}{\large} | ||
| \newcommand{\headingstyle}{\itshape} | ||
| } | ||
| +\renewcommand{\dedication}[1]{% | ||
| +\cleartoverso\thispagestyle{empty} | ||
| +\vspace*{\stretch{1}} | ||
| +\begin{center} | ||
| +\itshape\Large | ||
| +\textcolor{\primarycolor}{\headingmarker}\ % | ||
| +\begin{minipage}[m]{.5\textwidth}\centering | ||
| +#1\par% | ||
| +\end{minipage}% | ||
| +\ \textcolor{\primarycolor}{\headingmarker}\par% | ||
| +\end{center} | ||
| +\vspace*{\stretch{2}} | ||
| +} | ||
| + | ||
| \renewcommand{\recipesize}{\fontsize{38pt}{40pt}\selectfont} |