Browse Source

Page number and title to headers; chapter pages to plain

main
Kenneth John Odle 11 months ago
parent
commit
f479db71e2
  1. 24
      main.tex

24
main.tex

@ -19,31 +19,25 @@
\geometry{
paperheight=8.5in,
paperwidth=5.5in,
% heightrounded,
margin=0.5in
heightrounded,
margin=0.6in
}
% Adjust the top and bottom margins
% http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907057
\addtolength{\topmargin}{0.4in}
\addtolength{\textheight}{-0.75in}
\addtolength{\textheight}{-0.35in}
\let\footruleskip\relax % for compatibility of memoir and fancyhdr
\let\rm\rmfamily % for compatibility of memoir
\let\sl\emph % for compatibility of memoir
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\fancyhead[CE, CO]{Flatland}
\fancyhead[CE, CO]{Flatland}
%\fancyhead[LO]{\leftmark}
%\fancyhead[RE]{\thetitle}
\fancyfoot[CE,CO]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\fancyhead[EL, OR]{\thepage}
\fancyhead[RE]{\textit{Flatland:}}
\fancyhead[LO]{\textit{A Romance of Many Dimensions}}
\usepackage[]{titlesec}
\assignpagestyle{\chapter}{fancy}
\urlstyle{same}
\begin{document} % \maketitle

Loading…
Cancel
Save