-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.txt
executable file
·74 lines (57 loc) · 1.54 KB
/
header.txt
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
66
67
68
69
70
71
72
73
74
\documentclass[12pt]{article} % use larger type; default would be 10pt
%packages
\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
\usepackage{fancyhdr}
\usepackage{float}
\usepackage{geometry}
\usepackage{ulem}
\usepackage{soul}
\usepackage{color}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{array}
\usepackage{caption}
\usepackage{titling}
\usepackage{enumerate}
\usepackage[compact]{titlesec}
%put box around figure captions
\makeatletter
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\sbox\@tempboxa{\fbox{#1: #2}}%
\ifdim \wd\@tempboxa >\hsize
\fbox{\parbox{\dimexpr\linewidth-2\fboxsep-2\fboxrule}{#1: #2}}\par
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
\makeatother
%reduce space between sections
\titlespacing{\section}{0pt}{*1}{*0}
\titlespacing{\subsection}{0pt}{*1}{*0}
\titlespacing{\subsubsection}{0pt}{*0}{*0}
%no indent and modify distance between paragraphs
\setlength\parindent{0pt}
\setlength\parskip{12pt}
%set margins and line spacing
\geometry{margin=1in}
\linespread{1.1}
\geometry{letterpaper}
%set up header and page numbering
\pagestyle{fancy}
\lhead{***Internal use only***}
\rhead{}
\pagenumbering{arabic}
\hypersetup{ %set up url
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
}
\title{Partner feedback questionnaire - responses}
\author{}
\begin{document}
\maketitle
\tableofcontents
\newpage