gennifer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +157 -20
  3. data/default/recipes/after_recipe.rb +20 -0
  4. data/default/recipes/article.rb +13 -0
  5. data/default/recipes/beamer.rb +13 -0
  6. data/default/recipes/before_recipe.rb +5 -0
  7. data/default/recipes/cpp.rb +6 -0
  8. data/default/recipes/cppmake.rb +9 -0
  9. data/default/recipes/default.rb +5 -0
  10. data/default/recipes/exam.rb +8 -0
  11. data/default/recipes/example.rb +33 -0
  12. data/default/recipes/html.rb +6 -0
  13. data/default/recipes/htmlerb.rb +6 -0
  14. data/default/recipes/letter.rb +12 -0
  15. data/default/recipes/numbers.rb +6 -0
  16. data/default/recipes/py.rb +6 -0
  17. data/default/recipes/python.rb +6 -0
  18. data/default/recipes/python3.rb +6 -0
  19. data/default/recipes/r.rb +5 -0
  20. data/default/recipes/rb.rb +5 -0
  21. data/default/recipes/ruby.rb +6 -0
  22. data/default/recipes/simple.rb +8 -0
  23. data/default/recipes/sublime.rb +6 -0
  24. data/default/recipes/test.rb +13 -0
  25. data/default/recipes/test2.rb +8 -0
  26. data/default/recipes/tex.rb +6 -0
  27. data/default/resources/Makefile +15 -0
  28. data/default/resources/cpp_file.cpp +16 -0
  29. data/default/resources/default +1 -0
  30. data/default/resources/gitignore_basic +23 -0
  31. data/default/resources/gitignore_latex +35 -0
  32. data/default/resources/latex_article.tex +598 -0
  33. data/default/resources/latex_beamer.tex +161 -0
  34. data/default/resources/latex_exam.tex +259 -0
  35. data/default/resources/latex_letter.tex +132 -0
  36. data/default/resources/latex_simple.tex +125 -0
  37. data/default/resources/new_file +0 -0
  38. data/default/resources/numbers.txt +8 -0
  39. data/default/resources/python3_file.py +3 -0
  40. data/default/resources/python_file.py +4 -0
  41. data/default/resources/r_file.r +7 -0
  42. data/default/resources/reference.bib +14 -0
  43. data/default/resources/ruby_file.rb +2 -0
  44. data/default/resources/sample-figure.pdf +3648 -8
  45. data/default/resources/sample-letterhead.pdf +324 -1
  46. data/default/resources/sample-signature.pdf +836 -2
  47. data/default/resources/sample_html.html +9 -0
  48. data/default/resources/sublime-project +8 -0
  49. data/default/settings.rb +27 -0
  50. data/lib/gennifer/version.rb +1 -1
  51. data/lib/recipe_helper.rb +1 -1
  52. metadata +48 -1
