-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
58 lines (49 loc) · 1.64 KB
/
main.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
\documentclass{article}
\usepackage{amsmath,amsthm,amsfonts,amssymb,amscd,physics}
\usepackage{tcolorbox}
\usepackage{marginnote,tensor}
%~~~~~~~~~ Document setup
\usepackage[english]{babel} % English formatting
\usepackage[utf8]{inputenc} % Standard encoding
\usepackage[a4paper,left=3cm,bottom=3cm]{geometry} % Page formatting
\usepackage{indentfirst} % Indents the first paragraph
\usepackage{amsmath} % Maths type package
\usepackage{bm} % Bold font maths
\usepackage{graphicx} % Advanced graphics package
\usepackage[export]{adjustbox}
\usepackage{pdflscape} % Make pages landscape
\usepackage{fancyhdr} % Fancy headers
\usepackage[colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=black]{hyperref} % Link colours
\usepackage{natbib} % Bibliography
\usepackage{flafter} % Reference any 'float'
\usepackage[framemethod=tikz]{mdframed} % Box off stuff
\usepackage{color} % Colour support
\usepackage{wrapfig} % Text flowing around figures
\usepackage{lipsum} % Generates meaningless text
%~~~~~~~~~ Page setup
\pagestyle{fancy}
\fancyhf{}
\lhead{Notes on General Relativity}
%\lfoot{Notes on General Relativity}
%\rhead{March 2023}
\rfoot{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
\newtheorem{example}{Example}[section]
%~~~~~~~~~ Title
\title{{\LARGE \bf Notes on Spacetime and Geometry by Sean M. Carroll}}
\author{Diez B. Borja}
\date{\today}
%~~~~~~~~~ Document start
\begin{document}
\pagenumbering{gobble} % keep title page without a number
\maketitle
\tableofcontents
\clearpage
\pagenumbering{arabic} % start page numbers again
\setcounter{page}{1}
%~~~~~~~~~ Document start
\input{cap-1}
\input{cap-3}
\input{cap-4}
\input{cap-5}
\end{document}