-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathkindle.tex
55 lines (40 loc) · 1002 Bytes
/
kindle.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
\documentclass[a5paper]{article}
% Lets us set the author and title of the compiled pdf file
\usepackage[pdftex]{hyperref}
% Lets make the text nice and big
\usepackage[14pt]{extsizes}
% Make a box around would-be margin paragraphs
\usepackage{tcolorbox}
% Make the borders really small
\usepackage[left=1cm,
top=1cm,
right=1cm,
bottom=1cm,
marginparwidth=0mm,
marginparsep=0mm]{geometry}
% Import the packages for the notes
\input{packages.tex}
% Set the tab size in verbatim to 1
\def\verbatimtabsize{1\relax}
% Make margin paragrahs inline
\renewcommand{\marginpar}[1]{
\begin{tcolorbox}[colback=white!5,colframe=white!40!black,title=Note:]
#1
\end{tcolorbox}}
\begin{document}
% No page numbers!
\pagenumbering{gobble}
% Get the author, the title etc
\input{meta.tex}
\maketitle
% Get the course info
\courseinfo
\newpage
% Table of contents
\tableofcontents
\newpage
% Don't do multicol
\multicolsfalse
% Get the content of the file
\input{content.tex}
\end{document}