From f479db71e28d42b4e56c3f286dcc1a537389c953 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sat, 24 Jun 2023 08:31:59 -0400 Subject: [PATCH] Page number and title to headers; chapter pages to plain --- main.tex | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/main.tex b/main.tex index eb3fd36..5748ba2 100755 --- a/main.tex +++ b/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