blob: 4b2866faeb5a6aa34befc1f94fb0de695fc56497 (
plain)
1
2
|
\ProvidesPackage{docstyle}
\RequirePackage[a4paper,left=3cm,right=3cm,top=2cm,bottom=3.5cm]{geometry}
\RequirePackage[english]{babel}
\RequirePackage[dvips]{graphicx}
\RequirePackage{longtable}
\setlength{\parskip}{0.5\baselineskip}
\linespread{1.2}
\pagestyle{headings}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}{}}
\def\sectionbib#1#2{
\long\def\@tempa##1##{
\long\def\@tempa####1\endthebibliography{}\def\@tempc{##1}\@tempa}%
\expandafter\@tempa\thebibliography{}{}\endthebibliography
\def\@tempa{\chapter*}\ifx\@tempa\@tempc\else \begingroup\toks@{#1}%
\cb@warning {The sectionbib option changes \string"\expandafter
\strip@prefix\meaning\@tempc\string" to \string"\the\toks@\string"
in \string\thebibliography }\endgroup\fi
\let\cb@thebibliography\thebibliography
\def\thebibliography{\let\@currentlabel\@empty
\ifx\the@ipfilectr\@empty \else
\expandafter\expandafter\expandafter\cb@sectionbib\fi
\cb@thebibliography}
\expandafter\def\expandafter\cb@sectionbib\@tempc##1{#1{References}
\ifx\@currentlabel\@empty \begingroup \c@secnumdepth-\tw@
\addcontentsline{toc}{#2}{References}
\csname#2mark\endcsname{References}\endgroup\fi}}
\sectionbib{\section}{section}
\newcommand{\logo}{The TOTAL COVER Insurance Company Case Study}
% The following 5 lines were added to change the chapter headings
%\usepackage{fncychap}
%\ChNameVar{\huge\sc}
%\ChNumVar{\huge\sc}
%\ChTitleVar{\huge\sc}
%\renewcommand{\DOCH}{\CNV\thechapter . ~}
% end set chapter headings
% The following lines were added to add a document header to each page
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[]{\rightmark}
\fancyhead[L,R]{}
\fancyhead[C]{The TOTAL COVER Case Study - \title ~- Page \thepage}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[C]{The TOTAL COVER Case Study - \title ~- Page \thepage}
}
\renewcommand{\headrulewidth}{0pt}
% end set document header
|