Debian Codegraph @

texmf-dist/doc/latex/aiaa/pre2004/aiaa.dtx

raw
1 %
2 % \iffalse
3 %% Description: a bundle of LaTeX and BibTeX files to produce
4 %% AIAA papers and simulated journal articles/notes
5 %% Keywords: LaTeX, class, AIAA, BibTeX, bibliographic-style, 9pt-option
6 %% Author: Bil Kleb <[email protected]>
7 %% Maintainer: same
8 %% Version: 2.4 <22 feb 1999>
9 %%
10 %% Please see the information in file `aiaa.ins' on how you
11 %% may use and (re-)distribute this file. Run LaTeX on the file
12 %% `aiaa.ins' to get the main aiaa class and other auxilary packages.
13 %% Also run LaTeX on `aiaa.dtx' (this file) to obtain a users manual
14 %% and code documentation.
15 %%
16 %% NOTE: This file may NOT be distributed if not accompanied
17 %% by 'aiaa.ins' and `aiaalgo.eps'.
18 % \fi
19 %
20 % \def\filename{aiaa.dtx}
21 % \def\fileversion{2.4}
22 % \def\filedate{1999/02/22}
23 % \def\docdate{\filedate}
24 % \date{\docdate}
25 %
26 % \newcommand*{\cls}[1]{\textsl{#1}}
27 % \newcommand*{\pkg}[1]{\textsf{#1}}
28 % \newcommand*{\file}[1]{\texttt{#1}}
29 % \newcommand*{\kbd}[1]{\texttt{#1}}
30 % \setcounter{errorcontextlines}{10}
31 %
32 % \MakeShortVerb{\|}
33 %
34 % \CheckSum{1685}
35 %% \CharacterTable
36 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
37 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
38 %% Digits \0\1\2\3\4\5\6\7\8\9
39 %% Exclamation \! Double quote \" Hash (number) \#
40 %% Dollar \$ Percent \% Ampersand \&
41 %% Acute accent \' Left paren \( Right paren \)
42 %% Asterisk \* Plus \+ Comma \,
43 %% Minus \- Point \. Solidus \/
44 %% Colon \: Semicolon \; Less than \<
45 %% Equals \= Greater than \> Question mark \?
46 %% Commercial at \@ Left bracket \[ Backslash \\
47 %% Right bracket \] Circumflex \^ Underscore \_
48 %% Grave accent \` Left brace \{ Vertical bar \|
49 %% Right brace \} Tilde \~}
50 %
51 % \title{%
52 % \textsf{aiaa} -- a \LaTeX{} Class and \BibTeX{}
53 % Style\\ for AIAA\thanks{The American Institute of Aeronautics
54 % and Astronautics.}\ \ Conference Papers\\ and Journal
55 % Submission/Simulation\thanks{This document describes \textsf{aiaa} version
56 % \fileversion which was born on \docdate .}}
57 %
58 % \author{bil kleb\thanks{Research Scientist, NASA Langley
59 % Research Center, Hampton, Virginia.}}
60 %
61 % \maketitle
62 %
63 % \begin{abstract}
64 % This document describes the \textsf{aiaa} distribution which
65 % is centered around a modification of the standard \LaTeX{}
66 % article class, \cls{article.cls}. The new class produces
67 % AIAA-conformant\footnote{Note this distribution is not a
68 % product of, nor endorsed by, the AIAA.}
69 % conference papers and journal submittals---it
70 % will even simulate the typesetting of journal articles and notes
71 % for length-determination purposes. This distribution also contains
72 % a (mostly) AIAA-compliant bibliographic style sheet,
73 % sample documents, a sample presentation, and other test equipment.
74 % \end{abstract}
75 %
76 % \tableofcontents
77 %
78 % \section{Introduction}
79 %
80 % The \textsf{aiaa} distribution consists of a \LaTeX{} class
81 % and various other files which are supposed to simplify
82 % the task of producing an AIAA conference paper
83 % and the subsequent journal submission
84 % For instance, with a simple,
85 % one-word option in the beginning of the document, a manuscript can
86 % take the form of a two-column conference paper replete with
87 % cover-page or a double-spaced journal submission manuscript
88 % with figures and tables at the end, including the required
89 % caption lists.
90 %
91 % \section{Userguide}
92 %
93 % I apologize for the sparseness of this documentation; but, hey,
94 % this is not in my job description.\ |;)|\ \ Hopefully the sample
95 % documents \file{smpaiaa.tex}, \file{smpsubf.tex}, and \file{smptalk.tex}
96 % provide suitable documentation through example.
97 %
98 % \subsection{Requirements}
99 %
100 % The \kbd{aiaa} distribution was developed using
101 % \LaTeXe{} of 1995/12/01, patch level 1,
102 % running \TeX{} 3.14159 and
103 % \texttt{dvips} 5.58f---the te\TeX{} distribution 0.3.3.\footnote{
104 % The \kbd{aiaa} distribution has also been demonstrated on
105 % a Mac running the {\scshape Oz}\TeX{} \TeX{} distribution and a
106 % PC running the Mik\TeX{} \TeX{} distribution.}
107 % So anything more recent should work, but anything older: no guarantees.
108 % In particular, your \kbd{graphicx} package needs
109 % to be newer than September 1995 so that the |keepaspectratio|
110 % command is available.
111 %
112 % The \cls{aiaa} class depends
113 % on having access to a number of packages.\footnote{When you process
114 % a file with \LaTeX{}, it will let you which packages it is
115 % missing. The less common ones are \pkg{dropping} and \pkg{caption2} while
116 % the other required packages:
117 % \pkg{lastpage}, \pkg{setspace}, \pkg{endfloat}, \pkg{overcite},
118 % \pkg{graphicx}, and \pkg{fancyhdr} are usually bundled with
119 % most \LaTeX{} distributions.}
120 % If your local site does not have all the packages necessary, they
121 % can be obtained from your nearest Comprehensive TeX Archive
122 % Network (CTAN) site. In fact, chances are that this is where you found
123 % this distribution. Details on how to obtain packages from a
124 % CTAN site are available at |http://www.tug.org/|
125 % or various \LaTeX{} reference books~\cite{companion,guide}.
126 % Especially helpful in locating various \LaTeX{} packages is
127 % the \kbd{Catalogue.html} web page found in the \kbd{help/Catalogue}
128 % directory of CTAN.
129 %
130 % \subsection{Setup}
131 %
132 % If you have not already run \file{aiaa.ins} through \LaTeX{},
133 % do so. The \pkg{docscript} utility (part of \LaTeX{})
134 % will rip the code segments out of \file{aiaa.dtx}
135 % and save them in several files. If you encounter an error
136 % on installation like:
137 % \begin{verbatim}
138 % ! Undefined control sequence
139 % \batchLine -> generate
140 % {\file {aiaa.cls}{\from{aiaa.dtx}{class}}}
141 % 1.728 \processbatchFile
142 % \end{verbatim}
143 % this means that your \pkg{docstrip} is very old and that you
144 % will need to update your entire \LaTeX{} distribution to
145 % take advantage of the \pkg{aiaa} package.
146 %
147 % Move the files \file{aiaa.cls},
148 % \file{aiaa9pt.sty}, \file{aiaaenf.cfg}, and \file{aiaalgo.eps}
149 % to a directory searched by \TeX{}\footnote{For a Unix te\TeX{} installation,
150 % a privileged user could put these files in a directory named
151 % something like \kbd{/usr/local/teTeX/texmf/tex/latex/aiaa}\ for
152 % the entire site to use, remembering to run \kbd{texhash} to
153 % re-configure te\TeX{} to search the new directory;
154 % or, a lowly user could make their own directory, {\it e.g.},
155 % \kbd{$\sim$/tex/inputs}, put the files in there, and set
156 % the environment variable \kbd{TEXINPUTS} via `\kbd{setenv
157 % TEXINPUTS $\sim$/tex/inputs:}'. The colon represents the system search
158 % path so, in this case, the user files take precedence.
159 % On a Mac or PC installation put these files in
160 % a folder named something like \file{TeX-inputs}.}
161 % and the file \file{aiaa.bst} to
162 % a directory searched by \BibTeX{}.\footnote{%
163 % Similar to preceding footnote, only on Unix use
164 % the environment variable \kbd{BSTINPUTS}
165 % for the bibliographic style file and
166 % \kbd{BIBINPUTS} for the bibliographic database; for Mac's,
167 % use the \file{BibTeX-inputs} folder, failing that try
168 % using the \file{TeX-inputs} folder.}
169 % Once things are installed, try to \LaTeX{} the sample AIAA
170 % paper in the \file{demo/paper} directory, |smpaiaa.tex|. It should
171 % produce something similar to |smpaiaa.ps|.
172 %
173 % \subsection{Usage}
174 % The \cls{aiaa} class is envoked by including\\
175 % | \documentclass[|{\itshape options}|]{aiaa}|\\
176 % at the beginning of your document. The package
177 % recognizes the following options: |submit|, |paper|,
178 % |article|, |note|, and |cover|.
179 % The |paper| option is the default and the |submit| option
180 % overrides any other option. The |cover| option produces
181 % a cover-page for conference papers or simulated journal
182 % reprints.
183 % In addition, any options that the standard \LaTeX{} article
184 % class accepts can be also inserted, {\it e.g.},
185 % \kbd{draft}.\footnote{The \kbd{draft}
186 % option replaces figures with a labeled box of the appropriate size.}
187 % Note, when using the |note|
188 % option, your title and author information may need to be
189 % modified with extra line breaks (|\\|)
190 % since this information is no longer allowed to span both
191 % columns and may overfill the short tex twidth available.
192 % Other than this, the document is written just like one were
193 % using the standard \LaTeX{} article document class; and thus, I
194 % don't have to write much more on usage since it has already
195 % been documented by others in various \LaTeX{}
196 % books~\cite{companion,guide,latex}. However,
197 % some of the old commands have slightly different behaviors and there are
198 % a few new commands designed to make life a little brighter;
199 % these are discussed in the following sections.
200 %
201 % \subsection{General Commands}
202 %
203 % Several standard \LaTeX{} commands have been modified
204 % to behave differently under the new class. In addition,
205 % several new commands have been introduced to ease
206 % document preparation. Both types are discussed in the
207 % following subsections.
208 %
209 % \subsubsection{New Behavior from Old Commands}
210 %
211 % \DescribeMacro{\abstract}
212 % The |\abstract| command has been redefined within the \cls{aiaa}
213 % class to behave as part of the |\maketitle| sequence. Simply
214 % load |\abstract| as you would |\title| or |\author|, and
215 % as long as you have not selected the options |submit| or |note|
216 % (which do not allow for abstracts), the text loaded into
217 % the |\abstract| command will be typeset, indented and centered,
218 % underneath the title/author section. Remember |\abstract| must
219 % be loaded {\bfseries before} |\maketitle| is invoked. This is
220 % typically done in the preamble\footnote{%
221 % The preamble is defined as anywhere between the
222 % \cs{documentclass}\texttt{\string{\string}}
223 % and \cs{begin}\texttt{\string{document\string}} commands.}
224 % of your \LaTeX{} document.
225 %
226 % \DescribeMacro{\date}
227 % The \cls{aiaa} class automatically nulls the |\date| command used
228 % by |\maketitle|. Standard \LaTeX{} behavior of |\maketitle|
229 % is to typeset the current date as part of the title section
230 % if one is not given. So, normal one has to issue the command:
231 % |\date{}| when producing AIAA papers. When using the
232 % \cls{aiaa} class, this is no longer necessary; this command
233 % has already been issued.
234 %
235 % \DescribeMacro{\and}
236 % \DescribeMacro{\maketitle}
237 % Suffice it to say that |\maketitle| and |\and| have also been
238 % hacked, the ramifications of which I have yet to determine.
239 %
240 % \DescribeMacro{\section}
241 % \DescribeMacro{\subsection}
242 % \DescribeMacro{\subsubsection}
243 % \DescribeMacro{\paragraph}
244 % \DescribeMacro{\subparagraph}
245 % One no longer has to use the starred versions of these
246 % commands to defeat the numbering of sections. The counter
247 % \kbd{secnumdepth} has been set to $-2$ via,
248 % |\setcounter{secnumdepth}{-2}|
249 % so that even the unstarred versions of the sectioning commands
250 % never produce a number.\footnote{The \kbd{secnumdepth} counter
251 % controls how many
252 % nesting levels of section numbers should be produced.
253 % Of course you can defeat this by changing the counter back to its
254 % \LaTeX{} \cls{article} class default value of $3$ which
255 % will number sections down to subsections.}
256 % In addition, the fonts, sizes, and positions normally produced by
257 % these commands have been modified to make the output similar
258 % to a typeset journal article. In other words,
259 % we take advantage of the fact that you are not using a
260 % typewriter, {\it e.g.}, AIAA-suggested underlining for section
261 % names, etc.{} is replaced by the typesetting-capable equivalent.
262 %
263 % \subsubsection{New Commands}
264 %
265 % \DescribeMacro{\thanksibid}
266 % The command |\thanksibid| is very similar to the standard
267 % |\thanks| command which is used when footnoting
268 % the author affliations within the |\author| field.
269 % The distinction is that the |\thanksibid| command allows one
270 % to repeat a given footnote symbol without repeating the associated
271 % footnote text. Example of use:
272 % \begin{verbatim}
273 % \author{%
274 % Peter Gnoffo\thanks{Some thanks for a peter.},
275 % Bil Kleb\thanks{Some thanks for a bill.},
276 % Bill Wood\thanksibid{2}, and % use same footnote as for second author.
277 % Marge Mithus\thanks{Some thanks for a marge.}
278 % }
279 % \end{verbatim}
280 % Thus, |\thanksibid{2}| would only produce a footnote symbol
281 % at the end of Bill Wood's name and it would not generate
282 % another footnote. Note that using the |\thanksibid| command
283 % does not increment the footnote counter, so for the case given
284 % above, an argument of `4' would not be a valid choice.
285 % This command was developed so that when you have \cls{aiaa}
286 % make a cover sheet, extraneous footnote symbols will not be
287 % present.
288 %
289 % \DescribeMacro{\dropword}
290 % The command |\dropword| is used for the first word of the
291 % introduction, and for any option other than |submit|, will
292 % produce a `dropped' capital for the beginning of the paragraph.
293 % Its use is simply:\\
294 % | \dropword First words of the introduction, etc.|\\
295 % Note: this command also capitalizes the remaining
296 % portion of the first word.
297 % This macro relies on the presence of the |dropping| package
298 % by Mats Dahlgren~\cite{dropping}.
299 %
300 % \DescribeMacro{\incfig}
301 % The |\incfig| command is used for including figures via David Carlisle's
302 % \pkg{graphicx} package~\cite{graphicx}. The
303 % command |\incfig| command is merely a shorter version of
304 % the original |\includegraphics| command along with a centering
305 % command, {\it i.e.}:\\
306 % | \newcommand{\incfig}{\centering\includegraphics}|\\
307 % It is typically used for including Encapsulated Postscript files
308 % (|*.eps|) within a |figure| environment.
309 % For example, to include
310 % a figure named |figa.eps| residing in a |figs| subdirectory, one
311 % would use:
312 % \begin{verbatim}
313 % and \Figure{f:figurea} shows that things are purple.
314 % \begin{figure}
315 % \incfig{figs/figa}
316 % \caption{This is the caption for figure a.}
317 % \label{f:figurea}
318 % \end{figure}
319 % \Figure{f:figurea} also shows that people are green.
320 % \end{verbatim}
321 % For more information regarding the inclusion of external
322 % graphic files, see the file \file{epslatex.ps} in the \kbd{info}
323 % directory of the CTAN. Also, read the Graphics Guide that
324 % is part of the \pkg{graphicx} package.
325 %
326 % \DescribeEnv{subfigmatrix}
327 % Via the \pkg{subfigure} package and a new environment, |subfigmatrix|,
328 % one can easily create a ``matrix'' of subfigures. The
329 % environment takes one argument: the number of columns across
330 % the matrix will be.
331 % For instance, to produce a matrix of four subfigures, two by two:
332 % \begin{verbatim}
333 % \begin{figure}
334 % \begin{subfigmatrix}{2}
335 % \subfigure[Subfigure one. ]{\incfig{one}\label{f:matrix_1}}
336 % \subfigure[Subfigure two. ]{\incfig{two}}
337 % \subfigure[Subfigure three.]{\incfig{three}}
338 % \subfigure[Subfigure four. ]{\incfig{four}\label{f:matrix_4}}
339 % \end{subfigmatrix}
340 % \caption{A `matrix' of four subfigures.}
341 % \label{f:matrix}
342 % \end{figure}
343 % and with imbedded \label commands we can refer to
344 % Figure~\ref{f:matrix} in entirety or specific subfigures like
345 % subfigure~\ref{f:matrix_1} or subfigure~\ref{f:matrix_4}.
346 % \end{verbatim}
347 % See the demonstration file \file{smpsubf.tex} which comes with
348 % this distribtuion for more extensive examples.
349 %
350 % \subsection{Layout-specific Commands}
351 %
352 % The following commands are used to load information for other
353 % commands that produce appropriate headers, footers, cover-page
354 % items, and document notices---{\it e.g.}, copyright conditions. All
355 % of these commands are normally set in the preamble
356 % of your document (similar to |\author| and |\title|).
357 % For a more modular, and perhaps cleaner approach, you could
358 % place all of it in a file, \file{preamble.tex}, and use
359 % |\input{preamble}| to include it in your main document.
360 %
361 % \subsubsection{Header and Footer Information}
362 %
363 % \DescribeMacro{\SubmitName}
364 % \DescribeMacro{\PaperNumber}
365 % \DescribeMacro{\ArticleIssue}
366 % \DescribeMacro{\ArticleHeader}
367 % \DescribeMacro{\NoteHeader}
368 % The commands |\SubmitName|, |\PaperNumber|,
369 % |\ArticleIssue|, |\ArticleHeader|, and
370 % |\NoteHeader| are used to put appropriate items in the header
371 % and footer of each page, {\it e.g.},
372 % \begin{verbatim}
373 % \SubmitName{Kleb}
374 % \PaperNumber{96--0825}
375 % \ArticleIssue{Vol.~32, No.~6, November--December 1995}% first page
376 % \ArticleHeader{Kleb et al: Pitch-Over Maneuver}% subsequent pages
377 % \NoteHeader{J.Spacecraft, Vol.~32, No.~6: Engineering Notes}
378 % \end{verbatim}
379 % The command |\SubmitName| is used to mark the main author's
380 % name on all pages for the
381 % journal manuscript submission option: |submit|. The
382 % |\PaperNumber| is used to include the paper number
383 % for AIAA conference papers.
384 % The commands |\ArticleIssue|,
385 % |\ArticleHeader|, and |\NoteHeader| are used to create
386 % the appropriate headers when simulating a journal article or
387 % note. The contents of |\ArticleIssue| appear on the first page
388 % and the contents of |\ArticleHeader| appear on subsequent pages while for
389 % journal note simulations the contents of |\NoteHeader| is used for all pages.
390 %
391 % \subsubsection{Cover-page Information}
392 %
393 % \DescribeMacro{\CoverFigure}
394 % \DescribeMacro{\Conference}
395 % \DescribeMacro{\JournalName}
396 % \DescribeMacro{\JournalIssue}
397 % \DescribeMacro{\JournalPage}
398 % The commands |\CoverFigure|,
399 % |\Conference|, |\JournalIssue|, |\JournalPage|, and |\JournalName| provide
400 % information for producing cover-pages.
401 % \begin{verbatim}
402 % \CoverFigure{tstfig.eps}
403 % \Conference{31st AIAA Aerospace Sciences \\
404 % Meeting and Exhibit \\
405 % {\mfseries January 6--9, 1997/Reno, NV}}% note: non-bold date/loc.
406 % \JournalName{Journal of Spacecraft and Rockets}
407 % \JournalPage{715}
408 % \JournalIssue{Volume 32, Number 6}
409 % \end{verbatim}
410 % The commands |\CoverFigure| and
411 % |\Conference| define a representative figure (optional)
412 % and conference name/date/location to be used on the cover-page
413 % of a conference paper, while
414 % the commands |\JournalName| and |\JournalIssue| are for the
415 % cover-page produced for journal article or note reprint simulations.
416 %
417 % \subsubsection{Copyright and Other Document Notices}
418 %
419 % \DescribeMacro{\PaperNotice}
420 % \DescribeMacro{\JournalNotice}
421 % A footnote describing the copyright conditions
422 % and other information about the document are incorporated via the
423 % |\PaperNotice| and |\JournalNotice| commands. These normally include
424 % one of the the copyright series
425 % of commands: |\CopyrightA|, |\CopyrightB|, |\CopyrightC|, or
426 % |\CopyrightD|, described below.
427 % To use, simply include something like the following in
428 % the your document's preamble:
429 % \begin{verbatim}
430 % \PaperNotice{\CopyrightA{1996}}
431 % \JournalNotice{Presented as Paper 96--0825 at the AIAA 34th
432 % Aerospace Sciences Meeting, Reno,~NV,
433 % Jan.~15--18,~1996; received Feb.~15,~1996;
434 % revision received Nov.~25,~1996. \CopyrightC}
435 % \end{verbatim}
436 %
437 % \DescribeMacro{\CopyrightA}
438 % \DescribeMacro{\CopyrightB}
439 % \DescribeMacro{\CopyrightC}
440 % \DescribeMacro{\CopyrightD}
441 % The copyright commands will expand to one of the standard AIAA
442 % forms: A, B, C, or D.
443 % Note: they each have different arguments---or no
444 % arguments---depending on the requirements:\\
445 % | \CopyrightA{|\textit{year}|}|\\
446 % | \CopyrightB{|\textit{year}|}{|\textit{full name or company}|}|\\
447 % | \CopyrightC|\\
448 % | \CopyrightD{|\textit{year}|}|\\
449 % See your AIAA copyright instructions for which form to use.
450 %
451 % \section{Known Problems}
452 %
453 % \begin{itemize}
454 %
455 % \item The bibliographic style sheet |aiaa.bst| isn't fully
456 % tested; and thus, you may need to fiddle with your
457 % |.bbl| file for your final copy, {\it i.e.}, edit |file.bbl|
458 % after running a \LaTeX{}, \BibTeX{}, \LaTeX{} sequence,
459 % but before running \LaTeX{} the final time. Note, if
460 % you run \BibTeX{} after modifying |file.bbl|, you will
461 % lose your modifications when \LaTeX{} is run
462 % again. Therefore, it is best to turn off write-permission
463 % on \file{file.bbl} after you have it correct.
464 %
465 % \item When using the |submit| option for a document which
466 % contains subfigures,\footnote{See
467 % sample documents \file{smpaiaa.tex} and
468 % \file{smpsubf.tex} for examples of subfigure use.}
469 % some of the subfigures my be clipped.
470 % In fact, the way the |submit| option deals with subfigures
471 % needs work---to put it mildly. The current work-around
472 % is to add \kbd{width} or \kbd{height} options to your |\incfig|
473 % commands until the figures fit properly. These options
474 % are explained in the documentation which comes with
475 % the \pkg{graphics} package~\cite{graphicx}.
476 %
477 % \item Currently you have to make subfigure captions appear
478 % in bold font explicitly, {\it e.g.},\\
479 % | \subfigure[\bf Subfigure caption.]{\incfig{fig.eps}}|\\
480 % The next version of \pkg{subfigure} is supposed to remedy this.
481 %
482 % \item The notices come after the author footnotes. To
483 % produce the correct behavior requires significant
484 % changes to the |\maketitle| command.
485 %
486 % \item The simulated journal article modes use the standard, free,
487 % Computer Modern Fonts. The AIAA journals most likely
488 % use licensed (\$) fonts.
489 %
490 % \item The simulated journal cover-pages do not have anywhre near
491 % the correct font for the journal name---does anyone know
492 % where to get such a {\em free}, tall, bold, squashed
493 % helvetic-style font? It looks like Bitstream's Aurora
494 % condensed\ldots
495 %
496 % \item (Not actually an \pkg{aiaa} problem.)
497 % Using the starred versions of |figure| and |table|
498 % environments (floats which span both columns)
499 % inter-mixed with the unstarred versions (single-column
500 % wide floats) often creates a situation where the
501 % figures or tables appear out of order. For the final
502 % copy, this can normally be corrected with judicious
503 % use of float position specifiers.\footnote{Recall, {\bf
504 % never} use just \kbd{[h]}, always give other options or
505 % that float might get `stuck' and force it and all the
506 % following floats to the end of the document.}
507 % Unfortunately, this is
508 % stock, documented behavior for \LaTeX{}.
509 % However, recently a package \pkg{fix2col} has become available
510 % which appears to rectify this behavior. It can be
511 % found on CTAN in the
512 % \kbd{macros/latex/contrib/supported/carlisle} directory.
513 %
514 % \end{itemize}
515 %
516 % \section{Acknowledgements}
517 %
518 % Bundling and documenting this |aiaa| distribution in docstrip
519 % format was done by using other packages as a model,
520 % particularly, Mats Dahlgren's \pkg{dropping}~\cite{dropping}
521 % and Jeff Goldberg {\em et al}'s \pkg{endfloat}~\cite{endfloat}.
522 %
523 % I want to thank the people of the |comp.text.tex| newsgroup,
524 % the \TeX{}/\LaTeX{} Frequently Asked Questions maintainers,
525 % and various package authors for patiently answering my inane
526 % questions, in particular, but in no particular order:
527 % \begin{list}
528 % {$\triangleright$}
529 % {\setlength{\itemsep}{0pt}\setlength{\parsep}{0pt}}
530 % \item Donald Arsenau (|[email protected]|)
531 % \item Robin Fairbairns (|[email protected]|)
532 % \item Piet van Oostrum (|[email protected]|)
533 % \item Jeroen Nijhof (|[email protected]|)
534 % \item Steven Douglas Cochran (|[email protected]|)
535 % \item Jeffrey Goldberg (|[email protected]|)
536 % \item Mark Wooding (|[email protected]|)
537 % \item Paul Foley (|[email protected]|)
538 % \item David Kastrup (|[email protected]|)
539 % \item Jerry Leichter (|[email protected]|)
540 % \item P.~W.~Daly (|[email protected]|)
541 % \item David Carlisle (|[email protected]|)
542 % \item Edward Sznyter (|[email protected]|)
543 % \end{list}
544 %
545 % \section{Sending a Bug Report}
546 % The \textsf{aiaa} distribution is highly likely to contain
547 % bugs. Reports of bugs in the package are most welcome.
548 % However, I consider this to be a minimally ``supported'' package.
549 % I will do what I can, when I can---promising nothing.
550 % Before filing a bug report, please take the following actions:
551 % \begin{enumerate}
552 % \item Ensure your problem is not due to your own input file(s)
553 % styles sheet(s), or package(s);
554 % \item Ensure your problem is not covered in the section
555 % ``Known Problems'' above;
556 % \item Try to isolate the problem by writing a {\it minimal}
557 % \LaTeX{} input file which reproduces the unexpected behavior.
558 % Include the command\\
559 % | \setcounter{errorcontextlines}{50}|\\
560 % in your input to provide extra context when things go awry;
561 % \item Run your file through \LaTeX{};
562 % \item Send a description of your problem, the input file
563 % and the log file via e-mail to: \texttt{[email protected]}.
564 % \end{enumerate}
565 % I am not in the business of answering generic \TeX{}/\LaTeX{}
566 % questions; so if your problem appears to be such, I will
567 % let you know.\bigskip
568 %
569 % \noindent{\itshape Enjoy(?) the everpresent deadline and enjoy your
570 % \LaTeX!\raisebox{-\baselineskip}{---bil}}
571 %
572 % \begin{thebibliography}{1}
573 %
574 % \bibitem{companion}
575 % Michel Goossens, Frank Mittelbach, and Alexander Samarin.
576 % \newblock{\em The {\LaTeX} Companion}.
577 % \newblock Addison-Wesley, Reading, Massachusetts, 1994.
578 %
579 % \bibitem{guide}
580 % Helmut Kopka and Patrick W. Daly.
581 % \newblock{\em A Guide to {\LaTeXe}: Document Prepartion for
582 % Beginners and Advanced Users}.
583 % \newblock 2nd ed.
584 % \newblock Addison-Wesley, Reading, Massachusetts, 1994.
585 %
586 % \bibitem{latex}
587 % Leslie Lamport.
588 % \newblock{\em {\LaTeX}: A Document Preparation System}.
589 % \newblock 2nd ed.
590 % \newblock Addison-Wesley, Reading, Massachusetts, 1994.
591 %
592 % \bibitem{dropping}
593 % Mats Dahlgren.
594 % \newblock \pkg{dropping}---A \LaTeX{} Macro for Dropping
595 % the First Character(s) of a Paragraph.
596 % \newblock June 1996. (version~0.1)
597 % \newblock Electronic Documentation.
598 %
599 % \bibitem{graphicx}
600 % David Carlisle.
601 % \newblock Packages in the `graphics' bundle.
602 % \newblock December 1995.
603 % \newblock Electronic Documentation.
604 %
605 % \bibitem{endfloat}
606 % James Darrell McCauley and Jeff Goldberg.
607 % \newblock The \texttt{endfloat} Package.
608 % \newblock October 1995. (version~2.4i)
609 % \newblock Electronic Documentation.
610 %
611 % \end{thebibliography}
612 %
613 % \StopEventually{\PrintChanges}
614 %
615 % \newpage
616 %
617 % \section{The Documentation}
618 %
619 % The following contains the documentation driver for this user manual.
620 % \begin{macrocode}
621 %<*driver>
622 \documentclass{ltxdoc}
623 \setlength\hfuzz{2pt}% reduce overfull warnings
624 \OnlyDescription % stop at \StopEventually comment to get everything
625 %\RecordChanges % display change information
626 \begin{document}
627 \DocInput{aiaa.dtx}
628 \end{document}
629 %</driver>
630 % \end{macrocode}
631 %
632 % \section{The Code}
633 %
634 % For the interested reader(s), following is a semi-documented
635 % of the class code, the 9pt style, bibliographic style file, and
636 % the endfloat configuration. These detailed coding bits
637 % are not included in the Users' Manual by default, if you really
638 % want to see these in typeset form, you need to comment out the
639 % |\OnlyDescription| line in the |<driver>| section of this file
640 % \file{aiaa.dtx}.
641 % If you feel the need to
642 % modify things, simply cut the section you want to change
643 % and save it to a file named \file{mymods.sty}. Then modify
644 % the code in \file{mymods.sty} to suit your needs and include
645 % it in your document via |\usepackage{mymods}| in the
646 % preamble.
647 %
648 % \subsection{The class code}
649 %
650 % The underlying logic is supposed to look like:\footnote{Picture
651 % environment flowchart generated by flow 0.99b.}\\[1pt]
652 %
653 % \setlength\unitlength{1.8em}
654 % \thicklines
655 % \begin{picture}(16.000000,20.000000)(-1.000000,-20.000000)
656 % \put(1.0000,-0.5000){\oval(2.0000,1.0000)}
657 % \put(0.0000,-1.0000){\makebox(2.0000,1.0000)[c]{\shortstack[c]{
658 % begin
659 % }}}
660 % \put(1.0000,-1.0000){\vector(0,-1){1.0000}}
661 % \put(-1.0000,-4.0000){\framebox(4.0000,2.0000)[c]{\shortstack[c]{
662 % code common\\
663 % to all options
664 % }}}
665 % \put(1.0000,-4.0000){\vector(0,-1){1.0000}}
666 % \put(-0.5000,-6.5000){\line(1,1){1.5000}}
667 % \put(-0.5000,-6.5000){\line(1,-1){1.5000}}
668 % \put(2.5000,-6.5000){\line(-1,-1){1.5000}}
669 % \put(2.5000,-6.5000){\line(-1,1){1.5000}}
670 % \put(-0.5000,-8.0000){\makebox(3.0000,3.0000)[c]{\shortstack[c]{
671 % \texttt{submit}?
672 % }}}
673 % \put(2.5000,-6.0500){\makebox(0,0)[lt]{No}}
674 % \put(1.4500,-8.0000){\makebox(0,0)[lb]{Yes}}
675 % \put(1.0000,-8.0000){\vector(0,-1){1.0000}}
676 % \put(0.0000,-11.0000){\framebox(2.0000,2.0000)[c]{\shortstack[c]{
677 % \texttt{submit}\\
678 % code
679 % }}}
680 % \put(1.0000,-11.0000){\vector(0,-1){1.0000}}
681 % \put(1.0000,-12.5000){\oval(2.0000,1.0000)}
682 % \put(0.0000,-13.0000){\makebox(2.0000,1.0000)[c]{\shortstack[c]{
683 % done
684 % }}}
685 % \put(2.5000,-6.5000){\vector(1,0){1.0000}}
686 % \put(3.5000,-7.5000){\framebox(5.0000,2.0000)[c]{\shortstack[c]{
687 % \texttt{paper}/\texttt{article}\\
688 % /\texttt{note} code
689 % }}}
690 % \put(6.0000,-7.5000){\vector(0,-1){1.0000}}
691 % \put(4.5000,-10.0000){\line(1,1){1.5000}}
692 % \put(4.5000,-10.0000){\line(1,-1){1.5000}}
693 % \put(7.5000,-10.0000){\line(-1,-1){1.5000}}
694 % \put(7.5000,-10.0000){\line(-1,1){1.5000}}
695 % \put(4.5000,-11.5000){\makebox(3.0000,3.0000)[c]{\shortstack[c]{
696 % \texttt{paper}?
697 % }}}
698 % \put(7.5000,-9.5500){\makebox(0,0)[lt]{No}}
699 % \put(6.4500,-11.5000){\makebox(0,0)[lb]{Yes}}
700 % \put(7.5000,-10.0000){\vector(1,0){1.0000}}
701 % \put(8.5000,-11.0000){\framebox(4.0000,2.0000)[c]{\shortstack[c]{
702 % \texttt{article} or\\
703 % \texttt{note} code
704 % }}}
705 % \put(10.5000,-11.0000){\vector(0,-1){1.0000}}
706 % \put(9.0000,-13.5000){\line(1,1){1.5000}}
707 % \put(9.0000,-13.5000){\line(1,-1){1.5000}}
708 % \put(12.0000,-13.5000){\line(-1,-1){1.5000}}
709 % \put(12.0000,-13.5000){\line(-1,1){1.5000}}
710 % \put(9.0000,-15.0000){\makebox(3.0000,3.0000)[c]{\shortstack[c]{
711 % \texttt{article}?
712 % }}}
713 % \put(12.0000,-13.0500){\makebox(0,0)[lt]{No}}
714 % \put(10.9500,-15.0000){\makebox(0,0)[lb]{Yes}}
715 % \put(12.0000,-13.5000){\vector(1,0){1.0000}}
716 % \put(13.0000,-14.5000){\framebox(2.0000,2.0000)[c]{\shortstack[c]{
717 % \texttt{note}\\
718 % code
719 % }}}
720 % \put(14.0000,-14.5000){\vector(0,-1){1.0000}}
721 % \put(14.0000,-16.0000){\oval(2.0000,1.0000)}
722 % \put(13.0000,-16.5000){\makebox(2.0000,1.0000)[c]{\shortstack[c]{
723 % done
724 % }}}
725 % \put(10.5000,-15.0000){\vector(0,-1){1.0000}}
726 % \put(9.0000,-18.0000){\framebox(3.0000,2.0000)[c]{\shortstack[c]{
727 % \texttt{article}\\
728 % code
729 % }}}
730 % \put(10.5000,-18.0000){\vector(0,-1){1.0000}}
731 % \put(10.5000,-19.5000){\oval(2.0000,1.0000)}
732 % \put(9.5000,-20.0000){\makebox(2.0000,1.0000)[c]{\shortstack[c]{
733 % done
734 % }}}
735 % \put(6.0000,-11.5000){\vector(0,-1){1.0000}}
736 % \put(5.0000,-14.5000){\framebox(2.0000,2.0000)[c]{\shortstack[c]{
737 % \texttt{paper}\\
738 % code
739 % }}}
740 % \put(6.0000,-14.5000){\vector(0,-1){1.0000}}
741 % \put(6.0000,-16.0000){\oval(2.0000,1.0000)}
742 % \put(5.0000,-16.5000){\makebox(2.0000,1.0000)[c]{\shortstack[c]{
743 % done
744 % }}}
745 % \end{picture}\\
746 % This does not mean the code as a whole is organized according
747 % to this; but, rather this is the case for each
748 % macro/environment defined.
749 %
750 % First, the package is to identify itself:
751 % \begin{macrocode}
752 %
753 %<*class>
754 %
755 \NeedsTeXFormat{LaTeX2e}[1994/06/01]
756 \ProvidesClass{aiaa}[1999/02/22 v2.4 AIAA document class]
757 % \end{macrocode}
758 % Flags
759 % \begin{macrocode}
760 \newif\if@submit
761 \newif\if@paper
762 \newif\if@article
763 \newif\if@note
764 \newif\if@cover
765 % \end{macrocode}
766 % Default settings
767 % \begin{macrocode}
768 \@submitfalse
769 \@papertrue
770 \@articlefalse
771 \@notefalse
772 \@coverfalse
773 % \end{macrocode}
774 % declaration of options
775 % Note that options will be processed in order of the |\DeclareOption|
776 % commands in this file, so since we want submit to take precedence
777 % over all the other options, we process it last. Note also that
778 % all flags are reset with each option, so that they are
779 % independent of the defaults.
780 % \begin{macrocode}
781 \DeclareOption{note}{\@notetrue\@articlefalse\@submitfalse\@paperfalse}
782 \DeclareOption{article}{\@articletrue\@notefalse\@paperfalse\@submitfalse}
783 \DeclareOption{paper}{\@papertrue\@articlefalse\@notefalse\@submitfalse}
784 \DeclareOption{submit}{\@submittrue\@paperfalse\@articlefalse}
785 \DeclareOption{cover}{\@covertrue}
786 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}%
787 \typeout{NOTE: Passing ``\CurrentOption" option on to the
788 standard LaTeX article class}}
789 % \end{macrocode}
790 % actually process the options
791 % \begin{macrocode}
792 \ProcessOptions
793 \typeout{}
794 \if@submit%
795 \typeout{NOTE: aiaa journal submission mode
796 - all other aiaa options ignored}
797 \else% paper, article, or note
798 \if@paper%
799 \typeout{TYPESETTING in AIAA conference PAPER format ...}
800 \else% article or note
801 \if@article%
802 \typeout{TYPESETTING in AIAA journal ARTICLE simulation format ...}
803 \else% note
804 \typeout{TYPESETTING in AIAA journal NOTE simulation ...}
805 \fi
806 \fi
807 \fi
808 \typeout{}
809 % \end{macrocode}
810 % load the \LaTeX{} standard article class with |twoside| and
811 % |twocolumn| for all but the submit option. For a journal article
812 % or note, also load the aiaa9pt package.
813 % \begin{macrocode}
814 \if@submit%
815 \LoadClass[12pt]{article}%
816 \RequirePackage[noheads,tablesfirst,nomarkers]{endfloat}%
817 \RequirePackage{setspace}%
818 \RequirePackage{lastpage}%
819 \else% paper, article or note
820 \LoadClass[twoside,twocolumn]{article}%
821 \RequirePackage[dvips]{dropping}% dvips set to make compatible with pdflatex
822 \RequirePackage{lastpage}%
823 \if@paper%
824 \relax%
825 \else% article or note
826 \RequirePackage{aiaa9pt}%
827 \fi%
828 \fi
829 % \end{macrocode}
830 % packages used by this class for all options
831 % \begin{macrocode}
832 \RequirePackage{graphicx}
833 \RequirePackage{overcite}
834 \RequirePackage{caption2}
835 \RequirePackage{fancyhdr}
836 \RequirePackage{subfigure}[1995/03/06]
837 %\RequirePackage[bf]{subfigure}[199!/??/??] % when new version comes out
838 % \end{macrocode}
839 %
840 % main code
841 %
842 % page sizes:
843 % \begin{macrocode}
844 \if@submit
845 \setlength{\topmargin}{-0.25in}
846 \setlength{\headsep}{9.5pt}
847 \setlength{\textheight}{9in}
848 \setlength{\textwidth}{6.5in}
849 \setlength{\oddsidemargin}{0.0in}
850 \AtBeginDocument{\onehalfspacing}% turn on `doublespacing'
851 \else% paper, article, or note
852 \setlength{\topmargin}{-0.75in}
853 \if@paper
854 \setlength{\headsep}{9.5pt}
855 \setlength{\textheight}{9.5in}
856 \setlength{\textwidth}{6.75in}
857 \setlength{\columnsep}{0.25in}
858 \setlength{\footskip}{0.25in}
859 \else% article or note
860 \setlength{\topmargin}{-0.75in}
861 \setlength{\headsep}{10pt}
862 \setlength{\footskip}{16pt}
863 \setlength{\textheight}{10in}
864 \setlength{\textwidth}{7in}
865 \setlength{\columnsep}{0.375in}
866 \setlength{\oddsidemargin}{-0.25in}
867 \renewcommand{\baselinestretch}{0.9}
868 \fi
869 \setlength{\evensidemargin}{\oddsidemargin}
870 \fi
871 % \end{macrocode}
872 %
873 % \begin{macro}{\SubmitName}
874 % \begin{macro}{\PaperNumber}
875 % \begin{macro}{\ArticleHeader}
876 % \begin{macro}{\ArticleIssue}
877 % \begin{macro}{\JournalName}
878 % \begin{macro}{\JournalIssue}
879 % \begin{macro}{\JournalPage}
880 % \begin{macro}{\NoteHeader}
881 % various macros
882 % \begin{macrocode}
883 \newcommand*{\SubmitName}[1]%
884 {\def\AA@submitname{#1}}
885 \newcommand*{\PaperNumber}[1]%
886 {\def\AA@papernumber{#1}}
887 \newcommand*{\ArticleHeader}[1]%
888 {\def\AA@articleheader{#1}}
889 \newcommand*{\ArticleIssue}[1]%
890 {\def\AA@articleissue{#1}}
891 \newcommand*{\JournalName}[1]%
892 {\def\AA@journalname{#1}}
893 \newcommand*{\JournalIssue}[1]%
894 {\def\AA@journalissue{#1}}
895 \newcounter{AA@journalpage}
896 \newcommand*{\JournalPage}[1]%
897 {\setcounter{AA@journalpage}{#1}}
898 \newcommand*{\NoteHeader}[1]%
899 {\def\AA@noteheader{#1}}
900 % \end{macrocode}
901 % \end{macro}
902 % \end{macro}
903 % \end{macro}
904 % \end{macro}
905 % \end{macro}
906 % \end{macro}
907 % \end{macro}
908 % \end{macro}
909 % initialize them
910 % \begin{macrocode}
911 \SubmitName{}
912 \PaperNumber{}
913 \ArticleHeader{}
914 \ArticleIssue{}
915 \JournalName{}
916 \JournalIssue{}
917 \NoteHeader{}
918 \setcounter{AA@journalpage}{1}
919 % \end{macrocode}
920 % fancy headers/footers:
921 % \begin{macrocode}
922 \pagestyle{fancy}% note: must be issued after any \textwidth command
923 \renewcommand{\headrulewidth}{0pt}
924 \renewcommand{\footrulewidth}{0pt}
925 \fancyhf{} % clear all footers and headers
926 \if@submit
927 \rfoot{\footnotesize\scshape\thepage\ of \pageref{LastPage}}
928 \lfoot{\footnotesize\scshape\AA@submitname}
929 \else% paper, article, or note
930 \if@paper
931 \cfoot{\footnotesize\scshape\thepage\ of \pageref{LastPage}
932 \ifx\AA@papernumber\@empty\relax\else\\
933 \rule[.2\baselineskip]{0.5in}{0.2pt}\\
934 American Institute of Aeronautics
935 and Astronautics Paper \AA@papernumber\fi}
936 \else% article or note
937 \if@article
938 \chead{\footnotesize\scshape\MakeUppercase{\AA@articleheader}}
939 \fancyhead[RO,LE]{\footnotesize\thepage}
940 \fancypagestyle{plain}{%
941 \fancyhf{}
942 \lhead{\ifx\AA@journalname\@empty\relax\else
943 \footnotesize{\scshape\AA@journalname}\\
944 \AA@articleissue\fi}
945 \cfoot{\footnotesize\thepage}}
946 \else% note
947 \chead[\footnotesize\scshape\AA@noteheader]%
948 {\footnotesize\scshape\AA@noteheader}
949 \rhead[]{\footnotesize \thepage}
950 \lhead[\footnotesize \thepage]{}
951 \fi
952 \fi
953 \fi
954 % \end{macrocode}
955 % \begin{macro}{\abstract}
956 % Redefine the |\abstract| command and load the date with nothing
957 % \begin{macrocode}
958 \renewcommand{\abstract}[1]%
959 {\def\@abstract{#1}}
960 \abstract{}
961 \let\@date\@empty
962 % \end{macrocode}
963 % \end{macro}
964 %
965 % \begin{macro}{\dropword}
966 % macro to drop first letter of word and capitalize the remaining
967 % portion, thanks to jeroen nijhof |<[email protected]>|
968 %
969 % use:\\
970 % | \dropword| word with rest of sentence or newline or whatever...
971 % \begin{macrocode}
972 \if@submit%
973 \def\dropword{}
974 \else
975 \def\dropword#1#2 {\dropping{2}{\bfseries{} #1}\MakeUppercase{#2} }% spaces important!
976 \fi
977 % \end{macrocode}
978 % \end{macro}
979 %
980 % increase penalty (x10) for consecutive lines ending in hyphens:
981 % \begin{macrocode}
982 \doublehyphendemerits=100000
983 % \end{macrocode}
984 % ignore small line overfull errors:
985 % \begin{macrocode}
986 \setlength\hfuzz{3pt}% reduce the quantity of overfull warnings
987 % \end{macrocode}
988 %
989 % \begin{macro}{\makecover}
990 % \begin{macro}{\Conference}
991 % The command |\makecover| is used to make a cover for a
992 % AIAA conference paper or a simulated journal reprint.
993 % It is only active when the |submit| option is not in effect
994 % The |\makenotice| command is used to create the footnote
995 % containing copyright and other information about the document.
996 % The commands |\makecover| and |\makenotice| are internally
997 % called by the |\maketitle| command and are constructed
998 % similarly to the |\maketitle| command, in that |\makecover| uses
999 % information supplied by the commands described in the previous
1000 % section, and |\makenotice| incorporates one of the appropriate
1001 % |\_____Notice| commands.
1002 % \begin{macrocode}
1003 \newcommand{\Conference}[1]{\def\AA@conference{#1}}
1004 \Conference{}
1005 \newcommand{\CoverFigure}[1]{\def\AA@coverfigure{#1}}
1006 \CoverFigure{}
1007 \if@submit%
1008 \newcommand{\makecover}{}
1009 \else% paper, article, or note
1010 \newcommand{\makecover}{%
1011 \begin{titlepage}
1012 \let\AA@sfdefault\sfdefault% save normal fonts
1013 \let\AA@rmdefault\rmdefault
1014 \let\AA@ttdefault\ttdefault
1015 \renewcommand{\sfdefault}{phv}% change to new fonts
1016 \renewcommand{\rmdefault}{ptm}
1017 \renewcommand{\ttdefault}{pcr}
1018 \enlargethispage{1in}
1019 \setcounter{page}{0}
1020 \renewcommand\thanks[1]{}% locally kill the \thanks{} command
1021 \renewcommand\thanksibid[1]{}% kill the ibid version too
1022 \setlength{\unitlength}{1in}% unit of measure for the picture
1023 \begin{picture}(7.5,9)(0.45,0.495)% start a 7-1/2'' x 9'' picture:
1024 \if@paper%
1025 \linethickness{4pt}
1026 \put(0,0){\framebox(7.45,8.95){}}% make a framed box accounting
1027 % for line thickness
1028 \linethickness{0.5pt}
1029 \renewcommand{\and}{\relax}
1030 \put(-0.07,8.7){\incfig[width=3in]{aiaalgo}}% aiaa logo at top left
1031 \put(1.2,8.0)% paper number, title, author/location
1032 {\makebox(0,0)[tl]{\parbox{5in}
1033 {\raggedright\sffamily\bfseries
1034 \Huge AIAA \AA@papernumber% paper number
1035 \\[5pt]
1036 \huge\@title% title
1037 \\[5pt]
1038 \Large\mdseries\@author}}}% author/location
1039 \ifx\AA@coverfigure\@empty% optional figure
1040 \relax
1041 \else
1042 \put(3.725,1.7){\makebox(0,0)[b]{%
1043 \includegraphics[width=5in,height=4in]%
1044 {\AA@coverfigure}}}%
1045 \fi
1046 \put(3.725,0.05){\makebox(0,0)[b]{\parbox{7.45in}% meeting, location, and date
1047 {\centering\Huge\bfseries\sffamily%
1048 \AA@conference}}}
1049 \put(-0.055,-0.36){\parbox[t]{7.5in}% notice
1050 {\normalsize\sffamily\bfseries
1051 For permission to copy or republish, contact the
1052 American Institute of Aeronautics and Astronautics\\
1053 1801 Alexander Bell Drive, Suite 500, Reston, VA 20191--4344}}
1054 \else% article, or note
1055 \put(0.7,7.75)% title and authors
1056 {\makebox(0,0)[tl]{\parbox{6.5in}
1057 {\raggedright\sffamily\bfseries
1058 \huge\@title%
1059 \\[5pt]
1060 \Large\mdseries\@author}}}
1061 \ifx\AA@journalname\@empty\relax\else
1062 \put(0.7,1.9){\makebox(0,0)[tl]{\parbox{7.5in}% journal/issue
1063 {\raggedright\bfseries\sffamily
1064 Simulated Reprint for\\
1065 \Huge%
1066 \AA@journalname\\
1067 \small\mdseries
1068 \ifx\AA@journalissue\@empty%
1069 \relax
1070 \else%
1071 \AA@journalissue,
1072 \fi
1073 Pages \theAA@journalpage--\pageref{LastPage}}}}\fi
1074 \put(0.5,0.45){\incfig[width=1in]{aiaalgo}}% aiaa logo at bottom left
1075 \put(0.7,0.3)% notice
1076 {\makebox(0,0)[tl]{\parbox{6.5in}
1077 {\sffamily
1078 \slshape A publication of the\\
1079 \upshape American Institute of Aeronautics and Astronautics, Inc.\\
1080 1801 Alexander Bell Drive, Suite 500\\
1081 Reston, VA 20191--4344}}}
1082 \fi
1083 \end{picture}
1084 \renewcommand\sfdefault{\AA@sfdefault}
1085 \renewcommand\rmdefault{\AA@rmdefault}
1086 \renewcommand\ttdefault{\AA@ttdefault}
1087 \end{titlepage}}
1088 \fi
1089 % \end{macrocode}
1090 % \end{macro}
1091 % \end{macro}
1092 %
1093 % \begin{macro}{\PaperNotice}
1094 % \begin{macro}{\JournalNotice}
1095 % \begin{macro}{\makenotice}
1096 % the footnote notice maker
1097 % \begin{macrocode}
1098 \newcommand{\PaperNotice}[1]{\def\AA@papernotice{\scriptsize #1}}
1099 \PaperNotice{}
1100 \newcommand{\JournalNotice}[1]{\def\AA@journalnotice{\scriptsize #1}}
1101 \JournalNotice{}
1102 \if@submit%
1103 \newcommand\makenotice{}%
1104 \else% paper, article, or note
1105 \newcommand\makenotice{%
1106 \begingroup
1107 \renewcommand\thefootnote{}
1108 \if@paper%
1109 \ifx\AA@papernotice\@empty\else\footnotetext{\AA@papernotice}\fi
1110 \else% article or note
1111 \ifx\AA@journalnotice\@empty\else\footnotetext{\AA@journalnotice}\fi
1112 \fi%
1113 \endgroup
1114 % \renewcommand{\thefootnote}{\arabic{footnote}}%
1115 }
1116 \fi
1117 % \end{macrocode}
1118 % \end{macro}
1119 % \end{macro}
1120 % \end{macro}
1121 % \begin{macro}{\CopyrightA}
1122 % \begin{macro}{\CopyrightB}
1123 % \begin{macro}{\CopyrightC}
1124 % \begin{macro}{\CopyrightD}
1125 % load copyright commands
1126 % \begin{macrocode}
1127 \newcommand{\CopyrightA}[1]{Copyright \copyright\ #1 by the
1128 American Institute of Aeronautics and Astronautics, Inc. All
1129 rights reserved.}
1130 \newcommand{\CopyrightB}[2]{Copyright \copyright\ #1 by
1131 #2. Published by the American Institute of Aeronautics
1132 and Astronautics, Inc.\ with permission.}
1133 \newcommand{\CopyrightC}{This paper is a work of the U.S.
1134 Government and is not subject to copyright protection in the
1135 United States.}
1136 \newcommand{\CopyrightD}[1]{Copyright \copyright\ #1 by the
1137 American Institute of Aeronautics and Astronautics, Inc. No
1138 copyright is asserted in the United States under Title 17,
1139 U.S. Code. The U.S. Government has a royalty-free license to
1140 exercise all rights under the copyright claimed herein for
1141 Governmental Purposes. All other rights are reserved by the
1142 copyright owner.}
1143 % \end{macrocode}
1144 % \end{macro}
1145 % \end{macro}
1146 % \end{macro}
1147 % \end{macro}
1148 % modify float captions
1149 % \begin{macrocode}
1150 \if@submit
1151 \renewcommand\figurename{Figure}
1152 \renewcommand\captionlabeldelim{:\hspace{1em}}
1153 \else% paper, article, or note
1154 \renewcommand\figurename{Fig.}% change to the ugly, silly
1155 % abbreviatation as per aiaa---saves
1156 % all of two characters !?
1157 \renewcommand\captionlabeldelim{~~}
1158 \fi
1159 \renewcommand\captionfont{\small\bfseries}
1160 \renewcommand\p@subfigure{\thefigure(}
1161 \renewcommand\thesubfigure{\alph{subfigure})}
1162 \renewcommand\subcaplabelfont{\captionfont}
1163 \renewcommand{\subfigcapmargin}{2pt}
1164 \if@submit
1165 \relax
1166 \else
1167 \setlength{\abovecaptionskip}{ 6pt plus 2pt minus 2pt}
1168 \setlength{\belowcaptionskip}{ 3pt plus 1pt minus 1pt}% note good for tables!
1169 \renewcommand{\subfigcapskip}{.2\abovecaptionskip}% seem to
1170 \renewcommand{\subfigbottomskip}{.7\belowcaptionskip}% have no effect?
1171 \fi
1172 % \end{macrocode}
1173 % modify float spacing or, if we're submitting something,
1174 % the behavior of the |endfloat| package.
1175 % \begin{macrocode}
1176 \if@submit% modify endfloat behaviour
1177 \InputIfFileExists{aiaaenf.cfg}{\typeout{loading aiaaenf.cfg}}%
1178 {\typeout{WARNING: endfloat behavior will not
1179 be as advertised since aiaaenf.cfg
1180 was not found.}}
1181 \else% modify float spacing
1182 \renewcommand{\topfraction}{0.9}
1183 \renewcommand{\bottomfraction}{0.9}
1184 \renewcommand{\textfraction}{0.1}
1185 \renewcommand{\floatpagefraction}{0.8}% 0.5 is the default
1186 \renewcommand{\dbltopfraction}{\floatpagefraction}
1187 \renewcommand{\dblfloatpagefraction}{\floatpagefraction}
1188 \setcounter{topnumber}{10}
1189 \setcounter{dbltopnumber}{\value{topnumber}}
1190 \setcounter{bottomnumber}{\value{topnumber}}
1191 \setcounter{totalnumber}{\value{topnumber}}
1192 \addtocounter{totalnumber}{\value{bottomnumber}}
1193 \setlength{\floatsep} { 5pt plus 2pt minus 2pt}
1194 \setlength{\textfloatsep} { 5pt plus 2pt minus 3pt}
1195 \setlength{\intextsep} { 5pt plus 2pt minus 2pt}
1196 \setlength{\dblfloatsep} {\floatsep}
1197 \setlength{\dbltextfloatsep} {\textfloatsep}
1198 \fi
1199 % \end{macrocode}
1200 % modifying bibliography output
1201 % \begin{macrocode}
1202 \renewcommand{\@biblabel}[1]{$^{#1}$}
1203 \renewenvironment{thebibliography}[1]%
1204 {\section*{\refname\@mkboth{\MakeUppercase\refname}%
1205 {\MakeUppercase\refname}}%
1206 \list{\@biblabel{\@arabic\c@enumiv}}%
1207 {\setlength{\leftmargin}{0pt}%
1208 \settowidth{\labelwidth}{\@biblabel{#1}}%
1209 \setlength{\itemindent}{\parindent}%
1210 \advance\itemindent by \labelwidth%
1211 \setlength{\labelsep}{0.0em}%
1212 \setlength{\itemsep}{-\smallskipamount}%
1213 \@openbib@code%
1214 \usecounter{enumiv}%
1215 \let\p@enumiv\@empty%
1216 \renewcommand\theenumiv{\@arabic\c@enumiv}%
1217 \if@submit%
1218 \normalsize%
1219 \else%
1220 \footnotesize%
1221 \fi}
1222 \sloppy\clubpenalty4000\widowpenalty4000%
1223 \sfcode`\.\@m}
1224 {\def\@noitemerr
1225 {\@latex@warning{Empty `thebibliography' environment}}%
1226 \endlist}
1227 % \end{macrocode}
1228 %
1229 % \begin{macro}{\thanksibid}
1230 % Define a command that is used in conjunction with the
1231 % |\thanks| command. It is used for the special case
1232 % where the argument of the |\thanks| for one author is
1233 % the same as another.\footnote{Hence, the use of the latin {\it ibid},
1234 % short for {\it ibidem}, meaning the same as.}
1235 % \begin{macrocode}
1236 \newcounter{ibid}
1237 \newcounter{tempcnt}
1238 \newcommand{\thanksibid}[1]{%
1239 \begingroup
1240 \setcounter{tempcnt}{\value{footnote}}%
1241 \setcounter{ibid}{#1}%
1242 \def\thefootnote{\fnsymbol{ibid}}%
1243 \footnotemark%
1244 \setcounter{footnote}{\value{tempcnt}}%
1245 \endgroup
1246 }
1247 % \end{macrocode}
1248 % \end{macro}
1249 %
1250 % \begin{macro}{\incfig}
1251 % define command that picks-up the current line width
1252 % for automatic figure sizing
1253 % \begin{macrocode}
1254 \newcommand{\incfig}{\centering\includegraphics}
1255 \setkeys{Gin}{width=\linewidth,keepaspectratio}
1256 \if@submit%
1257 \setkeys{Gin}{totalheight=0.35\textheight}
1258 \else% paper, article, or note
1259 \relax
1260 \fi
1261 % \end{macrocode}
1262 % \end{macro}
1263 %
1264 % \begin{environment}{subfigmatrix}
1265 % Define command that makes subfigure `tables'.
1266 %
1267 % \begin{macrocode}
1268 % 27 Feb 1997 Steven Douglas Cochran - Created.
1269 % 28 Feb 1997 Bil Kleb - modified to not use minipages
1270 % Define and initialize the internal variables.
1271 %
1272 \newlength{\sfm@width}% Subfigure width
1273 \newlength{\sfm@colsep}% Subfigure column separation
1274 \setlength{\sfm@colsep}{2\tabcolsep}% Use twice tabular column separation
1275 \newcounter{sfm@count}% Item count
1276 \newenvironment{subfigmatrix}[1]{%
1277 \begingroup%
1278 \centering%
1279 \vspace*{-\subfigtopskip}% remove the vertical spacing inserted
1280 % by the subfigure package
1281 %
1282 % Save the "real" subfigure macro and start the item counter off
1283 % at -1 to detect the first item.
1284 % Set the \sfm@width to the single element size.
1285 %
1286 \let\sfm@subfigure\subfigure%
1287 \setcounter{sfm@count}{-1}%
1288 \setlength{\sfm@width}{\linewidth}%
1289 \addtolength{\sfm@width}{\sfm@colsep}%
1290 \addtolength{\sfm@width}{-#1\sfm@colsep}%
1291 \divide\sfm@width by#1
1292 \setkeys{Gin}{width=\sfm@width,keepaspectratio}%
1293 %
1294 % Redefine the \subfigure and \subtable macros locally to this
1295 % environment so that we can wrap them with minipages.
1296 %
1297 \def\subfigure{% try the transpose
1298 \ifnum \value{sfm@count} = -1
1299 % very first item
1300 \setcounter{sfm@count}{1}%
1301 \else% Not very first item
1302 \addtocounter{sfm@count}{1}%
1303 \ifnum \value{sfm@count} = 1
1304 % Beginning of next column, finish the last column.
1305 \\%
1306 \else%
1307 % middle or last item
1308 \hfill%
1309 \ifnum #1 = \value{sfm@count}%
1310 % Reset the counter of at the end of the row.
1311 \setcounter{sfm@count}{0}%
1312 \fi%
1313 \fi%
1314 \fi%
1315 \sfm@subfigure}%
1316 \let\subtable\subfigure%
1317 }{%
1318 \\%
1319 \endgroup}%
1320 % \end{macrocode}
1321 % \end{environment}
1322 %
1323 % \begin{macro}{\maketitle}
1324 % change maketitle behavior to preserve twocolumn mode for
1325 % journal note, to create a cover page if appropriate, and make
1326 % the copyright-style notices about the document.
1327 % \begin{macrocode}
1328 \if@paper
1329 \renewcommand{\and}{\\[-.9\baselineskip]}
1330 \else
1331 \renewcommand{\and}{\\*[-8pt]}
1332 \fi
1333 \renewcommand{\maketitle}{%
1334 \if@cover
1335 \makecover
1336 \else
1337 \relax
1338 \fi
1339 \par
1340 \begingroup
1341 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
1342 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
1343 \long\def\@makefntext##1{\parindent 1em\noindent
1344 \hb@[email protected]{%
1345 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
1346 \global\@topnum\z@ % Prevents figures from going at top of page.
1347 \if@submit%
1348 \@maketitle%
1349 \else% paper, article, or note
1350 \if@note%
1351 \@maketitle%
1352 \else% paper article -- should already be in twocolumn mode
1353 \ifnum \col@number=\@ne% if in column one, good:
1354 \@maketitle
1355 \else% not in column one, so start new page:
1356 \twocolumn[\@maketitle]
1357 \fi
1358 \if@article%
1359 \thispagestyle{plain}
1360 \fi
1361 \fi
1362 \fi
1363 \@thanks
1364 \endgroup
1365 \suppressfloats
1366 \setcounter{footnote}{0}%
1367 \if@submit% submission
1368 \relax
1369 \else% paper, article, or note:
1370 \if@paper
1371 \relax
1372 \else% article or note:
1373 \setcounter{page}{\theAA@journalpage}
1374 \fi
1375 \fi
1376 \makenotice
1377 \global\let\maketitle\relax
1378 \global\let\@maketitle\relax
1379 \global\let\@abstract\@empty
1380 \global\let\@thanks\@empty
1381 \global\let\thanks\relax
1382 \global\let\@author\@empty
1383 \global\let\author\relax
1384 \global\let\@title\@empty
1385 \global\let\title\relax
1386 \global\let\@date\@empty
1387 \global\let\abstract\relax
1388 \global\let\date\relax
1389 }
1390 % \end{macrocode}
1391 % \end{macro}
1392 % \begin{macro}{\@maketitle}
1393 % modify the fonts used for the title, etc
1394 % \begin{macrocode}
1395 \def\@maketitle{%
1396 \newpage
1397 \begin{center}%
1398 \let \footnote \thanks
1399 {\huge\bf \@title \par}%
1400 \vskip 1.5em%
1401 {\lineskip .5em%
1402 \large%
1403 \begin{tabular}[t]{c}%
1404 \@author
1405 \end{tabular}\par}%
1406 \vskip 1em%
1407 \if@submit
1408 \relax
1409 \else% paper, article, or note
1410 \if@note
1411 \relax
1412 \else% paper or article
1413 \newenvironment{AA@abstract}
1414 {\list{}{\listparindent 1.5em%
1415 \itemindent \listparindent
1416 \leftmargin 0.75in%
1417 \rightmargin \leftmargin
1418 \parsep \z@ \@plus \p@}%
1419 \item\relax}
1420 {\endlist}
1421 \ifx\@abstract\@empty
1422 \relax
1423 \else
1424 \begin{AA@abstract}
1425 \footnotesize\textbf\@abstract
1426 \end{AA@abstract}
1427 \fi
1428 \fi
1429 \fi
1430 \end{center}%
1431 \if@submit%
1432 \ifx\@abstract\@empty
1433 \relax
1434 \else%
1435 \section{Abstract} \@abstract%
1436 \fi
1437 \else% paper, article, or note
1438 \par%
1439 \if@note%
1440 \vskip -\medskipamount%
1441 \else%
1442 \vskip 1em%
1443 \fi%
1444 \fi%
1445 }
1446 % \end{macrocode}
1447 % \end{macro}
1448 % modify the section headers
1449 % \begin{macrocode}
1450 \setcounter{secnumdepth}{-2}% instead of having to use the *'d
1451 % section commands
1452 % \end{macrocode}
1453 % \begin{macro}{\section}
1454 % \begin{macrocode}
1455 \renewcommand\section{\@startsection
1456 {section}% % section name
1457 {1}% % level
1458 {\z@}% % indentation of heading
1459 {1.8ex}% % before skip (neg, no parindent)
1460 {0.5ex}% % after skip (neg, run-on heading space)
1461 {\normalfont\center\large\bfseries}}
1462 % \end{macrocode}
1463 % \end{macro}
1464 % \begin{macro}{\subsection}
1465 % \begin{macrocode}
1466 \renewcommand\subsection{\@startsection{subsection}{2}%
1467 {\z@}%
1468 {1.5ex}%
1469 {0.5ex}%
1470 {\normalfont\small\bfseries\raggedright}}
1471 % \end{macrocode}
1472 % \end{macro}
1473 % \begin{macro}{\subsubsection}
1474 % \begin{macrocode}
1475 \renewcommand\subsubsection{\@startsection{subsubsection}{3}%
1476 {\z@}%
1477 {1.5ex}%
1478 {0.5ex}%
1479 {\normalfont\normalsize\itshape\raggedright}}
1480 % \end{macrocode}
1481 % \end{macro}
1482 % \begin{macro}{\paragraph}
1483 % \begin{macrocode}
1484 \renewcommand\paragraph{\@startsection{paragraph}{4}%
1485 {\parindent}%
1486 {0.3ex}%
1487 {-1em}%
1488 {\normalfont\normalsize\sffamily}}
1489 % \end{macrocode}
1490 % \end{macro}
1491 % \begin{macro}{\subparagraph}
1492 % \begin{macrocode}
1493 \renewcommand\subparagraph{\@startsection{subparagraph}{5}%
1494 {\parindent}%
1495 {0.3ex}%
1496 {-1em}%
1497 {\normalfont\normalsize\itshape}}
1498 % \end{macrocode}
1499 % \end{macro}
1500 % list files used during job:
1501 % \begin{macrocode}
1502 \listfiles
1503 %
1504 %</class>
1505 %
1506 % \end{macrocode}
1507 %
1508 % This brings us to the end of \cls{aiaa.cls}.
1509 %
1510 % \subsection{The 9pt style file}
1511 %
1512 % This is the package \pkg{aiaa9pt.sty}, it provides 9pt font settings
1513 % for simulation of journal articles/notes. It is essentially
1514 % a hack of size10.clo (a the standard \LaTeX{} class option).
1515 %
1516 % \begin{macrocode}
1517 %
1518 %<*style>
1519 %
1520 \ProvidesFile{aiaa9pt.sty}
1521 [1999/02/22 v2.4 AIAA style file (9pt option)]
1522 \renewcommand\normalsize{%
1523 \@setfontsize\normalsize\@ixpt\@xipt
1524 \abovedisplayskip 9\p@ \@plus2\p@ \@minus4\p@
1525 \abovedisplayshortskip \z@ \@plus3\p@
1526 \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
1527 \belowdisplayskip \abovedisplayskip
1528 \let\@listi\@listI}
1529 \normalsize
1530 \renewcommand\small{%
1531 \@setfontsize\small\@viiipt\@xpt%
1532 \abovedisplayskip 7\p@ \@plus2\p@ \@minus3\p@
1533 \abovedisplayshortskip \z@ \@plus2\p@
1534 \belowdisplayshortskip 3\p@ \@plus2\p@ \@minus2\p@
1535 \def\@listi{\leftmargin\leftmargini
1536 \topsep 3\p@ \@plus2\p@ \@minus2\p@
1537 \parsep \p@ \@plus\p@ \@minus\p@
1538 \itemsep \parsep}%
1539 \belowdisplayskip \abovedisplayskip
1540 }
1541 \renewcommand\footnotesize{%
1542 \@setfontsize\footnotesize\@viipt{8.3}%
1543 \abovedisplayskip 4\p@ \@plus2\p@ \@minus3\p@
1544 \abovedisplayshortskip \z@ \@plus\p@
1545 \belowdisplayshortskip 2\p@ \@plus\p@ \@minus\p@
1546 \def\@listi{\leftmargin\leftmargini
1547 \topsep 2\p@ \@plus\p@ \@minus\p@
1548 \parsep 2\p@ \@plus\p@ \@minus\p@
1549 \itemsep \parsep}%
1550 \belowdisplayskip \abovedisplayskip
1551 }
1552 \renewcommand\scriptsize{\@setfontsize\scriptsize\@vipt\@viipt}
1553 \renewcommand\tiny{\@setfontsize\tiny\@vpt\@vpt}
1554 \renewcommand\large{\@setfontsize\large\@xipt{13.6}}
1555 \renewcommand\Large{\@setfontsize\Large\@xivpt{18}}
1556 \renewcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
1557 \renewcommand\huge{\@setfontsize\huge\@xxpt{25}}
1558 \renewcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
1559 \if@twocolumn
1560 \setlength\parindent{1em}
1561 \else
1562 \setlength\parindent{13\p@}
1563 \fi
1564 \setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
1565 \setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
1566 \setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
1567 \setlength\headheight{12\p@}
1568 \setlength\headsep {25\p@}
1569 \setlength\topskip {9\p@}
1570 \setlength\footskip{30\p@}
1571 \setlength\maxdepth{.5\topskip}
1572 \setlength\@tempdima{\paperwidth}
1573 \addtolength\@tempdima{-2in}
1574 \setlength\@tempdimb{345\p@}
1575 \if@twocolumn
1576 \ifdim\@tempdima>2\@tempdimb\relax
1577 \setlength\textwidth{2\@tempdimb}
1578 \else
1579 \setlength\textwidth{\@tempdima}
1580 \fi
1581 \else
1582 \ifdim\@tempdima>\@tempdimb\relax
1583 \setlength\textwidth{\@tempdimb}
1584 \else
1585 \setlength\textwidth{\@tempdima}
1586 \fi
1587 \fi
1588 \@settopoint\textwidth
1589 \setlength\@tempdima{\paperheight}
1590 \addtolength\@tempdima{-2in}
1591 \addtolength\@tempdima{-1.5in}
1592 \divide\@tempdima\baselineskip
1593 \@tempcnta=\@tempdima
1594 \setlength\textheight{\@tempcnta\baselineskip}
1595 \addtolength\textheight{\topskip}
1596 \if@twocolumn
1597 \setlength\marginparsep {10\p@}
1598 \else
1599 \setlength\marginparsep{11\p@}
1600 \fi
1601 \setlength\marginparpush{5\p@}
1602 \if@twoside
1603 \setlength\@tempdima {\paperwidth}
1604 \addtolength\@tempdima {-\textwidth}
1605 \setlength\oddsidemargin {.4\@tempdima}
1606 \addtolength\oddsidemargin {-1in}
1607 \setlength\marginparwidth {.6\@tempdima}
1608 \addtolength\marginparwidth {-\marginparsep}
1609 \addtolength\marginparwidth {-0.4in}
1610 \else
1611 \setlength\@tempdima {\paperwidth}
1612 \addtolength\@tempdima {-\textwidth}
1613 \setlength\oddsidemargin {.5\@tempdima}
1614 \addtolength\oddsidemargin {-1in}
1615 \setlength\marginparwidth {.5\@tempdima}
1616 \addtolength\marginparwidth {-\marginparsep}
1617 \addtolength\marginparwidth {-0.4in}
1618 \addtolength\marginparwidth {-.4in}
1619 \fi
1620 \ifdim \marginparwidth >2in
1621 \setlength\marginparwidth{2in}
1622 \fi
1623 \@settopoint\oddsidemargin
1624 \@settopoint\marginparwidth
1625 \setlength\evensidemargin {\paperwidth}
1626 \addtolength\evensidemargin{-2in}
1627 \addtolength\evensidemargin{-\textwidth}
1628 \addtolength\evensidemargin{-\oddsidemargin}
1629 \@settopoint\evensidemargin
1630 \setlength\topmargin{\paperheight}
1631 \addtolength\topmargin{-2in}
1632 \addtolength\topmargin{-\headheight}
1633 \addtolength\topmargin{-\headsep}
1634 \addtolength\topmargin{-\textheight}
1635 \addtolength\topmargin{-\footskip} % this might be wrong!
1636 \addtolength\topmargin{-.5\topmargin}
1637 \@settopoint\topmargin
1638 \setlength\footnotesep{5.755\p@}
1639 \setlength{\skip\footins}{9.5\p@ \@plus 4\p@ \@minus 2\p@}
1640 \setlength\floatsep {12\p@ \@plus 2\p@ \@minus 2\p@}
1641 \setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
1642 \setlength\intextsep {12\p@ \@plus 2\p@ \@minus 2\p@}
1643 \setlength\dblfloatsep {12\p@ \@plus 2\p@ \@minus 2\p@}
1644 \setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
1645 \setlength\@fptop{0\p@ \@plus 1fil}
1646 \setlength\@fpsep{8\p@ \@plus 2fil}
1647 \setlength\@fpbot{0\p@ \@plus 1fil}
1648 \setlength\@dblfptop{0\p@ \@plus 1fil}
1649 \setlength\@dblfpsep{8\p@ \@plus 2fil}
1650 \setlength\@dblfpbot{0\p@ \@plus 1fil}
1651 \setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
1652 \def\@listi{\leftmargin\leftmargini
1653 \parsep 4\p@ \@plus2\p@ \@minus\p@
1654 \topsep 8\p@ \@plus2\p@ \@minus4\p@
1655 \itemsep4\p@ \@plus2\p@ \@minus\p@}
1656 \let\@listI\@listi
1657 \@listi
1658 \def\@listii {\leftmargin\leftmarginii
1659 \labelwidth\leftmarginii
1660 \advance\labelwidth-\labelsep
1661 \topsep 4\p@ \@plus2\p@ \@minus\p@
1662 \parsep 2\p@ \@plus\p@ \@minus\p@
1663 \itemsep \parsep}
1664 \def\@listiii{\leftmargin\leftmarginiii
1665 \labelwidth\leftmarginiii
1666 \advance\labelwidth-\labelsep
1667 \topsep 2\p@ \@plus\p@\@minus\p@
1668 \parsep \z@
1669 \partopsep \p@ \@plus\z@ \@minus\p@
1670 \itemsep \topsep}
1671 \def\@listiv {\leftmargin\leftmarginiv
1672 \labelwidth\leftmarginiv
1673 \advance\labelwidth-\labelsep}
1674 \def\@listv {\leftmargin\leftmarginv
1675 \labelwidth\leftmarginv
1676 \advance\labelwidth-\labelsep}
1677 \def\@listvi {\leftmargin\leftmarginvi
1678 \labelwidth\leftmarginvi
1679 \advance\labelwidth-\labelsep}
1680 %</style>
1681 %
1682 % \end{macrocode}
1683 %
1684 % This brings us to the end of \pkg{aiaa9pt.sty}.
1685 %
1686 % \subsection{AIAA Bibliographic Style File}
1687 %
1688 % \begin{macrocode}
1689 %
1690 %<*bibstyle>
1691 %
1692 % note: this file generated by p. daly's custom-bib software
1693 %
1694 ENTRY
1695 { address
1696 author
1697 booktitle
1698 chapter
1699 edition
1700 editor
1701 howpublished
1702 institution
1703 journal
1704 key
1705 month
1706 note
1707 number
1708 organization
1709 pages
1710 publisher
1711 school
1712 series
1713 title
1714 type
1715 volume
1716 year
1717 }
1718 {}
1719 { label }
1720
1721 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
1722
1723 FUNCTION {init.state.consts}
1724 { #0 'before.all :=
1725 #1 'mid.sentence :=
1726 #2 'after.sentence :=
1727 #3 'after.block :=
1728 }
1729
1730 STRINGS { s t }
1731
1732 FUNCTION {output.nonnull}
1733 { 's :=
1734 output.state mid.sentence =
1735 { ", " * write$ }
1736 { output.state after.block =
1737 { add.period$ write$
1738 newline$
1739 "\newblock " write$
1740 }
1741 { output.state before.all =
1742 'write$
1743 { add.period$ " " * write$ }
1744 if$
1745 }
1746 if$
1747 mid.sentence 'output.state :=
1748 }
1749 if$
1750 s
1751 }
1752
1753 FUNCTION {output}
1754 { duplicate$ empty$
1755 'pop$
1756 'output.nonnull
1757 if$
1758 }
1759
1760 FUNCTION {output.check}
1761 { 't :=
1762 duplicate$ empty$
1763 { pop$ "empty " t * " in " * cite$ * warning$ }
1764 'output.nonnull
1765 if$
1766 }
1767
1768 FUNCTION {fin.entry}
1769 { add.period$
1770 write$
1771 newline$
1772 }
1773
1774 FUNCTION {new.block}
1775 { output.state before.all =
1776 'skip$
1777 { after.block 'output.state := }
1778 if$
1779 }
1780
1781 FUNCTION {new.sentence}
1782 { output.state after.block =
1783 'skip$
1784 { output.state before.all =
1785 'skip$
1786 { after.sentence 'output.state := }
1787 if$
1788 }
1789 if$
1790 }
1791
1792 FUNCTION {add.blank}
1793 { " " * before.all 'output.state :=
1794 }
1795
1796 FUNCTION {date.block}
1797 {
1798 skip$
1799 }
1800
1801 FUNCTION {not}
1802 { { #0 }
1803 { #1 }
1804 if$
1805 }
1806
1807 FUNCTION {and}
1808 { 'skip$
1809 { pop$ #0 }
1810 if$
1811 }
1812
1813 FUNCTION {or}
1814 { { pop$ #1 }
1815 'skip$
1816 if$
1817 }
1818
1819 FUNCTION {non.stop}
1820 { duplicate$
1821 "}" * add.period$
1822 #-1 #1 substring$ "." =
1823 }
1824
1825 FUNCTION {new.block.checka}
1826 { empty$
1827 'skip$
1828 'new.block
1829 if$
1830 }
1831
1832 FUNCTION {new.block.checkb}
1833 { empty$
1834 swap$ empty$
1835 and
1836 'skip$
1837 'new.block
1838 if$
1839 }
1840
1841 FUNCTION {new.sentence.checka}
1842 { empty$
1843 'skip$
1844 'new.sentence
1845 if$
1846 }
1847
1848 FUNCTION {new.sentence.checkb}
1849 { empty$
1850 swap$ empty$
1851 and
1852 'skip$
1853 'new.sentence
1854 if$
1855 }
1856
1857 FUNCTION {field.or.null}
1858 { duplicate$ empty$
1859 { pop$ "" }
1860 'skip$
1861 if$
1862 }
1863
1864 FUNCTION {emphasize}
1865 { duplicate$ empty$
1866 { pop$ "" }
1867 { "{\em " swap$ * "\/}" * }
1868 if$
1869 }
1870
1871 FUNCTION {capitalize}
1872 { "u" change.case$ "t" change.case$ }
1873
1874 FUNCTION {space.word}
1875 { " " swap$ * " " * }
1876
1877 % Here are the language-specific definitions for explicit words.
1878 % Each function has a name bbl.xxx where xxx is the English word.
1879 % The language selected here is ENGLISH
1880 FUNCTION {bbl.and}
1881 { "and"}
1882
1883 FUNCTION {bbl.editors}
1884 { "editors" }
1885
1886 FUNCTION {bbl.editor}
1887 { "editor" }
1888
1889 FUNCTION {bbl.edby}
1890 { "edited by" }
1891
1892 FUNCTION {bbl.edition}
1893 { "ed." }
1894
1895 FUNCTION {bbl.volume}
1896 { "Vol." }
1897
1898 FUNCTION {bbl.of}
1899 { "of" }
1900
1901 FUNCTION {bbl.number}
1902 { "No." }
1903
1904 FUNCTION {bbl.nr}
1905 { "No." }
1906
1907 FUNCTION {bbl.in}
1908 { "in" }
1909
1910 FUNCTION {bbl.pages}
1911 { "pp." }
1912
1913 FUNCTION {bbl.page}
1914 { "p." }
1915
1916 FUNCTION {bbl.chapter}
1917 { "chap." }
1918
1919 FUNCTION {bbl.techrep}
1920 { "Tech. Rep." }
1921
1922 FUNCTION {bbl.mthesis}
1923 { "Master's thesis" }
1924
1925 FUNCTION {bbl.phdthesis}
1926 { "Ph.D. thesis" }
1927
1928 FUNCTION {bbl.first}
1929 { "1st" }
1930
1931 FUNCTION {bbl.second}
1932 { "2nd" }
1933
1934 FUNCTION {bbl.third}
1935 { "3rd" }
1936
1937 FUNCTION {bbl.fourth}
1938 { "4th" }
1939
1940 FUNCTION {bbl.fifth}
1941 { "5th" }
1942
1943 FUNCTION {bbl.st}
1944 { "st" }
1945
1946 FUNCTION {bbl.nd}
1947 { "nd" }
1948
1949 FUNCTION {bbl.rd}
1950 { "rd" }
1951
1952 FUNCTION {bbl.th}
1953 { "th" }
1954
1955 MACRO {jan} {"Jan."}
1956
1957 MACRO {feb} {"Feb."}
1958
1959 MACRO {mar} {"March"}
1960
1961 MACRO {apr} {"April"}
1962
1963 MACRO {may} {"May"}
1964
1965 MACRO {jun} {"June"}
1966
1967 MACRO {jul} {"July"}
1968
1969 MACRO {aug} {"Aug."}
1970
1971 MACRO {sep} {"Sept."}
1972
1973 MACRO {oct} {"Oct."}
1974
1975 MACRO {nov} {"Nov."}
1976
1977 MACRO {dec} {"Dec."}
1978
1979 MACRO {jan-feb} {"Jan.-Feb."}
1980
1981 MACRO {mar-apr} {"Mar.-Apr."}
1982
1983 MACRO {may-jun} {"May-Jun."}
1984
1985 MACRO {jul-aug} {"Jul.-Aug."}
1986
1987 MACRO {sep-oct} {"Sep.-Oct."}
1988
1989 MACRO {nov-dec} {"Nov.-Dec."}
1990
1991 FUNCTION {eng.ord}
1992 { duplicate$ "1" swap$ *
1993 #-2 #1 substring$ "1" =
1994 { bbl.th * }
1995 { duplicate$ #-1 #1 substring$
1996 duplicate$ "1" =
1997 { pop$ bbl.st * }
1998 { duplicate$ "2" =
1999 { pop$ bbl.nd * }
2000 { "3" =
2001 { bbl.rd * }
2002 { bbl.th * }
2003 if$
2004 }
2005 if$
2006 }
2007 if$
2008 }
2009 if$
2010 }
2011
2012 MACRO {jsr} {"Journal of Spacecraft and Rockets"}
2013
2014 MACRO {aa} {"Aerospace America"}
2015
2016 MACRO {sn} {"Space News"}
2017
2018 MACRO {awst} {"Aviation Week \& Space Technology"}
2019
2020 MACRO {jcp} {"Journal of Computational Physics"}
2021
2022 MACRO {ijcfd} {"International Journal of Computational Fluid Dynamics"}
2023
2024 MACRO {ijnme} {"International Journal for Numerical Methods in Engineering"}
2025
2026 MACRO {acmcs} {"ACM Computing Surveys"}
2027
2028 MACRO {acta} {"Acta Informatica"}
2029
2030 MACRO {cacm} {"Communications of the ACM"}
2031
2032 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
2033
2034 MACRO {ibmsj} {"IBM Systems Journal"}
2035
2036 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
2037
2038 MACRO {ieeetc} {"IEEE Transactions on Computers"}
2039
2040 MACRO {ieeetcad}
2041 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
2042
2043 MACRO {ipl} {"Information Processing Letters"}
2044
2045 MACRO {jacm} {"Journal of the ACM"}
2046
2047 MACRO {jcss} {"Journal of Computer and System Sciences"}
2048
2049 MACRO {scp} {"Science of Computer Programming"}
2050
2051 MACRO {sicomp} {"SIAM Journal on Computing"}
2052
2053 MACRO {tocs} {"ACM Transactions on Computer Systems"}
2054
2055 MACRO {tods} {"ACM Transactions on Database Systems"}
2056
2057 MACRO {tog} {"ACM Transactions on Graphics"}
2058
2059 MACRO {toms} {"ACM Transactions on Mathematical Software"}
2060
2061 MACRO {toois} {"ACM Transactions on Office Information Systems"}
2062
2063 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
2064
2065 MACRO {tcs} {"Theoretical Computer Science"}
2066
2067 INTEGERS { nameptr namesleft numnames }
2068
2069 FUNCTION {format.names}
2070 { 's :=
2071 #1 'nameptr :=
2072 s num.names$ 'numnames :=
2073 numnames 'namesleft :=
2074 { namesleft #0 > }
2075 { s nameptr
2076 "{vv~}{ll}{, jj}{, f.}" format.name$ 't :=
2077 nameptr #1 >
2078 {
2079 namesleft #1 >
2080 { ", " * t * }
2081 {
2082 numnames #2 >
2083 { "," * }
2084 'skip$
2085 if$
2086 t "others" =
2087 { " et~al." * }
2088 { bbl.and space.word * t * }
2089 if$
2090 }
2091 if$
2092 }
2093 't
2094 if$
2095 nameptr #1 + 'nameptr :=
2096 namesleft #1 - 'namesleft :=
2097 }
2098 while$
2099 }
2100
2101 FUNCTION {format.names.ed}
2102 { 's :=
2103 #1 'nameptr :=
2104 s num.names$ 'numnames :=
2105 numnames 'namesleft :=
2106 { namesleft #0 > }
2107 { s nameptr
2108 "{f.~}{vv~}{ll}{, jj}"
2109 format.name$ 't :=
2110 nameptr #1 >
2111 {
2112 namesleft #1 >
2113 { ", " * t * }
2114 {
2115 numnames #2 >
2116 { "," * }
2117 'skip$
2118 if$
2119 t "others" =
2120 { " et~al." * }
2121 { bbl.and space.word * t * }
2122 if$
2123 }
2124 if$
2125 }
2126 't
2127 if$
2128 nameptr #1 + 'nameptr :=
2129 namesleft #1 - 'namesleft :=
2130 }
2131 while$
2132 }
2133
2134 FUNCTION {format.authors}
2135 { author empty$
2136 { "" }
2137 {
2138 author format.names
2139 }
2140 if$
2141 }
2142
2143 FUNCTION {format.editors}
2144 { editor empty$
2145 { "" }
2146 {
2147 editor format.names
2148 editor num.names$ #1 >
2149 { ", " * bbl.editors * }
2150 { ", " * bbl.editor * }
2151 if$
2152 }
2153 if$
2154 }
2155
2156 FUNCTION {format.in.editors}
2157 { editor empty$
2158 { "" }
2159 { editor format.names.ed
2160 }
2161 if$
2162 }
2163
2164 FUNCTION {format.title}
2165 { title empty$
2166 { "" }
2167 { title
2168 "\enquote{" swap$ *
2169 non.stop
2170 { ",} " * }
2171 { "} " * }
2172 if$
2173 }
2174 if$
2175 }
2176
2177 FUNCTION {end.quote.title}
2178 { title empty$
2179 'skip$
2180 { before.all 'output.state := }
2181 if$
2182 }
2183
2184 FUNCTION {output.bibitem}
2185 { newline$
2186 "\bibitem{" write$
2187 cite$ write$
2188 "}" write$
2189 newline$
2190 ""
2191 before.all 'output.state :=
2192 }
2193
2194 FUNCTION {n.dashify}
2195 { 't :=
2196 ""
2197 { t empty$ not }
2198 { t #1 #1 substring$ "-" =
2199 { t #1 #2 substring$ "--" = not
2200 { "--" *
2201 t #2 global.max$ substring$ 't :=
2202 }
2203 { { t #1 #1 substring$ "-" = }
2204 { "-" *
2205 t #2 global.max$ substring$ 't :=
2206 }
2207 while$
2208 }
2209 if$
2210 }
2211 { t #1 #1 substring$ *
2212 t #2 global.max$ substring$ 't :=
2213 }
2214 if$
2215 }
2216 while$
2217 }
2218
2219 FUNCTION {word.in}
2220 { "" }
2221
2222 FUNCTION {format.date}
2223 { year empty$
2224 { month empty$
2225 { "" }
2226 { "there's a month but no year in " cite$ * warning$
2227 month
2228 }
2229 if$
2230 }
2231 { month empty$
2232 'year
2233 { month " " * year * }
2234 if$
2235 }
2236 if$
2237 }
2238
2239 FUNCTION {format.btitle}
2240 { title emphasize
2241 }
2242
2243 FUNCTION {tie.or.space.connect}
2244 { duplicate$ text.length$ #3 <
2245 { "~" }
2246 { " " }
2247 if$
2248 swap$ * *
2249 }
2250
2251 FUNCTION {either.or.check}
2252 { empty$
2253 'pop$
2254 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
2255 if$
2256 }
2257
2258 FUNCTION {format.bvolume}
2259 { volume empty$
2260 { "" }
2261 { bbl.volume volume tie.or.space.connect
2262 series empty$
2263 'skip$
2264 { bbl.of space.word * series emphasize * }
2265 if$
2266 "volume and number" number either.or.check
2267 }
2268 if$
2269 }
2270
2271 FUNCTION {format.number.series}
2272 { volume empty$
2273 { number empty$
2274 { series field.or.null }
2275 { output.state mid.sentence =
2276 { bbl.number }
2277 { bbl.number capitalize }
2278 if$
2279 number tie.or.space.connect
2280 series empty$
2281 { "there's a number but no series in " cite$ * warning$ }
2282 { bbl.in space.word * series * }
2283 if$
2284 }
2285 if$
2286 }
2287 { "" }
2288 if$
2289 }
2290
2291 FUNCTION {is.num}
2292 { chr.to.int$
2293 duplicate$ "0" chr.to.int$ < not
2294 swap$ "9" chr.to.int$ > not and
2295 }
2296
2297 FUNCTION {extract.num}
2298 { duplicate$ 't :=
2299 "" 's :=
2300 { t empty$ not }
2301 { t #1 #1 substring$
2302 t #2 global.max$ substring$ 't :=
2303 duplicate$ is.num
2304 { s swap$ * 's := }
2305 { pop$ "" 't := }
2306 if$
2307 }
2308 while$
2309 s empty$
2310 'skip$
2311 { pop$ s }
2312 if$
2313 }
2314
2315 FUNCTION {convert.edition}
2316 { edition extract.num "l" change.case$ 's :=
2317 s "first" = s "1" = or
2318 { bbl.first 't := }
2319 { s "second" = s "2" = or
2320 { bbl.second 't := }
2321 { s "third" = s "3" = or
2322 { bbl.third 't := }
2323 { s "fourth" = s "4" = or
2324 { bbl.fourth 't := }
2325 { s "fifth" = s "5" = or
2326 { bbl.fifth 't := }
2327 { s #1 #1 substring$ is.num
2328 { s eng.ord 't := }
2329 { edition 't := }
2330 if$
2331 }
2332 if$
2333 }
2334 if$
2335 }
2336 if$
2337 }
2338 if$
2339 }
2340 if$
2341 t
2342 }
2343
2344 FUNCTION {format.edition}
2345 { edition empty$
2346 { "" }
2347 { output.state mid.sentence =
2348 { convert.edition "l" change.case$ " " * bbl.edition * }
2349 { convert.edition "t" change.case$ " " * bbl.edition * }
2350 if$
2351 }
2352 if$
2353 }
2354
2355 INTEGERS { multiresult }
2356
2357 FUNCTION {multi.page.check}
2358 { 't :=
2359 #0 'multiresult :=
2360 { multiresult not
2361 t empty$ not
2362 and
2363 }
2364 { t #1 #1 substring$
2365 duplicate$ "-" =
2366 swap$ duplicate$ "," =
2367 swap$ "+" =
2368 or or
2369 { #1 'multiresult := }
2370 { t #2 global.max$ substring$ 't := }
2371 if$
2372 }
2373 while$
2374 multiresult
2375 }
2376
2377 FUNCTION {format.pages}
2378 { pages empty$
2379 { "" }
2380 { pages multi.page.check
2381 { bbl.pages pages n.dashify tie.or.space.connect }
2382 { bbl.page pages tie.or.space.connect }
2383 if$
2384 }
2385 if$
2386 }
2387
2388 FUNCTION {format.journal.pages}
2389 {
2390 pages empty$
2391 'skip$
2392 { duplicate$ empty$
2393 { pop$ format.pages }
2394 { ", " * bbl.pages "~" * * pages n.dashify * }
2395 if$
2396 }
2397 if$
2398 }
2399
2400 FUNCTION {format.vol.num.pages}
2401 { volume field.or.null
2402 volume empty$
2403 'skip$
2404 { bbl.volume "~" * swap$ * }
2405 if$
2406 number empty$
2407 'skip$
2408 {
2409 ", " bbl.nr * number tie.or.space.connect *
2410 volume empty$
2411 { "there's a number but no volume in " cite$ * warning$ }
2412 'skip$
2413 if$
2414 }
2415 if$
2416 }
2417
2418 FUNCTION {format.chapter.pages}
2419 { chapter empty$
2420 { "" }
2421 { type empty$
2422 { bbl.chapter }
2423 { type "l" change.case$ }
2424 if$
2425 chapter tie.or.space.connect
2426 }
2427 if$
2428 }
2429
2430 FUNCTION {format.in.ed.booktitle}
2431 { booktitle empty$
2432 { "" }
2433 { editor empty$
2434 { word.in booktitle emphasize * }
2435 { word.in booktitle emphasize *
2436 ", " *
2437 bbl.edby
2438 *
2439 " " *
2440 format.in.editors *
2441 }
2442 if$
2443 }
2444 if$
2445 }
2446
2447 FUNCTION {empty.misc.check}
2448 { author empty$ title empty$ howpublished empty$
2449 month empty$ year empty$ note empty$
2450 and and and and and
2451 { "all relevant fields are empty in " cite$ * warning$ }
2452 'skip$
2453 if$
2454 }
2455
2456 FUNCTION {format.thesis.type}
2457 { type empty$
2458 'skip$
2459 { pop$
2460 type "t" change.case$
2461 }
2462 if$
2463 }
2464
2465 FUNCTION {format.tr.number}
2466 { type empty$
2467 { bbl.techrep }
2468 'type
2469 if$
2470 number empty$
2471 { "t" change.case$ }
2472 { number tie.or.space.connect }
2473 if$
2474 }
2475
2476 FUNCTION {format.article.crossref}
2477 {
2478 key empty$
2479 { journal empty$
2480 { "need key or journal for " cite$ * " to crossref " * crossref *
2481 warning$
2482 ""
2483 }
2484 { word.in journal emphasize * }
2485 if$
2486 }
2487 { word.in key * " " *}
2488 if$
2489 " \cite{" * crossref * "}" *
2490 }
2491
2492 FUNCTION {format.crossref.editor}
2493 { editor #1 "{vv~}{ll}" format.name$
2494 editor num.names$ duplicate$
2495 #2 >
2496 { pop$ " et~al." * }
2497 { #2 <
2498 'skip$
2499 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
2500 { " et~al." * }
2501 { bbl.and space.word * editor #2 "{vv~}{ll}" format.name$ * }
2502 if$
2503 }
2504 if$
2505 }
2506 if$
2507 }
2508
2509 FUNCTION {format.book.crossref}
2510 { volume empty$
2511 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
2512 word.in
2513 }
2514 { bbl.volume volume tie.or.space.connect
2515 bbl.of space.word *
2516 }
2517 if$
2518 editor empty$
2519 editor field.or.null author field.or.null =
2520 or
2521 { key empty$
2522 { series empty$
2523 { "need editor, key, or series for " cite$ * " to crossref " *
2524 crossref * warning$
2525 "" *
2526 }
2527 { series emphasize * }
2528 if$
2529 }
2530 { key * }
2531 if$
2532 }
2533 { format.crossref.editor * }
2534 if$
2535 " \cite{" * crossref * "}" *
2536 }
2537
2538 FUNCTION {format.incoll.inproc.crossref}
2539 {
2540 editor empty$
2541 editor field.or.null author field.or.null =
2542 or
2543 { key empty$
2544 { booktitle empty$
2545 { "need editor, key, or booktitle for " cite$ * " to crossref " *
2546 crossref * warning$
2547 ""
2548 }
2549 { word.in booktitle emphasize * }
2550 if$
2551 }
2552 { word.in key * " " *}
2553 if$
2554 }
2555 { word.in format.crossref.editor * " " *}
2556 if$
2557 " \cite{" * crossref * "}" *
2558 }
2559
2560 FUNCTION {format.publisher}
2561 { publisher empty$
2562 { "empty publisher in " cite$ * warning$ }
2563 'skip$
2564 if$
2565 ""
2566 address empty$ publisher empty$ and
2567 'skip$
2568 {
2569 publisher empty$
2570 { address empty$
2571 'skip$
2572 { address * }
2573 if$
2574 }
2575 { publisher *
2576 address empty$
2577 'skip$
2578 { ", " * address * }
2579 if$
2580 }
2581 if$
2582 }
2583 if$
2584 output
2585 }
2586
2587 FUNCTION {article}
2588 { output.bibitem
2589 format.authors "author" output.check
2590 format.title "title" output.check
2591 end.quote.title
2592 crossref missing$
2593 { journal
2594 emphasize
2595 "journal" output.check
2596 format.vol.num.pages output
2597 format.date "year" output.check
2598 }
2599 { format.article.crossref output.nonnull
2600 format.pages output
2601 }
2602 if$
2603 format.journal.pages
2604 note output
2605 fin.entry
2606 }
2607
2608 FUNCTION {book}
2609 { output.bibitem
2610 author empty$
2611 { format.editors "author and editor" output.check
2612 }
2613 { format.authors output.nonnull
2614 crossref missing$
2615 { "author and editor" editor either.or.check }
2616 'skip$
2617 if$
2618 }
2619 if$
2620 format.btitle "title" output.check
2621 crossref missing$
2622 { format.bvolume output
2623 format.number.series output
2624 format.publisher
2625 }
2626 {
2627 format.book.crossref output.nonnull
2628 }
2629 if$
2630 format.edition output
2631 format.date "year" output.check
2632 note output
2633 fin.entry
2634 }
2635
2636 FUNCTION {booklet}
2637 { output.bibitem
2638 format.authors output
2639 format.title "title" output.check
2640 end.quote.title
2641 howpublished output
2642 address output
2643 format.date output
2644 note output
2645 fin.entry
2646 }
2647
2648 FUNCTION {inbook}
2649 { output.bibitem
2650 author empty$
2651 { format.editors "author and editor" output.check
2652 }
2653 { format.authors output.nonnull
2654 crossref missing$
2655 { "author and editor" editor either.or.check }
2656 'skip$
2657 if$
2658 }
2659 if$
2660 format.btitle "title" output.check
2661 crossref missing$
2662 {
2663 format.bvolume output
2664 format.chapter.pages "chapter and pages" output.check
2665 format.number.series output
2666 format.publisher
2667 }
2668 {
2669 format.chapter.pages "chapter and pages" output.check
2670 format.book.crossref output.nonnull
2671 }
2672 if$
2673 format.edition output
2674 format.date "year" output.check
2675 format.pages "pages" output.check
2676 note output
2677 fin.entry
2678 }
2679
2680 FUNCTION {incollection}
2681 { output.bibitem
2682 format.authors "author" output.check
2683 format.title "title" output.check
2684 end.quote.title
2685 crossref missing$
2686 { format.in.ed.booktitle "booktitle" output.check
2687 format.bvolume output
2688 format.number.series output
2689 format.chapter.pages output
2690 format.publisher
2691 format.edition output
2692 format.date "year" output.check
2693 }
2694 { format.incoll.inproc.crossref output.nonnull
2695 format.chapter.pages output
2696 }
2697 if$
2698 format.pages "pages" output.check
2699 note output
2700 fin.entry
2701 }
2702
2703 FUNCTION {inproceedings}
2704 { output.bibitem
2705 format.authors "author" output.check
2706 format.title "title" output.check
2707 end.quote.title
2708 crossref missing$
2709 { format.in.ed.booktitle "booktitle" output.check
2710 format.bvolume output
2711 format.number.series output
2712 publisher empty$
2713 { organization output
2714 address output
2715 }
2716 { organization output
2717 format.publisher
2718 }
2719 if$
2720 format.date "year" output.check
2721 }
2722 { format.incoll.inproc.crossref output.nonnull
2723 format.pages output
2724 }
2725 if$
2726 format.pages "pages" output.check
2727 note output
2728 fin.entry
2729 }
2730
2731 FUNCTION {conference} { inproceedings }
2732
2733 FUNCTION {manual}
2734 { output.bibitem
2735 author empty$
2736 { organization empty$
2737 'skip$
2738 { organization output.nonnull
2739 address output
2740 }
2741 if$
2742 }
2743 { format.authors output.nonnull }
2744 if$
2745 format.btitle "title" output.check
2746 author empty$
2747 { organization empty$
2748 {
2749 address output
2750 }
2751 'skip$
2752 if$
2753 }
2754 {
2755 organization output
2756 address output
2757 }
2758 if$
2759 format.edition output
2760 format.date output
2761 note output
2762 fin.entry
2763 }
2764
2765 FUNCTION {mastersthesis}
2766 { output.bibitem
2767 format.authors "author" output.check
2768 format.btitle "title" output.check
2769 bbl.mthesis format.thesis.type output.nonnull
2770 school "school" output.check
2771 address output
2772 format.date "year" output.check
2773 note output
2774 fin.entry
2775 }
2776
2777 FUNCTION {misc}
2778 { output.bibitem
2779 format.authors output
2780 format.title output
2781 end.quote.title
2782 howpublished output
2783 format.date output
2784 note output
2785 fin.entry
2786 empty.misc.check
2787 }
2788
2789 FUNCTION {phdthesis}
2790 { output.bibitem
2791 format.authors "author" output.check
2792 format.btitle "title" output.check
2793 bbl.phdthesis format.thesis.type output.nonnull
2794 school "school" output.check
2795 address output
2796 format.date "year" output.check
2797 note output
2798 fin.entry
2799 }
2800
2801 FUNCTION {proceedings}
2802 { output.bibitem
2803 editor empty$
2804 { organization output }
2805 { format.editors output.nonnull }
2806 if$
2807 format.btitle "title" output.check
2808 format.bvolume output
2809 format.number.series output
2810 address empty$
2811 { editor empty$
2812 { publisher new.sentence.checka }
2813 { organization publisher new.sentence.checkb
2814 organization output
2815 }
2816 if$
2817 publisher output
2818 format.date "year" output.check
2819 }
2820 { address output.nonnull
2821 format.date "year" output.check
2822 editor empty$
2823 'skip$
2824 { organization output }
2825 if$
2826 publisher output
2827 }
2828 if$
2829 note output
2830 fin.entry
2831 }
2832
2833 FUNCTION {techreport}
2834 { output.bibitem
2835 format.authors "author" output.check
2836 format.title "title" output.check
2837 end.quote.title
2838 format.tr.number output.nonnull
2839 institution "institution" output.check
2840 address output
2841 format.date "year" output.check
2842 note output
2843 fin.entry
2844 }
2845
2846 FUNCTION {unpublished}
2847 { output.bibitem
2848 format.authors "author" output.check
2849 format.title "title" output.check
2850 end.quote.title
2851 note "note" output.check
2852 fin.entry
2853 }
2854
2855 FUNCTION {default.type} { misc }
2856
2857 READ
2858
2859 STRINGS { longest.label }
2860
2861 INTEGERS { number.label longest.label.width }
2862
2863 FUNCTION {initialize.longest.label}
2864 { "" 'longest.label :=
2865 #1 'number.label :=
2866 #0 'longest.label.width :=
2867 }
2868
2869 FUNCTION {longest.label.pass}
2870 { number.label int.to.str$ 'label :=
2871 number.label #1 + 'number.label :=
2872 label width$ longest.label.width >
2873 { label 'longest.label :=
2874 label width$ 'longest.label.width :=
2875 }
2876 'skip$
2877 if$
2878 }
2879
2880 EXECUTE {initialize.longest.label}
2881
2882 ITERATE {longest.label.pass}
2883
2884 FUNCTION {begin.bib}
2885 { preamble$ empty$
2886 'skip$
2887 { preamble$ write$ newline$ }
2888 if$
2889 "\begin{thebibliography}{" longest.label * "}" *
2890 write$ newline$
2891 "\newcommand{\enquote}[1]{``#1''}"
2892 write$ newline$
2893 }
2894
2895 EXECUTE {begin.bib}
2896
2897 EXECUTE {init.state.consts}
2898
2899 ITERATE {call.type$}
2900
2901 FUNCTION {end.bib}
2902 { newline$
2903 "\end{thebibliography}" write$ newline$
2904 }
2905
2906 EXECUTE {end.bib}
2907 %</bibstyle>
2908 % \end{macrocode}
2909 %
2910 % This brings us to the end of \file{aiaa.bst}.
2911 %
2912 % \subsection{AIAA Endfloat Configuration File}
2913 %
2914 % \begin{macrocode}
2915 %
2916 %<*enfconfig>
2917 \renewcommand{\listfigurename}{List of Figure Captions}
2918 \renewcommand{\listtablename}{List of Table Captions}
2919 \setcounter{lofdepth}{2}% puts subfigure captions in lof
2920 \def\numberline#1{\setlength{\@tempdima}{0.3in}%
2921 \hb@xt@\@tempdima{#1:}}% make bold numbers
2922 \renewcommand*{\l@figure}[2]{\vskip\abovedisplayskip%
2923 \setlength\@tempdima{1.5em}%
2924 \noindent{\bfseries \figurename\ #1}\par}
2925 \renewcommand*{\l@table}[2]{%
2926 \setlength\@tempdima{1.5em}%
2927 \noindent{\bfseries \tablename}\
2928 #1\hfil\vskip\belowdisplayskip }
2929 % change lof behavior for subfigures:
2930 \renewcommand{\@dottedxxxline}[6]{%
2931 \ifnum #2>\@nameuse{c@#1depth}\else
2932 \vskip 3pt\hspace{0em}{\bfseries #5}\par\vskip 1pt
2933 \fi}
2934 \newcommand{\lox@subfigure}{\thesubfigure}
2935 \newcommand{\lox@subtable}{\thesubtable}
2936 \renewcommand{\@subcaption}[2]{%
2937 \begingroup
2938 \let\label\@gobble
2939 \let\protect\string
2940 \edef\@currentlabel{\csname lox@#1\endcsname}%
2941 \xdef\@subfigcaptionlist{%
2942 \@subfigcaptionlist,%
2943 {\numberline{\@currentlabel}\noexpand{\ignorespaces #2}}}%
2944 \endgroup
2945 \@nameuse{@make#1caption}{\@nameuse{@the#1}}{#2}}
2946 \renewcommand{\@makecaption}[2]{}
2947 \renewcommand{\@makesubfigurecaption}[2]{}
2948 \renewcommand{\@makesubtablecaption}[2]{}
2949 \let\OrigCaption\caption
2950 \renewcommand{\caption}[2][X]{\OrigCaption[#2]{}}
2951 \newcommand{\processfigures@hooka}{\@empty}
2952 \def\AtEndFigures{\g@addto@macro\processfigures@hooka}
2953 \newcommand{\processtables@hooka}{\@empty}
2954 \def\AtEndTables{\g@addto@macro\processtables@hooka}
2955 \AtBeginTables{\cfoot{\footnotesize\scshape\tablename\ \thetable\captionlabeldelim}}
2956 \AtEndTables{\cfoot{}}
2957 \AtBeginFigures{\cfoot{\footnotesize\scshape\figurename\ \thefigure\captionlabeldelim}}
2958 \AtEndFigures{\cfoot{}}
2959 \def\processfigures{%
2960 \expandafter\ifnum \csname @ef@fffopen\endcsname>0
2961 \immediate\closeout\efloat@postfff \ef@setct{fff}{0}
2962 \clearpage % bj
2963 \if@figlist % bj
2964 {\normalsize\listoffigures} % bj
2965 \clearpage % bj
2966 \fi
2967 \if@fighead
2968 \section*{\figuresection} % bj
2969 \suppressfloats[t] % jpg
2970 \fi
2971 \markboth{\uppercase{\figuresection}}{\uppercase{\figuresection}}% bj
2972 \processfigures@hook \@input{\jobname.fff} \processfigures@hooka
2973 \fi}
2974 \def\processtables{%
2975 \expandafter\ifnum \csname @ef@tttopen\endcsname>0
2976 \immediate\closeout\efloat@postttt \ef@setct{ttt}{0}
2977 \clearpage % bj
2978 \if@tablist % bj
2979 {\normalsize\listoftables} % bj
2980 \clearpage % bj
2981 \fi
2982 \if@tabhead
2983 \section*{\tablesection} % bj
2984 \suppressfloats[t] % jpg
2985 \fi
2986 \markboth{\uppercase{\tablesection}}{\uppercase{\tablesection}}% bj
2987 \processtables@hook \@input{\jobname.ttt} \processtables@hooka
2988 \fi}
2989 %</enfconfig>
2990 % \end{macrocode}
2991 %
2992 % This brings us to the end of \file{aiaaenf.cfg}.
2993 %
2994 % \Finale
2995 %