Created
August 19, 2008 13:23
-
-
Save mattfoster/6175 to your computer and use it in GitHub Desktop.
This file contains hidden or 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{fancyhdr} % Go for customized headings | |
\usepackage{titlesec} | |
\usepackage{sectsty} | |
\setlength{\oddsidemargin}{1.4cm} | |
\setlength{\evensidemargin}{1.4cm} | |
\setlength{\textwidth}{15cm} | |
\setlength{\topmargin}{10pt} | |
% Need these: | |
\setlength{\headheight}{10pt} | |
\setlength{\headsep}{20pt} | |
\setlength{\textheight}{23cm} | |
\setlength{\parindent}{0pt} | |
\setlength{\parskip}{\baselineskip} | |
% Sans section titles | |
\allsectionsfont{\sffamily} | |
\pagestyle{fancy} | |
\fancyhf{} | |
\lhead{\sffamily{\rightmark}} | |
\cfoot{\sffamily{\thepage}} | |
\renewcommand{\headrulewidth}{0.5pt} | |
\renewcommand{\footrulewidth}{0.5pt} | |
\titleformat{\chapter}[display] | |
{\sffamily\bfseries\Large} | |
{\filleft\ \Huge\thechapter} | |
{4ex} | |
{\titlerule | |
\vspace{2ex}% | |
\filright} | |
[\vspace{2ex}% | |
\titlerule] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment