Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to generate latex code that can be used to bring together minimally formatted chapters from many authors into a single report that has three parts. The section hierarchy that I am using is /part /chapter /section /subsection /subsubsection. Presently I have a single header throughout the document but I would like to have the partname in the header in parts 2 and 3 but not part 1 on every page except the part title page. I've tried with /thepart in the header and I think because I am using unnumbered parts it isn't working. I know I should be able to make this work from the examples that I've read here but no luck

My code for the project is here with a built PDF: https://github.com/trosendal/report_template



Here is just the .tex code:

%%%%%%%%% The format of the report goes here %%%%%%%%%%%%%%%%%%%%%

%%A two sided book that has space for binding on the left side:
\documentclass[a4paper, twoside]{report}
\usepackage[top=4cm, bottom=2.5cm, left=2.5cm, right=2.5cm, bindingoffset=1cm]{geometry}
%use correct character encoding

%Choose a font family:

\title{\textbf{\huge{Title of Report}}}
\author{The list of authors}


%%Separated the columns by a 6 mm

%%Sort out the spacing a style of the paragraph, section, subsection, subsubsection and chapter titles





%%Add a header on eack page

\fancyhead{} % clear all header fields
\fancyhead[LE,RO]{\textcolor{red}{\uppercase{HEADER TEXT}}}

%Even add the header on the plain pages like the first page of each chapter
\fancyhead[LE, RO]{\textcolor{red}{\uppercase{HEADER TEXT}}}}

%%define the boxes around stuff:



\newtcolorbox{mytitlebox}{colback=blue!5!white, valign=top, height=3.5cm,%
enlarge left by = -5cm, width=24cm}

%%%%%%%%% The content in the report goes after this break %%%%%%%%%%%%%%%%%%%%%


%%The Title page

%%The table of contents

%%The Introduction (Part1)


%The chapters in Part2



%The chapters in Part3



share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.