I am using \includefile{}
to add a preliminary literature review to a thesis proposal. The specifications require that "Appendix" be printed in the upper right hand corner.
I tried ending my proposal main like this:
\printbibliography
\rhead{Appendix}
\include{literatureReview}
\end{document}
But it doesn't work. The entire literatureReview file has the header "REFERENCES" in the upper left corner. The proposal main uses a plain page style, and the literatureReview currently has no sections in it. Does anyone know the proper way to do this?
EDIT:
Here's a minimal compilable version:
\documentclass{test}
\usepackage[american]{babel}
\usepackage[style=apa]{biblatex}
\usepackage{csquotes}
\usepackage{pdfpages}
\usepackage{fancyhdr}
\DeclareLanguageMapping{american}{american-apa}
\usepackage{hyperref}
\addbibresource{someBib}
%which contains:
%@Article{TakeuchiKoichi05,
% author={Takeuchi Koichi and Inui Kentaro and Fujita Atsushi and Takeuchi Nao and Abe Shuya},
% title={Construction of Compositional Lexical Database Based on {L}exical {C}onceptual {S}tructure},
% journal={IPSJ SIG Notes},
% publisher={Information Processing Society of {J}apan (IPSJ)},
% year={2005},
% month=sep,
% volume={2005},
% number={94},
% pages={123-130},
%}
\title{A Title}
\author{Nathan Glenn}
\begin{document}
\begin{refsection}
\maketitle
%\begin{refsection}
Random citation: \parencite{TakeuchiKoichi05}.
\printbibliography
\end{refsection}
\clearpage
\markboth{Appendix}{}
\begin{refsection}
\include{literatureReview}
\end{refsection}
\end{document}
And here's the class file I used:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{test}[2011/5/20 BYU Honors Thesis proposal]
\LoadClass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{setspace}
\doublespace
\pagestyle{myheadings}
\thispagestyle{plain}
\setlength{\parindent}{30pt}
\global\let\@course\@empty
\renewcommand{\maketitle}{
\begin{flushright}
\@author\\
\ifx\@date\@empty
\today
\else
\@date\\
\fi
\end{flushright}
\begin{center}
\Large{\@title}\\An Honors Thesis Proposal
\vspace{6 pc}
\end{center}
}
literatureReview.tex has no preamble, and does not change the page styles in any way.
Best Answer
You can use the
\markboth
command to obtain the desired mark, so you could useSince you are already loading the
fancyhdr
package, you can add the following lines to the fileliteratureReview.tex
: