this section is simply an itemized list of all the things i did in this document that aren't explained by the LATEX rules in the previous section. it may be incomplete (if it is, let me know), and the items are in the order in which i found the commands in the input file, which has nothing to do with order of importance or anything like that, so you may have to look around a bit.
\addtolength{\topmargin}{-0.5in} \addtolength{\oddsidemargin}{-0.5in} \addtolength{\evensidemargin}{-0.5in}the following lines increase the amount of text on the page in each direction by twice the increase in margins. (the bottom and right margins are simply determined by the amount of space left on the page, given the top and left margins and the amount of text.)
\addtolength{\textwidth}{1.0in} \addtolength{\textheight}{1.0in}
\newcommand{\newname}[args]{effect}after this declaration, whenever you type \newname in the input text, the interpreter substitutes effect and interprets that instead. if a nonzero number of arguments is given as the optional parameter [args], then you may specify the location of each argument in the text of effect by including the string #n, where n is the number of the argument to be substituted. up to 9 arguments are allowed. as an example, i defined the following two commands in howto.tex:
\newcommand{\auth}[1]{\vspace{0.1in}\noindent{\it by: #1}} \newcommand{\bs}{\symbol{92}}
\vspace{0.1in}leaves 0.1 inches blank between paragraphs. remember to separate the \vspace command from other paragraphs with a blank line on either side, or it won't have the desired effect.
{\it do you want to buy a duck?}produces the output ``do you want to buy a duck?'' as shown in the example, \it produces italicised text. in addition, \bf produces bold text, like this, and \tt produces fixed width typewriter-style text, like this. to produce several consecutive lines of fixed width text with no special character interpretation, delimit the text by:
\begin{verbatim} text not to be interpreted, with funny characters :~) \ end{verbatim}note: don't really put a space between \ and end -- that's just a hack because i've forgotten how to keep the verbatim environment from interpreting itself.
\symbol{n}will include symbol n of the current font from the current encoding. i used this to get the backslash in typewriter font.
\input{filename}finds whichever of filename or filename.tex exists in the current directory, and interprets the contents of filename as if they occurred in place of the \input command in the calling file. this command can be used in either the command section or the text section of the input. (note that LATEX tries to interpret absolute and relative pathnames when finding input files, but it can't handle .. or ~.)
conversely, the syntax a~b forces LATEX not to place a line break between a and b.
by default, there is no space between a command and the next input symbol in the output. to force a space to appear in the output, put a backslash followed by a space after the command.
\section{section name}produces a new section in the output file. it increments the section counter, and produces a numbered section header in a large font. the commands \subsection and \subsubsection also exist and have their own counters within a section.
\tableofcontentscreates a table of contents at the current point in the input. it contains the names and numbers of all sections, subsections, and subsubsections.
\label{labelname}will store the number of this section under the name labelname. anywhere in the input (even before that section), the command
\ref{labelname}will insert the number associated with labelname into the text. once you start labelling things, you'll probably have to start running LATEX twice on the input file every time you make changes, so that it can sort the references.
don't use ordinary quotation marks in a LATEX input file: the input ``word'' will produce the output ``word''. (and, yes, the processor turns all left quotes upside down, which is usually what you want.)
\footnote{does it quack?}should be placed within the text, right where you want the little number to appear. the number (there's a counter for this, too, which resets every section) appears there, and the text appears at the bottom of the page.
\begin{itemize} \item here's the first item \item[] an item with no bullet \item[3)] an item with a number \end{itemize}will produce the output:
\underline{of course it quacks, it's a duck}will produce the output of course it quacks, it's a duck.