Newer
Older
\documentclass[12pt]{otsreport}
% Uncomment the following line to disable hyphenation.
%\usepackage[none]{hyphenat}
\usepackage{ots}
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
\usepackage{amsmath}
\usepackage{setspace} % to control TOC spacing
% For coloring individual cells in tables.
\usepackage[table]{xcolor}
% Define colors used in this document here. latexcolor.com may help.
\definecolor{tableheader}{rgb}{0.6, 0.73, 0.89}
\definecolor{rowheaderleft}{rgb}{0.63, 0.79, 0.95}
\definecolor{plainwhite}{rgb}{1, 1, 1}
% Some good blue-y colors Karl found, FWIW:
%
% Eton blue #96C8A2 {0.59, 0.78, 0.64}
% Carolina blue #99BADD {0.6, 0.73, 0.89}
% Baby blue eyes #A1CAF1 {0.63, 0.79, 0.95}
%
% Less sure about these green ones, but they might work together:
%
% Moss green #ADDFAD {0.68, 0.87, 0.68}
% Olivine #9AB973 {0.6, 0.73, 0.45}
% Turquoise green #A0D6B4 {0.63, 0.84, 0.71}
% Without this, a multiline footnote has its first line (including the
% footnote's identifying number) indented by quite a bit inside the
% margin, but then subsequent lines start at the margin, which just
% looks weird IMHO. With this, the numbers start at the margin, and
% all the lines of text line up with each other, indented slightly.
%
% See https://www.ctan.org/pkg/footmisc?lang=en
\usepackage[hang,flushmargin]{footmisc}
\usepackage{ifxetex,ifluatex}
\ifxetex
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\else
\ifluatex
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\else
\usepackage[utf8]{inputenc}
\fi
\fi
\newenvironment{absolutelynopagebreak}
{\par\nobreak\vfil\penalty0\vfilneg
\vtop\bgroup}
{\par\xdef\tpd{\the\prevdepth}\egroup
\prevdepth=\tpd}
% This TOC depth causes the table of contents to provide a high-level
% overview of the document, instead of distracting the reader with
% subsection titles and such.
\setcounter{tocdepth}{1}
\usepackage{enumitem}
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
xetex]{hyperref}
\else
\usepackage[unicode=true]{hyperref}
\fi
\hypersetup{breaklinks=true, pdfborder={0 0 0}}
\setlength{\parindent}{0pt}
\setlength{\parskip}{7pt plus 2pt minus 1pt}
\setcounter{secnumdepth}{0}
\usepackage[margin=1in]{geometry}
\usepackage{changepage}
\usepackage{hyperref}
\usepackage{mdframed} % For an inset box of text
% For logo and accompanying contact info.
\usepackage{graphicx}
\usepackage{float}
\usepackage{color}
\definecolor{dkgreen}{RGB}{50, 109, 72}
\definecolor{dkergreen}{RGB}{0, 100, 0}
\DeclareFixedFont{\viiisf}{OT1}{cmss}{m}{n}{8}
\newcommand{\circlesep}{\raisebox{1.7em}{\hspace{1.8em}\includegraphics[clip, trim=0cm 11cm 19.3cm 11cm, scale=0.05]{otslogo.pdf}\hspace{1.8em}}}
% Rename the table of contents label
\renewcommand*\contentsname{\vspace{-1em}}
\begin{document}
\otsheader
\begin{center}
\LARGE{Title of Report: \\
And a Subtitle}
\vspace{.5em}
\normalsize{A date}
\end{center}
% The grouping with the \addtocontents and \addvspace bits below are
% to reduce the vertical spacing in the TOC. More information here:
% https://tex.stackexchange.com/questions/111243/lyx-reduce-spacing-in-toc
\begingroup
% \addtocontents{toc}{\protect\setstretch{0.80}}
% \def\addvspace#1{}
\tableofcontents
\endgroup
\newpage
\unnumberedsection{Introduction}\label{overview}
\unnumberedsection{Conclusion}\label{conclusion}
\end{document}