From 9466486a861b7935530e8639d9671b2b892b4c9f Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Tue, 25 Oct 2005 15:17:15 +0000 Subject: Reduced header in width. --- ADD/docstyle.sty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADD/docstyle.sty b/ADD/docstyle.sty index 1f84af5..e575a18 100644 --- a/ADD/docstyle.sty +++ b/ADD/docstyle.sty @@ -1 +1 @@ -\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} \fancyhead{} % clear all fields \fancyhead[LE,RO]{\bfseries The TOTAL COVER Case Study} \fancyhead[RE,LO]{\bfseries ARCHITECTURAL DESIGN DOCUMENT} \fancyfoot[LE,RO]{\uppercase{\thepage}} \fancyfoot[RE,LO]{\leftmark} \fancyfoot[CO,CE]{} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} \addtolength{\headheight}{\baselineskip} \fancypagestyle{plain}{ \fancyhead{} % clear all fields \fancyhead[LE,RO]{\bfseries The TOTAL COVER Case Study} \fancyhead[RE,LO]{\bfseries ARCHITECTURAL DESIGN DOCUMENT} \fancyfoot[LE,RO]{\uppercase{\thepage}} \fancyfoot[RE,LO]{\leftmark} \fancyfoot[CO,CE]{} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} \addtolength{\headheight}{\baselineskip} } %\pagestyle{fancy} %\fancyhf{} %\fancyhead[]{\rightmark} %\fancyhead[L,R]{} %\fancyhead[C]{The TOTAL COVER Case Study - \title ~- \thepage} % %\fancypagestyle{plain}{ % \fancyhf{} % \fancyhead[C]{The TOTAL COVER Case Study - \title ~- \thepage} %} \renewcommand{\headrulewidth}{0pt} % end set document header \ No newline at end of file +\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} \fancyhead{} % clear all fields \fancyhead[LE,RO]{\bfseries TOTAL COVER} \fancyhead[RE,LO]{\bfseries ARCHITECTURAL DESIGN DOCUMENT} \fancyfoot[LE,RO]{\uppercase{\thepage}} \fancyfoot[RE,LO]{\leftmark} \fancyfoot[CO,CE]{} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} \addtolength{\headheight}{\baselineskip} \fancypagestyle{plain}{ \fancyhead{} % clear all fields \fancyhead[LE,RO]{\bfseries TOTAL COVER} \fancyhead[RE,LO]{\bfseries ARCHITECTURAL DESIGN DOCUMENT} \fancyfoot[LE,RO]{\uppercase{\thepage}} \fancyfoot[RE,LO]{\leftmark} \fancyfoot[CO,CE]{} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} \addtolength{\headheight}{\baselineskip} } %\pagestyle{fancy} %\fancyhf{} %\fancyhead[]{\rightmark} %\fancyhead[L,R]{} %\fancyhead[C]{The TOTAL COVER Case Study - \title ~- \thepage} % %\fancypagestyle{plain}{ % \fancyhf{} % \fancyhead[C]{The TOTAL COVER Case Study - \title ~- \thepage} %} \renewcommand{\headrulewidth}{0pt} % end set document header \ No newline at end of file -- cgit v0.12