Things to do -- 6/18
-
There is a file on graphics called b.zip,
which you will want to download and unzip as per usual. Then open
at bird.texx in wordpad and bird.ps in gsview32 and birdpcs.mws in Maple.
Read and experiment with the graphics.
-
Go to the bottom of the main page of Chisel
and click on the link to the West Appalachian
Calculus Journal, Vol 2. There
are 12 or so articles in this volume. Click on the first one (a
tale of two cds), which is a talk on reform
calculus given 4 years ago, by Dan Kennedy. We are going
to section this as an article, put in a footnote, put in a
bibliography, put in a bibliographic citation, and put in an index
item.
1. Click on the ZIP
at the top of the page titled A Tale of Two
CDs and choose open
in the box that pops up. Then save it (it is a directory called kenn8a)
in tmpdir.
2. Open up a Texshell, and in
there do a dir/w
to see that the directory kenn8a is there.
Then do a cd kenn8a to
get down into the directory and do another dir
/w to see the file kenn8a.tex
is there.
3. Use Wordpad to open the file
kenn8a.tex and inspect the preamble. Note that it is a LaTeX2.09
file, since it starts with \documentstyle.
Problem: How would you change
this to a LaTeX2e document?
Note the line \input{stdtex.h}.
Do a dir/w in
TeXshell and see that stdtex.h is a file in the directory kenn8a.
Problem. What is the purpose
of the file stdtex.h? Is it ok to comment out the line \input{stdtex.h}?
Sectionning
4. Let's section the talk into an introduction,
a main body (with a couple of subsections), and a concluding remarks section.
I will tell you how to put in the first section mark. Find the Paragraph
starting with 'Tonight, I would like talk
about records' and just above that insert
the line
\section{Introduction}
This will put in a numbered section with a
title Introduction.
Problem: Put in a \section{Main
Body} and \section{Conclusion}
somewhere (you could actually read thru the
talk--see particularly the universal calculus
problem with accompanying graphic), then resave
the file, latex it, dvips it, and look at the resulting ps file with gsview32
to see the sectioning.
Problem: Get a table of
contents to appear in the article? (hint: look up \tableofcontents
in the LaTeX2e help).
Footnoting
5. Now let's make a footnote.
Find the sentence "The first big pretender to the vinyl throne was the
8-track tape" and insert \footnote{Does
anybody know why they called it that?}
right after the word 8-track.
Save, latex, dvips, gsview32 it to see the
effect.
Labels and references
6. We can label numbered things like sections
for referencing in the article. Example: Go to the line \section{Main
Body} that you inserted earlier and modify
it to \section{Main
Body}\label{main}. Then go to
the line at the beginning which starts 'My friends, ...' and insert
the phrase ', as we shall see in section \ref{main}'
just after the word friend. Now save and latex the file.
Problem: Read the Latex Warning that
comes up. Why do you have to LaTeX again?
Bibliography
7. We can make a bibliography like so.
Go to the bottom of the file and insert the lines
\begin{thebibliography}{99}
\bibitem{newt} {\sl The Complete
Letters of Isaac Newton}, Washington Irving Press, 1943.
\end{thebibliography}
Now we can cite an item in the bibliography
like so. Go to the line that contains the phrase 'Newton
once wrote to Robert Hooke ' and insert just
after that '(see \cite{newt})'.
Now save and latex the file.
Indexing
8. We can make an index of terms.
This involves a few more steps than the other stuff.
step 0. Insert the command \makeindex
just above the \begin{document}
in the preamble of your article.
step 1. Index your terms in the
tex document. For example, find the first occurence of the acronym
NCTM in the article and insert the command \index{NCTM}
near the term. Go ahead and index a
couple of more terms.
step 2. Latex the article.
The \makeindex command generates a separate index file called in this case
kenn8a.idx.
step 3. In the TeXshell, execute
the command makeindex kenn8a.idx. This
will generate a new file called kenn8a.ind.
step 4. Insert the contents
of kenn8a.ind into the file kenn8a.tex just before the \end{document}
(One way to do this is open kenn8a.ind in a separate wordpad and copy the
file, then paste it into kenn8a.tex at the bottom.)
step 5. Latex the article yet
again to typeset the index.