Debian Codegraph @

texmf-dist/doc/latex/asaetr/asaetr.tex

raw
1 % asaetr.tex v1.0 01 Jan 92
2 \documentstyle{asaetr}
3 \title{\LaTeX\ and
4 B\kern-.05em{\large I}\kern-.025em{\large B}\kern-.08em\TeX\
5 for ASAE Papers\thanks{Written for presentation as the 1992
6 International WinterMeeting of ASAE.}
7 }
8 \author{J.~D.~McCauley\thanks{USDA Fellow, Department of Agricultural
9 Engineering, Purdue University. Formerly,
10 Graduate Assistant--Research, Department of Agricultural
11 Engineering, Texas A\&M University. ({\tt [email protected]}).}
12 \student
13 %\and
14 %A.~D.~Whittaker \member
15 }
16 % the format is: name \membership_grade, where membership_grade
17 % is one of ( \member, \associate, \student, \affiliate, \fellow)
18 \begin{document}
19 \bibliographystyle{asaetr}
20 \maketitle
21
22 \begin{abstract}
23 A \LaTeX\ style for the American Society for Agricultural Engineers
24 (ASAE) is discussed. This is not official and not (yet) an accepted
25 way to submit articles to ASAE. {\em This is NOT an ASAE Transcations
26 article.} \keywords{\LaTeX,\ \BibTeX,\ typesetting, ASAE Transactions.}
27 \end{abstract}
28
29 \section{Introduction}
30 \drop{T}his document, when compared to source code,
31 instructs someone on the use of {\tt asaetr.sty}, a \LaTeX\ style file
32 for writing documents that look like {\it ASAE Transactions} articles.
33 Examples of section headers, itemized lists, tables, and figures are
34 given. Hopefully, a document written using the default {\tt article}
35 style in \LaTeX\ could be transformed to look like a {\em
36 Transactions} article by only a few changes.
37
38 The American Society of Agricultural Engineers editorial staff
39 encourages authors to submit electronic manuscripts in the following
40 formats: MacWrite, MS--Word, MS--Works (preferably Version 2.0),
41 WordPerfect (Version 5.0 or later), and WriteNow \cite{asaeins} (ASAE,
42 1991). Though \LaTeX\ is not an accepted format to submit articles to
43 ASAE, it does have utility when predicting page length and appearance
44 of an article that you submit. Predicting page length is especially
45 important when submitting ``Technical Notes'' (which cannot exceed two
46 pages) and when trying to avoid unnecessary page charges.
47
48 It should be emphasized that this document was written as an example
49 of use of the style files; it's value is greatly enhanced if you
50 compare it with source code (see a later section for instructions) and
51 a copy of {\em ASAE Transactions}.
52
53 \subsection{Objective}
54
55 The objective of this work was to develop \LaTeX\ and \BibTeX\
56 style files for ASAE members.
57
58 \subsubsection{Finer Objectives}
59 Well, that sounds pretty noble, but I also wanted to
60 \begin{enumerate}
61 \item Make it easier on myself (because I'm a programmer, and programmers
62 are lazy),
63 \item Encourage a friend to switch to \TeX\, and
64 \item Show you the use of a \verb#\subsubsection# heading and the
65 {\tt enumerate} environment.
66 \end{enumerate}
67
68 \paragraph{Test Heading}
69 This is a test of level four headings.
70
71 \section{Getting Started}
72
73 If you're unfamilar with \LaTeX, I would suggest picking up a copy of
74 the manual (Lamport, 1986) \cite[note]{ll:86} and putting this paper
75 aside for a while. If you're already familiar, read on.
76
77 \subsection{The Preamble}
78 The preamble is where tell \LaTeX\ that you are going to use {\tt
79 asaetr.sty}. It's also where you list the authors and ASAE membership
80 grades. Here's an example:
81 \small \begin{verbatim}
82 \documentstyle{asaetr}
83 \title{Boring Title}
84 \author{U.\ B.\ Boring \fellow \and
85 I.\ M.\ Young \student \and
86 R.\ U.\ Happy \nonmember }
87 \begin{document}
88 \maketitle
89 \end{verbatim} \normalsize
90 I have used up to four authors and still got it fit on one line. Five
91 authors may fit, depending on the lengths of the names. If they don't
92 all fit, two rows of authors will be formed. Membership grades can be
93 any of
94 \small \begin{verbatim}
95 \member, \associate, \student,
96 \affiliate, or \fellow.
97 \end{verbatim} \normalsize
98 \noindent
99 You can also use \verb#\nonmember#, but it has the same effect
100 as leaving the membership grade off. The \verb#\maketitle# command
101 simply tells \LaTeX\ to use this author and title information to
102 compose the title of the paper.
103
104 \subsection{The Abstract}
105
106 After the preamble comes the abstract. Here's an example:
107 \small\begin{verbatim}
108 \begin{abstract}
109 This is going to be short. See, I told you.
110 \keywords{brevity, terseness, words.}
111 \end{abstract}
112 \end{verbatim}\normalsize
113 This should be straightforward enough.
114
115 \subsection{The Body}
116 The commands that you should be most familiar with to typeset the
117 body of your paper are the sectioning commands. They are
118 \begin{description}
119 \item[section:] Same level as the Introduction.
120 \item[subsection:] Secondary headings, such as
121 ``Objectives.''
122 \item[subsubsection:] Third level headings.
123 \item[paragraph:] Avoid fourth level headings.
124 \end{description}
125 The usage of these commands can be best described by an example:
126 \begin{verbatim}
127 \subsection{The Body}
128 \end{verbatim}
129 This is the sectioning command for the section you are now reading.
130
131 You may want to avoid fourth level headings because it requires an
132 additional font for your \TeX\ installation: {\tt cmcscsl10}. This is
133 a slanted, small caps font. If you have \MF\ working on your system,
134 this is not a problem. Source code for this font is available with
135 the style files. Ask you local \TeX\ guru for help, should you need
136 it.
137
138 \subsection{Figures and Tables}
139
140 If you have a \PS\ printer available, it's highly recommended that you
141 use the \verb# \psfig# macros written by Trevor Darrell to include
142 high quality figures. Another useful utility for including figures is
143 {\tt fig} (or {\tt xfig} if you use X Windows). Figure 1 was created
144 in about 30 seconds using {\tt xfig}. You can get {\tt fig} from {\tt
145 cayuga.cs.rochester.edu} by anonymous ftp. Remember that in {\em
146 Transactions of the ASAE}, captions for figures go {\em below} the
147 figures.
148
149 \renewcommand{\footnoterule}{} % no line
150 \begin{table}[hbp]
151 \footnotesize
152 \caption{Comparison of Publishing Tools}
153 \begin{center}
154 \begin{minipage}{\columnwidth}
155 \renewcommand{\footnoterule}{} % no line
156 \begin{center}
157 \renewcommand{\thefootnote}{\fnsym{footnote}}
158 \begin{tabular}{lrrrrrr} \thickhline
159 Tool & \multicolumn{3}{c}{Learning Curve\footnote{1.0 being easiest.}
160 }& \multicolumn{3}{c}{Support\footnote{10.0 being the best.}}\\
161 & \multicolumn{3}{c}{($units$)} & \multicolumn{3}{c}{($units$)}\\ \thinhline
162 FrameMaker && 5.0 && 6.0 \\
163 Troff && 10.0 && 1.0 \\
164 \TeX \footnote{\TeX\ is the winner!} && 7.0 && 10.0 \\ \thickhline
165 \end{tabular}
166 \linethickness{0pt}
167 \end{center}
168 \end{minipage}
169 \end{center}
170 \end{table}
171
172 \begin{figure}[htb]
173 \setlength{\unitlength}{0.1mm} %{0.00625in}%{0.0125in}%
174 \begin{center}
175 \begin{picture}(181,181)(0,0)
176 \thinlines \multiput(80,80)(-20,-20){4}{\framebox(80,80){}}
177 \thicklines \put(0,0){\framebox(180,180){}}
178 \put(60,60){\line( 1, 1){ 60}}
179 \end{picture}
180 \end{center}
181 \caption{Primitive figure.}
182 \end{figure}
183
184 If you plan to include tables, and if you want to have footnotes
185 within these tables, use the {\tt minipage} environment. Contact
186 your local \LaTeX\ guru or see your {\em local guide} for more
187 information about how to code tables. The source code for this paper
188 also provides good information. You'll notice in {\em Transactions of
189 the ASAE} or in {\em Applied Engineering in Agriculture} they use
190 thicker lines for the top and bottom rules in tables. Instead of
191 having to change line thickness yourself (as you do in using document
192 style ``article'' and others), you can use two macros that come with
193 this style: \verb#\thickhline# and \verb#\thinhline#. See the example
194 table in this document (Table 1). Don't forget to put the caption
195 {\em above} the table instead of below it.
196
197 \subsection{The References}
198
199 \BibTeX\ automatically generates the ``References'' section of your
200 paper from an external database. Style files govern to appearance of
201 your ``References'' section. In principle, you could change a paper,
202 which met the requirements of one professional society, to that of
203 another by simply changing the style file that you use. The style
204 file {\tt asaetr.bst} (for ASAE) is currently being developed. Other
205 style files exist for IEEE, ACM, APA, etc.
206
207 To use \BibTeX, you normally process your file with \LaTeX, then with
208 \BibTeX, then twice more with \LaTeX. The \BibTeX\ style file, which
209 is unfinished, comes close to the citation style used by ASAE. You may
210 have to edit some entries by hand. To do this, edit the {\tt *.bbl}
211 file after you have processed the file with \BibTeX. See Appendix B
212 in \cite{ll:86} (Lamport, 1986) for more information about \BibTeX.
213
214 \subsection{Submission}
215 When you submit to ASAE, they want a double--spaced, single--column
216 document with figures and tables on separate pages. If you've written
217 you document using
218
219 \noindent{\verb#\documentstyle{asaetr}#,}\par
220 \noindent simply change that first line to read\par
221 \noindent{\verb#\documentstyle[asaesubmit]{asaetr}#.}\par
222 \noindent This makes all the changes necessary.
223
224 \section{Where to Find}
225 This collection of files discussed in this paper include:
226 \begin{description}
227 \item[asaetr.sty:] \LaTeX\ style
228 \item[asaesubmit.sty:] for paper submissions to ASAE
229 \item[asaetr.bst:] \BibTeX\ style
230 \item[asaetr.tex:] example usage of and documentation for above (source for
231 this document)
232 \item[asaetr.bib:] part of the above example
233 \item[cmcscsl10.mf:] \MF\ source for level four heading font
234 \end{description}
235
236 A copy of this collection of style files can be obtained via
237 anonymous ftp:
238 \small \begin{verbatim}
239 % ftp sun.soe.clarkson.edu
240 Connected to sun.soe.clarkson.edu.
241 Name (sun.soe.clarkson.edu:jdm5548): anonymous
242 331 Guest login ok, send ident as password.
243 Password: [email protected]
244 230 Guest login ok, access restrictions apply.
245 ftp> cd pub/tex/latex-style
246 250 CWD command successful.
247 ftp> mget asae*
248 ...
249 ftp> quit
250 \end{verbatim}\normalsize
251 \noindent
252 To retrieve this collection via electronic mail, send a MAIL message to
253
254 \centerline{\tt [email protected]}
255 \noindent with the command:
256
257 \centerline{\tt SENDME ASAETR}
258
259 \section{Conclusion}
260
261 This file should serve as an excellent example of the use of the style
262 files. If you still can't figure things out, hunt up your local guru
263 and ask him/her to explain \LaTeX\ and \BibTeX\ style files.
264
265 \bibliography{asaetr}
266 \end{document}