-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathguide_mg.tex
280 lines (190 loc) · 7.48 KB
/
guide_mg.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
\documentclass{article}
\usepackage{hyperref}
\title{Instructor Guide}
\author{Jim Fowler \and Marty Golubitsky}
\textwidth=6.0in
\evensidemargin=-1.0in
\oddsidemargin= 0.0in
\begin{document}
\maketitle
\section{Set up book files to create worksheets}\label{instructor-guide}
The following instructions assume you are using a Mac.
\subsection{Get the .cls files.}\label{get-the-.cls-files.}
In the Terminal, run
\begin{verbatim}
mkdir -p ~/Library/texmf/tex/latex
git clone https://github.com/XimeraProject/ximeraLatex ~/Library/texmf/tex/latex/ximeraLatex
\end{verbatim}
\subsection{Download resources}\label{download-resources}
First, download the book.
\begin{verbatim}
mkdir ~/linear-algebra
git clone https://github.com/mooculus/laode ~/linear-algebra/laode
\end{verbatim}
Then, download the worksheet builder.
\begin{verbatim}
git clone https://github.com/kisonecat/worksheet-builder ~/linear-algebra/worksheet-builder
\end{verbatim}
And install the other software needed to run the worksheet builder.
\begin{verbatim}
gem install optparse-pathname
\end{verbatim}
If you lack permissions to run \texttt{gem}, try
\begin{verbatim}
gem install --user-install optparse-pathname
\end{verbatim}
to install it locally.
\subsection{Build the book}\label{build-the-book}
Compile the book. This step is needed because various \texttt{aux} files
are created which will be read by the worksheet builder.
\begin{verbatim}
cd ~/linear-algebra/laode
lualatex --shell-escape linearAlgebra
lualatex --shell-escape linearAlgebra
\end{verbatim}
\section{Build a worksheet}
You can \href{https://osu.box.com/v/laode-labels}{view a PDF of the
textbook} which includes the labels that you can use in the
\texttt{\textbackslash{}exercise} command below.
\subsection{Try it}\label{try-it}
Now you are ready to try building a worksheet.
Go to the worksheet builder directory.
\begin{verbatim}
cd ~/linear-algebra/worksheet-builder
\end{verbatim}
Then create a file called \texttt{homework0.tex} with the following
content:
\begin{verbatim}
\documentclass{article}
\input{preamble}
\title{Homework 0}\author{Author Name}\date{Jan 1, 2019}
\begin{document}
\maketitle
\exercise{c5.1.4g}
\exercise{c5.1.7b}
\end{document}
\end{verbatim}
Now if you run
\begin{verbatim}
./build-both.sh --root=$HOME/linear-algebra/laode sample.tex
\end{verbatim}
two PDF files will be created: * one with solutions called
\texttt{homework0s.pdf} and * one without solutions called
\texttt{homework0e.pdf} and two TeX files will be created * one with
solutions called \texttt{homework0s.tex} and * one without solutions
called \texttt{homework0e.tex} and you may edit the TeX files by hand if
you wish.
\section{How to add exercises}\label{how-to-add-exercises}
\subsection{If you are not github enabled}
In this repository, there is a
\href{https://github.com/mooculus/laode/blob/master/howToContribute/template.tex}{template.tex}
file which can be used as a starting point for creating your own
exercises.
Once you have edited the template, please send the template to
[email protected] so that it can be added to the textbook repository.
\subsection{If you are github enabled}
\subsubsection{Fork the repository}
Go to https://github.com/mooculus/laode and click `Fork`
You should have a copy of the repository at https://github.com/YOUR-GITHUB-USERNAME/laode where **YOUR-GITHUB-USERNAME** is your GitHub username.
\subsubsection{Go to your local copy of the master repo}
cd ~/linear-algebra/laode
\\
set up the remote to point to your personal copy of the repo by running
\\
git remote rm origin
git remote add origin https://github.com/YOUR-GITHUB-USERNAME/laode
git remote add upstream https://github.com/mooculus/laode
You will find it convenient to have symlinks to the numbered sections. To create such symblinks, run
\\
ruby make-links.rb
\\
which will populate a subdirectory `by-number` with links to the sections of the textbook.
\subsubsection{Locate the appropriate section of the textbook}
Suppose you would like to add an exercise to Section 2.2, {\em The
Geometry of Low-Dimensional Solutions}.
\\
You will find the text for that section in [../solvingLinearEquations/theGeometryOfLowDimensionalSolutions.tex](../solvingLinearEquations/theGeometryOfLowDimensionalSolutions.tex), and a subdirectory of the same name ([../solvingLinearEquations/theGeometryOfLowDimensionalSolutions](../solvingLinearEquations/theGeometryOfLowDimensionalSolutions)) houses the exercise files.
\\
To look at the existing exercises, run
\\
cd ../by-number/SECTION.NUMBER
\\
Here, `SECTION.NUMBER` is the desired textbook section.
## Copy the template to the appropriate location
Pick a new, unused number, and copy [template.tex](template.tex) to
the appropriate directory with the other exercises for that section.
To do this, copy the file to a new number with
```
cp ~/linear-algebra/laode/howToContribute/template.tex 9999.tex
```
Here, `9999` is your chosen unused number.
## Write and save your exercise
Open the template you have copied to the appropriate directory and add
your content.
## Commit your changes
Commit your new exercise with
```
git add 9999.tex
git commit -m 'Description of my new exercise'
git push master origin
```
## Submit a pull request
In order for your exercise to appear in the master copy of the
textbook, submit a pull request. You can do this by going to
https://github.com/YOUR-GITHUB-USERNAME/laode and clicking on `New Pull
Request`.
\section{Installing MATLAB}\label{installing-matlab}
\subsection{For Ohio State faculty and
students}\label{for-ohio-state-faculty-and-students}
Computers not only enable the completion of complicated calculations,
but can also improve the conceptual understanding of mathematics. This
course relies on MATLAB, a popular software package for matrix
computations. MATLAB is available free-of-charge to Ohio State students.
To download and activate your free copy of MATLAB, please follow the
steps below.
\begin{enumerate}
\def\labelenumi{\arabic{enumi})}
\item
Launch Ohio State's IT Self-Service. Links to an external site. tool
and click Login at the upper right.
\item
Click Order Services. It is marked with a shopping cart but MATLAB
will not cost you anything.
\item
Click the Software Request link located under the ``Software
Services'' heading.
\item
Complete the Software Request Form, choosing MATLAB. Agree to terms
and conditions.
\item
Click Check Out.
\item
Click Submit Order at the lower right.
\item
Your order confirmation page lists your selections and their costs, as
well as provides a Request Number (i.e., REQ12345) for tracking
purposes.
\end{enumerate}
The rest of the instructions for installing MATLAB will automatically be
emailed to your Ohio State email account. Instructions will vary as to
whether you are on Windows, Mac OS, or Linux.
\subsection{Getting the m\_files}\label{getting-the-m_files}
To produce m\_files with filenames coming from the numeric labels in the
textbook, run
\begin{verbatim}
cd ~/linear-algebra/laode/m_files
ruby numeric-labels.rb
\end{verbatim}
Then to see the m\_files, run
\begin{verbatim}
cd ~/linear-algebra/laode/m_files/linearAlgebra
ls
\end{verbatim}
\section{Set up canvas}\label{set-up-canvas}
To set up a course shell in Canvas (``Carmen'') populated with linear
algebra content, email [email protected].
\section{Syllabus}\label{syllabus}
To receive a sample syllabus and calendar, email [email protected].
\section{Old exams}\label{old-exams}
Contact Marty Golubitsky ([email protected]) for old Math 2568 exams.
\end{document}