-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection1.tex
More file actions
46 lines (34 loc) · 1.18 KB
/
section1.tex
File metadata and controls
46 lines (34 loc) · 1.18 KB
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
\section{First section}
\subsection{First subsection}
This is a bibliography reference~\cite{Little:1961:PQF:2772689.2772699}.
This is another bibliography reference~\cite{Kemeny}.
And this is the third one~\cite{Apache}.
Note that the order of bibliography elements can be rearranged, based on how they will be sorted\footnote{This is a footnote. You can also add urls: \url{http://www.example.com/}.}.
\begin{equation}
\overline{x}_n = \frac{\sum_{i=1}^n x_i}{n}; \;\;\; s^2_n = \frac{\sum_{i=1}^n (x_i-\overline{x})^2}{n-1}
\end{equation}
\begin{wrapfigure}{r}{3cm} % Second parameter specify the width of the wrapping around the figure
\begin{center}
\includegraphics[height=2cm]{example}
\end{center}
\caption{Photo example}
\label{figure 1}
\end{wrapfigure}
\lipsum[1]
Look at the figure~\ref{figure 1}. % There's no new line!!!
\lipsum[2]
\begin{wrapfigure}{l}{3cm}
\begin{center}
\includegraphics[height=2cm]{example}
\end{center}
\caption{Photo example}
\label{figure 2}
\end{wrapfigure}
Now look at figure \ref{figure 2}.
\lipsum[4-10]
\subsection{Second subsection}
\lipsum[2-3]
\xmlcode{my_xml_code.xml}{XML code example}
\lipsum[4]
\subsection{Third subsection}
\lipsum[5-7]