@@ -0,0 +1,161 @@
1
+ \documentclass{beamer}
2
+ \usepackage{graphicx}
3
+ \usepackage{colortbl}
4
+ \usepackage{booktabs}
5
+ \usepackage{float}
6
+ \usepackage{subcaption}
7
+ \usepackage{multirow}
8
+ \usepackage{lmodern}
9
+
10
+
11
+ \usepackage[
12
+ authordate,
13
+ natbib,
14
+ backend=biber,
15
+ doi=false,
16
+ isbn=false,
17
+ url=false,
18
+ noibid=true
19
+ ]{biblatex-chicago} % citation package
20
+
21
+ % natbib style commands
22
+ \renewcommand*{\nameyeardelim}{\addcomma\space}
23
+ % \newcommand*{\citep}{\parencite}
24
+ % \newcommand*{\citet}{\textcite}
25
+ \newcommand*{\citefoot}{\footcite}
26
+ \newcommand*{\citefull}{\fullcite}
27
+ \newcommand*{\citeno}{\nocite}
28
+ % \renewcommand*{\cite}{\textcite}
29
+
30
+ \addbibresource{reference.bib}%
31
+
32
+ \renewcommand\textbullet{\ensuremath{\bullet}}
33
+
34
+ \usepackage{silence}
35
+ \WarningFilter{biblatex}{Patching footnotes failed}
36
+
37
+
38
+ \usetheme{Singapore}
39
+ \setbeamercolor{section in head/foot}{bg=blue!50!red!30}
40
+ \title[Short title]{This is a long title}
41
+ \author[<%= Settings::LASTNAME %>]{<%= Settings::FIRSTNAME %> <%= Settings::MIDDLENAME %> <%= Settings::LASTNAME %>\inst{1}}
42
+
43
+
44
+ \institute{\inst{1}<%= Settings::DEPARTMENTNAME %> \\
45
+ <%= Settings::UNIVERISITYNAME %>}
46
+ \date{\today}
47
+ \graphicspath{ {figures/} }
48
+
49
+ \begin{document}
50
+
51
+ \begin{frame}
52
+ \titlepage
53
+ \end{frame}
54
+
55
+
56
+ \section{Introduction}
57
+
58
+
59
+ \begin{frame}[t]\frametitle{Introduction}
60
+ \begin{itemize}
61
+ \item some items
62
+ \item some items
63
+ \item some items
64
+ \item some items
65
+ \item some items
66
+ \item some items
67
+ \end{itemize}
68
+
69
+ \end{frame}
70
+
71
+ \section{Name of Section One}
72
+
73
+
74
+ \begin{frame}[t]\frametitle{Some title}
75
+ \framesubtitle{some subtitle}
76
+ \begin{itemize}
77
+ \item \citefull{Smith2008}
78
+
79
+ \end{itemize}
80
+
81
+
82
+
83
+
84
+
85
+ \end{frame}
86
+
87
+
88
+
89
+ \begin{frame}[t]\frametitle{Some title}
90
+ \framesubtitle{some subtitle}
91
+ \begin{itemize}
92
+ \item some items
93
+ \item some items
94
+ \item some items
95
+ \begin{equation}
96
+ y = \alpha + \beta x + \epsilon
97
+ \end{equation}
98
+ \item some items
99
+ \item some items
100
+ \item some items
101
+ \end{itemize}
102
+
103
+
104
+
105
+
106
+
107
+ \end{frame}
108
+
109
+
110
+
111
+ \begin{frame}[t]\frametitle{Some title}
112
+ \framesubtitle{some subtitle}
113
+ \begin{table}[ht]
114
+ \centering
115
+ \caption{\small{Some table title}}\label{tab:some_table_label}
116
+ \begin{tabular}{lcccc}
117
+ \hline
118
+ & column 1 & column 2 & column 3 \\
119
+ \hline
120
+ row 1 & 1 & 4 & 7 \\
121
+ row 2 & 2 & 5 & 8 \\
122
+ row 3 & 3 & 6 & 9 \\
123
+ \hline
124
+ \end{tabular}
125
+ \end{table}
126
+ \begin{itemize}
127
+ \item some items
128
+ \item some items
129
+ \end{itemize}
130
+ \end{frame}
131
+
132
+
133
+
134
+ \section{Name of Section Two}
135
+
136
+ \begin{frame}[t]\frametitle{Some title}
137
+ \framesubtitle{some subtitle}
138
+ \begin{center}
139
+ \includegraphics[width=200pt]{sample-figure}
140
+ \end{center}
141
+ \end{frame}
142
+
143
+
144
+
145
+ \section{Conclusion}
146
+
147
+ \begin{frame}[t]\frametitle{Conclusion}
148
+ \framesubtitle{some subtitle}
149
+ \begin{itemize}
150
+ \item some items
151
+ \item some items
152
+ \item some items
153
+ \item some items
154
+ \item some items
155
+ \item some items
156
+ \end{itemize}
157
+
158
+ \end{frame}
159
+
160
+
161
+ \end{document}
@@ -0,0 +1,259 @@
1
+ \documentclass[12pt]{exam}
2
+ \usepackage[margin=4em]{geometry}
3
+ \usepackage{setspace}
4
+ \singlespacing
5
+
6
+ \newcommand{\coursecode}{TEST101}
7
+ \newcommand{\coursetitle}{Course Title}
8
+ \newcommand{\coursesemester}{Spring 2012}
9
+
10
+ % For Exam
11
+ \newcommand{\examtype}{Final}
12
+ \newcommand{\examname}{Exam}
13
+ \newcommand{\examnumber}{}
14
+ \newcommand{\examdate}{28th April 2012}
15
+ \newcommand{\examtime}{3:30pm - 4:30pm}
16
+
17
+ % For Problem Sets
18
+ % \newcommand{\examtype}{}
19
+ % \newcommand{\examname}{Problem Set}
20
+ % \newcommand{\examnumber}{1}
21
+ % \newcommand{\examdate}{Due: 28th April 2012}
22
+ % \newcommand{\examtime}{In class}
23
+
24
+ %\printanswers
25
+
26
+ \renewcommand{\solutiontitle}{\noindent}
27
+
28
+
29
+ \begin{document}
30
+
31
+ % These commands set up the running header on the top of the exam pages
32
+ \pagestyle{head}
33
+ \firstpageheader{}{}{}
34
+ \runningheader{\scriptsize \coursecode}{\scriptsize Page \thepage\ of \numpages}{\scriptsize Name:\hspace{8em}}
35
+ \runningheadrule
36
+
37
+ \noindent
38
+ \begin{minipage}{.7\textwidth}
39
+ \textbf{\coursecode} \textbf{\coursetitle}(\textbf{\coursesemester}) \textbf{\examtype\ \examname\ \examnumber} \\
40
+ \begin{scriptsize}
41
+ \textbf{\examdate\ (\examtime)} \\
42
+ %\textbf{Due Date: \examdate} \\
43
+ \end{scriptsize}
44
+
45
+ \end{minipage}
46
+ \begin{minipage}{.3\textwidth}
47
+ \begin{scriptsize}
48
+ \textbf{Name:} \hrulefill \\
49
+ \textbf{UID:} \hrulefill \\
50
+ \end{scriptsize}
51
+ \end{minipage}
52
+
53
+ \hrule
54
+ \hrule
55
+
56
+
57
+ % The score header table
58
+ \begin{flushright}
59
+ \begin{scriptsize}
60
+ \hqword{Question}
61
+ \hpword{Weight}
62
+ \hsword{Score}
63
+ \addpoints
64
+ \gradetable[h]
65
+ \end{scriptsize}
66
+ \end{flushright}
67
+
68
+ \vspace{1em}
69
+ \noindent This \examname\ contains \numquestions\ questions.
70
+ Please attempt all questions. Organize your work and write clearly.
71
+
72
+ \fullwidth{\Large \textbf{Long Questions}}
73
+
74
+ \begin{questions}
75
+
76
+ % Add a question
77
+ \addpoints
78
+ \question[10] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
79
+ tempor incididunt ut labore et dolore magna aliqua.
80
+ \begin{solution}
81
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
82
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
83
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
84
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
85
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
86
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
87
+ \end{solution}
88
+ \vfill
89
+
90
+ % Add a long question
91
+ \addpoints
92
+ \question[10] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
93
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
94
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
95
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
96
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
97
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
98
+ \begin{solution}
99
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
100
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
101
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
102
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
103
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
104
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
105
+ \end{solution}
106
+ \vfill
107
+
108
+ \newpage
109
+
110
+
111
+ % Add a question with parts
112
+ \addpoints
113
+ \question[10] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
114
+ tempor incididunt ut labore et dolore magna aliqua.
115
+ \begin{parts}
116
+ \part Ut enim ad minim veniam,
117
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
118
+ consequat.
119
+ \begin{solution}
120
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
121
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
122
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
123
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
124
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
125
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
126
+ \end{solution}
127
+ \vfill
128
+ \part Duis aute irure dolor in reprehenderit in voluptate velit esse
129
+ cillum dolore eu fugiat nulla pariatur.
130
+ \begin{solution}
131
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
132
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
133
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
134
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
135
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
136
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
137
+ \end{solution}
138
+ \vfill
139
+ \end{parts}
140
+
141
+
142
+ % Add a question with parts and points at parts
143
+ \addpoints
144
+ \question[10] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
145
+ tempor incididunt ut labore et dolore magna aliqua.
146
+ \noaddpoints
147
+ \begin{parts}
148
+ \part[5] Ut enim ad minim veniam,
149
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
150
+ consequat.
151
+ \begin{solution}
152
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
153
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
154
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
155
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
156
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
157
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
158
+ \end{solution}
159
+ \vfill
160
+ \part[5] Duis aute irure dolor in reprehenderit in voluptate velit esse
161
+ cillum dolore eu fugiat nulla pariatur.
162
+ \begin{solution}
163
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
164
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
165
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
166
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
167
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
168
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
169
+ \end{solution}
170
+ \vfill
171
+ \end{parts}
172
+
173
+
174
+ \newpage
175
+
176
+ \fullwidth{\Large \textbf{Multiple Choice Questions}}
177
+
178
+ \addpoints
179
+ \question[10]
180
+ One of these things is not like the others; one of these things is not
181
+ the same. Which one is different?
182
+
183
+ \begin{choices}
184
+ \choice John
185
+ \choice Paul
186
+ \choice George
187
+ \choice Ringo
188
+ \CorrectChoice Socrates
189
+ \end{choices}
190
+
191
+
192
+ \addpoints
193
+ \question[10]
194
+ One of these things is not like the others; one of these things is not
195
+ the same. Which one is different?
196
+
197
+ \begin{oneparchoices}
198
+ \choice John
199
+ \choice Paul
200
+ \choice George
201
+ \choice Ringo
202
+ \CorrectChoice Socrates
203
+ \end{oneparchoices}
204
+
205
+
206
+
207
+ \addpoints
208
+ \question[10]
209
+ One of these things is not like the others; one of these things is not
210
+ the same. Which one is different?
211
+
212
+ \begin{checkboxes}
213
+ \choice John
214
+ \choice Paul
215
+ \choice George
216
+ \choice Ringo
217
+ \CorrectChoice Socrates
218
+ \end{checkboxes}
219
+
220
+ \addpoints
221
+ \question[10]
222
+ One of these things is not like the others; one of these things is not
223
+ the same. Which one is different?
224
+
225
+ \begin{oneparcheckboxes}
226
+ \choice John
227
+ \choice Paul
228
+ \choice George
229
+ \choice Ringo
230
+ \CorrectChoice Socrates
231
+ \end{oneparcheckboxes}
232
+
233
+
234
+ \fullwidth{\Large \textbf{Short Questions}}
235
+
236
+ \addpoints
237
+ \question[20]
238
+ Answer the following questions on the lines at the right:
239
+ \begin{parts}
240
+ \part
241
+ Who’s buried in Grant’s tomb? \answerline[ABC]
242
+ \part
243
+ \begin{subparts}
244
+ \subpart
245
+ What light through yonder window breaks? \answerline[DEF]
246
+ \subpart
247
+ To be, or not to be; that is the question? \answerline[GHI]
248
+ \end{subparts}
249
+ \part
250
+ What was the color of George Washington’s white horse? \answerline[JKL]
251
+ \end{parts}
252
+
253
+
254
+
255
+
256
+ \end{questions}
257
+
258
+
259
+ \end{document}
@@ -0,0 +1,132 @@
1
+ \documentclass[12pt,a4paper]{letter}
2
+ \usepackage[T1]{fontenc}
3
+
4
+ \usepackage{mathpazo}
5
+
6
+ \usepackage{parskip}
7
+ \setlength{\parskip}{0.5cm}
8
+
9
+ \usepackage{graphicx}
10
+
11
+ \graphicspath{ {figures/} }
12
+ \sloppy
13
+
14
+ \usepackage{fullpage}
15
+ \addtolength{\topmargin}{-1cm}
16
+ \addtolength{\textheight}{2cm}
17
+
18
+ \pagenumbering{gobble}
19
+
20
+ \makeatletter
21
+ \renewcommand*{\opening}[1]{#1}
22
+ \renewcommand*{\closing}[1]{#1}
23
+
24
+ \begin{document}
25
+ \begin{letter}
26
+
27
+ \begin{flushright}
28
+ \includegraphics[scale=3]{sample-letterhead}
29
+ \end{flushright}
30
+
31
+ \begin{flushleft}
32
+ <%= Settings::FIRSTNAME %> <%= Settings::MIDDLENAME %> <%= Settings::LASTNAME %>\\
33
+ <%= Settings::TITLE %> <%= Settings::COMPANYNAME %> \\
34
+ <% if (Settings::DEPARTMENTNAME != '') then -%>
35
+ <%= Settings::DEPARTMENTNAME %><%= '\\\\' %>
36
+ <% end -%>
37
+ <% if (Settings::UNIVERISITYNAME != '') then -%>
38
+ <%= Settings::UNIVERISITYNAME %><%= '\\\\' %>
39
+ <% end -%>
40
+ <%= Settings::ADDRESS %> \\
41
+ <%= Settings::CITY %>, <%= Settings::STATE %>, <%= Settings::ZIPCODE %>
42
+ \end{flushleft}
43
+
44
+ \vspace{0.5cm}
45
+
46
+ \opening{
47
+ \today \\\\
48
+ Jane Smith \\
49
+ CEO I-Temp Technology \\
50
+ 570 Lexington Avenue, Suite 5003 \\
51
+ New York, New York, 10022 \\
52
+ \\
53
+ Dear Ms. Smith,
54
+ }
55
+
56
+ \begin{center}
57
+ \textbf{Put a Subject Here}
58
+ \end{center}
59
+
60
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
61
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
62
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
63
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
64
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
65
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
66
+
67
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
68
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
69
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
70
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
71
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
72
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
73
+
74
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
75
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
76
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
77
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
78
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
79
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
80
+
81
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
82
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
83
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
84
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
85
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
86
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
87
+
88
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
89
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
90
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
91
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
92
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
93
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
94
+
95
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
96
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
97
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
98
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
99
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
100
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
101
+
102
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
103
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
104
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
105
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
106
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
107
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
108
+
109
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
110
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
111
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
112
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
113
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
114
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
115
+
116
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
117
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
118
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
119
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
120
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
121
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
122
+
123
+ \closing{
124
+ \vspace{0.5cm}
125
+ Sincerely, \\
126
+ \vspace{0.5cm}
127
+ \includegraphics[scale=0.35]{sample-signature}\\
128
+ <%= Settings::FIRSTNAME %> <%= Settings::MIDDLENAME %> <%= Settings::LASTNAME %>
129
+ }
130
+
131
+ \end{letter}
132
+ \end{document}
@@ -0,0 +1,125 @@
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
+ \title{This is a title}
92
+ \author{
93
+ <%= Settings::FIRSTNAME %> <%= Settings::MIDDLENAME %> <%= Settings::LASTNAME %>\footnote{<%= Settings::ADDRESS %> <%= Settings::CITY %> <%= Settings::STATE %> <%= Settings::ZIPCODE %>, <%= Settings::PHONENUMBER %> \protect\url{<%= Settings::EMAIL %>}}\\
94
+ <%= Settings::DEPARTMENTNAME %>, <%= Settings::UNIVERISITYNAME %>
95
+ %\and
96
+ %FirstName2 LastName2\footnote{Address, Phone Number \protect\url{email2@email.com}}\\
97
+ %Department Name, University Name
98
+ }
99
+ \date{\today}
100
+
101
+ \graphicspath{ {figures/} }
102
+ \sloppy
103
+
104
+ \begin{document}
105
+
106
+ %\maketitle
107
+
108
+ % \begin{abstract}
109
+ % \textsc{Preliminary and incomplete. Please do not distribute without permission.} \\
110
+
111
+ % Some abstract text here.
112
+
113
+ % \end{abstract}
114
+
115
+
116
+
117
+ % \newpage
118
+
119
+ %\section{section name} % (fold)
120
+
121
+ Empty latex template
122
+
123
+ %\printbibliography
124
+
125
+ \end{document}
File without changes
@@ -0,0 +1,8 @@
1
+ <% (0..9).each do |i| -%>
2
+ <%= i %>
3
+ <% end -%>
4
+
5
+
6
+ <%= 'Name: ' + Settings::NAME %>
7
+
8
+ <%= 'Email: ' + Settings::EMAIL %>
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/python3
2
+
3
+ print("Hello World!");
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/python
2
+
3
+ print("Hello World!");
4
+
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env Rscript
2
+
3
+ helloWorld <- function(){
4
+ print('hello')
5
+ }
6
+
7
+ helloWorld()