-
Notifications
You must be signed in to change notification settings - Fork 5
/
main.tex
708 lines (657 loc) · 23.2 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
\documentclass[aspectratio=169]{beamer}
% Packages used:
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{float}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\usepackage{url}
\usepackage{hyperref}
% Misc. settings:
\pgfplotsset{compat=newest}
% lstlistings style:
\lstset{
basicstyle=\ttfamily\small,
numbers=left,
numberstyle=\small\color{base-color-one},
xleftmargin=0pt,
xrightmargin=0pt,
stepnumber=1,
showstringspaces=false,
showtabs=false,
showspaces=false,
columns=fullflexible,
}
% External link icon:
\newcommand{\ExternalLink}{%
\tikz[x=1.2ex, y=1.2ex, baseline=-0.05ex]{%
\begin{scope}[x=1ex, y=1ex]
\clip (-0.1,-0.1)
--++ (-0, 1.2)
--++ (0.6, 0)
--++ (0, -0.6)
--++ (0.6, 0)
--++ (0, -1);
\path[draw,
line width = 0.5,
rounded corners=0.5]
(0,0) rectangle (1,1);
\end{scope}%
\path[draw, line width = 0.5] (0.5, 0.5)
-- (1, 1);
\path[draw, line width = 0.5] (0.6, 1)
-- (1, 1) -- (1, 0.6);
}%
}%
% Specify the theme to use:
\usetheme{NXYZ} % (Default) red theme
% \usetheme[red]{NXYZ} % Red theme
% \usetheme[black]{NXYZ} % Black theme
% \usetheme[blue]{NXYZ} % Blue theme
% \usetheme[green]{NXYZ} % Blue theme
% Doc. settings
\title{Typesetting with \LaTeX}
\subtitle{Example slides}
\author{Name Nameson}
\institute{Institute}
\date{April, 2020}
% Document start
\begin{document}
% Title page:
\begin{frame}
\titlepage
\end{frame}
% Table of contents
\begin{frame}{Overview}
\tableofcontents
\end{frame}
\section{Creating a Basic Document}
\subsection{A Simple Example}
\begin{frame}[fragile]{Creating a Basic Document}
\framesubtitle{A minimal working example}
Write a \texttt{.tex} file containing:
\begin{lstlisting}
\documentclass[a4paper, 11pt]{article}
% Preamble
\begin{document}
% The body of the document
A simple \LaTeX document.
\end{document}
\end{lstlisting}
\end{frame}
\section{Main Components}
\subsection{Declarations, Enviroments \& Other Things}
\begin{frame}{Declarations \& Enviroments}
\begin{block}{Declarations...}
\begin{itemize}
\item Are stated once and take effect until further notice
\item Changes the formatting globally
\end{itemize}
Example: {\small\textbackslash\texttt{documentclass}}
\end{block}
\begin{block}{Enviroments...}
\begin{itemize}
\item Are delimited by matching {\small\textbackslash \texttt{begin}} and {\small\textbackslash\texttt{end}} declarations
\item Changes the formatting locally
\end{itemize}
Example: {\small\textbackslash\texttt{begin\{document\} ...}} {\small\textbackslash\texttt{end\{document\}}}
\end{block}
\end{frame}
\begin{frame}{Arguments}
\begin{block}{Required Arguments}
\begin{itemize}
\item Can not be left out
\item Are contained in curly braces: {\small\texttt{\{ \textit{required argument} \}}}
\end{itemize}
Example: {\small\textbackslash\texttt{documentclass\{article\}}}
\end{block}
\begin{block}{Optional Arguments}
\begin{itemize}
\item Can be left out
\item Are contained in square brackets: {\small\texttt{[ \textit{optional argument} ]}}
\end{itemize}
Example: {\small\textbackslash\texttt{documentclass[a4paper, 11pt]\{article\}}}
\end{block}
\end{frame}
\begin{frame}[fragile]{Special Characters}
\begin{itemize}
\item {\small\texttt{\textbackslash}} ~ backslash precedes all \LaTeX\ commands.
\item {\small\texttt{\{\}}} ~ curly braces group or seperate commands
\item {\small\texttt{\$}} ~ dollor sign begin or end inline math mode
\item {\small\texttt{\^{}}} ~ caret is used in math mode for superscripts
\item {\small\texttt{\_}} ~ underscore is used in math mode for subscripts
\item {\small\texttt{\%}} ~ percentage sign starts a comment
\item {\small\texttt{\~}} ~ tilde defines an unbreakable space
\item {\small\texttt{\&}} ~ ampersand is used to align text in certain enviroments
\end{itemize}
\end{frame}
\begin{frame}[fragile]{Front Page}
A front page with a table of contents, author and date can be created by including the declarations shown below:
\begin{lstlisting}
% Preamble
\title{\LaTeX\ Document Title}
\author{Author}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
% The body of the document
A simple \LaTeX\ document.
\end{document}
\end{lstlisting}
\end{frame}
\begin{frame}{Sectioning}
In a simple document it is usually sufficient to simply use:
\begin{itemize}
\item Level 1: {\small\texttt{\textbackslash section}} ~
\item Level 2: {\small\texttt{\textbackslash subsection}} ~
\end{itemize}
Several other levels of sectioning can be obtained by using:
\begin{itemize}
\item Level 0: {\small\texttt{\textbackslash chapter\{\textit{ chapter name }\}}} ~
\item Level 3: {\small\texttt{\textbackslash subsubsection\{\textit{ subsubsection name }\}}} ~
\item Level 4: {\small\texttt{\textbackslash paragraph\{\textit{ paragraph name }\}}} ~
\item Level 5: {\small\texttt{\textbackslash subparagraph\{\textit{ subpragraph name }\}}}
\end{itemize}
The level of sectioning that is possible usually depend on the documentclass.
\end{frame}
\begin{frame}{Font Faces}
\begin{itemize}
\item {\small\textbackslash\texttt{emph\{Text\}}}~$\rightarrow$~\emph{Text}
\item {\small\textbackslash\texttt{textbf\{Text\}}}~$\rightarrow$~\textbf{Text}
\item {\small\textbackslash\texttt{texttt\{Text\}}}~$\rightarrow$~\texttt{Text}
\item {\small\textbackslash\texttt{textrm\{Text\}}}~$\rightarrow$~\textrm{Text}
\item {\small\textbackslash\texttt{textsf\{Text\}}}~$\rightarrow$~\textsf{Text}
\item {\small\textbackslash\texttt{textsc\{Text\}}}~$\rightarrow$~\textsc{Text}.
\end{itemize}
\end{frame}
\begin{frame}{Font Sizes}
\begin{itemize}
\item {\small\textbackslash\texttt{tiny\{Text\}}}~$\rightarrow$~{\tiny{Text}}
\item {\small\textbackslash\texttt{scriptsize\{Text\}}}~$\rightarrow$~{\scriptsize{Text}}
\item {\small\textbackslash\texttt{footnotesize\{Text\}}}~$\rightarrow$~{\texttt{Text}}
\item {\small\textbackslash\texttt{small\{Text\}}}~$\rightarrow$~{\small{Text}}
\item {\small\textbackslash\texttt{normalsize\{Text\}}}~$\rightarrow$~{\normalsize{Text}}
\item {\small\textbackslash\texttt{large\{Text\}}}~$\rightarrow$~{\large{Text}}
\item {\small\textbackslash\texttt{Large\{Text\}}}~$\rightarrow$~{\Large{Text}}
\item {\small\textbackslash\texttt{LARGE\{Text\}}}~$\rightarrow$~{\LARGE{Text}}
\item {\small\textbackslash\texttt{huge\{Text\}}}~$\rightarrow$~{\huge{Text}}
\item {\small\textbackslash\texttt{Huge\{Text\}}}~$\rightarrow$~{\Huge{Text}}
\end{itemize}
\end{frame}
\begin{frame}[fragile]{Text Alignment}
\begin{columns}
\begin{column}{0.45\textwidth}
\begin{lstlisting}
\begin{flushleft}
Text
\end{flushleft}
\end{lstlisting}
\vspace{0.5cm}
\begin{lstlisting}
\begin{center}
Text
\end{center}
\end{lstlisting}
\vspace{0.5cm}
\begin{lstlisting}
\begin{flushright}
Text
\end{flushright}
\end{lstlisting}
\end{column}
\begin{column}{0.45\textwidth}
\begin{flushleft}
Text
\end{flushleft}
\vspace{1.0cm}
\begin{center}
Text
\end{center}
\vspace{1.0cm}
\begin{flushright}
Text
\end{flushright}
\vspace{0.20cm}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{Spacing}
\begin{block}{Horizontal Spacing $(\leftrightarrow)$}
\begin{itemize}
\item {\small\texttt{\~}} ~ unbreakable space
\item {\small\textbackslash\texttt{hspace\{\}}} ~ user-specifiable spacing
\item {\small\textbackslash\texttt{quad}}
\item {\small\textbackslash\texttt{qquad}}
\item {\small\textbackslash\texttt{,}}
\item {\small\textbackslash\texttt{;}}
\end{itemize}
\end{block}
\begin{block}{Vertical Spacing $(\updownarrow)$}
\begin{itemize}
\item {\small\textbackslash\texttt{vspace\{\}}} ~
\end{itemize}
\end{block}
\end{frame}
\begin{frame}{Line \& Page Breaking }
\begin{itemize}
\item {\small\texttt{\textbackslash\textbackslash}} ~ starts a new paragraph
\item {\small\texttt{\textbackslash\textbackslash$*$}} ~ starts a new line, but not a new paragraph
\item {\small\texttt{\textbackslash cleardoublepage}} ~ flushes all material and start a new page
\item {\small\texttt{\textbackslash clearpage}} ~ flushes all material and starts a new page
\item {\small\texttt{\textbackslash linebreak}} ~ allow linebreaking here
\item {\small\texttt{\textbackslash newline}} ~ requests a new line
\item {\small\texttt{\textbackslash newpage}} ~ requests a new page
\item {\small\texttt{\textbackslash nolinebreak}} ~ no line break should happen here
\item {\small\texttt{\textbackslash nopagebreak}} ~ no page break should happen here
\item {\small\texttt{\textbackslash pagebreak}} ~ encourage page break
\end{itemize}
\end{frame}
\begin{frame}[fragile]{List Enviroments}
\begin{columns}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{itemize}
\item Text
\item Text
\end{itemize}
\end{lstlisting}\vspace{0.5cm}
\texttt{itemize:}
\begin{itemize}
\item Text
\item Text
\end{itemize}
\end{column}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{enumerate}
\item Text
\item Text
\end{enumerate}
\end{lstlisting}\vspace{0.5cm}
\texttt{enumerate:}
\begin{enumerate}
\item Text
\item Text
\end{enumerate}
\end{column}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{description}
\item[P1] Text
\item[P2] Text
\end{description}
\end{lstlisting}\vspace{0.5cm}
\texttt{description:}
\begin{description}[]
\item[P1] Text
\item[P2] Text
\end{description}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{Packages}
\begin{block}{Packages...}
\begin{itemize}
\item extend the default functionality and customizability of \LaTeX.
\item are declared in the premable
\item are imported using the command:\\
\begin{center}
\texttt{\textbackslash usepackage\{\textit{package name}\}}
\end{center}
\end{itemize}
\end{block}
\begin{block}{Some packages:}
{\small\texttt{amsmath}, \texttt{amssymb}, \texttt{amsthm}, \texttt{tikz}, \texttt{pgfplots}, \texttt{lstlistings}, \texttt{url}, \texttt{hyperref}, \texttt{xcolor}, \texttt{float}, \texttt{fancyhdr}, \texttt{epstopdf} and many more.}
\end{block}
\end{frame}
\subsection{Typesetting Mathematics}
\begin{frame}[fragile]{Typesetting Math}
For mathematical typesetting we include the \texttt{amsmath}, \texttt{amssymb}, \texttt{amsthm} packages:
\begin{lstlisting}
% Preamble
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\end{lstlisting}
These packages contain various enviroments, symbols and commands, that are useful when typesetting mathematics.
\end{frame}
\begin{frame}{Symbols}
A huge number of symbols are available in \LaTeX. It is thus very convenient to know a number of resources where the commands for these symbols can be found.
\begin{block}{Symbol List \& Detexify}
Having trouble finding a special symbol? Try:
\begin{itemize}
\item Detexify \href{http://detexify.kirelabs.org/classify.html}{\ExternalLink}
\item The comprehensive \LaTeX\ symbol list \href{http://mirror.utexas.edu/ctan/info/symbols/comprehensive/symbols-a4.pdf}{\ExternalLink}
\end{itemize}
\end{block}
\end{frame}
\begin{frame}{Functions}
Some common functions can easily be written in \LaTeX:
\begin{itemize}
\item {\small\textbackslash\texttt{sin}} $\rightarrow$ $\sin$
\item {\small\textbackslash\texttt{cos}} $\rightarrow$ $\cos$
\item {\small\textbackslash\texttt{ln}} $\rightarrow$ $\ln$
\item {\small\textbackslash\texttt{log}} $\rightarrow$ $\log$
\item {\small\textbackslash\texttt{exp}} $\rightarrow$ $\exp$
\item {\small\textbackslash\texttt{mod}} $\rightarrow$ $\mod$
\item {\small\textbackslash\texttt{sqrt\{x\}}} $\rightarrow$ $\sqrt{x}$
\end{itemize}
These functions will already have the desired formatting in the misc. math enviroments.
\end{frame}
\begin{frame}[fragile]{Equation Enviroments}
Several different equation enviroments exist:
\begin{itemize}
\item {\small\texttt{equation}}
\item {\small\texttt{align}}
\item {\small\texttt{gather}}
\item {\small\texttt{multiline}}
\item ... and so on
\end{itemize}
It is usually sufficient to simply stick with one or two of these and use additional enviroments to obtain the desired formatting.
\end{frame}
\begin{frame}[fragile]{Equation Enviroments}
\begin{columns}
\begin{column}{0.45\textwidth}
With numbering:
\begin{lstlisting}
\begin{align}
2x + 3y = 6
\end{align}
\end{lstlisting}\vspace{0.5cm}
\texttt{align:}
\begin{align}
2x + 3y = 6
\end{align}
\end{column}
\begin{column}{0.45\textwidth}
\begin{lstlisting}
\begin{equation}
2x + 3y = 6
\end{equation}
\end{lstlisting}\vspace{0.5cm}
\texttt{equation:}
\begin{equation}
2x + 3y = 6
\end{equation}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Equation Enviroments}
\begin{columns}
\begin{column}{0.45\textwidth}
Without numbering:
\begin{lstlisting}
\begin{align*}
2x + 3y = 6
\end{align*}
\end{lstlisting}\vspace{0.5cm}
\texttt{align:}
\begin{align*}
2x + 3y = 6
\end{align*}
\end{column}
\begin{column}{0.45\textwidth}
\begin{lstlisting}
\begin{equation*}
2x + 3y = 6
\end{equation*}
\end{lstlisting}\vspace{0.5cm}
\texttt{equation:}
\begin{equation*}
2x + 3y = 6
\end{equation*}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Aligning Several Equations}
\begin{columns}
\begin{column}{0.45\textwidth}
The following \LaTeX\ code:
\begin{lstlisting}
\begin{align*}
2x + 3y &= 6 \\
3x + 4y &= 8 \\
4x + 5y &= 9
\end{align*}
\end{lstlisting}\vspace{0.5cm}
Produces:
\begin{align*}
2x + 3y &= 6\\
3x + 4y &= 8\\
4x + 5y &= 9
\end{align*}
\end{column}
\begin{column}{0.45\textwidth}
The following \LaTeX\ code:
\begin{lstlisting}
\begin{align*}
2x + 3y &= 6, & a = 1\\
3x + 4y &= 8, & b = 2\\
4x + 5y &= 9, & c = 3
\end{align*}
\end{lstlisting}\vspace{0.5cm}
Produces:
\begin{align*}
2x + 3y &= 6, & a = 1\\
3x + 4y &= 8, & b = 2\\
4x + 5y &= 9, & c = 3
\end{align*}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Subscripts \& Superscripts}
Caret {\small\texttt{\^{}}} and underscore {\small\texttt{\_}} are used for superscripts and subscripts. Two examples of their use:
\begin{columns}
\begin{column}{0.45\textwidth}
\begin{lstlisting}
\begin{align*}
\prod_{i=1}^{n} i
\end{align*}
\end{lstlisting}\vspace{0.5cm}
Produces:
\begin{align*}
\prod_{i = 1}^{n} i
\end{align*}
\end{column}
\begin{column}{0.45\textwidth}
\begin{lstlisting}
\begin{align*}
\sum_{i = 0}^{\infty} x^i
\end{align*}
\end{lstlisting}\vspace{0.5cm}
Produces:
\begin{align*}
\sum_{i = 0}^{\infty} x^i
\end{align*}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Matrix Enviroments}
\begin{columns}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{Vmatrix}
a & b \\
c & d
\end{Vmatrix}
\end{lstlisting}\vspace{0.5cm}
\begin{align*}
\texttt{Vmatrix:}&
\begin{Vmatrix}
a & b \\
c & d
\end{Vmatrix}
\end{align*}
\end{column}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}
\end{lstlisting}\vspace{0.5cm}
\begin{align*}
\texttt{vmatrix:}&
\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}
\end{align*}
\end{column}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{Bmatrix}
a & b \\
c & d
\end{Bmatrix}
\end{lstlisting}\vspace{0.5cm}
\begin{align*}
\texttt{Bmatrix:}&
\begin{Bmatrix}
a & b \\
c & d
\end{Bmatrix}
\end{align*}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]{Matrix Enviroments}
\begin{columns}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{Bmatrix}
a & b \\
c & d
\end{Bmatrix}
\end{lstlisting}\vspace{0.5cm}
\begin{align*}
\texttt{bmatrix:}&
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
\end{align*}
\end{column}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{matrix}
a & b \\
c & d
\end{matrix}
\end{lstlisting}\vspace{0.5cm}
\begin{align*}
\hspace{-0.40cm}\texttt{matrix:}\hspace{0.10cm}&
\begin{matrix}
a & b \\
c & d
\end{matrix}
\end{align*}
\end{column}
\begin{column}{0.30\textwidth}
\begin{lstlisting}
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
\end{lstlisting}\vspace{0.5cm}
\begin{align*}
\texttt{pmatrix:}&
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
\end{align*}
\end{column}
\end{columns}
\end{frame}
\subsection{Definitions, Theorems \& More...}
\begin{frame}[fragile]{Definitions, Theorems \& More...}
... Can be created by including the {\small\texttt{amsthm}} package and defining in the preamble:
\begin{lstlisting}
% Preamble
\newtheorem{theorem}{Theorem}
\end{lstlisting}
A theorem and corresponding proof can then be written:
\begin{lstlisting}
% The body of the document
\begin{theorem}
% Theorem content
\end{theorem}
\begin{proof}
% Proof content
\end{proof}
\end{lstlisting}
\end{frame}
\subsection{Labeling \& Referencing}
\begin{frame}[fragile]{Labeling \& Referencing}
\begin{block}{Labeling}
A label can be assigned to a certain enviroment:
\begin{center}
{\small\textbackslash \texttt{label\{\textit{ label name }\}}}
\end{center}
\end{block}
\begin{block}{Referencing}
The enviroment can then be referenced, by using the label:
\begin{center}
{\small\textbackslash \texttt{ref\{\textit{ label name }\}}}
\end{center}
\end{block}
\end{frame}
\begin{frame}[fragile]{Labeling \& Referencing Example}
The following \LaTeX\ code:
\begin{lstlisting}
\begin{align} \label{eq:SimpleEq}
a_1 = b_1 + c_1
\end{align}
We reference Eqn.~\ref{eq:SimpleEq}.
\end{lstlisting}\vspace{0.5cm}
Produces:
\begin{align} \label{eq:SimpleEq}
a_1 = b_1 + c_1
\end{align}
We reference Eqn.~\ref{eq:SimpleEq}.
\end{frame}
\subsection{Managing a Bibliography}
\begin{frame}[fragile]{Creating a Bibliography}
A simple bibliography entry in the {\small\texttt{thebibliography}} enviroment:
\begin{lstlisting}
\begin{thebibliography}{0}
\bibitem{ItemName}
Author One and Author Two,
\textit{Article Title}.
Journal,
Year,
Vol.,
pp. 0--9999.
\end{thebibliography}
\end{lstlisting}
\end{frame}
\begin{frame}[fragile]{Citations}
After a bibliography has been created the entries can be cited:
\begin{lstlisting}
\cite{ItemName} % Cite article
\cite[p.~9999]{ItemName} % Cite article page
\cite[pp.~0--9999]{ItemName} % Cite article page range
\end{lstlisting}
\end{frame}
\section{Additionl Resources}
\begin{frame}[fragile]{Additional Resources}
Misc. introductory material, useful packages and other things:
\begin{itemize}
\item \LaTeX\ on Wikibooks~\href{https://en.wikibooks.org/wiki/LaTeX}{\ExternalLink}
\item The Not So Short Introduction to \LaTeX~\href{https://www.ctan.org/tex-archive/info/lshort/english/}{\ExternalLink}
\item \LaTeX\ on AoPS~\href{https://artofproblemsolving.com/wiki/index.php/LaTeX:LaTeX_on_AoPS}{\ExternalLink}
\item TikZ (package)~\href{https://www.ctan.org/pkg/pgf}{\ExternalLink}
\item PGFPlots (package)~\href{https://ctan.org/pkg/pgfplots}{\ExternalLink}
\end{itemize}
\end{frame}
\section{Contact Information}
\begin{frame}[fragile]{Contact Information}
\begin{description}
\item[Email] : \href{mailto:[email protected]}{[email protected]}
\end{description}
\end{frame}
% Document end...
\end{document}