File: ReportStyle.sty

package info (click to toggle)
esys-particle 2.3.5%2Bdfsg2-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,400 kB
  • sloc: cpp: 81,479; python: 5,872; makefile: 1,257; sh: 313; perl: 225
file content (65 lines) | stat: -rwxr-xr-x 2,639 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
\ProvidesPackage{ReportStyle}
\usepackage[UKenglish]{babel}% http://ctan.org/pkg/babel
\usepackage[T1]{fontenc} % use font encoding for accent stuff
\usepackage{setspace} %Use \doublespacing or \singlespacing

\usepackage{pdflscape} % To make 1 page landscape
\usepackage{pdfpages} % To insert pdf files into the main document
%------------------------------------------------------------------------------
% IMAGES, TABLES, CAPTIONS, etc
%------------------------------------------------------------------------------
\usepackage{graphicx} % To insert graphics/images
\graphicspath{{./img-files/}}
\usepackage{wrapfig} % To wrap figures
\usepackage{pgfgantt} % To do gantt charts
\usepackage{multirow}
\parskip=12pt % Sets spacing between paragraphs
\usepackage{subcaption}
\usepackage{longtable} % To span tables across multiple pages
\usepackage{enumitem} % To remove spacing in itemize items
%------------------------------------------------------------------------------
% PAGE FORMATTING (HEADER AND FOOTER, etc)
%------------------------------------------------------------------------------
% Sets the header and footer sections
\usepackage{fancyhdr}
\pagestyle{fancy}

\fancyfoot{} %clears the default fancy footer layout
%\renewcommand{\footrulewidth}{1pt}

\fancyfoot[RO, LE] {\thepage} % page numbers
%\fancyfoot[RE, LO]{Justin \textsc{Rahardjo} (42034742)} % my name!!

\fancyhead{} %clears the default fancy header layout
\fancyhead[RO, LE]{\textit{\rightmark}}

\fancypagestyle{plain}{
	\fancyhf{} % remove everything
	\renewcommand{\headrulewidth}{0pt} % remove lines as well
	%\renewcommand{\footrulewidth}{1pt}
	\fancyfoot[RO, LE]{\thepage}
	%\fancyfoot[RE, LO]{Justin \textsc{Rahardjo} (42034742)}
}

\setlength{\headheight}{15pt}
% Fixes the problem that an empty page will still have both a header and a footer
\let\origdoublepage\cleardoublepage
\newcommand{\clearemptydoublepage}{%
  \clearpage
  {\pagestyle{empty}\origdoublepage}%
}
\let\cleardoublepage\clearemptydoublepage
%-------------------------------------------------------------------------------
% HYPERLINKS
%-------------------------------------------------------------------------------
\usepackage{hyperref}
\hypersetup{
    colorlinks=true, %set true if you want colored links
    allcolors=black,  %choose some color if you want links to stand out
   	%linktocpage %use if want to link page numbers instead of name
}
\usepackage[nottoc]{tocbibind} % include bibliography in toc
%-------------------------------------------------------------------------------

\usepackage{datetime}