-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy paths_introduction.tex
172 lines (149 loc) · 7.3 KB
/
s_introduction.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
\section{Introduction}\label{introduction}
LaTeX is a document markup language and document preparation system for
the TeX typesetting program. The term LaTeX refers only to the language
in which documents are written, not to the editor used to write those
documents. In order to create a document in LaTeX, a .tex file must be
created using some form of text editor. While most text editors can be
used to create a LaTeX document, a number of editors have been created
specifically for working with LaTeX.
LaTeX is widely used in academia. It is also used as the primary method
of displaying formulas on Wikipedia. As a primary or intermediate
format, e.g., translating DocBook and other XML-based formats to PDF,
LaTeX is used because of the high quality of typesetting achievable by
TeX. The typesetting system offers programmable desktop publishing
features and extensive facilities for automating most aspects of
typesetting and desktop publishing, including numbering and
cross-referencing, tables and figures, page layout and bibliographies.
LaTeX is intended to provide a high-level language that accesses the
power of TeX. LaTeX essentially comprises a collection of TeX macros and
a program to process LaTeX documents. Because the TeX formatting
commands are low-level, it is usually much simpler for end-users to use
LaTeX.
LaTeX was originally written in the early 1980s by Leslie Lamport at SRI
International.{[}3{]} The current version is LaTeX2e. LaTeX is free
software and is distributed under the LaTeX Project Public License
(LPPL).
\textbf{Lorem} \emph{ipsum} \textbf{\emph{dolor}} sit amet, consectetur
adipiscing elit. Ut volutpat nulla condimentum neque pulvinar non cursus
tortor malesuada \citep{halevy2009unreasonable}. Praesent augue est,
\texttt{vulputate} ac pulvinar nec, dictum vitae sapien. Nullam mi
augue, viverra eget convallis molestie, tincidunt eu augue. Vestibulum
ultricies rutrum purus, nec
\begin{minipage}{0.95\textwidth}\begin{lstlisting}
instance Functor RegularExpression where
f 'fmap' Empty = Empty
f 'fmap' (Singleton a) = Singleton a
\end{lstlisting}\end{minipage}
imperdiet nibh tempus porta. Maecenas tincidunt, metus vel fringilla
iaculis, turpis risus vehicula elit, vel vehicula metus urna mollis
purus. Mauris a velit sed enim aliquet molestie ut vitae justo. Fusce
iaculis, lacus sed suscipit tincidunt, mi nulla congue diam, ac
convallis quam mi non nulla. Sed vitae leo nisi. Vestibulum blandit
vehicula pellentesque.
\begin{minipage}{0.95\textwidth}\begin{lstlisting}
class MyJavaSource {
public MyJavaSource() {
// ... construct class
}
public string getId() {
// ... do stuff
return "hello world";
}
}
\end{lstlisting}\end{minipage}
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere
cubilia Curae; Suspendisse in mi arcu. Cras vel felis leo. Sed suscipit
risus purus, sed convallis libero. Aenean{[}\^{}1{]} vestibulum est
vitae ligula tristique quis dictum lacus sodales. Lorem ipsum dolor sit
amet, consectetur adipiscing elit.
\subsection{Broccoli is good for the
brain}\label{broccoli-is-good-for-the-brain}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum
venenatis, leo laoreet aliquet laoreet, nunc ipsum condimentum diam,
quis suscipit nunc massa lacinia eros. In id massa porttitor metus
sodales malesuada. Donec lobortis, sem vitae ultricies scelerisque,
turpis diam convallis elit, luctus mattis nulla nibh sit amet lacus.
Nulla facilisi. Cras risus erat, scelerisque sit amet laoreet nec,
consequat ut enim. Sed erat libero, auctor ut aliquam et, posuere eu
eros. Sed eget augue massa, a ornare mauris. Ut ac nisl est, vel feugiat
nunc. In et nulla libero.
Nunc facilisis, nisl in consequat consectetur, elit purus pharetra
ligula, ut sollicitudin massa purus ut turpis. Nunc vel ligula eu leo
lacinia posuere. Quisque mauris nulla, euismod ut iaculis quis,
vestibulum eu risus. Praesent ultrices odio ut est vestibulum at dapibus
sem porta. Sed nibh turpis, molestie sed consequat eget, pharetra vel
leo. Pellentesque nulla arcu, congue quis eleifend vitae, euismod ac
lacus. Morbi et nibh sit amet dui sollicitudin pharetra quis et risus.
Vestibulum lacinia felis mattis purus feugiat sollicitudin. Sed aliquet
mauris ut augue adipiscing accumsan. Phasellus sit amet orci elit, sed
gravida dolor. Vestibulum ante ipsum primis in faucibus orci luctus et
ultrices posuere cubilia Curae; Maecenas dui nisi, sagittis ut
adipiscing et, tincidunt non quam. Donec sed tortor sem, ut iaculis
lorem. Quisque tortor lectus, pharetra id fermentum ac, dictum ut sem.
Morbi a nibh in metus condimentum blandit.
\textbf{\emph{Bold font}}
Donec faucibus, purus eu luctus volutpat, risus enim hendrerit orci, sed
dictum lorem turpis non lacus. Suspendisse imperdiet, nisl ut molestie
dignissim, velit magna euismod tortor, at fringilla orci tortor varius
justo. Nulla facilisi. Donec metus tellus, sollicitudin eu feugiat
vitae, sollicitudin tempor erat. Nunc dictum, ipsum non blandit
lobortis, nunc dui vestibulum nisl, in tincidunt turpis eget risus.
Maecenas quis ante sit amet lacus convallis dapibus. Ut mauris nibh,
varius auctor facilisis at, facilisis non ligula. Nulla luctus
ullamcorper vestibulum. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus. Ut lorem quam, tincidunt id
pellentesque in, egestas eget tortor. In purus lectus, auctor ac
ultrices nec, facilisis sit amet quam. Integer id mauris est. Sed nisl
purus, tempor in interdum in, elementum ut libero. Maecenas rutrum
sollicitudin feugiat.
ligula. Nulla luctus ullamcorper vestibulum. Cum sociis natoque
penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut
lorem quam, tincidunt id pellentesque in, egestas eget tortor. In purus
lectus, auctor ac ultrices nec, facilisis sit amet quam. Integer id
mauris est. Sed nisl purus, tempor in interdum in, elementum ut libero.
Maecenas rutrum sollicitudin feugiat.
\begin{align*}
a =& 9 \\
b =& 10 \\
c =& 100,000,00
\end{align*}
Ut dictum libero sed dui sollicitudin quis sodales turpis auctor.
Integer eget tortor sapien, vel venenatis diam. Aenean cursus nisi
consectetur lorem elementum ut congue dolor . Vestibulum interdum, mi
vel lobortis semper, turpis diam porta velit, vitae sodales massa dui at
sapien. Aliquam vel felis libero. In hac habitasse platea dictumst.
Vestibulum ac urna sed lacus sodales vestibulum. Nulla facilisi. Integer
in mauris velit.
\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
hey this is an item
\item
hey this is another item
\end{itemize}
\begin{enumerate}
\itemsep1pt\parskip0pt\parsep0pt
\item
hey this is an item
\item
hey this is another item
\end{enumerate}
\begin{quote}
Blockquote --- Ut dictum libero sed dui sollicitudin quis sodales turpis
auctor. Integer eget tortor sapien, vel venenatis diam. Aenean cursus
nisi consectetur lorem elementum ut congue dolor . Vestibulum interdum,
mi vel lobortis
\end{quote}
Ut dictum libero sed dui sollicitudin quis sodales turpis auctor.
Integer eget tortor sapien, vel venenatis diam. Aenean cursus nisi
consectetur lorem elementum ut congue dolor . Vestibulum interdum, mi
vel lobortis
\begin{figure}[H]
\centering
\includegraphics[scale=0.6]{demo-diagram.eps}
\label{fig:demo-diagram}
\caption{Demo caption for diagram}
\end{figure}
\begin{align}
H(X) = - \sum_{i=1}^{n}p(x_i)\log_bp(x_i)
\end{align}