Page number and title to headers; chapter pages to plain
This commit is contained in:
		
							parent
							
								
									ddf953bd13
								
							
						
					
					
						commit
						f479db71e2
					
				
							
								
								
									
										24
									
								
								main.tex
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								main.tex
									
									
									
									
									
								
							@ -19,31 +19,25 @@
 | 
				
			|||||||
\geometry{
 | 
					\geometry{
 | 
				
			||||||
	paperheight=8.5in,
 | 
						paperheight=8.5in,
 | 
				
			||||||
	paperwidth=5.5in,
 | 
						paperwidth=5.5in,
 | 
				
			||||||
%	heightrounded,
 | 
						heightrounded,
 | 
				
			||||||
	margin=0.5in
 | 
						margin=0.6in
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
% Adjust the top and bottom margins
 | 
					% Adjust the top and bottom margins
 | 
				
			||||||
% http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907057
 | 
					% http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907057
 | 
				
			||||||
\addtolength{\topmargin}{0.4in}
 | 
					\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}
 | 
					\usepackage{fancyhdr}
 | 
				
			||||||
\pagestyle{fancy}
 | 
					\pagestyle{fancy}
 | 
				
			||||||
\fancyhf{} % remove everything
 | 
					\fancyhf{} % remove everything
 | 
				
			||||||
\renewcommand{\headrulewidth}{0pt} % remove lines as well
 | 
					\renewcommand{\headrulewidth}{0.5pt} 
 | 
				
			||||||
 | 
					\fancyhead[EL, OR]{\thepage}
 | 
				
			||||||
 | 
					\fancyhead[RE]{\textit{Flatland:}}
 | 
				
			||||||
\fancyhead[CE, CO]{Flatland}
 | 
					\fancyhead[LO]{\textit{A Romance of Many Dimensions}}
 | 
				
			||||||
\fancyhead[CE, CO]{Flatland}
 | 
					 | 
				
			||||||
%\fancyhead[LO]{\leftmark}
 | 
					 | 
				
			||||||
%\fancyhead[RE]{\thetitle}
 | 
					 | 
				
			||||||
\fancyfoot[CE,CO]{\thepage}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					\usepackage[]{titlesec}
 | 
				
			||||||
 | 
					\assignpagestyle{\chapter}{fancy}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\urlstyle{same}
 | 
					\urlstyle{same}
 | 
				
			||||||
\begin{document} % \maketitle
 | 
					\begin{document} % \maketitle
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user