I am trying to replicate a template on MS word using LaTeX. The template is as shown in the picture below and must be applied to the entire document.

Desired Template

So far I succeeded to either have the text in the header using fancyhdr (but I failed to apply it to all pages, it is missing from the list of figures page and pages that include the chapter name) or to have the blue line on the left side (same problem as above) using put \rule. For some reason, I am not able to have them both at the same time and for all pages in the document.

I am including my preamble, hoping you can advise me on the way to tackle this issue.

% Preamble
% Packages
% ---

\usepackage[top=2.54cm, includehead,headheight=45pt,bottom=2.54cm,left=2.54cm,right=2.54cm]{geometry}
\usepackage{amsmath} % Advanced math typesetting
\usepackage{hyperref} % Add a link to your document
\usepackage{graphicx} % Add pictures to your document
\usepackage{listings} % Source code formatting and highlighting

\renewcommand{\headrulewidth}{0pt}%I dont want blck line in header 

\lhead{\textbf{\lightblue{\Large{Final Report}}\\ 
\purple{ECE 491: ECE Capstone Design Project -1\\
Fall 2017}}
%  background,
%  innermargin,
%  width=1cm,
%  hoffset=1cm,
%  contents={\color{lightblue}\rule{\layerwidth}{\layerheight},\put(-30,650){\color{darkblue}\rule{.25in}{2in}} }
\title{Internship report}




\chapter{\large \textbf{Introduction}}

Some pages in a LaTeX document have different pagestyles compared to the "normal" one. For instance \chapter typically uses \thispagetsyle{plain}.

You could try using the memoir class (a superset of book, report and article classes) which provides commands for setting the pagestyle for chapters, list of figures, etc. Along the lines of:

 % your preamble
\aliaspagestyle{chapter}{your page style}
\aliaspagestyle{listoffigures}{your page style}

Untested. But read chapter Seven Pagination and headers in the documentation (< texdoc memoir) for more information.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.