-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfull.tex
129 lines (95 loc) · 2.34 KB
/
full.tex
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
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
124
125
126
127
128
129
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{subfiles}
\usepackage{blindtext}
\usepackage{amsmath,amssymb,amsthm,setspace,tabto,fancyhdr,sectsty,mathtools}
\usepackage{titleps}
\usepackage[left=1.00in,right=1.00in,top=0.75in,bottom=1.50in]{geometry}
% start pdfinlimg (GPLv3, https://github.com/zerotoc/pdfinlimg/blob/master/pdfinlimg.sty)
\newcommand{\pdfinlimg}[5]{
\makebox[#1cm][l]{\immediate\pdfliteral{
q
#3 0 0 #4 0 0 cm
#1 0 0 #2 0 0 cm
0.885 0 0 0.885 0 0 cm
BI
/W #3
/H #4
/CS /RGB
/BPC 8
/F [ /AHx /Fl ]
ID
#5>
EI
Q
}\vbox to #2cm{}}
}
% end pdfinlimg
% BEGIN PARAGRAPH STUFF
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
% for initial paragraph indent
% \usepackage{indentfirst}
\usepackage{parskip}
% \setlength{\parindent}{4em}
\setlength{\footskip}{30pt}
% \setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1}
% END PARAGRAPH STUFF
% useful commands
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\sectionfont{\Large\fontfamily{lmdh}\selectfont}
\newpagestyle{footers} {
\sethead{}{}{}
\setfoot{\small Intro to Crypto and Blockchain, Note \notenum}{\thepage}{\small Lin, Akhtar}
% \footskip = 45pt
}
\fancypagestyle{firstpage} {
\vspace*{2\baselineskip}
% \footskip = 0pt
\renewcommand{\headrulewidth}{6pt}
\chead{\rule{\textwidth}{6pt} \vspace{20pt}\\}
\lhead{\setstretch{1.05}\Large\fontfamily{lmdh}\selectfont
Introduction to Cryptocurrencies and Blockchain
\\ Lin, Akhtar}
\rhead{\huge \fontfamily{lmdh}\selectfont Note \notenum}
% \vspace*{2\baselineskip}
\lfoot{\small Intro to Crypto and Blockchain, Note \notenum}
\rfoot{\small Lin, Akhtar}
}
\pagestyle{footers}
\begin{document}
\subfile{title}
\newcommand{\notenum}{0}
\subfile{note0}
\newpage
\renewcommand{\notenum}{1}
\subfile{note1}
\newpage
\renewcommand{\notenum}{2}
\subfile{note2}
\newpage
\renewcommand{\notenum}{3}
\subfile{note3}
\newpage
\renewcommand{\notenum}{4}
\subfile{note4}
\newpage
\renewcommand{\notenum}{5}
\subfile{note5}
\newpage
\renewcommand{\notenum}{6}
\subfile{note6}
\newpage
\renewcommand{\notenum}{7}
\subfile{note7}
\newpage
\renewcommand{\notenum}{8}
\subfile{note8}
\newpage
\subfile{bib}
\newpage
\end{document}