-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbody.tex
306 lines (244 loc) · 9.24 KB
/
body.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
% ----------------------------- %
% Author Guidelines
% ----------------------------- %
\section{General Guidelines}
\noindent
Please read these instructions carefully.
The objective of this template is to enable you in an easy way to style your article attractively in a style similar to that of the typeset journal.
It should be emphasized, however, that the final appearance of your paper in print and electronic media may vary to some extent from the presentation achieved in this template.
% ----------------------------- %
% Heading Levels
% ----------------------------- %
\subsection{Level Headings: Subsections}
\noindent
You will usually want to divide your article into (numbered) sections and subsections (perhaps even subsubsections).
You can use it to help organize your document as appropriate.
% ----------------------------- %
% Paragraphs
% ----------------------------- %
\subsection{Paragraphs}
\noindent
Paragraphs are \textbf{not} indented, and a line break is included between paragraphs.
The first paragraph in a section or subsection will automatically not have an indentation.
Use \verb!\noindent! as needed.
% ----------------------------- %
% Hyperlinks
% ----------------------------- %
\subsection{Hyperlinks / URLs}
Include hyperlinks using URL \url{http://www.google.com}.
% ----------------------------- %
% Mathematics
% ----------------------------- %
\section{Mathematics}\label{sec:lu}
Here is some mathematics.
For $A \in M_n$, the factorization $A = LU$, where $L$ is unit lower triangular and $U$ is upper triangular, is called the \textit{LU decomposition}, or \textit{LU factorization}.
We can use such a factorization, when it exists, to solve the system $A {\bf x} = {\bf b}$ by first solving for the vector $\bf{y}$ in $L {\bf y} = {\bf b}$ and then solving
$
U {\bf x} = {\bf y}
$.
However, not every $n \times n$ matrix $A$ has an LU decomposition.
The following theorem provides conditions for the existence and uniqueness of an LU decomposition of a $n \times n$ matrix.
A proof can be found in \citet[p. 160]{johnson1985matrix}.
An equation is given by \cite{strang1993introduction},
\begin{equation}\label{eqn:quad}
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
\end{equation}
%: EXAMPLE 1
\begin{example}\normalfont
The $3 \times 3$ matrix
$A = \begin{bmatrix}
1 & 5 & 1\\
1 & 4 & 2\\
4 & 10 & 2\\
\end{bmatrix}
$
has all non-zero principle minors, $A_1, A_2$ and $A_3$. Therefore, there is a unique LU factorization with both $L$ and $U$ nonsingular given by
\end{example}
\[
\begin{bmatrix}
1 & 5 & 1\\
1 & 4 & 2\\
4 & 10 & 2\\
\end{bmatrix}
=
\begin{bmatrix}
1 & 0 & 0\\
1 & 1 & 0\\
4 & 10 & 1\\
\end{bmatrix}
\begin{bmatrix}
1 & 5 & 1\\
0 & -1 & 1\\
0 & 0 & 12\\
\end{bmatrix}.
\]
% ----------------------------- %
% Math: Theorems/Defs
% ----------------------------- %
\section{Definition, Theorem, Corollary}
\begin{definition}
Definitions are if and only if statements.
\end{definition}
\begin{verbatim}
\begin{definition}
Definitions are if and only if statements.
\end{definition}
\end{verbatim}
%: THEOREM: Infinite LU Factorizations
\begin{theorem}[Matrices with Infinitely Many LU Factorizations]
{For $A \in M_n$, if two or more of any first $(n-1)$ columns are linearly dependent or any of the first $(n-1)$ columns are 0, then $A$ has infinitely many LU factorizations.}
\end{theorem}
%: proof
\begin{proof} We will prove only for the the case when $A \in M_3$. \\
\begin{align}
&dm + r = e \Rightarrow r = e-dm \label{eqn:1}\\
&dn + rp = f \Rightarrow p=\frac{f-dn}{r} \label{eqn:2}\\
&gm + s = h \Rightarrow s = h - gm \label{eqn:3}\\
&gn + sp + t = i \Rightarrow t = i-sp-gn \label{eqn:4}
\end{align}
\end{proof} % end proof
% Corollary
\begin{corollary}
If $x$, then $y$.
\end{corollary}
% ----------------------------- %
% Examples
% ----------------------------- %
\section{Examples}\label{ex:x1}
Here is an example of an example.
\begin{example}
Let $\{1,2,3\}$ and $\{2,1,3\}$ be two lists of integers.
Then, to check if the two lists are equal, we would have,
\begin{center}
\texttt{ \{1,2,3\} == \{2,1,3\} }.
\end{center}\label{ex:equallists}
\end{example}
\begin{verbatim}
\begin{example}
Let $\{1,2,3\}$ and $\{2,1,3\}$ be two lists of integers.
Then, to check if the two lists are equal, we would have,
\begin{center}
\texttt{ \{1,2,3\} == \{2,1,3\} }.
\end{center}\label{ex:equallists}
\end{example}
\end{verbatim}
% ----------------------------- %
% Lists
% ----------------------------- %
\section{Lists}
NAGJ uses the \verb|outline| package.
% Enumeration
\subsection{Enumerated List}
The following code produces an enumerated list. The enumerated list numbers each list item with Arabic numerals.
% Outline
\begin{verbatim}
\begin{outline}[enumerate]
\1 First Level
\2 Second level
\3 Third level
\end{outline}
\end{verbatim}
% Outline
\begin{outline}[enumerate]
\1 First Level
\2 Second level
\3 Third level
\end{outline}
% Itemize
\subsection{Itemized List}
The following code produces an itemized list.
% Verbatim Outline
\begin{verbatim}
\begin{outline}
\1 First item
\2 Second level item
\3 Third-level sub-item
\end{outline}
\end{verbatim}
% Outline
\begin{outline}
\1 First Level
\2 Second level
\3 Third level
\end{outline}
% ----------------------------- %
% Tables and Figures
% ----------------------------- %
\section{Tables and Figures}
For figures and tables, a \textbf{caption} that briefly describes the material is required.
Any required information, such as photo credits or data sources, may be included in captions.
Furthermore, as part of the authorization to use that content, providers of this material may need a specific credit line, which might be placed in the caption (or wherever the provider has requested).
% ----------------------------- %
% Figures
% ----------------------------- %
\subsection{Figures}
Figures should be high quality (1200 dpi for line art, 600 dpi for grayscale, and 300 dpi for color, at the correct size).
The preferred method of including graphics in the \textit{North American GeoGebra Journal} is to export to TiKz.
For exposition on TiKz, see \citep{quinlan2013geogebra}.
Other acceptable file formats include EPS, PS, PNG, JPEG, or TIFF.
\begin{figure}[h!] % figure placement
\centering
\includegraphics[scale=0.5]{figs/venn.pdf}
\caption{Provide a short caption description.}
\label{fig:number}
\end{figure}
% ----------------------------- %
% Tables
% ----------------------------- %
\subsection{Tables}
We use the \texttt{booktabs} package.
Tables should present new information rather than duplicating what is in the text.
Readers should be able to interpret the table without reference to the text. Please supply editable files.
\begin{table}[ht!]
\begin{center}
\begin{tabular}{lccc}
\toprule
Date & Time & Average & Standard Deviation \\
\midrule
Jan 1 & 1100 & 4.7 & 0.6 \\
Jan 2 & 2300 & 16.7 & 2.9 \\
Jan 3 & 1400 & 11.4 & 3.5 \\
Jan 4 & 1130 & 8.4 & 2.1 \\
Jan 5 & 500 & 5.2 & 1.9 \\
Jan 6 & 1700 & 7.9 & 2.2 \\
\bottomrule
\end{tabular}
\caption{This is a caption to the table}
\label{tab:1}
\end{center}
\end{table} % end the table
% ----------------------------- %
% Cross Referencing
% ----------------------------- %
\section{Cross Reference}
Figures, tables, and equations should be labeled (\texttt{label}) and then referenced using the \texttt{ref}.
% ----------------------------- %
% Citations
% ----------------------------- %
\section{Citations}
Citations follow APA format. \citet{johnson1985matrix} shows an example using \verb!\citet{key}!, whereas to include citations parenthetically as in, \citep{johnson1985matrix}, use \verb!\citep{key}!.
You can also include the page number of reference, such as, \citep[p. 17]{johnson1985matrix}, by using options in the cite command, i.e., \verb!\citep[p. 17]{key}!.
Multiple researchers \citep{johnson1985matrix,strang1993introduction} can be cited using one cite command; in particular, with keys separated by commas \verb!\citep{johnson1985matrix,strang1993introduction}!.
% ----------------------------- %
% GeoGebra Commands
% ----------------------------- %
\section{GeoGebra Command Line}
Commands that could be entered at the GeoGebra command prompt should use the \verb!verbatim! environment and can be centered.
\begin{center}
\verb! J=(6-(16/3-distance(D,K)),y(C)).!
\end{center}
For inline commands such as \texttt{distance(A,B)}, use \verb!\texttt! or \verb!\verb!.
% ----------------------------- %
% Appendix
% ----------------------------- %
\section*{Appendix}
Appendixes, if needed, appear before the acknowledgment.
% ----------------------------- %
% Acknowledgment
% ----------------------------- %
\section*{Acknowledgment}
The preferred spelling of the word ``acknowledgment" in American English is without an ``e" after the ``g."
You can use the singular heading even if you have many acknowledgments.
Avoid expressions such as ``One of us (S.B.A.) would like to thank ... ." Instead, write ``F. A. Author thanks ... ."
Usually, sponsor and financial support acknowledgments are placed in the unnumbered footnote on the first page, not here.
% /EOF