-
-
Save henriquebastos/5259976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{wasysym} | |
\usepackage{moresize} | |
\usepackage{multicol} | |
\usepackage[Sonny]{fncychap} | |
\usepackage[margin=1in, paperwidth=6.69in, paperheight=9.61in]{geometry} | |
\usepackage[protrusion=true,expansion=true]{microtype} | |
\usepackage{xltxtra} | |
\setmainfont[Mapping=tex-text]{Minion Pro} | |
\setmonofont[Mapping=tex-text,Scale=0.85]{Inconsolata} | |
%\setmonofont[Mapping=tex-text,Scale=0.75]{DejaVu Sans Mono} | |
%\setmonofont[Mapping=tex-text,Scale=0.75]{Consolas} | |
%\setmonofont[Mapping=tex-text,Scale=0.8]{TheSansMono} | |
\usepackage{wallpaper} | |
\setlength{\headheight}{15pt} | |
\renewcommand{\bibname}{References} | |
\newcommand{\cover}{ | |
\includegraphics{cover} | |
} | |
\@ifundefined{fancyhf}{}{ | |
% Use \pagestyle{normal} as the primary pagestyle for text. | |
\fancypagestyle{normal}{ | |
\fancyhf{} | |
\fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}} | |
\fancyfoot[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}} | |
\fancyfoot[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}} | |
\fancyhead[LE,RO]{{\py@HeaderFamily \@title}} | |
\renewcommand{\headrulewidth}{0.4pt} | |
\renewcommand{\footrulewidth}{0.4pt} | |
} | |
% Update the plain style so we get the page number & footer line, | |
% but not a chapter or section title. This is to keep the first | |
% page of a chapter and the blank page between chapters `clean.' | |
\fancypagestyle{plain}{ | |
\fancyhf{} | |
\fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}} | |
\renewcommand{\headrulewidth}{0pt} | |
\renewcommand{\footrulewidth}{0.4pt} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment