-
Notifications
You must be signed in to change notification settings - Fork 0
/
_header.sty
49 lines (49 loc) · 1.35 KB
/
_header.sty
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
\usepackage[fontsize=16pt]{scrextend}
% \setmainfont[]{Charter}
\usepackage[sfdefault]{FiraSans}
\usepackage{FiraMono}
\usepackage[landscape]{geometry}
\geometry{
letterpaper,
left=0.5in,
right=0.5in,
top=0.75in,
bottom=0.5in
}
\twocolumn
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[L]{Loosely Covered}
\fancyhead[C]{2021-02-20 Murphys}
\fancyhead[R]{Page \thepage\ of \pageref{LastPage}}
\fancyfoot[L]{}
\fancyfoot[C]{\hyperlink{toc}{\Large Contents}}
\fancyfoot[R]{}
\addtocontents{toc}{\protect\hypertarget{toc}{}}
\setcounter{secnumdepth}{1}
\usepackage[compact]{titlesec}
\titlespacing*{\title} {0em}{1em}{.75em}
\titlespacing*{\section} {0em}{.75em}{.5em}
\titlespacing*{\subsection} {0em}{.50em}{.25em}
\titlespacing*{\subsubsection}{0em}{.15em}{0em}
\let\oldsection\section
\renewcommand\section{\clearpage\oldsection}
\usepackage{tocloft}
\cftpagenumbersoff{section}
\renewcommand\cftsecfont{\LARGE}
% \renewcommand\cftsecpagefont{\LARGE}
\setlength\cftparskip{-11pt}
% \setlength\cftparskip{-12pt}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
bookmarks=true,
pdfpagemode=FullScreen,
}
\makeatletter
\let\latexl@section\l@section
\def\l@section#1#2{\begingroup\let\numberline\@gobble\latexl@section{#1}{#2}\endgroup}
\renewcommand{\@cftmaketoctitle}{}
\makeatother