-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
154 lines (128 loc) · 3.88 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
\documentclass[a4paper,10pt]{article}
\usepackage[a4paper,margin=0.75in]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{subfiles}
\usepackage{tcolorbox}
\usepackage{siunitx}
\usepackage[straightvoltages]{circuitikz}
\usepackage{pgfplots}
\usepackage{xifthen}
\usepackage{float}
\usepackage{xcolor}
\usepackage{multicol}
\usepackage{tabularx}
\usepackage{parskip}
\usepackage{hyperref}
\usepackage{physics}
\usepackage[math]{iwona}
\usepackage{framed}
\usepackage[version=4]{mhchem}
\tcbuselibrary{skins}
\tcbuselibrary{breakable}
\tcbset{ignore nobreak}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{shapes}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{patterns}
\usetikzlibrary{fpu}
\setcounter{tocdepth}{1}
\pgfplotsset{width=0.85\linewidth,compat=1.5.1}
\usepgfplotslibrary{fillbetween}
\title{`O'-Level Physics Notes}
\author{Ng Kang Zhe}
\date{2018}
\newtcolorbox{preamb}{
breakable=false,
top = 0.5mm, bottom = 0.5mm,
left = 0.5mm, right = 0.5mm,
colback = white,
title=Preamble,
}
\newtcolorbox[auto counter,number within=subsection]{physdef}[2][]{
sharp corners=all,
breakable=false,
top = 0.5mm, bottom = 0.5mm,
left = 0.5mm, right = 0.5mm,
colback = white,
title=Definition~\thetcbcounter: #2,
#1,
}
\newcommand\pdef[2]{\begin{physdef}{#1} #2 \end{physdef}}
\newtcolorbox[auto counter,number within=subsection]{physeqn}[2][]{
sharp corners=all,
breakable=false,
top = 0.5mm, bottom = 0.5mm,
left = 0.5mm, right = 0.5mm,
colback = white,
title=Equation~\thetcbcounter: #2,
#1,
}
\newcommand\peqn[4][]{
\begin{physeqn}{#2}
#3
\begin{equation*}
\ifthenelse{\equal{#1}{}}{}{\begin{#1}}
#4
\ifthenelse{\equal{#1}{}}{}{\end{#1}}
\end{equation*}
\end{physeqn}
}
\begin{document}
\maketitle
\begin{abstract}
These notes are for the `O'-Level Physics syllabus [6091]. They might be similar in content to other physics courses too, though structured differently.
These notes are written by myself, which means they are prone to typos and errors. If you find errata, do contact me so I can remedy. or give you access to the GitHub repository for you to push any changes.
Some code (especially the \texttt{tcolorboxes}) are copied from \href{https://github.com/4yn/a-lv-notes}{\color{blue} \underline{4yn's a-lv-notes repository\footnote{https://github.com/4yn/a-lv-notes}}}.
Do whatever you want with these notes. Reproduce them, distribute them, use material from them, go crazy. I don't mind. Unless you republish it without any changes under your own name, we won't have a problem.
Use these notes with caution.
\end{abstract}
\begin{multicols}{2}
\tableofcontents
\end{multicols}
\vspace*{\fill}
\hrule
\begin{center}
This document consists of \textbf{26} pages including the cover page.
\end{center}
\newpage
\begin{multicols}{2}
\part{Measurement}
\subfile{content/chapter01}
\part{Newtonian Mechanics}
\subfile{content/chapter02}
\subfile{content/chapter03}
\subfile{content/chapter04}
\subfile{content/chapter05}
\subfile{content/chapter06}
\subfile{content/chapter07}
\part{Thermal Physics}
\subfile{content/chapter08}
\subfile{content/chapter09}
\subfile{content/chapter10}
\subfile{content/chapter11}
\part{Waves}
\subfile{content/chapter12}
\subfile{content/chapter13}
\subfile{content/chapter14}
\subfile{content/chapter15}
\part{Electricity and Magnetism}
\subfile{content/chapter16}
\subfile{content/chapter17}
\subfile{content/chapter18}
\subfile{content/chapter19}
\subfile{content/chapter20}
\subfile{content/chapter21}
\subfile{content/chapter22}
\end{multicols}
\vspace{3em}
\begin{center}
{\Large \textbf{End of Document}}
\textit{Have fun studying and all the best for your examinations!}
\href{https://github.com/kangzhe3067/physicsNotes}{\color{gray} \texttt{https://github.com/kangzhe3067/physicsNotes}}
\end{center}
\end{document}