I would to get some help in getting my headers to show up like this on the odd pages:
and like below in the even pages:
Here is my minimal code:
\documentclass{book}
\usepackage[a4paper, left=1.5cm, right=1.5cm, bindingoffset=1.5cm]{geometry}
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{tikz}
\usepackage{lipsum}
\usepackage{etoolbox}
\patchcmd{\chapter}{\thispagestyle{plain}}{\thispagestyle{fancy}}{}{}
\definecolor{mybluei}{RGB}{199,234,253}
\definecolor{gmitblue}{RGB}{93,138,168}
\usetikzlibrary{calc}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[RE]{%
\begin{tikzpicture}[overlay, remember picture]%
\fill[mybluei] (current page.north west) rectangle ($(current page.north east)+(0,-1in)$);
%\node[anchor=north west, text=white, font=\Large\scshape, minimum size=1in, inner xsep=5mm] at (current page.north west) {A reasonably long title};
\node[anchor=north east, minimum size=1in, inner xsep=5mm] at ($(current page.north east)+(0,-.35in)$)
{Configuration Issues, System Design\hspace{.5cm} {\Huge\textbf{\textcolor{white}{\thechapter}}} \thepage};
\end{tikzpicture}
}
\fancyhead[LO]{%
\begin{tikzpicture}[overlay, remember picture]%
\fill[mybluei] (current page.north west) rectangle ($(current page.north east)+(0,-1in)$);
%\node[anchor=north west, text=white, font=\Large\scshape, minimum size=1in, inner xsep=5mm] at (current page.north west) {A reasonably long title};
\node[anchor=north west, minimum size=1in, inner xsep=5mm] at ($(current page.north west)+(0,-.35in)$)
{\thepage {\Huge\textbf{\textcolor{white}{\thechapter}}} \hspace{.5cm} Configuration Issues, System Design};
\end{tikzpicture}
}
\fancyfoot[CE]{
\begin{tikzpicture}[overlay, remember picture]%
\fill[gmitblue] (current page.south west) rectangle ($(current page.south east)+(0,.5in)$);
\node[anchor=south west, text=white, font=\Large, minimum size=.5in] at (current page.south west) {\thepage};
\node[anchor=south, text=white, font=\large, minimum size=.5in] at (current page.south) {\leftmark};
\node[anchor=south east, text=white, font=\large, minimum size=.5in, inner xsep=5mm] at (current page.south east) {\today};
\end{tikzpicture}
}
\fancyfoot[CO]{
\begin{tikzpicture}[overlay, remember picture]%
\fill[gmitblue] (current page.south west) rectangle ($(current page.south east)+(0,.5in)$);
\node[anchor=south west, text=white, font=\large, minimum size=.5in, inner xsep=5mm] at (current page.south west) {\today};
\node[anchor=south, text=white, font=\large, minimum size=.5in] at (current page.south) {\leftmark};
\node[anchor=south east, text=white, font=\Large, minimum size=.5in] at (current page.south east) {\thepage};
\end{tikzpicture}
}
\setlength{\headheight}{12pt}
\title{A reasonably long title}
\date{\today}
\author{The author}
\begin{document}
\maketitle
\chapter{first chapter}
\lipsum
\lipsum
\chapter{second chapter}
\lipsum[10-19]
\end{document}





Cin the header represent? – Werner Sep 07 '16 at 04:44