Debian Codegraph @

texmf-dist/doc/latex/revtex/sample/aapm/aapmsamp.tex

raw
1 % ****** Start of file aapmsamp.tex ******
2 %
3 % This file is part of the AAPM files in the AAPM distribution for REVTeX 4-2.
4 % Version 4.2a of REVTeX, January 2015
5 %
6 % Copyright (c) 2015 American Association of Physicists in Medicine (AAPM).
7 %
8 % See the AAPM README file for restrictions and more information.
9 %
10 % TeX'ing this file requires that you have AMS-LaTeX 2.0 installed
11 % as well as the rest of the prerequisites for REVTeX 4.2
12 %
13 % It also requires running BibTeX. The commands are as follows:
14 %
15 % 1) latex aapmsamp
16 % 2) bibtex aapmsamp
17 % 3) latex aapmsamp
18 % 4) latex aapmsamp
19 %
20 % Use this file as a source of example code for your aapm document.
21 % Use the file aapmtemplate.tex as a template for your document.
22 \documentclass[%
23 aapm,
24 mph,%
25 amsmath,amssymb,
26 %preprint,%
27 reprint,%
28 %author-year,%
29 %author-numerical,%
30 ]{revtex4-2}
31
32 \usepackage{graphicx}% Include figure files
33 \usepackage{dcolumn}% Align table columns on decimal point
34 \usepackage{bm}% bold math
35
36 \usepackage[mathlines]{lineno}% Enable numbering of text and display math
37 \modulolinenumbers[5]% Line numbers with a gap of 5 lines
38 \linenumbers\relax % Commence numbering lines
39
40 \begin{document}
41
42 \preprint{AAPM/123-QED}
43
44 \title[Sample title]{Sample Title:\\with Forced Linebreak\footnote{Error!}}% Force line breaks with \\
45 \thanks{Footnote to title of article.}
46
47 \author{A. Author}
48 \altaffiliation[Also at ]{Physics Department, XYZ University.}%Lines break automatically or can be forced with \\
49 \author{B. Author}%
50 \email{[email protected].}
51 \affiliation{
52 Authors' institution and/or address%\\This line break forced with \textbackslash\textbackslash
53 }%
54
55 \author{C. Author}
56 \homepage{http://www.Second.institution.edu/~Charlie.Author.}
57 \affiliation{%
58 Second institution and/or address%\\This line break forced% with \\
59 }%
60
61 \date{\today}% It is always \today, today,
62 % but any date may be explicitly specified
63
64 \begin{abstract}
65 An article usually includes an abstract, a concise summary of the work
66 covered at length in the main body of the article. It is used for
67 secondary publications and for information retrieval purposes.
68 %
69 \end{abstract}
70
71 \keywords{Suggested keywords}%Use showkeys class option if keyword
72 %display desired
73 \maketitle
74
75 \begin{quotation}
76 The ``lead paragraph'' is encapsulated with the \LaTeX\
77 \verb+quotation+ environment and is formatted as a single paragraph before the first section heading.
78 (The \verb+quotation+ environment reverts to its usual meaning after the first sectioning command.)
79 Note that numbered references are allowed in the lead paragraph.
80 %
81 The lead paragraph will only be found in an article being prepared for the journal \textit{Chaos}.
82 \end{quotation}
83
84 \section{\label{sec:level1}First-level heading:\protect\\ The line
85 break was forced \lowercase{via} \textbackslash\textbackslash}
86
87 This sample document demonstrates proper use of REV\TeX~4.2 (and
88 \LaTeXe) in manuscripts prepared for submission to AAPM
89 journals. Further information can be found in the documentation included in the distribution or available at
90 \url{http://www.aapm.org} and in the documentation for
91 REV\TeX~4.2 itself.
92
93 When commands are referred to in this example file, they are always
94 shown with their required arguments, using normal \TeX{} format. In
95 this format, \verb+#1+, \verb+#2+, etc. stand for required
96 author-supplied arguments to commands. For example, in
97 \verb+\section{#1}+ the \verb+#1+ stands for the title text of the
98 author's section heading, and in \verb+\title{#1}+ the \verb+#1+
99 stands for the title text of the paper.
100
101 Line breaks in section headings at all levels can be introduced using
102 \textbackslash\textbackslash. A blank input line tells \TeX\ that the
103 paragraph has ended.
104
105 \subsection{\label{sec:level2}Second-level heading: Formatting}
106
107 This file may be formatted in both the \texttt{preprint} (the default) and
108 \texttt{reprint} styles; the latter format may be used to
109 mimic final journal output. In addition, there is another
110 option available, \texttt{lengthcheck}, which formats the document as closely
111 as possible to an actual journal article, to facilitate the author's
112 performance of a length check. Either format may be used for submission
113 purposes; however, for peer review and production, AAPM will format the
114 article using the \texttt{preprint} class option. Hence, it is
115 essential that authors check that their manuscripts format acceptably
116 under \texttt{preprint}. Manuscripts submitted to AAPM that do not
117 format correctly under the \texttt{preprint} option may be delayed in
118 both the editorial and production processes.
119
120 The \texttt{widetext} environment will make the text the width of the
121 full page, as on page~\pageref{eq:wideeq}. (Note the use the
122 \verb+\pageref{#1}+ to get the page number right automatically.) The
123 width-changing commands only take effect in \texttt{twocolumn}
124 formatting. It has no effect if \texttt{preprint} formatting is chosen
125 instead.
126
127 \subsubsection{\label{sec:level3}Third-level heading: Citations and Footnotes}
128
129 Citations in text refer to entries in the Bibliography;
130 they use the commands \verb+\cite{#1}+ or \verb+\onlinecite{#1}+.
131 Because REV\TeX\ uses the \verb+natbib+ package of Patrick Daly,
132 its entire repertoire of commands are available in your document;
133 see the \verb+natbib+ documentation for further details.
134 The argument of \verb+\cite+ is a comma-separated list of \emph{keys};
135 a key may consist of letters and numerals.
136
137 By default, AAPM citations are numerical; \cite{feyn54}
138 to give a textual citation, use \verb+\onlinecite{#1}+: (Refs.~\onlinecite{witten2001,epr,Bire82}).
139 REV\TeX\ ``collapses'' lists of consecutive numerical citations when appropriate.
140 To illustrate, we cite several together \cite{feyn54,witten2001,epr,Berman1983},
141 and once again (Refs.~\onlinecite{epr,feyn54,Bire82,Berman1983}).
142 Note that, when numerical citations are used, the references were sorted into the same order they appear in the bibliography.
143
144 A reference within the bibliography is specified with a \verb+\bibitem{#1}+ command,
145 where the argument is the citation key mentioned above.
146 \verb+\bibitem{#1}+ commands may be crafted by hand or, preferably,
147 generated by using Bib\TeX.
148 The AAPM styles for REV\TeX~4 include Bib\TeX\ style file
149 \verb+aapmrev4-2.bst+, appropriate for
150 numbered bibliography.
151 REV\TeX~4 will automatically choose the style appropriate for
152 the document's selected class options: the default is numerical.
153
154 This sample file demonstrates a simple use of Bib\TeX\
155 via a \verb+\bibliography+ command referencing the \verb+aapmsamp.bib+ file.
156 Running Bib\TeX\ (in this case \texttt{bibtex
157 aapmsamp}) after the first pass of \LaTeX\ produces the file
158 \verb+aapmsamp.bbl+ which contains the automatically formatted
159 \verb+\bibitem+ commands (including extra markup information via
160 \verb+\bibinfo+ commands). If not using Bib\TeX, the
161 \verb+thebibiliography+ environment should be used instead.
162
163 \paragraph{Fourth-level heading is run in.}%
164 Footnotes are produced using the \verb+\footnote{#1}+ command.
165 Numerical style citations put footnotes into the
166 bibliography\footnote{Automatically placing footnotes into the bibliography requires using BibTeX to compile the bibliography.}.
167 Note: due to the method used to place footnotes in the bibliography, \emph{you
168 must re-run BibTeX every time you change any of your document's
169 footnotes}.
170
171 \section{Math and Equations}
172 Inline math may be typeset using the \verb+$+ delimiters. Bold math
173 symbols may be achieved using the \verb+bm+ package and the
174 \verb+\bm{#1}+ command it supplies. For instance, a bold $\alpha$ can
175 be typeset as \verb+$\bm{\alpha}$+ giving $\bm{\alpha}$. Fraktur and
176 Blackboard (or open face or double struck) characters should be
177 typeset using the \verb+\mathfrak{#1}+ and \verb+\mathbb{#1}+ commands
178 respectively. Both are supplied by the \texttt{amssymb} package. For
179 example, \verb+$\mathbb{R}$+ gives $\mathbb{R}$ and
180 \verb+$\mathfrak{G}$+ gives $\mathfrak{G}$
181
182 In \LaTeX\ there are many different ways to display equations, and a
183 few preferred ways are noted below. Displayed math will flush left by
184 default.
185
186 Below we have numbered single-line equations, the most common kind:
187 \begin{eqnarray}
188 \chi_+(p)\alt{\bf [}2|{\bf p}|(|{\bf p}|+p_z){\bf ]}^{-1/2}
189 \left(
190 \begin{array}{c}
191 |{\bf p}|+p_z\\
192 px+ip_y
193 \end{array}\right)\;,
194 \\
195 \left\{%
196 \openone234567890abc123\alpha\beta\gamma\delta1234556\alpha\beta
197 \frac{1\sum^{a}_{b}}{A^2}%
198 \right\}%
199 \label{eq:one}.
200 \end{eqnarray}
201 Note the open one in Eq.~(\ref{eq:one}).
202
203 Not all numbered equations will fit within a narrow column this
204 way. The equation number will move down automatically if it cannot fit
205 on the same line with a one-line equation:
206 \begin{equation}
207 \left\{
208 ab12345678abc123456abcdef\alpha\beta\gamma\delta1234556\alpha\beta
209 \frac{1\sum^{a}_{b}}{A^2}%
210 \right\}.
211 \end{equation}
212
213 When the \verb+\label{#1}+ command is used [cf. input for
214 Eq.~(\ref{eq:one})], the equation can be referred to in text without
215 knowing the equation number that \TeX\ will assign to it. Just
216 use \verb+\ref{#1}+, where \verb+#1+ is the same name that used in
217 the \verb+\label{#1}+ command.
218
219 Unnumbered single-line equations can be typeset
220 using the \verb+\[+, \verb+\]+ format:
221 \[g^+g^+ \rightarrow g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow
222 q^+g^+g^+ \dots ~. \]
223
224 \subsection{Multiline equations}
225
226 Multiline equations are obtained by using the \verb+eqnarray+
227 environment. Use the \verb+\nonumber+ command at the end of each line
228 to avoid assigning a number:
229 \begin{eqnarray}
230 {\cal M}=&&ig_Z^2(4E_1E_2)^{1/2}(l_i^2)^{-1}
231 \delta_{\sigma_1,-\sigma_2}
232 (g_{\sigma_2}^e)^2\chi_{-\sigma_2}(p_2)\nonumber\\
233 &&\times
234 [\epsilon_jl_i\epsilon_i]_{\sigma_1}\chi_{\sigma_1}(p_1),
235 \end{eqnarray}
236 \begin{eqnarray}
237 \sum \vert M^{\text{viol}}_g \vert ^2&=&g^{2n-4}_S(Q^2)~N^{n-2}
238 (N^2-1)\nonumber \\
239 & &\times \left( \sum_{i<j}\right)
240 \sum_{\text{perm}}
241 \frac{1}{S_{12}}
242 \frac{1}{S_{12}}
243 \sum_\tau c^f_\tau~.
244 \end{eqnarray}
245 \textbf{Note:} Do not use \verb+\label{#1}+ on a line of a multiline
246 equation if \verb+\nonumber+ is also used on that line. Incorrect
247 cross-referencing will result. Notice the use \verb+\text{#1}+ for
248 using a Roman font within a math environment.
249
250 To set a multiline equation without \emph{any} equation
251 numbers, use the \verb+\begin{eqnarray*}+,
252 \verb+\end{eqnarray*}+ format:
253 \begin{eqnarray*}
254 \sum \vert M^{\text{viol}}_g \vert ^2&=&g^{2n-4}_S(Q^2)~N^{n-2}
255 (N^2-1)\\
256 & &\times \left( \sum_{i<j}\right)
257 \left(
258 \sum_{\text{perm}}\frac{1}{S_{12}S_{23}S_{n1}}
259 \right)
260 \frac{1}{S_{12}}~.
261 \end{eqnarray*}
262 To obtain numbers not normally produced by the automatic numbering,
263 use the \verb+\tag{#1}+ command, where \verb+#1+ is the desired
264 equation number. For example, to get an equation number of
265 (\ref{eq:mynum}),
266 \begin{equation}
267 g^+g^+ \rightarrow g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow
268 q^+g^+g^+ \dots ~. \tag{2.6$'$}\label{eq:mynum}
269 \end{equation}
270
271 A few notes on \verb=\tag{#1}=. \verb+\tag{#1}+ requires
272 \texttt{amsmath}. The \verb+\tag{#1}+ must come before the
273 \verb+\label{#1}+, if any. The numbering set with \verb+\tag{#1}+ is
274 \textit{transparent} to the automatic numbering in REV\TeX{};
275 therefore, the number must be known ahead of time, and it must be
276 manually adjusted if other equations are added. \verb+\tag{#1}+ works
277 with both single-line and multiline equations. \verb+\tag{#1}+ should
278 only be used in exceptional case - do not use it to number all
279 equations in a paper.
280
281 Note the equation number gets reset again:
282 \begin{equation}
283 g^+g^+g^+ \rightarrow g^+g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow
284 q^+g^+g^+ \dots ~.
285 \end{equation}
286
287 Enclosing single-line and multiline equations in
288 \verb+\begin{subequations}+ and \verb+\end{subequations}+ will produce
289 a set of equations that are ``numbered'' with letters, as shown in
290 Eqs.~(\ref{subeq:1}) and (\ref{subeq:2}) below:
291 \begin{subequations}
292 \label{eq:whole}
293 \begin{equation}
294 \left\{
295 abc123456abcdef\alpha\beta\gamma\delta1234556\alpha\beta
296 \frac{1\sum^{a}_{b}}{A^2}
297 \right\},\label{subeq:1}
298 \end{equation}
299 \begin{eqnarray}
300 {\cal M}=&&ig_Z^2(4E_1E_2)^{1/2}(l_i^2)^{-1}
301 (g_{\sigma_2}^e)^2\chi_{-\sigma_2}(p_2)\nonumber\\
302 &&\times
303 [\epsilon_i]_{\sigma_1}\chi_{\sigma_1}(p_1).\label{subeq:2}
304 \end{eqnarray}
305 \end{subequations}
306 Putting a \verb+\label{#1}+ command right after the
307 \verb+\begin{subequations}+, allows one to
308 reference all the equations in a subequations environment. For
309 example, the equations in the preceding subequations environment were
310 Eqs.~(\ref{eq:whole}).
311
312 \subsubsection{Wide equations}
313 The equation that follows is set in a wide format, i.e., it spans
314 across the full page. The wide format is reserved for long equations
315 that cannot be easily broken into four lines or less:
316 \begin{widetext}
317 \begin{equation}
318 {\cal R}^{(\text{d})}=
319 g_{\sigma_2}^e
320 \left(
321 \frac{[\Gamma^Z(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2}
322 +\frac{[\Gamma^Z(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2}
323 \right)
324 + x_WQ_e
325 \left(
326 \frac{[\Gamma^\gamma(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2}
327 +\frac{[\Gamma^\gamma(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2}
328 \right)\;. \label{eq:wideeq}
329 \end{equation}
330 \end{widetext}
331 This is typed to show the output is in wide format.
332 (Since there is no input line between \verb+\equation+ and
333 this paragraph, there is no paragraph indent for this paragraph.)
334 \section{Cross-referencing}
335 REV\TeX{} will automatically number sections, equations, figure
336 captions, and tables. In order to reference them in text, use the
337 \verb+\label{#1}+ and \verb+\ref{#1}+ commands. To reference a
338 particular page, use the \verb+\pageref{#1}+ command.
339
340 The \verb+\label{#1}+ should appear in a section heading, within an
341 equation, or in a table or figure caption. The \verb+\ref{#1}+ command
342 is used in the text where the citation is to be displayed. Some
343 examples: Section~\ref{sec:level1} on page~\pageref{sec:level1},
344 Table~\ref{tab:table1},%
345 \begin{table}
346 \caption{\label{tab:table1}This is a narrow table which fits into a
347 text column when using \texttt{twocolumn} formatting. Note that
348 REV\TeX~4 adjusts the intercolumn spacing so that the table fills the
349 entire width of the column. Table captions are numbered
350 automatically. This table illustrates left-aligned, centered, and
351 right-aligned columns. }
352 \begin{ruledtabular}
353 \begin{tabular}{lcr}
354 Left\footnote{Note a.}&Centered\footnote{Note b.}&Right\\
355 \hline
356 1 & 2 & 3\\
357 10 & 20 & 30\\
358 100 & 200 & 300\\
359 \end{tabular}
360 \end{ruledtabular}
361 \end{table}
362 and Fig.~\ref{fig:epsart}.
363
364 \section{Figures and Tables}
365 Figures and tables are typically ``floats''; \LaTeX\ determines their
366 final position via placement rules.
367 \LaTeX\ isn't always successful in automatically placing floats where you wish them.
368
369 Figures are marked up with the \texttt{figure} environment, the content of which
370 imports the image (\verb+\includegraphics+) followed by the figure caption (\verb+\caption+).
371 The argument of the latter command should itself contain a \verb+\label+ command if you
372 wish to refer to your figure with \verb+\ref+.
373
374 Import your image using either the \texttt{graphics} or
375 \texttt{graphix} packages. These packages both define the
376 \verb+\includegraphics{#1}+ command, but they differ in the optional
377 arguments for specifying the orientation, scaling, and translation of the figure.
378 Fig.~\ref{fig:epsart}%
379 \begin{figure}
380 \includegraphics{fig_1}% Here is how to import EPS art
381 \caption{\label{fig:epsart} A figure caption. The figure captions are
382 automatically numbered.}
383 \end{figure}
384 is small enough to fit in a single column, while
385 Fig.~\ref{fig:wide}%
386 \begin{figure*}
387 \includegraphics{fig_2}% Here is how to import EPS art
388 \caption{\label{fig:wide}Use the \texttt{figure*} environment to get a wide
389 figure, spanning the page in \texttt{twocolumn} formatting.}
390 \end{figure*}
391 is too wide for a single column,
392 so instead the \texttt{figure*} environment has been used.
393
394 The analog of the \texttt{figure} environment is \texttt{table}, which uses
395 the same \verb+\caption+ command.
396 However, you should type your caption command first within the \texttt{table},
397 instead of last as you did for \texttt{figure}.
398
399 The heart of any table is the \texttt{tabular} environment,
400 which represents the table content as a (vertical) sequence of table rows,
401 each containing a (horizontal) sequence of table cells.
402 Cells are separated by the \verb+&+ character;
403 the row terminates with \verb+\\+.
404 The required argument for the \texttt{tabular} environment
405 specifies how data are displayed in each of the columns.
406 For instance, a column
407 may be centered (\verb+c+), left-justified (\verb+l+), right-justified (\verb+r+),
408 or aligned on a decimal point (\verb+d+).
409 (Table~\ref{tab:table4}%
410 \begin{table}
411 \caption{\label{tab:table4}Numbers in columns Three--Five have been
412 aligned by using the ``d'' column specifier (requires the
413 \texttt{dcolumn} package).
414 Non-numeric entries (those entries without
415 a ``.'') in a ``d'' column are aligned on the decimal point.
416 Use the
417 ``D'' specifier for more complex layouts. }
418 \begin{ruledtabular}
419 \begin{tabular}{ccddd}
420 One&Two&\mbox{Three}&\mbox{Four}&\mbox{Five}\\
421 \hline
422 one&two&\mbox{three}&\mbox{four}&\mbox{five}\\
423 He&2& 2.77234 & 45672. & 0.69 \\
424 C\footnote{Some tables require footnotes.}
425 &C\footnote{Some tables need more than one footnote.}
426 & 12537.64 & 37.66345 & 86.37 \\
427 \end{tabular}
428 \end{ruledtabular}
429 \end{table}
430 illustrates the use of decimal column alignment.)
431
432 Extra column-spacing may be be specified as well, although
433 REV\TeX~4 sets this spacing so that the columns fill the width of the
434 table.
435 Horizontal rules are typeset using the \verb+\hline+
436 command.
437 The doubled (or Scotch) rules that appear at the top and
438 bottom of a table can be achieved by enclosing the \texttt{tabular}
439 environment within a \texttt{ruledtabular} environment.
440 Rows whose columns span multiple columns can be typeset using \LaTeX's
441 \verb+\multicolumn{#1}{#2}{#3}+ command
442 (for example, see the first row of Table~\ref{tab:table3}).%
443 \begin{table*}
444 \caption{\label{tab:table3}This is a wide table that spans the page
445 width in \texttt{twocolumn} mode. It is formatted using the
446 \texttt{table*} environment. It also demonstrates the use of
447 \textbackslash\texttt{multicolumn} in rows with entries that span
448 more than one column.}
449 \begin{ruledtabular}
450 \begin{tabular}{ccccc}
451 &\multicolumn{2}{c}{$D_{4h}^1$}&\multicolumn{2}{c}{$D_{4h}^5$}\\
452 Ion&1st alternative&2nd alternative&lst alternative
453 &2nd alternative\\ \hline
454 K&$(2e)+(2f)$&$(4i)$ &$(2c)+(2d)$&$(4f)$ \\
455 Mn&$(2g)$\footnote{The $z$ parameter of these positions is $z\sim\frac{1}{4}$.}
456 &$(a)+(b)+(c)+(d)$&$(4e)$&$(2a)+(2b)$\\
457 Cl&$(a)+(b)+(c)+(d)$&$(2g)$\footnote{This is a footnote in a table that spans the full page
458 width in \texttt{twocolumn} mode. It is supposed to set on the full width of the page, just as the caption does. }
459 &$(4e)^{\text{a}}$\\
460 He&$(8r)^{\text{a}}$&$(4j)^{\text{a}}$&$(4g)^{\text{a}}$\\
461 Ag& &$(4k)^{\text{a}}$& &$(4h)^{\text{a}}$\\
462 \end{tabular}
463 \end{ruledtabular}
464 \end{table*}
465
466 The tables in this document illustrate various effects.
467 Tables that fit in a narrow column are contained in a \texttt{table}
468 environment.
469 Table~\ref{tab:table3} is a wide table, therefore set with the
470 \texttt{table*} environment.
471 Lengthy tables may need to break across pages.
472 A simple way to allow this is to specify
473 the \verb+[H]+ float placement on the \texttt{table} or
474 \texttt{table*} environment.
475 Alternatively, using the standard \LaTeXe\ package \texttt{longtable}
476 gives more control over how tables break and allows headers and footers
477 to be specified for each page of the table.
478 An example of the use of \texttt{longtable} can be found
479 in the file \texttt{summary.tex} that is included with the REV\TeX~4
480 distribution.
481
482 There are two methods for setting footnotes within a table (these
483 footnotes will be displayed directly below the table rather than at
484 the bottom of the page or in the bibliography).
485 The easiest
486 and preferred method is just to use the \verb+\footnote{#1}+
487 command. This will automatically enumerate the footnotes with
488 lowercase roman letters.
489 However, it is sometimes necessary to have
490 multiple entries in the table share the same footnote.
491 In this case,
492 create the footnotes using
493 \verb+\footnotemark[#1]+ and \verb+\footnotetext[#1]{#2}+.
494 \texttt{\#1} is a numeric value.
495 Each time the same value for \texttt{\#1} is used,
496 the same mark is produced in the table.
497 The \verb+\footnotetext[#1]{#2}+ commands are placed after the \texttt{tabular}
498 environment.
499 Examine the \LaTeX\ source and output for Tables~\ref{tab:table1} and
500 \ref{tab:table2}%
501 \begin{table}
502 \caption{\label{tab:table2}A table with more columns still fits
503 properly in a column. Note that several entries share the same
504 footnote. Inspect the \LaTeX\ input for this table to see
505 exactly how it is done.}
506 \begin{ruledtabular}
507 \begin{tabular}{cccccccc}
508 &$r_c$ (\AA)&$r_0$ (\AA)&$\kappa r_0$&
509 &$r_c$ (\AA) &$r_0$ (\AA)&$\kappa r_0$\\
510 \hline
511 Cu& 0.800 & 14.10 & 2.550 &Sn\footnotemark[1]
512 & 0.680 & 1.870 & 3.700 \\
513 Ag& 0.990 & 15.90 & 2.710 &Pb\footnotemark[2]
514 & 0.450 & 1.930 & 3.760 \\
515 Au& 1.150 & 15.90 & 2.710 &Ca\footnotemark[3]
516 & 0.750 & 2.170 & 3.560 \\
517 Mg& 0.490 & 17.60 & 3.200 &Sr\footnotemark[4]
518 & 0.900 & 2.370 & 3.720 \\
519 Zn& 0.300 & 15.20 & 2.970 &Li\footnotemark[2]
520 & 0.380 & 1.730 & 2.830 \\
521 Cd& 0.530 & 17.10 & 3.160 &Na\footnotemark[5]
522 & 0.760 & 2.110 & 3.120 \\
523 Hg& 0.550 & 17.80 & 3.220 &K\footnotemark[5]
524 & 1.120 & 2.620 & 3.480 \\
525 Al& 0.230 & 15.80 & 3.240 &Rb\footnotemark[3]
526 & 1.330 & 2.800 & 3.590 \\
527 Ga& 0.310 & 16.70 & 3.330 &Cs\footnotemark[4]
528 & 1.420 & 3.030 & 3.740 \\
529 In& 0.460 & 18.40 & 3.500 &Ba\footnotemark[5]
530 & 0.960 & 2.460 & 3.780 \\
531 Tl& 0.480 & 18.90 & 3.550 & & & & \\
532 \end{tabular}
533 \end{ruledtabular}
534 \footnotetext[1]{Here's the first, from Ref.~\onlinecite{feyn54}.}
535 \footnotetext[2]{Here's the second.}
536 \footnotetext[3]{Here's the third.}
537 \footnotetext[4]{Here's the fourth.}
538 \footnotetext[5]{And etc.}
539 \end{table}
540 for an illustration.
541
542 All AAPM journals require that the initial citation of
543 figures or tables be in numerical order.
544 \LaTeX's automatic numbering of floats is your friend here:
545 just put each \texttt{figure} environment immediately following
546 its first reference (\verb+\ref+), as we have done in this example file.
547
548 \begin{acknowledgments}
549 We wish to acknowledge the support of the author community in using
550 REV\TeX{}, offering suggestions and encouragement, testing new versions,
551 \dots.
552 \end{acknowledgments}
553
554 \appendix
555
556 \section{Appendixes}
557
558 To start the appendixes, use the \verb+\appendix+ command.
559 This signals that all following section commands refer to appendixes
560 instead of regular sections. Therefore, the \verb+\appendix+ command
561 should be used only once---to set up the section commands to act as
562 appendixes. Thereafter normal section commands are used. The heading
563 for a section can be left empty. For example,
564 \begin{verbatim}
565 \appendix
566 \section{}
567 \end{verbatim}
568 will produce an appendix heading that says ``APPENDIX A'' and
569 \begin{verbatim}
570 \appendix
571 \section{Background}
572 \end{verbatim}
573 will produce an appendix heading that says ``APPENDIX A: BACKGROUND''
574 (note that the colon is set automatically).
575
576 If there is only one appendix, then the letter ``A'' should not
577 appear. This is suppressed by using the star version of the appendix
578 command (\verb+\appendix*+ in the place of \verb+\appendix+).
579
580 \section{A little more on appendixes}
581
582 Observe that this appendix was started by using
583 \begin{verbatim}
584 \section{A little more on appendixes}
585 \end{verbatim}
586
587 Note the equation number in an appendix:
588 \begin{equation}
589 E=mc^2.
590 \end{equation}
591
592 \subsection{\label{app:subsec}A subsection in an appendix}
593
594 You can use a subsection or subsubsection in an appendix. Note the
595 numbering: we are now in Appendix~\ref{app:subsec}.
596
597 \subsubsection{\label{app:subsubsec}A subsubsection in an appendix}
598 Note the equation numbers in this appendix, produced with the
599 subequations environment:
600 \begin{subequations}
601 \begin{eqnarray}
602 E&=&mc, \label{appa}
603 \\
604 E&=&mc^2, \label{appb}
605 \\
606 E&\agt& mc^3. \label{appc}
607 \end{eqnarray}
608 \end{subequations}
609 They turn out to be Eqs.~(\ref{appa}), (\ref{appb}), and (\ref{appc}).
610
611 \nocite{*}
612 \bibliography{aapmsamp}% Produces the bibliography via BibTeX.
613
614 \end{document}
615 %
616 % ****** End of file aapmsamp.tex ******