gennifer 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +157 -20
- data/default/recipes/after_recipe.rb +20 -0
- data/default/recipes/article.rb +13 -0
- data/default/recipes/beamer.rb +13 -0
- data/default/recipes/before_recipe.rb +5 -0
- data/default/recipes/cpp.rb +6 -0
- data/default/recipes/cppmake.rb +9 -0
- data/default/recipes/default.rb +5 -0
- data/default/recipes/exam.rb +8 -0
- data/default/recipes/example.rb +33 -0
- data/default/recipes/html.rb +6 -0
- data/default/recipes/htmlerb.rb +6 -0
- data/default/recipes/letter.rb +12 -0
- data/default/recipes/numbers.rb +6 -0
- data/default/recipes/py.rb +6 -0
- data/default/recipes/python.rb +6 -0
- data/default/recipes/python3.rb +6 -0
- data/default/recipes/r.rb +5 -0
- data/default/recipes/rb.rb +5 -0
- data/default/recipes/ruby.rb +6 -0
- data/default/recipes/simple.rb +8 -0
- data/default/recipes/sublime.rb +6 -0
- data/default/recipes/test.rb +13 -0
- data/default/recipes/test2.rb +8 -0
- data/default/recipes/tex.rb +6 -0
- data/default/resources/Makefile +15 -0
- data/default/resources/cpp_file.cpp +16 -0
- data/default/resources/default +1 -0
- data/default/resources/gitignore_basic +23 -0
- data/default/resources/gitignore_latex +35 -0
- data/default/resources/latex_article.tex +598 -0
- data/default/resources/latex_beamer.tex +161 -0
- data/default/resources/latex_exam.tex +259 -0
- data/default/resources/latex_letter.tex +132 -0
- data/default/resources/latex_simple.tex +125 -0
- data/default/resources/new_file +0 -0
- data/default/resources/numbers.txt +8 -0
- data/default/resources/python3_file.py +3 -0
- data/default/resources/python_file.py +4 -0
- data/default/resources/r_file.r +7 -0
- data/default/resources/reference.bib +14 -0
- data/default/resources/ruby_file.rb +2 -0
- data/default/resources/sample-figure.pdf +3648 -8
- data/default/resources/sample-letterhead.pdf +324 -1
- data/default/resources/sample-signature.pdf +836 -2
- data/default/resources/sample_html.html +9 -0
- data/default/resources/sublime-project +8 -0
- data/default/settings.rb +27 -0
- data/lib/gennifer/version.rb +1 -1
- data/lib/recipe_helper.rb +1 -1
- metadata +48 -1
@@ -0,0 +1,598 @@
|
|
1
|
+
\documentclass[11pt,twoside]{article}
|
2
|
+
|
3
|
+
\usepackage[utf8]{inputenc} % encoding
|
4
|
+
\usepackage[T1]{fontenc} % encoding
|
5
|
+
|
6
|
+
\usepackage[
|
7
|
+
authordate,
|
8
|
+
natbib,
|
9
|
+
backend=biber,
|
10
|
+
doi=false,
|
11
|
+
isbn=false,
|
12
|
+
url=false,
|
13
|
+
noibid=true
|
14
|
+
]{biblatex-chicago} % citation package
|
15
|
+
|
16
|
+
% natbib style commands
|
17
|
+
\renewcommand*{\nameyeardelim}{\addcomma\space}
|
18
|
+
% \newcommand*{\citep}{\parencite}
|
19
|
+
% \newcommand*{\citet}{\textcite}
|
20
|
+
\newcommand*{\citefoot}{\footcite}
|
21
|
+
\newcommand*{\citefull}{\fullcite}
|
22
|
+
\newcommand*{\citeno}{\nocite}
|
23
|
+
% \renewcommand*{\cite}{\textcite}
|
24
|
+
|
25
|
+
\addbibresource{reference.bib}%
|
26
|
+
|
27
|
+
\usepackage{fullpage} % This shrink the margins of the document
|
28
|
+
|
29
|
+
\usepackage{enumerate} % customized enumerator
|
30
|
+
|
31
|
+
\usepackage{url} % for url and hyperlink
|
32
|
+
|
33
|
+
\usepackage{graphicx} % extended graphic package
|
34
|
+
|
35
|
+
\usepackage{amsmath} % For equation*, align .....etc.
|
36
|
+
\usepackage{amsthm} % For theorem environments
|
37
|
+
\theoremstyle{plain}
|
38
|
+
\newtheorem{theorem}{Theorem}[section]
|
39
|
+
\newtheorem{proposition}{Proposition}[section]
|
40
|
+
\newtheorem{lemma}{Lemma}[section]
|
41
|
+
\newtheorem{conjecture}{Conjecture}[section]
|
42
|
+
\newtheorem{algorithm}{Algorithm}[section]
|
43
|
+
\newtheorem{corollary}{Corollary}[theorem]
|
44
|
+
\newtheorem{observation}{Observation}[section]
|
45
|
+
\theoremstyle{definition}
|
46
|
+
\newtheorem{definition}{Definition}[section]
|
47
|
+
\theoremstyle{remark}
|
48
|
+
\newtheorem*{remark}{Remark}
|
49
|
+
\newtheorem*{note}{Note}
|
50
|
+
\newtheorem*{claim}{Claim}
|
51
|
+
\newtheorem{case}{Case}
|
52
|
+
\newtheorem{example}{Example}
|
53
|
+
|
54
|
+
|
55
|
+
\usepackage{lineno} % For line numbers in draft
|
56
|
+
\linenumbers
|
57
|
+
\makeatletter
|
58
|
+
\newcommand*\patchAmsMathEnvironmentForLineno[1]{%
|
59
|
+
\expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname
|
60
|
+
\expandafter\let\csname oldend#1\expandafter\endcsname\csname end#1\endcsname
|
61
|
+
\renewenvironment{#1}%
|
62
|
+
{\linenomath\csname old#1\endcsname}%
|
63
|
+
{\csname oldend#1\endcsname\endlinenomath}}%
|
64
|
+
\newcommand*\patchBothAmsMathEnvironmentsForLineno[1]{%
|
65
|
+
\patchAmsMathEnvironmentForLineno{#1}%
|
66
|
+
\patchAmsMathEnvironmentForLineno{#1*}}%
|
67
|
+
\AtBeginDocument{%
|
68
|
+
\patchBothAmsMathEnvironmentsForLineno{equation}%
|
69
|
+
\patchBothAmsMathEnvironmentsForLineno{align}%
|
70
|
+
\patchBothAmsMathEnvironmentsForLineno{flalign}%
|
71
|
+
\patchBothAmsMathEnvironmentsForLineno{alignat}%
|
72
|
+
\patchBothAmsMathEnvironmentsForLineno{gather}%
|
73
|
+
\patchBothAmsMathEnvironmentsForLineno{multline}%
|
74
|
+
}
|
75
|
+
|
76
|
+
\usepackage[toc,page]{appendix} % appendix
|
77
|
+
|
78
|
+
\usepackage{setspace} % for onehalfspacing
|
79
|
+
\onehalfspacing
|
80
|
+
|
81
|
+
\usepackage[usenames, dvipsnames]{color} % for color names
|
82
|
+
\newcommand{\green}[1]{\textcolor{green}{[Note: #1]}}
|
83
|
+
\newcommand{\red}[1]{\textcolor{red}{[Note: #1]}}
|
84
|
+
%\newcommand{\green}[1]{\textcolor{green}{}} % use this to turn off comment
|
85
|
+
%\newcommand{\red}[1]{\textcolor{red}{}} % use this to turn off comment
|
86
|
+
|
87
|
+
\usepackage[para,online,flushleft]{threeparttable} % complicated tables
|
88
|
+
|
89
|
+
|
90
|
+
\title{This is a title\footnote{Here are some acknowledgements.}}
|
91
|
+
\author{
|
92
|
+
<%= Settings::FIRSTNAME %> <%= Settings::MIDDLENAME %> <%= Settings::LASTNAME %>\footnote{<%= Settings::ADDRESS %> <%= Settings::CITY %> <%= Settings::STATE %> <%= Settings::ZIPCODE %>, <%= Settings::PHONENUMBER %> \protect\url{<%= Settings::EMAIL %>}}\\
|
93
|
+
<%= Settings::DEPARTMENTNAME %>, <%= Settings::UNIVERISITYNAME %>
|
94
|
+
%\and
|
95
|
+
%FirstName2 LastName2\footnote{Address, Phone Number \protect\url{email2@email.com}}\\
|
96
|
+
%Department Name, University Name
|
97
|
+
}
|
98
|
+
\date{\today}
|
99
|
+
|
100
|
+
\graphicspath{ {figures/} }
|
101
|
+
\sloppy
|
102
|
+
|
103
|
+
\begin{document}
|
104
|
+
|
105
|
+
\maketitle
|
106
|
+
|
107
|
+
\begin{abstract}
|
108
|
+
\textsc{Preliminary and incomplete. Please do not distribute without permission.} \\
|
109
|
+
|
110
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
111
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
112
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
113
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
114
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
115
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
116
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
117
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
118
|
+
Some abstract text here. Some abstract text here. Some abstract text here. Some abstract text here.
|
119
|
+
|
120
|
+
\vspace{20pt}
|
121
|
+
|
122
|
+
\noindent \scriptsize{\textbf{JEL Classification: (some classification codes here)}}
|
123
|
+
|
124
|
+
\noindent \scriptsize{\textbf{Keywords: (some keywords here)}}
|
125
|
+
|
126
|
+
|
127
|
+
\end{abstract}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
\newpage
|
132
|
+
|
133
|
+
\section{Introduction} % (fold)
|
134
|
+
\label{sec:introduction}
|
135
|
+
|
136
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.\footnote{Some footnote text here.}
|
137
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
138
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
139
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
140
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
141
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
142
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
143
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
144
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
145
|
+
|
146
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.\red{here is some red notes.}
|
147
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
148
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.\green{testing}
|
149
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
150
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
151
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
152
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
153
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
154
|
+
Some introduction here. Some introduction here. Some introduction here. Some introduction here.
|
155
|
+
|
156
|
+
% section introduction (end)
|
157
|
+
|
158
|
+
\section{Citation Demo}
|
159
|
+
\label{sec:Citation Demo}
|
160
|
+
|
161
|
+
\citet{Smith2008} says blah blah blah.
|
162
|
+
|
163
|
+
\citeauthor{Smith2008} mention blah blah blah in \citeyear{Smith2008}.
|
164
|
+
|
165
|
+
\citep{Smith2008}
|
166
|
+
|
167
|
+
\citefull{Smith2008}
|
168
|
+
|
169
|
+
\citefoot{Smith2008}
|
170
|
+
|
171
|
+
\citeno{Smith2008}
|
172
|
+
|
173
|
+
\cite{Smith2008}
|
174
|
+
|
175
|
+
|
176
|
+
\section{Another Section} % (fold)
|
177
|
+
\label{sec:another_section}
|
178
|
+
|
179
|
+
Refer to Section \ref{sec:introduction}.
|
180
|
+
|
181
|
+
\citet{Smith2008} says blah blah blah. \citeauthor{Smith2008} also mention blah blah blah.
|
182
|
+
|
183
|
+
Some text here. Some text here. Some text here. Some text here.
|
184
|
+
Some text here. Some text here. Some text here. Some text here.
|
185
|
+
Some text here. Some text here. Some text here. Some text here.
|
186
|
+
|
187
|
+
\url{http://www.google.com}
|
188
|
+
|
189
|
+
Some text here. Some text here. Some text here. Some text here.
|
190
|
+
Some text here. Some text here. Some text here. Some text here.
|
191
|
+
Some text here. Some text here. Some text here. Some text here.
|
192
|
+
|
193
|
+
\colorbox{red}{This is highlighted text.}
|
194
|
+
|
195
|
+
Some text here. Some text here. Some text here. Some text here.
|
196
|
+
Some text here. Some text here. Some text here. Some text here.
|
197
|
+
Some text here. Some text here. Some text here. Some text here.
|
198
|
+
Some text here. Some text here. Some text here. Some text here.
|
199
|
+
Some text here. Some text here. Some text here. Some text here.
|
200
|
+
Some text here. Some text here. Some text here. Some text here.
|
201
|
+
|
202
|
+
|
203
|
+
\fcolorbox{blue}{white}{This is framed text.}
|
204
|
+
|
205
|
+
Some text here. Some text here. Some text here. Some text here.
|
206
|
+
Some text here. Some text here. Some text here. Some text here.
|
207
|
+
Some text here. Some text here. Some text here. Some text here.
|
208
|
+
|
209
|
+
|
210
|
+
\noindent{\color{MidnightBlue} \rule{\linewidth}{0.5mm} }
|
211
|
+
|
212
|
+
\begin{itemize}
|
213
|
+
\color{ForestGreen}
|
214
|
+
\item Firts item
|
215
|
+
\item Second item
|
216
|
+
\end{itemize}
|
217
|
+
|
218
|
+
|
219
|
+
\noindent{\color{Rhodamine} \rule{\linewidth}{0.5mm} }
|
220
|
+
|
221
|
+
Some text here. Some text here. Some text here. Some text here.
|
222
|
+
Some text here. Some text here. Some text here. Some text here.
|
223
|
+
Some text here. Some text here. Some text here. Some text here.
|
224
|
+
|
225
|
+
|
226
|
+
Blah Blah Blah is proved \citep{Lee2009}.
|
227
|
+
|
228
|
+
|
229
|
+
Some text here. Some text here. Some text here. Some text here.
|
230
|
+
Some text here. Some text here. Some text here. Some text here.
|
231
|
+
Some text here. Some text here. Some text here. Some text here.
|
232
|
+
Some text here. Some text here. Some text here. Some text here.
|
233
|
+
|
234
|
+
\begin{enumerate}
|
235
|
+
\item item 1
|
236
|
+
\item item 2
|
237
|
+
\item item 3
|
238
|
+
\end{enumerate}
|
239
|
+
|
240
|
+
Some text here. Some text here. Some text here. Some text here.
|
241
|
+
Some text here. Some text here. Some text here. Some text here.
|
242
|
+
Some text here. Some text here. Some text here. Some text here.
|
243
|
+
Some text here. Some text here. Some text here. Some text here.
|
244
|
+
Some text here. Some text here. Some text here. Some text here.
|
245
|
+
Some text here. Some text here. Some text here. Some text here.
|
246
|
+
Some text here. Some text here. Some text here. Some text here.
|
247
|
+
|
248
|
+
\begin{enumerate}[(a)]
|
249
|
+
\item item 1
|
250
|
+
\item item 2
|
251
|
+
\item item 3
|
252
|
+
\end{enumerate}
|
253
|
+
|
254
|
+
Some text here. Some text here. Some text here. Some text here.
|
255
|
+
Some text here. Some text here. Some text here. Some text here.
|
256
|
+
Some text here. Some text here. Some text here. Some text here.
|
257
|
+
Some text here. Some text here. Some text here. Some text here.
|
258
|
+
Some text here. Some text here. Some text here. Some text here.
|
259
|
+
Some text here. Some text here. Some text here. Some text here.
|
260
|
+
Some text here. Some text here. Some text here. Some text here.
|
261
|
+
|
262
|
+
\begin{itemize}
|
263
|
+
\item item 1
|
264
|
+
\item item 2
|
265
|
+
\item item 3
|
266
|
+
\end{itemize}
|
267
|
+
|
268
|
+
Some text here. Some text here. Some text here. Some text here.
|
269
|
+
Some text here. Some text here. Some text here. Some text here.
|
270
|
+
Some text here. Some text here. Some text here. Some text here.
|
271
|
+
Some text here. Some text here. Some text here. Some text here.
|
272
|
+
Some text here. Some text here. Some text here. Some text here.
|
273
|
+
Some text here. Some text here. Some text here. Some text here.
|
274
|
+
|
275
|
+
\begin{description}
|
276
|
+
\item[item name 1] item 1
|
277
|
+
\item[item name 2] item 2
|
278
|
+
\item[item name 3] item 3
|
279
|
+
\end{description}
|
280
|
+
|
281
|
+
Some text here. Some text here. Some text here. Some text here.
|
282
|
+
Some text here. Some text here. Some text here. Some text here.
|
283
|
+
Some text here. Some text here. Some text here. Some text here.
|
284
|
+
|
285
|
+
|
286
|
+
\subsection{Some Subsection}
|
287
|
+
\label{sub:some_subsection}
|
288
|
+
|
289
|
+
|
290
|
+
Some text here. Some text here. Some text here. Some text here.
|
291
|
+
Some text here. Some text here. Some text here. Some text here.
|
292
|
+
Some text here. Some text here. Some text here. Some text here.
|
293
|
+
Some text here. Some text here. Some text here. Some text here.
|
294
|
+
Some text here. Some text here. Some text here. Some text here.
|
295
|
+
Some text here. Some text here. Some text here. Some text here.
|
296
|
+
Some text here. Some text here. Some text here. Some text here.
|
297
|
+
Some text here. Some text here. Some text here. Some text here.
|
298
|
+
|
299
|
+
\begin{table}[ht]
|
300
|
+
\centering
|
301
|
+
\caption{\small{Simple table title}}\label{tab:some_simple_table_label}
|
302
|
+
\begin{tabular}{lcccc}
|
303
|
+
\hline
|
304
|
+
& column 1 & column 2 & column 3 \\
|
305
|
+
\hline
|
306
|
+
row 1 & 1 & 4 & 7 \\
|
307
|
+
row 2 & 2 & 5 & 8 \\
|
308
|
+
row 3 & 3 & 6 & 9 \\
|
309
|
+
\hline
|
310
|
+
\end{tabular}
|
311
|
+
\end{table}
|
312
|
+
|
313
|
+
|
314
|
+
Some text here. Some text here. Some text here. Some text here.
|
315
|
+
Some text here. Some text here. Some text here. Some text here.
|
316
|
+
Some text here. Some text here. Some text here. Some text here.
|
317
|
+
Some text here. Some text here. Some text here. Some text here.
|
318
|
+
Some text here. Some text here. Some text here. Some text here.
|
319
|
+
Some text here. Some text here. Some text here. Some text here.
|
320
|
+
Some text here. Some text here. Some text here. Some text here.
|
321
|
+
Some text here. Some text here. Some text here. Some text here.
|
322
|
+
|
323
|
+
\begin{table}[ht]
|
324
|
+
\centering
|
325
|
+
\begin{threeparttable}
|
326
|
+
\caption{\small{Some table title}}\label{tab:some_table_label}
|
327
|
+
\begin{tabular}{lcccc}
|
328
|
+
\hline
|
329
|
+
& column 1 & column 2 & column 3 \\
|
330
|
+
\hline
|
331
|
+
row 1 & 1\tnote{1} & 4 & 7 \\
|
332
|
+
row 2 & 2 & 5 & 8 \\
|
333
|
+
row 3 & 3 & 6\tnote{2} & 9 \\
|
334
|
+
\hline
|
335
|
+
\end{tabular}
|
336
|
+
\begin{tablenotes}
|
337
|
+
\item[1] \footnotesize{Table notes here} \\
|
338
|
+
\item[2] \footnotesize{Table notes here} \\
|
339
|
+
\end{tablenotes}
|
340
|
+
\end{threeparttable}
|
341
|
+
\end{table}
|
342
|
+
|
343
|
+
% subsection some_subsection (end)
|
344
|
+
|
345
|
+
|
346
|
+
\subsection{Another Subsection}
|
347
|
+
\label{sub:another_subsection}
|
348
|
+
|
349
|
+
Refering to subsection \ref{sub:some_subsection}.
|
350
|
+
|
351
|
+
Refering to table \ref{tab:some_table_label}.
|
352
|
+
|
353
|
+
Some text here. Some text here. Some text here. Some text here.
|
354
|
+
Some text here. Some text here. Some text here. Some text here.
|
355
|
+
Some text here. Some text here. Some text here. Some text here.
|
356
|
+
Some text here. Some text here. Some text here. Some text here.
|
357
|
+
Some text here. Some text here. Some text here. Some text here.
|
358
|
+
|
359
|
+
% subsection anoher_subsection (end)
|
360
|
+
|
361
|
+
|
362
|
+
% section some_section (end)
|
363
|
+
|
364
|
+
|
365
|
+
\section{Section with Theorems} % (fold)
|
366
|
+
\label{sec:section_with_theorems}
|
367
|
+
|
368
|
+
Some text here. Some text here. Some text here. Some text here.
|
369
|
+
Some text here. Some text here. Some text here. Some text here.
|
370
|
+
Some text here. Some text here. Some text here. Some text here.
|
371
|
+
Some text here. Some text here. Some text here. Some text here.
|
372
|
+
Some text here. Some text here. Some text here. Some text here.
|
373
|
+
|
374
|
+
\begin{theorem}
|
375
|
+
Let $f$ be a function whose derivative exists in every point, then $f$ is
|
376
|
+
a continuous function.
|
377
|
+
\end{theorem}
|
378
|
+
|
379
|
+
\begin{theorem}[Pythagorean theorem]\label{the:pythagorean}
|
380
|
+
This is a theorema about right triangles and can be summarised in the next
|
381
|
+
equation
|
382
|
+
\begin{equation*}
|
383
|
+
x^2 + y^2 = z^2
|
384
|
+
\end{equation*}
|
385
|
+
\end{theorem}
|
386
|
+
|
387
|
+
And a consequence of theorem \ref{the:pythagorean} is the statement in the next
|
388
|
+
corollary.
|
389
|
+
|
390
|
+
\begin{corollary}
|
391
|
+
There's no right rectangle whose sides measure 3cm, 4cm, and 6cm.
|
392
|
+
\end{corollary}
|
393
|
+
|
394
|
+
You can reference theorems such as \ref{the:pythagorean} when a label is assigned.
|
395
|
+
|
396
|
+
\begin{lemma}
|
397
|
+
Given two line segments whose lengths are $a$ and $b$ respectively there is a
|
398
|
+
real number $r$ such that $b=ra$.
|
399
|
+
\end{lemma}
|
400
|
+
|
401
|
+
\begin{proposition}
|
402
|
+
some text here
|
403
|
+
\end{proposition}
|
404
|
+
|
405
|
+
\begin{definition}[Fibration]
|
406
|
+
A fibration is a mapping between two topological spaces that has the homotopy lifting property for every space $X$.
|
407
|
+
\end{definition}
|
408
|
+
|
409
|
+
Some text here. Some text here. Some text here. Some text here.
|
410
|
+
Some text here. Some text here. Some text here. Some text here.
|
411
|
+
Some text here. Some text here. Some text here. Some text here.
|
412
|
+
|
413
|
+
\setcounter{case}{0}
|
414
|
+
\begin{case}[Case Name]
|
415
|
+
This statement is a case.
|
416
|
+
\end{case}
|
417
|
+
|
418
|
+
\begin{case}[Another Case Name]
|
419
|
+
This statement is another case.
|
420
|
+
\end{case}
|
421
|
+
|
422
|
+
Some text here. Some text here. Some text here. Some text here.
|
423
|
+
Some text here. Some text here. Some text here. Some text here.
|
424
|
+
Some text here. Some text here. Some text here. Some text here.
|
425
|
+
Some text here. Some text here. Some text here. Some text here.
|
426
|
+
Some text here. Some text here. Some text here. Some text here.
|
427
|
+
Some text here. Some text here. Some text here. Some text here.
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
\setcounter{example}{0}
|
433
|
+
\begin{example}[Example Name]
|
434
|
+
This statement is an example.
|
435
|
+
\end{example}
|
436
|
+
|
437
|
+
\begin{example}[Another Example Name]
|
438
|
+
This statement is another example.
|
439
|
+
\end{example}
|
440
|
+
|
441
|
+
|
442
|
+
Some text here. Some text here. Some text here. Some text here.
|
443
|
+
Some text here. Some text here. Some text here. Some text here.
|
444
|
+
Some text here. Some text here. Some text here. Some text here.
|
445
|
+
Some text here. Some text here. Some text here. Some text here.
|
446
|
+
Some text here. Some text here. Some text here. Some text here.
|
447
|
+
Some text here. Some text here. Some text here. Some text here.
|
448
|
+
|
449
|
+
|
450
|
+
\begin{lemma}\label{lem:some_lemma_label}
|
451
|
+
Given two line segments whose lengths are $a$ and $b$ respectively there
|
452
|
+
is a real number $r$ such that $b=ra$.
|
453
|
+
\end{lemma}
|
454
|
+
|
455
|
+
\begin{proof}[Proof of lemma \ref{lem:some_lemma_label}]
|
456
|
+
To prove it by contradiction try and assume that the statemenet is false,
|
457
|
+
proceed from there and at some point you will arrive to a contradiction.
|
458
|
+
\end{proof}
|
459
|
+
|
460
|
+
|
461
|
+
\setcounter{case}{0}
|
462
|
+
\begin{case}
|
463
|
+
This statement is a case.
|
464
|
+
\end{case}
|
465
|
+
|
466
|
+
\begin{case}
|
467
|
+
This statement is another case.
|
468
|
+
\end{case}
|
469
|
+
|
470
|
+
\begin{remark}
|
471
|
+
This statement is true, I guess.
|
472
|
+
\end{remark}
|
473
|
+
|
474
|
+
\begin{note}
|
475
|
+
This statement is true.
|
476
|
+
\end{note}
|
477
|
+
|
478
|
+
|
479
|
+
% section section_with_theorems (end)
|
480
|
+
|
481
|
+
|
482
|
+
\section{Yet Another Section} % (fold)
|
483
|
+
\label{sec:yet_another_section}
|
484
|
+
|
485
|
+
Some text here. Some text here. Some text here. Some text here.
|
486
|
+
Some text here. Some text here. Some text here. Some text here.
|
487
|
+
|
488
|
+
Some text here. Some text here. Some text here. Some text here.
|
489
|
+
Some text here. Some text here. Some text here. Some text here.
|
490
|
+
Some text here. Some text here. Some text here. Some text here.
|
491
|
+
|
492
|
+
Some text here. Some text here. Some text here. Some text here.
|
493
|
+
Some text here. Some text here. Some text here. Some text here.
|
494
|
+
Some text here. Some text here. Some text here. Some text here.
|
495
|
+
Some text here. Some text here. Some text here. Some text here.
|
496
|
+
|
497
|
+
|
498
|
+
\begin{equation} \label{equ:regresion}
|
499
|
+
Y_{i,g} = \alpha + X_{i,g} \beta + \rho_{g} e_{i,g}
|
500
|
+
\end{equation}
|
501
|
+
|
502
|
+
Some text here. Some text here. Some text here. Some text here.
|
503
|
+
Some text here. Some text here. Some text here. Some text here.
|
504
|
+
Some text here. Some text here. Some text here. Some text here.
|
505
|
+
Some text here. Some text here. Some text here. Some text here.
|
506
|
+
Some text here. Some text here. Some text here. Some text here.
|
507
|
+
|
508
|
+
Refer to equation \ref{equ:regresion}.
|
509
|
+
|
510
|
+
|
511
|
+
\begin{equation} \label{equ:regresion2}
|
512
|
+
e_{i,g} = \frac{Y_{i,g}}{\rho_{g}} - \frac{\alpha}{\rho_{g}} - \frac{X_{i,g} \beta}{\rho_{g}}
|
513
|
+
\end{equation}
|
514
|
+
|
515
|
+
|
516
|
+
Some text here. Some text here. Inline math ($y = mx + c$)
|
517
|
+
Some text here. Some text here.
|
518
|
+
Some text here. Some text here. Some text here. Some text here.
|
519
|
+
Some text here. Some text here. Some text here. Some text here.
|
520
|
+
Some text here. Some text here. Some text here. Some text here.
|
521
|
+
Some text here. Some text here. Some text here. Some text here.
|
522
|
+
|
523
|
+
\begin{align*}
|
524
|
+
x&=y & w &=z & a&=b+c\\
|
525
|
+
2x&=-y & 3w&=\frac{1}{2}z & a&=b\\
|
526
|
+
-4 + 5x&=2+y & w+2&=-1+w & ab&=cb
|
527
|
+
\end{align*}
|
528
|
+
|
529
|
+
|
530
|
+
Some text here. Some text here. Some text here. Some text here.
|
531
|
+
Some text here. Some text here. Some text here. Some text here.
|
532
|
+
Some text here. Some text here. Some text here. Some text here.
|
533
|
+
Some text here. Some text here. Some text here. Some text here.
|
534
|
+
|
535
|
+
|
536
|
+
\begin{figure}[ht!]
|
537
|
+
\caption{A picture of $Y$}
|
538
|
+
\centering
|
539
|
+
\includegraphics[width=0.5\textwidth]{sample-figure}
|
540
|
+
\end{figure}
|
541
|
+
|
542
|
+
|
543
|
+
Refer to equation \ref{equ:regresion2}.
|
544
|
+
|
545
|
+
|
546
|
+
% subsection yet_another_section (end)
|
547
|
+
|
548
|
+
|
549
|
+
\section{Conclusion} % (fold)
|
550
|
+
\label{sec:conclusion}
|
551
|
+
|
552
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
553
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
554
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
555
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
556
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
557
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
558
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
559
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
560
|
+
Some conclusion here. Some conclusion here. Some conclusion here. Some conclusion here.
|
561
|
+
|
562
|
+
|
563
|
+
% section conclusion (end)
|
564
|
+
|
565
|
+
\newpage
|
566
|
+
|
567
|
+
\printbibliography
|
568
|
+
|
569
|
+
\newpage
|
570
|
+
|
571
|
+
\appendix
|
572
|
+
\renewcommand{\thesection}{Appendix \Roman{section}}
|
573
|
+
\renewcommand{\thesubsection}{Appendix \Roman{section}(\roman{subsection})}
|
574
|
+
|
575
|
+
\section{Some Appendix} % (fold)
|
576
|
+
\label{sec:some_appendix}
|
577
|
+
|
578
|
+
Some text here. Some text here. Some text here. Some text here.
|
579
|
+
Some text here. Some text here. Some text here. Some text here.
|
580
|
+
Some text here. Some text here. Some text here. Some text here.
|
581
|
+
Some text here. Some text here. Some text here. Some text here.
|
582
|
+
Some text here. Some text here. Some text here. Some text here.
|
583
|
+
|
584
|
+
% section some_appendix (end)
|
585
|
+
|
586
|
+
\section{Another Appendix} % (fold)
|
587
|
+
\label{sec:another_appendix}
|
588
|
+
|
589
|
+
Some text here. Some text here. Some text here. Some text here.
|
590
|
+
Some text here. Some text here. Some text here. Some text here.
|
591
|
+
Some text here. Some text here. Some text here. Some text here.
|
592
|
+
Some text here. Some text here. Some text here. Some text here.
|
593
|
+
Some text here. Some text here. Some text here. Some text here.
|
594
|
+
|
595
|
+
% section another_appendix (end)
|
596
|
+
|
597
|
+
|
598
|
+
\end{document}
|