blob: 762819d79e351951c51c0c572f40c54f6ad10c96 [file] [log] [blame]
% set up page styles for mainmatter, page headers and normal footer
\renewcommand{\chaptermark}[1]{
\markboth{\chaptername
\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{
\markright{\thesection.\ #1}{}}
\fancyhf{}
\fancyhead[RO]{\slshape \rightmark}
\fancyhead[LE]{\slshape \leftmark}
\fancyfoot[CO,CE]{JAX-RS}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[RE,LO]{\today}
\fancypagestyle{plain}{
\fancyhf{}
\fancyfoot[CO,CE]{JAX-RS}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[RE,LO]{\today}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\headrulewidth}{0pt}
}
\renewcommand{\headrulewidth}{0.4pt}