summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/osa/journals
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/osa/journals
Initial commit
Diffstat (limited to 'macros/latex/contrib/osa/journals')
-rw-r--r--macros/latex/contrib/osa/journals/OSAstyle.tex615
-rw-r--r--macros/latex/contrib/osa/journals/OSAstyle_pdf.pdfbin0 -> 136354 bytes
-rw-r--r--macros/latex/contrib/osa/journals/OSAstyle_pdf.tex626
-rw-r--r--macros/latex/contrib/osa/journals/OSAtemp.tex119
-rw-r--r--macros/latex/contrib/osa/journals/OT10000F1.eps406
-rw-r--r--macros/latex/contrib/osa/journals/README10
-rw-r--r--macros/latex/contrib/osa/journals/geometry.cfg23
-rw-r--r--macros/latex/contrib/osa/journals/osajnl.bst1448
-rw-r--r--macros/latex/contrib/osa/journals/osajnl.rtx565
-rw-r--r--macros/latex/contrib/osa/journals/osajnl.sty284
10 files changed, 4096 insertions, 0 deletions
diff --git a/macros/latex/contrib/osa/journals/OSAstyle.tex b/macros/latex/contrib/osa/journals/OSAstyle.tex
new file mode 100644
index 0000000000..6c9c04503f
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/OSAstyle.tex
@@ -0,0 +1,615 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: OSAstyle.tex %
+% VERSION: 3.1 %
+% Date: May 28 2004 %
+% %
+% LaTeX template file for use with OSA journals %
+% JOSA A, JOSA B, Applied Optics, and %
+% Optics Letters %
+% %
+% This file requires the substyle file osajnl.rtx, %
+% running under REVTeX 4.0 and LaTeX 2e, %
+% or %
+% the style file osajnl.sty, running under LaTeX 2e %
+% %
+% USE THE FOLLOWING REVTEX 4.0 OPTIONS: %
+% \documentclass[osajnl,preprint,showpacs]{revtex4} %
+% %
+% USE THE FOLLOWING LaTeX OPTIONS: %
+% \documentclass[12pt]{article} %
+% \usepackage{osajnl} %
+% %
+% %
+% NOTE: LaTeX 2.09 IS NO LONGER SUPPORTED %
+% %
+% (C) 2004 The Optical Society of America %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% \documentclass[12pt,osajnl,preprint,showpacs]{revtex4} %% REVTeX 4.0
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Delete any REVTEX output files before running in LaTeX mode
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[letterpaper,12pt]{article} %% LaTeX 2e (preferred)
+\usepackage{osajnl} %% do not use with REVTeX4
+\usepackage[draft]{hyperref} %% optional
+
+\begin{document}
+
+\title{Preparing a manuscript
+for the Optical Society of America journals JOSA A, JOSA B, \\
+\textit{Applied Optics}, and \textit{Optics Letters}}
+
+\author{Scott Dineen, Alexine Moore, and Joseph Richardson}
+%% for REVTeX4, each author name can be set in a separate \author{} field
+
+\address{Optical Society of America, 2010 Massachusetts Avenue, NW, \\
+Washington, D.C. 20036} %\affiliation will also work
+
+\email{alias@osa.org}
+
+\begin{abstract}A style guide and template for JOSA A, JOSA B,
+\textit{Applied Optics}, and \textit{Optics Letters} manuscripts
+is provided with a focus on use of \LaTeXe\ and REV\TeX{}4. A
+basic template, \texttt{osatemp.tex}, is also included in this
+distribution. Additional detailed instructions for manuscript
+preparation and submission are available on the home page for each
+OSA journal; see \mbox{\href{http://www.opticsinfobase.org}{http://www.opticsinfobase.org}}. \\
+\end{abstract}
+
+\ocis{000.0000, 999.9999.}% REPLACE WITH CORRECT OCIS CODES FOR YOUR ARTICLE
+ % NOTE: \ocis{} IS ALIASED TO \pacs{} BUT MUST
+ % FORMAT THE TERMS CORRECTLY FOR EACH JOURNAL
+
+\maketitle %% null function with osajnl.sty
+
+\section{Introduction}
+Adherence to the specifications listed in this guide is essential
+for efficient review and publication. For additional guidelines on OSA style see the
+\textit{OSA Print Journal Style Guide} on individual journal pages on
+\mbox{\href{http://www.opticsinfobase.org}{http://www.opticsinfobase.org}}.
+
+
+\section{Page Layout and Length}
+Paper size for electronic submissions should be U.S. Letter, 8.5
+in. $\times$ 11 in. (approximately 21.5 cm $\times$ 28 cm).
+Interline spacing has been changed from 2 to 1.2 to help save space. Recommended page length for manuscripts varies with each journal.
+
+Note that \textit{Optics Letters} (OL) has a strict limit of
+three printed, i.e.---final typeset---pages. Mandatory page
+charges or higher publication fees apply to papers above each
+journal's length limit.
+\section{Software}
+\subsection{Package Files}
+The package file \texttt{osajnl.sty} calls up
+\texttt{overcite.sty} (citations), \texttt{graphicx.sty} (replaces \texttt{graphics.sty}), and \texttt{geometry.sty} (page layout). Additional
+package files should be used when needed (e.g.,
+\texttt{hyperref.sty}, as used in this document). Use of
+nonstandard or custom package files is discouraged; however, if
+such files are essential, they should be included with the
+manuscript submission.
+
+\subsection{\LaTeX{} and REV\TeX} Most versions of \LaTeXe{}
+available as freeware, shareware, or commercially will run the OSA
+\LaTeX{} files correctly. Authors who choose to use REV\TeX{}
+should obtain the latest REV\TeX{}4 package from the American
+Physical Society (\url{http://www.aps.org}) or from the
+Comprehensive \TeX{} Archive Network (CTAN;
+\href{http://www.ctan.org}{http://www.ctan.org}) and become familiar with REV\TeX{}4's
+special features. Note that certain packages, such as
+\verb+natbib+, that may be required for proper operation of
+REV\TeX{} are not necessarily included in the standard REV\TeX{}4
+distribution and should be obtained separately.
+
+\subsection{Compressing Files for Submission}
+Authors submitting \LaTeX{} or REV\TeX{} files should create a
+tarred, gzipped archive of their \texttt{.tex} file and all
+figures (which should be in EPS digital format). All files must be
+referenced at the root level (e.g., file {\tt OT00000F1.eps}, not
+\verb+\EPSDIR\OT00000F1.eps+). Authors who submit a \LaTeX{} or REV\TeX{} file
+with no figures may submit an ASCII text file without compression
+or archiving. {\bf Note that submission of \TeX-generated
+PostScript files is not allowed}.
+
+\subsection{REV\TeX{} and \LaTeX{} Support}
+The subfile \texttt{osajnl.rtx} is REV\TeX{}4 compliant. REV\TeX{} and
+\LaTeX{} commands for title, author, address, and e-mail are
+supported. The \verb+\pacs{}+ command has been made an alias of
+\verb+\ocis{}+; \verb+\affiliation{}+, an alias of
+\verb+\address{}+. With little effort, a manuscript prepared in
+the REV\TeX{}4 substyle for another society's journal can be
+converted to OSA style. The style commands that may be used at the
+start of a manuscript for submission to JOSA A, JOSA B,
+\textit{Applied Optics}, and \textit{Optics Letters} are
+\begin{verbatim}
+ \documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0
+
+ or
+
+ \documentclass[12pt]{article} %%LaTeX 2e
+ \usepackage{osajnl}
+\end{verbatim}
+
+Note that \LaTeX{} packages for \href{http://www.opticsexpress.org}{\textit{Optics Express}} and the \href{http://www.osa-jon.org}{\textit{Journal of Optical Networking}} should be obtained separately.
+
+
+\section{Main Text}
+\subsection{Typographical Style}
+Margins and type size will be set by the OSA REV\TeX{} or \LaTeX{}
+commands for title, author names and addresses, abstract,
+references, captions, and so on. Use of custom macros and style
+files is discouraged.
+
+
+
+\subsection{Title}
+Only the first letter in the title is
+capitalized, except for proper names and abbreviations (note that
+abbreviations should be spelled out in most cases in manuscript
+and section titles). Place the title within the braces of the
+\verb+\title{}+ command.
+
+
+\subsection{Author Names}
+Author names should be given in full and consistent form to
+facilitate indexing. Every effort should be made to keep author
+names consistent from one paper to the next as they appear within
+OSA publications. For REV\TeX{} set each author name off with a
+separate \verb+\author{}+ command above the appropriate
+affiliation. REV\TeX{} will add commas and the word ``and.'' For
+\LaTeX, author names should be grouped together, as appropriate,
+with proper punctuation.
+
+\subsection{Author Affiliations}
+Affiliations should follow the format division, organization, and
+address---and complete postal information should be given.
+Abbreviations should not be used. Place each affiliation within
+the braces of the \verb+\affiliation{}+ command to achieve the
+correct format.
+
+\bigskip
+
+For REV\TeX:
+\begin{verbatim}
+\author{Alessandra Gatti}
+\author{Luigi Alberto A. Lugiato}
+\affiliation{Instituto Nazional di Fisica per la Materia,
+Dipartmento Di Fisica, \\ Via Celoria 16, 20133 Milano, Italy}
+\end{verbatim}
+
+\bigskip
+
+For \LaTeX:
+\begin{verbatim}
+\author{Gian-Luca Oppo and Richard Martin}
+\affiliation{Department of Physics, University of Strathclyde, \\
+Rottenrow 107, Glasgow G4 ONG, Scotland}
+\end{verbatim}
+
+\subsection{Abstract} Authors should place the abstract between
+the following commands to achieve the correct format: \
+\verb+\begin{abstract}+ and \verb+\end{abstract}+. The abstract
+should be limited to approximately 100 words. It should be an
+explicit summary of the paper that states the problem, the methods
+used, and the major results and conclusions. If the research of
+another author is referenced in the abstract, complete information
+(e.g., journal, volume number, first page, year) must be
+given in the abstract itself.
+
+\subsection{OCIS Subject Classification} Optics Classification and
+Indexing Scheme (OCIS) subject classifications should be placed at
+the end of the abstract with the \verb+\ocis{}+ command. OCIS
+codes can be found at \href{http://www.osa.org/pubs/authors/ocis/}{http://www.osa.org/pubs/authors/ocis/}.
+
+\subsection{Mathematical and Scientific Notation}
+\subsubsection{Displayed Equations} Equations should be centered.
+Equation numbers should appear at the right-hand margin, in
+parentheses:
+\begin{equation}
+H = \frac{1}{2m}(p_x^2 + p_y^2) + \frac{1}{2} M{\Omega}^2
+ (x^2 + y^2) + \omega (xp_y - yp_x).
+\end{equation}
+
+All equations should be numbered in the order in which they appear
+and should be referenced from within the main text as Eq. (1),
+Eq. (2), and so on.
+
+\begin{eqnarray}
+I_{(z, \tau)} & = & \frac{1}{2} \left[ \left|
+ A \left(\tau - \frac{\delta \tau}{2}z \right) \right|^2
+ + \frac{1}{2} \left| A \left( \tau + \frac{\delta \tau}{2}z \right) \right|^2
+ + 2A \left( \tau - \frac{\delta \tau}{2}z \right)
+ A \left( \tau + \frac{\delta \tau}{2}z \right) \right. \nonumber \\
+ & & \left. \times \cos \left( \pi \frac{z}{L_c} \right) \right]
+ \int _{-\infty}^{+\infty}\int _{-\infty}^{+\infty}
+ {\psi_1}^2(x,y){\rm d}x{\rm d}y \nonumber \\
+ & & + \frac{1}{2} \left[ \left| A \left(
+ \tau - \frac{\delta \tau}{2}z \right) \right| ^2
+ + \frac{1}{2} \left| A \left( \tau + \frac{\delta \tau}{2}z \right) \right| ^2
+ - 2A \left( \tau - \frac{\delta \tau}{2}z \right)
+ A \left( \tau + \frac{\delta \tau}{2}z \right) \right. \nonumber \\
+ & & \left. \times \cos \left( \pi \frac{z}{L_c} \right) \right]
+ \int _{-\infty}^{+\infty}\int _{-\infty}^{+\infty}
+ {\psi_2}^2(x,y){\rm d}x{\rm d}y.
+\end{eqnarray}
+
+
+\subsubsection{In-Line Math} To help with conversion, place all math in a proper math environment. For example, expression \mbox{$3\times 4 = 12$} should be set this way, \texttt{\$3$\backslash$times 4=12\$}, not this way, \texttt{3 \$$\backslash$times\$4=12}. Simple fractions in in-line math
+should use parentheses when necessary to avoid ambiguity, for
+example, to distinguish between $1/(n-1)$ and $1/n-1$. Exceptions
+to this are the proper fractions such as $\frac{1}{2}$, which are
+better left in this form. Summations and integrals that appear
+within text such as $\frac{1}{2}{\Sigma } _{n=1}^{n=\infty} (n^2 -
+2n)^{-1}$ should have limits placed to the right of the symbol to
+reduce white space.
+
+\subsubsection{General Guidelines on Notation} Notation must be
+legible, clear, compact, and consistent with standard usage. In
+general, acronyms should be defined at first use. Adherence to the
+following guidelines will greatly assist the production process:
+
+\paragraph*{\bf Radical Signs.}
+When possible, avoid oversized radical signs
+by using the notation of a superscript $1/2$. For example, change
+$\sqrt{(a + b)(a - c)}$ to $[(a + b)(a - c)]^{1/2}$.
+
+\paragraph*{\bf Exponentials.} Avoid tiny superscripts of exponential $e$ (e.g.,
+$e^{jkl})$ by using the alternative \verb+\exp+ notation,
+$\exp(jkl)$.
+
+\paragraph*{\bf Variables and Vectors.}
+Set single-letter variables in italics $(k)$. Set three-vectors in
+boldface $(\mathbf{k})$. Functions, derivative ``d,''
+abbreviations, and multiletter identifiers should be set in roman
+(plain) type ($\alpha \cos, \int\!\dots{\rm d}x, k^{\rm out}$).
+
+\paragraph*{\bf Multiplication.}
+In general, close up multiplied terms $(p_yp_x)$;
+use $\times$ if multiplication sign is essential $(2 \times
+10^{-2})$ or for continuation in displayed equations [see Eq. (2)
+above]. Use raised dot only for scalar product $(\mathbf{k \cdot
+k})$.
+
+\paragraph*{\bf Fences.}
+For simple bracketing the usual order of parentheses and brackets
+is $\{ \, [ \, ( \, \{ \, [ \, ( \, | \, ) \, ] \, \} \,
+) \, ] \, \}$.
+
+\paragraph*{\bf Bit and Byte.}
+The standard abbreviations for bit
+and byte are b and B, respectively. To avoid confusion, these
+units should be spelled out in most cases (1 bit, 20 GByte).
+
+\paragraph*{\bf Metric System.}
+The metric system is used in OSA journals. If nonmetric units are
+essential (e.g., for parts specifications), conversion should be
+given at first mention: ``. . . a $\frac{1}{4}$\,-in. bolt (1 in.
+= 2.54 cm).''
+
+
+\subsection{Acknowledgments} Acknowledgments, if included, should
+appear at the end of the document, just before the references. The
+number of a grant or contract should be omitted unless its
+inclusion is required by the agency supporting the research. Use
+the command \verb+\section*{Acknowledgments}+ to create a
+nonnumbered section heading.
+
+\section{References}
+\subsection{\TeX{} and Bib\TeX} Authors must use the standard
+REV\TeX{}4 or \LaTeXe{} commands for references and citations.
+References must be contained within the \texttt{.tex} file, not a
+separate Bib\TeX{} file.
+
+\paragraph{Bib\TeX.} Bib\TeX{} may be used to create a file
+containing the references, whose contents (i.e., contents of \texttt{.bbl} file) can then be pasted into the bibliography section of
+the \texttt{.tex} file. A new Bib\TeX{} style file, \texttt{osajnl.bst}, is provided.
+
+The commands \verb+\begin{thebibliography}{}+ and
+\verb+\end{thebibliography}+ format the section according to
+standard style, showing the title {\bf References}. Use the
+\verb+\bibitem{label}+ command to start each reference.
+
+\subsection{Formatting Citations}
+References should be numbered consecutively in the order in which
+they are referenced in the body of the paper. Use of
+\verb+\cite{}+ will produce superscript reference callouts, which
+is OSA style, when appropriate REV\TeX{} and \LaTeX{} packages are
+used (\texttt{natbib} and \texttt{overcite}, respectively). References
+can also be hard coded with \verb+.$^1$+.
+
+
+In text, reference numbers should follow a comma or period.$^1$ Two
+references$^{2,3}$ should be included together, separated by a
+comma, and three or more consecutive references should be
+indicated by the bounding numbers and a dash.$^{1\--4}$ When
+on-line reference numbers are essential (e.g., see Ref. 1) use the
+command \verb+\citeonline{}+ for \LaTeX. For REV\TeX, use
+\verb+\onlinecite{}+
+
+\subsection{Formatting Reference Items}
+Each source must have its own reference number. Footnotes (notes
+at the bottom of text pages) are not used in OSA journals.
+References require all author names, full titles, and inclusive
+pagination. Here are some examples of how to set the most common
+reference types:
+
+
+\vskip.4pc
+
+\hskip8pt{\bf Journal paper}
+
+\begin {enumerate}
+
+\item C. van Trigt, ``Visual system-response functions and estimating reflectance,'' %\josaa
+ J. Opt. Soc. Am. A {\bf 14,} 741--755 (1997).
+
+\vskip.4pc {\bf Book}
+
+\item T. Masters, {\it Practical Neural Network Recipes in C++} (Academic,
+New York, 1993).
+
+\vskip.4pc {\bf Chapter in a book}
+
+\item B. L. Shoop, A. H. Sayles, and D. M. Litynski, ``New devices for
+optoelectronics: \ smart pixels,'' in {\it Handbook of Fiber
+Optic Data Communications,} C. DeCusatis, D. Clement, E. Maass,
+and R. Lasky, eds. (Academic, San Diego, Calif., 1997), pp.
+705--758.
+
+\vskip.4pc {\bf Paper in a published conference proceedings}
+
+\item R. E. Kalman, ``Algebraic aspects of the generalized inverse of a
+rectangular matrix,'' in {\it Proceedings of Advanced Seminar on
+Genralized Inverse and Applications,} M. Z. Nashed, ed. (Academic,
+San Diego, Calif., 1976), pp. 111--124.
+
+\vskip.4pc {\bf Paper in an unpublished conference proceedings}
+
+\item D. Steup and J. Weinzierl, ``Resonant THz-meshes,'' presented at the
+Fourth International Workshop on THz Electronics,
+Erlangen-Tennenlohe, Germany, 5--6 Sept. 1996.
+
+\vskip.4pc {\bf SPIE proceedings}
+
+\item S. K. Griebel, M. Richardson, K. E. Devenport, and H. S. Hinton,
+``Experimental performance of an ATM-based buffered hyperplane
+CMOS-SEED smart pixel array,'' in {\it Optoelectronic
+Interconnects and Packaging IV,} R. T. Chen and P. S. Guilfoyle,
+eds., Proc. SPIE {\bf 3005,} 254--256 (1997).
+
+\vskip.4pc {\bf IEEE proceedings}
+
+\item T. Darrel and K. Wohn, ``Pyramid based depth from focus,'' in
+{\it Proceedings of IEEE Conference on Computer Vision and Pattern
+Recognition} (Institute of Electrical and Electronics Engineers,
+New York, 1988), pp. 504--509.
+
+\vskip.4pc {\bf OSA proceedings}
+
+\item W. J. Alford, T. D. Raymond, and A. V. Smith, ``Characterization of a ring optical
+parametric oscillator,'' in {\it Advanced Solid-State Lasers,} T.~
+Y. Fan and B. Chai, eds., Vol. 20 of OSA Proceedings Series
+(Optical Society of America, Washington, D.C., 1994), pp.
+476--479.
+
+\vskip.4pc {\bf Personal communication}
+
+\item Barbara Williams, Editorial Department, Optical Society of
+America, 2010 Massa\-chusetts Avenue, N.W., Washington, D.C.,
+20036 (personal communication, 2001).
+
+\vskip.4pc{\bf Electronic archives and Internet sources}
+
+{\em Electronic periodical}
+
+\item C. Jerry, ``Remarks on the use of group
+theory in quantum optics,'' \opex {\bf 8,} 76--85 (2001),
+\href{http://www.opticsexpress.org}{http://www.opticsexpress.org}.
+
+\end{enumerate}
+
+
+
+\section{Figures and Tables}
+
+\subsection{Figures}
+For detailed information about appropriate figure resolutions and
+file types, see {\em Preparing Electronic Art for OSA Print
+Journals} on the Author section of the appropriate journal's
+homepage.
+
+Figure captions should be listed on one or more pages, after the
+References and before the figure images. The abbreviation ``Fig.''
+for figure should appear first followed by the figure number and a
+period.
+
+For electronic submissions all art work must be in digital form,
+placed in the electronic document with the standard graphics
+commands. Tables and figures should not appear in the body of the
+manuscript but on separate pages at the back. With REV\TeX{}4,
+figures and tables will float to the end of the document,
+overriding any float options specified. The caption accompanying
+the figure should include the figure file name. The
+\verb+\caption{}+ command will produce the required results. The
+following is sample code that may be used for setting figures,
+although any standard commands are acceptable:
+
+\begin{verbatim}
+ \begin{figure}[t]
+ \centerline{\includegraphics{OT10000F1.eps}}
+ \caption{Multipanel figure assembled into one EPS file with proper
+ arrangement and labeling. OT10000F1.eps.}
+ \end{figure}
+\end{verbatim}
+
+No more than one figure should appear on a manuscript page, except
+in the case of multipart figures, which should be assembled into a
+single file, if possible, and arranged and labeled as shown below.
+Figure file names should include either the manuscript number or
+the first author's last name and the figure number, e.g.,
+b8879F1.EPS or smithF2.EPS. {\bf To avoid mixups, do {\bf {\em
+not}} label figures simply ``Fig1.EPS,'' or similar.}
+
+\subsection{Tables}
+Tables must be numbered and appear on separate pages. Table
+titles---which should be brief---must be placed above the table,
+with the \verb+\caption{}+ command. Detailed explanations or table
+footnotes should appear directly beneath the table. Tables should
+use horizontal rules to delimit the top and the bottom of the
+table and column headings. In general, vertical rules should
+not be used.
+
+\section{Conclusion}
+
+After the manuscript is proofread, the \texttt{.tex} file and figures
+should be tarred and gzipped. Follow the instructions on the OSA
+Publications web site for submitting through the e-subs system
+(\href{http://www.osa/org/pubs}{http://www.osa/org/pubs}). Authors should feel free to
+contact OSA staff for assistance (see appropriate journal page on
+the web site for contact information).
+
+%% Code for appendices and equation numbers
+%\appendix
+
+%\section*{Appendix A: Sample}
+%\setcounter{equation}{0}
+%\renewcommand{\theequation}{A{\arabic{equation}}}
+
+%\begin{equation} a+b=c.
+%\end{equation}
+
+%\section*{Appendix B: Sample}
+%\setcounter{equation}{0}
+%\renewcommand{\theequation}{B{\arabic{equation}}} %change B as needed
+%\begin{equation}
+%x-y=z.
+%\end{equation}
+
+
+\begin{thebibliography}{99}
+%\begin{references}
+
+\bibitem{vanTrigt92}
+C. van Trigt, ``Visual system-response functions and estimating reflectance,'' %\josaa
+J. Opt. Soc. Am. A {\bf 14,} 741--755 (1997).
+
+\bibitem{Masters93}
+T. Masters, {\it Practical Neural Network Recipes in C++} (Academic,
+New York, 1993).
+
+\bibitem{Shoop97}
+B. L. Shoop, A. H. Sayles, and D. M. Litynski, ``New devices for
+optoelectronics: \ smart pixels,'' in {\it Handbook of Fiber
+Optic Data Communications,} C. DeCusatis, D. Clement, E. Maass,
+and R. Lasky, eds. (Academic, San Diego, Calif., 1997), pp.
+705--758.
+
+\bibitem{Kalman76}
+R. E. Kalman, ``Algebraic aspects of the generalized inverse of a
+rectangular matrix,'' in {\it Proceedings of Advanced Seminar on
+Genralized Inverse and Applications,} M. Z. Nashed, ed. (Academic,
+San Diego, Calif., 1976), pp. 111--124.
+
+\bibitem{Steup96}
+D. Steup and J. Weinzierl, ``Resonant THz-meshes,'' presented at the
+Fourth International Workshop on THz Electronics,
+Erlangen-Tennenlohe, Germany, 5--6 Sept. 1996.
+
+\bibitem{Griebel97}
+ S. K. Griebel, M. Richardson, K. E. Devenport, and H. S. Hinton,
+``Experimental performance of an ATM-based buffered hyperplane
+CMOS-SEED smart pixel array,'' in {\it Optoelectronic
+Interconnects and Packaging IV,} R. T. Chen and P. S. Guilfoyle,
+eds., Proc. SPIE {\bf 3005,} 254--256 (1997).
+
+\bibitem{Darrel88}
+T. Darrel and K. Wohn, ``Pyramid based depth from focus,'' in
+{\it Proceedings of IEEE Conference on Computer Vision and Pattern
+Recognition} (Institute of Electrical and Electronics Engineers,
+New York, 1988), pp. 504--509.
+
+\bibitem{Alford94}
+ W. J. Alford, T. D. Raymond, and A. V. Smith, ``Characterization of a ring optical
+parametric oscillator,'' in {\it Advanced Solid-State Lasers,} T.~
+Y. Fan and B. Chai, eds., Vol. 20 of OSA Proceedings Series
+(Optical Society of America, Washington, D.C., 1994), pp.
+476--479.
+
+\bibitem{Williams01}
+Barbara Williams, Editorial Department, Optical Society of
+America, 2010 Massa\-chusetts Avenue, N.W., Washington, D.C.,
+20036 (personal communication, 2001).
+
+\bibitem{Jerry01}
+C. Jerry, ``Remarks on the use of group
+theory in quantum optics,'' \opex {\bf 8,} 76--85 (2001),
+\href{http://www.opticsexpress.org}{http://www.opticsexpress.org}.
+
+\end{thebibliography}
+
+\newpage
+%% Table
+
+\begin{table}[h]
+{\bf \caption{Standard Abbreviations for 31 Commonly Cited
+Journals}}\begin{center}
+\begin{tabular}{lp{2.3in}lp{1.5in}}\hline
+Macro & Abbreviation & Macro & Abbreviation \\ \hline
+\verb+\ao+ & Appl.\ Opt.\ & \verb+\nat+ & Nature (London) \\
+\verb+\ap+ & Appl.\ Phys.\ & \verb+\oc+ & Opt.\ Commun.\ \\
+\verb+\apl+ & Appl.\ Phys.\ Lett.\
+ & \verb+\opex+ & Opt.\ Express \\
+\verb+\apj+ & Astrophys.\ J.\ & \verb+\ol+ & Opt.\ Lett.\ \\
+\verb+\bell+ & Bell Syst.\ Tech.\ J.\
+ & \verb+\pl+ & Phys.\ Lett.\ \\
+\verb+\jqe+ & IEEE J.\ Quantum Electron.\
+ & \verb+\pra+ & Phys.\ Rev.\ A \\
+\verb+\assp+ & IEEE Trans.\ Acoust.\ Speech Signal Process.\
+ & \verb+\prb+ & Phys.\ Rev.\ B \\
+\verb+\aprop+ & IEEE Trans.\ Antennas Propag.\
+ & \verb+\prc+ & Phys.\ Rev.\ C \\
+\verb+\mtt+ & IEEE Trans.\ Microwave Theory Tech.\
+ & \verb+\prd+ & Phys.\ Rev.\ D \\
+\verb+\iovs+ & Invest.\ Ophthalmol.\ Visual\ Sci.\
+ & \verb+\pre+ & Phys.\ Rev.\ E \\
+\verb+\jcp+ & J.\ Chem.\ Phys.\
+ & \verb+\prl+ & Phys.\ Rev.\ Lett.\ \\
+ \verb+\jon+ & J.\ Opt.\ Netw.\
+& \verb+\rmp+ & Rev.\ Mod.\ Phys.\ \\
+\verb+\josa+ & J.\ Opt.\ Soc.\ Am.\
+& \verb+\pspie+ & Proc.\ SPIE \\
+\verb+\josaa+ & J.\ Opt.\ Soc.\ Am.\ A
+ & \verb+\sjqe+ & Sov.\ J.\ Quantum Electron.\ \\
+\verb+\josab+ & J.\ Opt.\ Soc.\ Am.\ B
+ & \verb+\vr+ & Vision Res.\ \\
+\verb+\jpp+ & J.\ Phys.\ (Paris) & & \\ \hline
+\end{tabular}
+\end{center}
+\end{table}
+
+\newpage
+
+\section*{List of Figure Captions}
+
+Fig. 1. Multipanel figure assembled into one file with proper
+arrangement and labeling.
+
+%\noindent Fig. 2. ...
+%\noindent Fig. 3. ...
+
+%\listoffigures
+
+\newpage
+
+%% sample sizing command; other sizing commands (and graphics packages) may be used as well
+
+ \begin{figure}[htbp]
+ \centering
+ \includegraphics[width=8.3cm]{OT10000F1.eps}
+ \caption{Multipanel figure assembled into one EPS file with proper arrangement and labeling. AO10000F1.eps.}
+ %% \label{}
+ \end{figure}
+
+\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/osa/journals/OSAstyle_pdf.pdf b/macros/latex/contrib/osa/journals/OSAstyle_pdf.pdf
new file mode 100644
index 0000000000..f21f3ae796
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/OSAstyle_pdf.pdf
Binary files differ
diff --git a/macros/latex/contrib/osa/journals/OSAstyle_pdf.tex b/macros/latex/contrib/osa/journals/OSAstyle_pdf.tex
new file mode 100644
index 0000000000..663367f12a
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/OSAstyle_pdf.tex
@@ -0,0 +1,626 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: OSAstyle.tex %
+% VERSION: 3.X %
+% Date: .. 2004 %
+% %
+% LaTeX template file for use with OSA journals %
+% JOSA A, JOSA B, Applied Optics, and %
+% Optics Letters %
+% %
+% This file requires the substyle file osajnl.rtx, %
+% running under REVTeX 4.0 and LaTeX 2e, %
+% or %
+% the style file osajnl.sty, running under LaTeX 2e %
+% %
+% USE THE FOLLOWING REVTEX 4.0 OPTIONS: %
+% \documentclass[osajnl,preprint,showpacs]{revtex4} %
+% %
+% USE THE FOLLOWING LaTeX OPTIONS: %
+% \documentclass[12pt]{article} %
+% \usepackage{osajnl} %
+% %
+% %
+% NOTE: LaTeX 2.09 IS NO LONGER SUPPORTED %
+% %
+% (C) 2003 The Optical Society of America %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% \documentclass[12pt,osajnl,preprint,showpacs]{revtex4} %% REVTeX 4.0
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Delete any REVTEX output files before running in LaTeX mode
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[letterpaper,11pt]{article} %% LaTeX 2e (preferred)
+\usepackage{osajnl,multicol} %% do not use with REVTeX4
+\usepackage[dvips,colorlinks=true,bookmarks=false,citecolor=blue,
+urlcolor=blue,pdfstartview=FitH]{hyperref}
+
+\begin{document}
+\title{Preparing a manuscript
+for the Optical Society of America journals JOSA A, JOSA B, \\
+\textit{Applied Optics}, and \textit{Optics Letters}}
+\centerline{\today}
+\vskip1in
+\begin{multicols}{2}
+\tableofcontents
+\end{multicols}
+\pagebreak
+
+
+\title{Preparing a manuscript
+for the Optical Society of America journals JOSA A, JOSA B, \\
+\textit{Applied Optics}, and \textit{Optics Letters}}
+
+\author{Scott Dineen, Alexine Moore, and Joseph Richardson}
+%% for REVTeX4, each author name can be set in a separate \author{} field
+
+\address{Optical Society of America, 2010 Massachusetts Avenue, NW, \\
+Washington, D.C. 20036} %\affiliation will also work
+
+\email{alias@osa.org}
+
+\begin{abstract}A style guide and template for JOSA A, JOSA B,
+\textit{Applied Optics}, and \textit{Optics Letters} manuscripts
+is provided with a focus on use of \LaTeXe\ and REV\TeX{}4. A
+basic template, \texttt{osatemp.tex}, is also included in this
+distribution. Additional detailed instructions for manuscript
+preparation and submission are available on the home page for each
+OSA journal; see \mbox{\href{http://www.opticsinfobase.org}{http://www.opticsinfobase.org}}. \\
+\end{abstract}
+
+\ocis{000.0000, 999.9999.}% REPLACE WITH CORRECT OCIS CODES FOR YOUR ARTICLE
+ % NOTE: \ocis{} IS ALIASED TO \pacs{} BUT MUST
+ % FORMAT THE TERMS CORRECTLY FOR EACH JOURNAL
+
+\maketitle %% null function with osajnl.sty
+
+\section{Introduction}
+Adherence to the specifications listed in this guide is essential
+for efficient review and publication. For additional guidelines on OSA style see the
+\textit{OSA Print Journal Style Guide} on individual journal pages on
+\mbox{\href{http://www.opticsinfobase.org}{http://www.opticsinfobase.org}}.
+
+
+\section{Page Layout and Length}
+Paper size for electronic submissions should be U.S. Letter, 8.5
+in. $\times$ 11 in. (approximately 21.5 cm $\times$ 28 cm).
+Interline spacing has been changed from 2 to 1.2 to help save space. Recommended page length for manuscripts varies with each journal.
+
+Note that \textit{Optics Letters} (OL) has a strict limit of
+three printed, i.e.---final typeset---pages. Mandatory page
+charges or higher publication fees apply to papers above each
+journal's length limit.
+\section{Software}
+\subsection{Package Files}
+The package file \texttt{osajnl.sty} calls up
+\texttt{overcite.sty} (citations), \texttt{graphicx.sty} (replaces \texttt{graphics.sty}), and \texttt{geometry.sty} (page layout). Additional
+package files should be used when needed (e.g.,
+\texttt{hyperref.sty}, as used in this document). Use of
+nonstandard or custom package files is discouraged; however, if
+such files are essential, they should be included with the
+manuscript submission.
+
+\subsection{\LaTeX{} and REV\TeX} Most versions of \LaTeXe{}
+available as freeware, shareware, or commercially will run the OSA
+\LaTeX{} files correctly. Authors who choose to use REV\TeX{}
+should obtain the latest REV\TeX{}4 package from the American
+Physical Society (\url{http://www.aps.org}) or from the
+Comprehensive \TeX{} Archive Network (CTAN;
+\href{http://www.ctan.org}{http://www.ctan.org}) and become familiar with REV\TeX{}4's
+special features. Note that certain packages, such as
+\verb+natbib+, that may be required for proper operation of
+REV\TeX{} are not necessarily included in the standard REV\TeX{}4
+distribution and should be obtained separately.
+
+\subsection{Compressing Files for Submission}
+Authors submitting \LaTeX{} or REV\TeX{} files should create a
+tarred, gzipped archive of their \texttt{.tex} file and all
+figures (which should be in EPS digital format). All files must be
+referenced at the root level (e.g., file {\tt OT00000F1.eps}, not
+\verb+\EPSDIR\OT00000F1.eps+). Authors who submit a \LaTeX{} or REV\TeX{} file
+with no figures may submit an ASCII text file without compression
+or archiving. {\bf Note that submission of \TeX-generated
+PostScript files is not allowed}.
+
+\subsection{REV\TeX{} and \LaTeX{} Support}
+The subfile \texttt{osajnl.rtx} is REV\TeX{}4 compliant. REV\TeX{} and
+\LaTeX{} commands for title, author, address, and e-mail are
+supported. The \verb+\pacs{}+ command has been made an alias of
+\verb+\ocis{}+; \verb+\affiliation{}+, an alias of
+\verb+\address{}+. With little effort, a manuscript prepared in
+the REV\TeX{}4 substyle for another society's journal can be
+converted to OSA style. The style commands that may be used at the
+start of a manuscript for submission to JOSA A, JOSA B,
+\textit{Applied Optics}, and \textit{Optics Letters} are
+\begin{verbatim}
+ \documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0
+
+ or
+
+ \documentclass[12pt]{article} %%LaTeX 2e
+ \usepackage{osajnl}
+\end{verbatim}
+
+Note that \LaTeX{} packages for \href{http://www.opticsexpress.org}{\textit{Optics Express}} and the \href{http://www.osa-jon.org}{\textit{Journal of Optical Networking}} should be obtained separately.
+
+
+\section{Main Text}
+\subsection{Typographical Style}
+Margins and type size will be set by the OSA REV\TeX{} or \LaTeX{}
+commands for title, author names and addresses, abstract,
+references, captions, and so on. Use of custom macros and style
+files is discouraged.
+
+
+
+\subsection{Title}
+Only the first letter in the title is
+capitalized, except for proper names and abbreviations (note that
+abbreviations should be spelled out in most cases in manuscript
+and section titles). Place the title within the braces of the
+\verb+\title{}+ command.
+
+
+\subsection{Author Names}
+Author names should be given in full and consistent form to
+facilitate indexing. Every effort should be made to keep author
+names consistent from one paper to the next as they appear within
+OSA publications. For REV\TeX{} set each author name off with a
+separate \verb+\author{}+ command above the appropriate
+affiliation. REV\TeX{} will add commas and the word ``and.'' For
+\LaTeX, author names should be grouped together, as appropriate,
+with proper punctuation.
+
+\subsection{Author Affiliations}
+Affiliations should follow the format division, organization, and
+address---and complete postal information should be given.
+Abbreviations should not be used. Place each affiliation within
+the braces of the \verb+\affiliation{}+ command to achieve the
+correct format.
+
+\bigskip
+
+For REV\TeX:
+\begin{verbatim}
+\author{Alessandra Gatti}
+\author{Luigi Alberto A. Lugiato}
+\affiliation{Instituto Nazional di Fisica per la Materia,
+Dipartmento Di Fisica, \\ Via Celoria 16, 20133 Milano, Italy}
+\end{verbatim}
+
+\bigskip
+
+For \LaTeX:
+\begin{verbatim}
+\author{Gian-Luca Oppo and Richard Martin}
+\affiliation{Department of Physics, University of Strathclyde, \\
+Rottenrow 107, Glasgow G4 ONG, Scotland}
+\end{verbatim}
+
+\subsection{Abstract} Authors should place the abstract between
+the following commands to achieve the correct format: \
+\verb+\begin{abstract}+ and \verb+\end{abstract}+. The abstract
+should be limited to approximately 100 words. It should be an
+explicit summary of the paper that states the problem, the methods
+used, and the major results and conclusions. If the research of
+another author is referenced in the abstract, complete information
+(e.g., journal, volume number, first page, year) must be
+given in the abstract itself.
+
+\subsection{OCIS Subject Classification} Optics Classification and
+Indexing Scheme (OCIS) subject classifications should be placed at
+the end of the abstract with the \verb+\ocis{}+ command. OCIS
+codes can be found at \href{http://www.osa.org/pubs/authors/ocis/}{http://www.osa.org/pubs/authors/ocis/}.
+
+\subsection{Mathematical and Scientific Notation}
+\subsubsection{Displayed Equations} Equations should be centered.
+Equation numbers should appear at the right-hand margin, in
+parentheses:
+\begin{equation}
+H = \frac{1}{2m}(p_x^2 + p_y^2) + \frac{1}{2} M{\Omega}^2
+ (x^2 + y^2) + \omega (xp_y - yp_x).
+\end{equation}
+
+All equations should be numbered in the order in which they appear
+and should be referenced from within the main text as Eq. (1),
+Eq. (2), and so on.
+
+\begin{eqnarray}
+I_{(z, \tau)} & = & \frac{1}{2} \left[ \left|
+ A \left(\tau - \frac{\delta \tau}{2}z \right) \right|^2
+ + \frac{1}{2} \left| A \left( \tau + \frac{\delta \tau}{2}z \right) \right|^2
+ + 2A \left( \tau - \frac{\delta \tau}{2}z \right)
+ A \left( \tau + \frac{\delta \tau}{2}z \right) \right. \nonumber \\
+ & & \left. \times \cos \left( \pi \frac{z}{L_c} \right) \right]
+ \int _{-\infty}^{+\infty}\int _{-\infty}^{+\infty}
+ {\psi_1}^2(x,y){\rm d}x{\rm d}y \nonumber \\
+ & & + \frac{1}{2} \left[ \left| A \left(
+ \tau - \frac{\delta \tau}{2}z \right) \right| ^2
+ + \frac{1}{2} \left| A \left( \tau + \frac{\delta \tau}{2}z \right) \right| ^2
+ - 2A \left( \tau - \frac{\delta \tau}{2}z \right)
+ A \left( \tau + \frac{\delta \tau}{2}z \right) \right. \nonumber \\
+ & & \left. \times \cos \left( \pi \frac{z}{L_c} \right) \right]
+ \int _{-\infty}^{+\infty}\int _{-\infty}^{+\infty}
+ {\psi_2}^2(x,y){\rm d}x{\rm d}y.
+\end{eqnarray}
+
+
+\subsubsection{In-Line Math} To help with conversion, place all math in a proper math environment. For example, expression \mbox{$3\times 4 = 12$} should be set this way, \texttt{\$3$\backslash$times 4=12\$}, not this way, \texttt{3 \$$\backslash$times\$4=12}. Simple fractions in in-line math
+should use parentheses when necessary to avoid ambiguity, for
+example, to distinguish between $1/(n-1)$ and $1/n-1$. Exceptions
+to this are the proper fractions such as $\frac{1}{2}$, which are
+better left in this form. Summations and integrals that appear
+within text such as $\frac{1}{2}{\Sigma } _{n=1}^{n=\infty} (n^2 -
+2n)^{-1}$ should have limits placed to the right of the symbol to
+reduce white space.
+
+\subsubsection{General Guidelines on Notation} Notation must be
+legible, clear, compact, and consistent with standard usage. In
+general, acronyms should be defined at first use. Adherence to the
+following guidelines will greatly assist the production process:
+
+\paragraph*{\bf Radical Signs.}
+When possible, avoid oversized radical signs
+by using the notation of a superscript $1/2$. For example, change
+$\sqrt{(a + b)(a - c)}$ to $[(a + b)(a - c)]^{1/2}$.
+
+\paragraph*{\bf Exponentials.} Avoid tiny superscripts of exponential $e$ (e.g.,
+$e^{jkl})$ by using the alternative \verb+\exp+ notation,
+$\exp(jkl)$.
+
+\paragraph*{\bf Variables and Vectors.}
+Set single-letter variables in italics $(k)$. Set three-vectors in
+boldface $(\mathbf{k})$. Functions, derivative ``d,''
+abbreviations, and multiletter identifiers should be set in roman
+(plain) type ($\alpha \cos, \int\!\dots{\rm d}x, k^{\rm out}$).
+
+\paragraph*{\bf Multiplication.}
+In general, close up multiplied terms $(p_yp_x)$;
+use $\times$ if multiplication sign is essential $(2 \times
+10^{-2})$ or for continuation in displayed equations [see Eq. (2)
+above]. Use raised dot only for scalar product $(\mathbf{k \cdot
+k})$.
+
+\paragraph*{\bf Fences.}
+For simple bracketing the usual order of parentheses and brackets
+is $\{ \, [ \, ( \, \{ \, [ \, ( \, | \, ) \, ] \, \} \,
+) \, ] \, \}$.
+
+\paragraph*{\bf Bit and Byte.}
+The standard abbreviations for bit
+and byte are b and B, respectively. To avoid confusion, these
+units should be spelled out in most cases (1 bit, 20 GByte).
+
+\paragraph*{\bf Metric System.}
+The metric system is used in OSA journals. If nonmetric units are
+essential (e.g., for parts specifications), conversion should be
+given at first mention: ``. . . a $\frac{1}{4}$\,-in. bolt (1 in.
+= 2.54 cm).''
+
+
+\subsection{Acknowledgments} Acknowledgments, if included, should
+appear at the end of the document, just before the references. The
+number of a grant or contract should be omitted unless its
+inclusion is required by the agency supporting the research. Use
+the command \verb+\section*{Acknowledgments}+ to create a
+nonnumbered section heading.
+
+\section{References}
+\subsection{\TeX{} and Bib\TeX} Authors must use the standard
+REV\TeX{}4 or \LaTeXe{} commands for references and citations.
+References must be contained within the \texttt{.tex} file, not a
+separate Bib\TeX{} file.
+
+\paragraph{Bib\TeX.} Bib\TeX{} may be used to create a file
+containing the references, whose contents (i.e., contents of \texttt{.bbl} file) can then be pasted into the bibliography section of
+the \texttt{.tex} file. A new Bib\TeX{} style file, \texttt{osajnl.bst}, is provided.
+
+The commands \verb+\begin{thebibliography}{}+ and
+\verb+\end{thebibliography}+ format the section according to
+standard style, showing the title {\bf References}. Use the
+\verb+\bibitem{label}+ command to start each reference.
+
+\subsection{Formatting Citations}
+References should be numbered consecutively in the order in which
+they are referenced in the body of the paper. Use of
+\verb+\cite{}+ will produce superscript reference callouts, which
+is OSA style, when appropriate REV\TeX{} and \LaTeX{} packages are
+used (\texttt{natbib} and \texttt{overcite}, respectively). References
+can also be hard coded with \verb+.$^1$+.
+
+
+In text, reference numbers should follow a comma or period.$^1$ Two
+references$^{2,3}$ should be included together, separated by a
+comma, and three or more consecutive references should be
+indicated by the bounding numbers and a dash.$^{1\--4}$ When
+on-line reference numbers are essential (e.g., see Ref. 1) use the
+command \verb+\citeonline{}+ for \LaTeX. For REV\TeX, use
+\verb+\onlinecite{}+
+
+\subsection{Formatting Reference Items}
+Each source must have its own reference number. Footnotes (notes
+at the bottom of text pages) are not used in OSA journals.
+References require all author names, full titles, and inclusive
+pagination. Here are some examples of how to set the most common
+reference types:
+
+
+\vskip.4pc
+
+\hskip8pt{\bf Journal paper}
+
+\begin {enumerate}
+
+\item C. van Trigt, ``Visual system-response functions and estimating reflectance,'' %\josaa
+ J. Opt. Soc. Am. A {\bf 14,} 741--755 (1997).
+
+\vskip.4pc {\bf Book}
+
+\item T. Masters, {\it Practical Neural Network Recipes in C++} (Academic,
+New York, 1993).
+
+\vskip.4pc {\bf Chapter in a book}
+
+\item B. L. Shoop, A. H. Sayles, and D. M. Litynski, ``New devices for
+optoelectronics: \ smart pixels,'' in {\it Handbook of Fiber
+Optic Data Communications,} C. DeCusatis, D. Clement, E. Maass,
+and R. Lasky, eds. (Academic, San Diego, Calif., 1997), pp.
+705--758.
+
+\vskip.4pc {\bf Paper in a published conference proceedings}
+
+\item R. E. Kalman, ``Algebraic aspects of the generalized inverse of a
+rectangular matrix,'' in {\it Proceedings of Advanced Seminar on
+Genralized Inverse and Applications,} M. Z. Nashed, ed. (Academic,
+San Diego, Calif., 1976), pp. 111--124.
+
+\vskip.4pc {\bf Paper in an unpublished conference proceedings}
+
+\item D. Steup and J. Weinzierl, ``Resonant THz-meshes,'' presented at the
+Fourth International Workshop on THz Electronics,
+Erlangen-Tennenlohe, Germany, 5--6 Sept. 1996.
+
+\vskip.4pc {\bf SPIE proceedings}
+
+\item S. K. Griebel, M. Richardson, K. E. Devenport, and H. S. Hinton,
+``Experimental performance of an ATM-based buffered hyperplane
+CMOS-SEED smart pixel array,'' in {\it Optoelectronic
+Interconnects and Packaging IV,} R. T. Chen and P. S. Guilfoyle,
+eds., Proc. SPIE {\bf 3005,} 254--256 (1997).
+
+\vskip.4pc {\bf IEEE proceedings}
+
+\item T. Darrel and K. Wohn, ``Pyramid based depth from focus,'' in
+{\it Proceedings of IEEE Conference on Computer Vision and Pattern
+Recognition} (Institute of Electrical and Electronics Engineers,
+New York, 1988), pp. 504--509.
+
+\vskip.4pc {\bf OSA proceedings}
+
+\item W. J. Alford, T. D. Raymond, and A. V. Smith, ``Characterization of a ring optical
+parametric oscillator,'' in {\it Advanced Solid-State Lasers,} T.~
+Y. Fan and B. Chai, eds., Vol. 20 of OSA Proceedings Series
+(Optical Society of America, Washington, D.C., 1994), pp.
+476--479.
+
+\vskip.4pc {\bf Personal communication}
+
+\item Barbara Williams, Editorial Department, Optical Society of
+America, 2010 Massa\-chusetts Avenue, N.W., Washington, D.C.,
+20036 (personal communication, 2001).
+
+\vskip.4pc{\bf Electronic archives and Internet sources}
+
+{\em Electronic periodical}
+
+\item C. Jerry, ``Remarks on the use of group
+theory in quantum optics,'' \opex {\bf 8,} 76--85 (2001),
+\href{http://www.opticsexpress.org}{http://www.opticsexpress.org}.
+
+\end{enumerate}
+
+
+
+\section{Figures and Tables}
+
+\subsection{Figures}
+For detailed information about appropriate figure resolutions and
+file types, see {\em Preparing Electronic Art for OSA Print
+Journals} on the Author section of the appropriate journal's
+homepage.
+
+Figure captions should be listed on one or more pages, after the
+References and before the figure images. The abbreviation ``Fig.''
+for figure should appear first followed by the figure number and a
+period.
+
+For electronic submissions all art work must be in digital form,
+placed in the electronic document with the standard graphics
+commands. Tables and figures should not appear in the body of the
+manuscript but on separate pages at the back. With REV\TeX{}4,
+figures and tables will float to the end of the document,
+overriding any float options specified. The caption accompanying
+the figure should include the figure file name. The
+\verb+\caption{}+ command will produce the required results. The
+following is sample code that may be used for setting figures,
+although any standard commands are acceptable:
+
+\begin{verbatim}
+ \begin{figure}[t]
+ \centerline{\includegraphics{OT10000F1.eps}}
+ \caption{Multipanel figure assembled into one EPS file with proper
+ arrangement and labeling. OT10000F1.eps.}
+ \end{figure}
+\end{verbatim}
+
+No more than one figure should appear on a manuscript page, except
+in the case of multipart figures, which should be assembled into a
+single file, if possible, and arranged and labeled as shown below.
+Figure file names should include either the manuscript number or
+the first author's last name and the figure number, e.g.,
+b8879F1.EPS or smithF2.EPS. {\bf To avoid mixups, do {\bf {\em
+not}} label figures simply ``Fig1.EPS,'' or similar.}
+
+\subsection{Tables}
+Tables must be numbered and appear on separate pages. Table
+titles---which should be brief---must be placed above the table,
+with the \verb+\caption{}+ command. Detailed explanations or table
+footnotes should appear directly beneath the table. Tables should
+use horizontal rules to delimit the top and the bottom of the
+table and column headings. In general, vertical rules should
+not be used.
+
+\section{Conclusion}
+
+After the manuscript is proofread, the \texttt{.tex} file and figures
+should be tarred and gzipped. Follow the instructions on the OSA
+Publications web site for submitting through the e-subs system
+(\href{http://www.osa/org/pubs}{http://www.osa/org/pubs}). Authors should feel free to
+contact OSA staff for assistance (see appropriate journal page on
+the web site for contact information).
+
+%% Code for appendices and equation numbers
+%\appendix
+
+%\section*{Appendix A: Sample}
+%\setcounter{equation}{0}
+%\renewcommand{\theequation}{A{\arabic{equation}}}
+
+%\begin{equation} a+b=c.
+%\end{equation}
+
+%\section*{Appendix B: Sample}
+%\setcounter{equation}{0}
+%\renewcommand{\theequation}{B{\arabic{equation}}} %change B as needed
+%\begin{equation}
+%x-y=z.
+%\end{equation}
+
+
+\begin{thebibliography}{99}
+%\begin{references}
+
+\bibitem{vanTrigt92}
+C. van Trigt, ``Visual system-response functions and estimating reflectance,'' %\josaa
+J. Opt. Soc. Am. A {\bf 14,} 741--755 (1997).
+
+\bibitem{Masters93}
+T. Masters, {\it Practical Neural Network Recipes in C++} (Academic,
+New York, 1993).
+
+\bibitem{Shoop97}
+B. L. Shoop, A. H. Sayles, and D. M. Litynski, ``New devices for
+optoelectronics: \ smart pixels,'' in {\it Handbook of Fiber
+Optic Data Communications,} C. DeCusatis, D. Clement, E. Maass,
+and R. Lasky, eds. (Academic, San Diego, Calif., 1997), pp.
+705--758.
+
+\bibitem{Kalman76}
+R. E. Kalman, ``Algebraic aspects of the generalized inverse of a
+rectangular matrix,'' in {\it Proceedings of Advanced Seminar on
+Genralized Inverse and Applications,} M. Z. Nashed, ed. (Academic,
+San Diego, Calif., 1976), pp. 111--124.
+
+\bibitem{Steup96}
+D. Steup and J. Weinzierl, ``Resonant THz-meshes,'' presented at the
+Fourth International Workshop on THz Electronics,
+Erlangen-Tennenlohe, Germany, 5--6 Sept. 1996.
+
+\bibitem{Griebel97}
+ S. K. Griebel, M. Richardson, K. E. Devenport, and H. S. Hinton,
+``Experimental performance of an ATM-based buffered hyperplane
+CMOS-SEED smart pixel array,'' in {\it Optoelectronic
+Interconnects and Packaging IV,} R. T. Chen and P. S. Guilfoyle,
+eds., Proc. SPIE {\bf 3005,} 254--256 (1997).
+
+\bibitem{Darrel88}
+T. Darrel and K. Wohn, ``Pyramid based depth from focus,'' in
+{\it Proceedings of IEEE Conference on Computer Vision and Pattern
+Recognition} (Institute of Electrical and Electronics Engineers,
+New York, 1988), pp. 504--509.
+
+\bibitem{Alford94}
+ W. J. Alford, T. D. Raymond, and A. V. Smith, ``Characterization of a ring optical
+parametric oscillator,'' in {\it Advanced Solid-State Lasers,} T.~
+Y. Fan and B. Chai, eds., Vol. 20 of OSA Proceedings Series
+(Optical Society of America, Washington, D.C., 1994), pp.
+476--479.
+
+\bibitem{Williams01}
+Barbara Williams, Editorial Department, Optical Society of
+America, 2010 Massa\-chusetts Avenue, N.W., Washington, D.C.,
+20036 (personal communication, 2001).
+
+\bibitem{Jerry01}
+C. Jerry, ``Remarks on the use of group
+theory in quantum optics,'' \opex {\bf 8,} 76--85 (2001),
+\href{http://www.opticsexpress.org}{http://www.opticsexpress.org}.
+
+\end{thebibliography}
+
+\newpage
+%% Table
+
+\begin{table}[h]
+{\bf \caption{Standard Abbreviations for 31 Commonly Cited
+Journals}}\begin{center}
+\begin{tabular}{lp{2.3in}lp{1.5in}}\hline
+Macro & Abbreviation & Macro & Abbreviation \\ \hline
+\verb+\ao+ & Appl.\ Opt.\ & \verb+\nat+ & Nature (London) \\
+\verb+\ap+ & Appl.\ Phys.\ & \verb+\oc+ & Opt.\ Commun.\ \\
+\verb+\apl+ & Appl.\ Phys.\ Lett.\
+ & \verb+\opex+ & Opt.\ Express \\
+\verb+\apj+ & Astrophys.\ J.\ & \verb+\ol+ & Opt.\ Lett.\ \\
+\verb+\bell+ & Bell Syst.\ Tech.\ J.\
+ & \verb+\pl+ & Phys.\ Lett.\ \\
+\verb+\jqe+ & IEEE J.\ Quantum Electron.\
+ & \verb+\pra+ & Phys.\ Rev.\ A \\
+\verb+\assp+ & IEEE Trans.\ Acoust.\ Speech Signal Process.\
+ & \verb+\prb+ & Phys.\ Rev.\ B \\
+\verb+\aprop+ & IEEE Trans.\ Antennas Propag.\
+ & \verb+\prc+ & Phys.\ Rev.\ C \\
+\verb+\mtt+ & IEEE Trans.\ Microwave Theory Tech.\
+ & \verb+\prd+ & Phys.\ Rev.\ D \\
+\verb+\iovs+ & Invest.\ Ophthalmol.\ Visual\ Sci.\
+ & \verb+\pre+ & Phys.\ Rev.\ E \\
+\verb+\jcp+ & J.\ Chem.\ Phys.\
+ & \verb+\prl+ & Phys.\ Rev.\ Lett.\ \\
+ \verb+\jon+ & J.\ Opt.\ Netw.\
+& \verb+\rmp+ & Rev.\ Mod.\ Phys.\ \\
+\verb+\josa+ & J.\ Opt.\ Soc.\ Am.\
+& \verb+\pspie+ & Proc.\ SPIE \\
+\verb+\josaa+ & J.\ Opt.\ Soc.\ Am.\ A
+ & \verb+\sjqe+ & Sov.\ J.\ Quantum Electron.\ \\
+\verb+\josab+ & J.\ Opt.\ Soc.\ Am.\ B
+ & \verb+\vr+ & Vision Res.\ \\
+\verb+\jpp+ & J.\ Phys.\ (Paris) & & \\ \hline
+\end{tabular}
+\end{center}
+\end{table}
+
+\newpage
+
+\section*{List of Figure Captions}
+
+Fig. 1. Multipanel figure assembled into one file with proper
+arrangement and labeling.
+
+%\noindent Fig. 2. ...
+%\noindent Fig. 3. ...
+
+%\listoffigures
+
+\newpage
+
+%% sample sizing command; other sizing commands (and graphics packages) may be used as well
+
+ \begin{figure}[htbp]
+ \centering
+ \includegraphics[width=8.3cm]{OT10000F1.eps}
+ \caption{Multipanel figure assembled into one EPS file with proper arrangement and labeling. AO10000F1.eps.}
+ %% \label{}
+ \end{figure}
+
+\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/osa/journals/OSAtemp.tex b/macros/latex/contrib/osa/journals/OSAtemp.tex
new file mode 100644
index 0000000000..6e3d9afe2a
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/OSAtemp.tex
@@ -0,0 +1,119 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: OSAtemp.tex %
+% VERSION: 3.1 %
+% Date: May 28, 2004 %
+% %
+% LaTeX template file for use with OSA journals %
+% JOSA A, JOSA B, Applied Optics, and %
+% Optics Letters %
+% %
+% This file requires the substyle file osajnl.rtx, %
+% running under REVTeX 4.0 and LaTeX 2e, %
+% or %
+% the style file osajnl.sty, running under LaTeX 2e %
+% %
+% USE THE FOLLOWING REVTEX 4.0 OPTIONS: %
+% \documentclass[osajnl,preprint,showpacs]{revtex4} %
+% %
+% USE THE FOLLOWING LaTeX OPTIONS: %
+% \documentclass[11pt]{article} %
+% \usepackage{osajnl} %
+% %
+% %
+% NOTE: LaTeX 2.09 IS NO LONGER SUPPORTED %
+% %
+% (C) 2004 The Optical Society of America %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% \documentclass[osajnl,preprint,showpacs]{revtex4} %% REVTeX 4.0
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Delete any REVTeX output files before running in LaTeX mode
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[12pt,letterpaper]{article} %% LaTeX 2e (preferred)
+\usepackage{osajnl}
+\usepackage[draft]{hyperref} % optional
+
+\begin{document}
+
+\title{Template for manuscript submissions to \emph{Applied Optics}, JOSA A, JOSA B, and \emph{Optics Letters}}
+
+\author{John Q. Author}
+%% for REVTeX4, each author name can be set in a separate \author{} field
+
+\address{Publications Department, Optical Society of America,
+\\ 2010 Massachusetts Avenue, N.W., Washington, D.C. 20036}
+
+\email{jqaut@osa.org}
+
+\begin{abstract}The abstract should be less than 100 words.
+Detailed instructions on manuscript preparation are available in the document \texttt{OSAstyle.tex}, and additional information on manuscript
+preparation and submission is available on the home page for each
+OSA journal; see \mbox{\href{http://www.opticsinfobase.org}{http://www.opticsinfobase.org}}.
+\end{abstract}
+
+\ocis{000.0000, 999.9999.}% REPLACE WITH CORRECT OCIS CODES FOR YOUR ARTICLE
+ % NOTE: \ocis{} IS ALIASED TO \pacs{} BUT MUST
+ % FORMAT THE TERMS CORRECTLY FOR EACH JOURNAL
+
+\maketitle %% NULL FUNCTION WITH LATEX 2e; required for REVTeX4
+
+\section{Introduction}
+Refer to \texttt{OSAstyle.tex} for guidelines on manuscript preparation, use of \mbox{Bib\TeX}, and similar. Our new style file (July 2003 version of \texttt{osajnl.sty}) has reduced line space to help save paper.
+
+To facilitate conversion, place all math in a proper math environment. For example, expression $3\times 4 = 12$ should be set this way, \texttt{\$3$\backslash$times 4=12\$}, not this way, \texttt{3 \$$\backslash$times\$4=12}.
+\section{Conclusion}
+
+After the manuscript is proofread, the {\tt .tex} file and figures
+should be archived with tar-gzip compression. Do not include
+subdirectories within the archive.
+
+To upload your manuscript, follow the instructions on the each
+journal's homepage (see \mbox{\href{http://www.opticsinfobase.org}{http://www.opticsinfobase.org}}).
+Authors should feel free to contact OSA staff for assistance; details are available at \href{InfoBase}{http://www.opticsinfobase.org}.
+
+%\appendix
+
+%\section*{Appendix A: Sample}
+%\setcounter{equation}{0}
+%\renewcommand{\theequation}{A{\arabic{equation}}}
+
+%\begin{equation}
+%a+b=c.
+%\end{equation}
+
+
+\begin{thebibliography}{99}
+%%Do not include separate BibTeX files; if BibTeX is used,
+%% paste the output (contents of .bbl file) here.
+
+\bibitem{1} ...
+
+\bibitem{2} ...
+
+\end{thebibliography}
+
+\newpage
+
+\section*{List of Figure Captions}
+
+Fig. 1. Multipanel figure assembled into one file with proper
+arrangement and labeling.
+%\noindent Fig. 2. ...
+
+%\noindent Fig. 3. ...
+
+
+\newpage
+%% sample figure environment
+ \begin{figure}[htbp]
+ \centering
+ \includegraphics[width=8.3cm]{OT10000F1.eps}
+ \caption{Multipanel figure assembled into one EPS file with proper arrangement and labeling. AO10000F1.eps.}
+ %% \label{}
+ \end{figure}
+
+
+\end{document}
diff --git a/macros/latex/contrib/osa/journals/OT10000F1.eps b/macros/latex/contrib/osa/journals/OT10000F1.eps
new file mode 100644
index 0000000000..696d34da6e
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/OT10000F1.eps
@@ -0,0 +1,406 @@
+%!PS-Adobe-3.0 EPSF-3.0
+%%Title: Microsoft Word - Document1
+%%Creator: PScript5.dll Version 5.2
+%%CreationDate: 3/14/2002 16:18:23
+%%For: sdinee
+%%BoundingBox: 172 447 389 677
+%%Pages: 1
+%%Orientation: Portrait
+%%PageOrder: Ascend
+%%DocumentNeededResources: (atend)
+%%DocumentSuppliedResources: (atend)
+%%DocumentData: Clean7Bit
+%%TargetDevice: (Generic PostScript Printer) (2010.0) 2
+%%LanguageLevel: 2
+%%EndComments
+
+%%BeginDefaults
+%%PageBoundingBox: 18 8 593 784
+%%ViewingOrientation: 1 0 0 1
+%%EndDefaults
+
+%%BeginProlog
+%%BeginResource: file Pscript_WinNT_ErrorHandler 5.0 0
+/currentpacking where{pop/oldpack currentpacking def/setpacking where{pop false
+setpacking}if}if/$brkpage 64 dict def $brkpage begin/prnt{dup type/stringtype
+ne{=string cvs}if dup length 6 mul/tx exch def/ty 10 def currentpoint/toy exch
+def/tox exch def 1 setgray newpath tox toy 2 sub moveto 0 ty rlineto tx 0
+rlineto 0 ty neg rlineto closepath fill tox toy moveto 0 setgray show}bind def
+/nl{currentpoint exch pop lmargin exch moveto 0 -10 rmoveto}def/=={/cp 0 def
+typeprint nl}def/typeprint{dup type exec}readonly def/lmargin 72 def/rmargin 72
+def/tprint{dup length cp add rmargin gt{nl/cp 0 def}if dup length cp add/cp
+exch def prnt}readonly def/cvsprint{=string cvs tprint( )tprint}readonly def
+/integertype{cvsprint}readonly def/realtype{cvsprint}readonly def/booleantype
+{cvsprint}readonly def/operatortype{(--)tprint =string cvs tprint(-- )tprint}
+readonly def/marktype{pop(-mark- )tprint}readonly def/dicttype{pop
+(-dictionary- )tprint}readonly def/nulltype{pop(-null- )tprint}readonly def
+/filetype{pop(-filestream- )tprint}readonly def/savetype{pop(-savelevel- )
+tprint}readonly def/fonttype{pop(-fontid- )tprint}readonly def/nametype{dup
+xcheck not{(/)tprint}if cvsprint}readonly def/stringtype{dup rcheck{(\()tprint
+tprint(\))tprint}{pop(-string- )tprint}ifelse}readonly def/arraytype{dup rcheck
+{dup xcheck{({)tprint{typeprint}forall(})tprint}{([)tprint{typeprint}forall(])
+tprint}ifelse}{pop(-array- )tprint}ifelse}readonly def/packedarraytype{dup
+rcheck{dup xcheck{({)tprint{typeprint}forall(})tprint}{([)tprint{typeprint}
+forall(])tprint}ifelse}{pop(-packedarray- )tprint}ifelse}readonly def/courier
+/Courier findfont 10 scalefont def end errordict/handleerror{systemdict begin
+$error begin $brkpage begin newerror{/newerror false store vmstatus pop pop 0
+ne{grestoreall}if errorname(VMerror)ne{showpage}if initgraphics courier setfont
+lmargin 720 moveto errorname(VMerror)eq{userdict/ehsave known{clear userdict
+/ehsave get restore 2 vmreclaim}if vmstatus exch pop exch pop PrtVMMsg}{
+(ERROR: )prnt errorname prnt nl(OFFENDING COMMAND: )prnt/command load prnt
+$error/ostack known{nl nl(STACK:)prnt nl nl $error/ostack get aload length{==}
+repeat}if}ifelse systemdict/showpage get exec(%%[ Error: )print errorname
+=print(; OffendingCommand: )print/command load =print( ]%%)= flush}if end end
+end}dup 0 systemdict put dup 4 $brkpage put bind readonly put/currentpacking
+where{pop/setpacking where{pop oldpack setpacking}if}if
+%%EndResource
+userdict /Pscript_WinNT_Incr 230 dict dup begin put
+%%BeginResource: file Pscript_FatalError 5.0 0
+userdict begin/FatalErrorIf{{initgraphics findfont 1 index 0 eq{exch pop}{dup
+length dict begin{1 index/FID ne{def}{pop pop}ifelse}forall/Encoding
+{ISOLatin1Encoding}stopped{StandardEncoding}if def currentdict end
+/ErrFont-Latin1 exch definefont}ifelse exch scalefont setfont counttomark 3 div
+cvi{moveto show}repeat showpage quit}{cleartomark}ifelse}bind def end
+%%EndResource
+userdict begin/PrtVMMsg{vmstatus exch sub exch pop gt{[
+(This job requires more memory than is available in this printer.)100 500
+(Try one or more of the following, and then print again:)100 485
+(For the output format, choose Optimize For Portability.)115 470
+(In the Device Settings page, make sure the Available PostScript Memory is accurate.)
+115 455(Reduce the number of fonts in the document.)115 440
+(Print the document in parts.)115 425 12/Times-Roman showpage
+(%%[ PrinterError: Low Printer VM ]%%)= true FatalErrorIf}if}bind def end
+version cvi 2016 ge{/VM?{pop}bind def}{/VM? userdict/PrtVMMsg get def}ifelse
+%%BeginResource: file Pscript_Win_Basic 5.0 0
+/d/def load def/,/load load d/~/exch , d/?/ifelse , d/!/pop , d/`/begin , d/^
+/index , d/@/dup , d/+/translate , d/$/roll , d/U/userdict , d/M/moveto , d/-
+/rlineto , d/&/currentdict , d/:/gsave , d/;/grestore , d/F/false , d/T/true ,
+d/N/newpath , d/E/end , d/Ac/arc , d/An/arcn , d/A/ashow , d/D/awidthshow , d/C
+/closepath , d/V/div , d/O/eofill , d/L/fill , d/I/lineto , d/-c/curveto , d/-M
+/rmoveto , d/+S/scale , d/Ji/setfont , d/Lc/setlinecap , d/Lj/setlinejoin , d
+/Lw/setlinewidth , d/Lm/setmiterlimit , d/sd/setdash , d/S/show , d/LH/showpage
+, d/K/stroke , d/W/widthshow , d/R/rotate , d/L2? false/languagelevel where{pop
+languagelevel 2 ge{pop true}if}if d L2?{/xS/xshow , d/yS/yshow , d/zS/xyshow ,
+d}if/b{bind d}bind d/bd{bind d}bind d/xd{~ d}bd/ld{, d}bd/bn/bind ld/lw/Lw ld
+/lc/Lc ld/lj/Lj ld/sg/setgray ld/ADO_mxRot null d/self & d/OrgMx matrix
+currentmatrix d/reinitialize{: OrgMx setmatrix[/TextInit/GraphInit/UtilsInit
+counttomark{@ where{self eq}{F}?{cvx exec}{!}?}repeat cleartomark ;}b
+/initialize{`{/Pscript_Win_Data where{!}{U/Pscript_Win_Data & put}?/ADO_mxRot ~
+d/TextInitialised? F d reinitialize E}{U/Pscript_Win_Data 230 dict @ ` put
+/ADO_mxRot ~ d/TextInitialised? F d reinitialize}?}b/terminate{!{& self eq
+{exit}{E}?}loop E}b/suspend/terminate , d/resume{` Pscript_Win_Data `}b U `
+/lucas 21690 d/featurebegin{countdictstack lucas[}b/featurecleanup{stopped
+{cleartomark @ lucas eq{! exit}if}loop countdictstack ~ sub @ 0 gt{{E}repeat}
+{!}?}b E/snap{transform 0.25 sub round 0.25 add ~ 0.25 sub round 0.25 add ~
+itransform}b/dsnap{dtransform round ~ round ~ idtransform}b/nonzero_round{@ 0.5
+ge{round}{@ -0.5 lt{round}{0 ge{1}{-1}?}?}?}b/nonzero_dsnap{dtransform
+nonzero_round ~ nonzero_round ~ idtransform}b U<04>cvn{}put/rr{1 ^ 0 - 0 ~ -
+neg 0 - C}b/irp{4 -2 $ + +S fx 4 2 $ M 1 ^ 0 - 0 ~ - neg 0 -}b/rp{4 2 $ M 1 ^ 0
+- 0 ~ - neg 0 -}b/solid{[]0 sd}b/g{@ not{U/DefIf_save save put}if U/DefIf_bool
+2 ^ put}b/DefIf_El{if U/DefIf_bool get not @{U/DefIf_save get restore}if}b/e
+{DefIf_El !}b/UDF{L2?{undefinefont}{!}?}b/UDR{L2?{undefineresource}{! !}?}b
+/freeVM{/Courier findfont[40 0 0 -40 0 0]makefont Ji 2 vmreclaim}b/hfRedefFont
+{findfont @ length dict `{1 ^/FID ne{d}{! !}?}forall & E @ ` ~{/CharStrings 1
+dict `/.notdef 0 d & E d}if/Encoding 256 array 0 1 255{1 ^ ~/.notdef put}for d
+E definefont !}bind d/hfMkCIDFont{/CIDFont findresource @ length 2 add dict `{1
+^ @/FID eq ~ @/XUID eq ~/UIDBase eq or or{! !}{d}?}forall/CDevProc ~ d/Metrics2
+16 dict d/CIDFontName 1 ^ d & E 1 ^ ~/CIDFont defineresource ![~]composefont !}
+bind d
+%%EndResource
+%%BeginResource: file Pscript_Win_Utils_L2 5.0 0
+/rf/rectfill , d/fx{1 1 dtransform @ 0 ge{1 sub 0.5}{1 add -0.5}? 3 -1 $ @ 0 ge
+{1 sub 0.5}{1 add -0.5}? 3 1 $ 4 1 $ idtransform 4 -2 $ idtransform}b/BZ{4 -2 $
+snap + +S fx rf}b/rs/rectstroke , d/rc/rectclip , d/UtilsInit{currentglobal{F
+setglobal}if}b/scol{! setcolor}b/colspA/DeviceGray d/colspABC/DeviceRGB d
+/colspRefresh{colspABC setcolorspace}b/SetColSpace{colspABC setcolorspace}b
+/resourcestatus where{!/ColorRendering/ProcSet resourcestatus{! ! T}{F}?}{F}?
+not{/ColorRendering<</GetHalftoneName{currenthalftone @/HalftoneName known{
+/HalftoneName get}{!/none}?}bn/GetPageDeviceName{currentpagedevice @
+/PageDeviceName known{/PageDeviceName get @ null eq{!/none}if}{!/none}?}bn
+/GetSubstituteCRD{!/DefaultColorRendering/ColorRendering resourcestatus{! !
+/DefaultColorRendering}{(DefaultColorRendering*){cvn exit}127 string
+/ColorRendering resourceforall}?}bn>>/defineresource where{!/ProcSet
+defineresource !}{! !}?}if/buildcrdname{/ColorRendering/ProcSet findresource `
+mark GetHalftoneName @ type @/nametype ne ~/stringtype ne and{!/none}if(.)
+GetPageDeviceName @ type @/nametype ne ~/stringtype ne and{!/none}if(.)5 ^ 0 5
+-1 1{^ length add}for string 6 1 $ 5 ^ 5{~ 1 ^ cvs length 1 ^ length 1 ^ sub
+getinterval}repeat ! cvn 3 1 $ ! ! E}b/definecolorrendering{~ buildcrdname ~
+/ColorRendering defineresource !}b/findcolorrendering where{!}{
+/findcolorrendering{buildcrdname @/ColorRendering resourcestatus{! ! T}{
+/ColorRendering/ProcSet findresource ` GetSubstituteCRD E F}?}b}?
+/selectcolorrendering{findcolorrendering !/ColorRendering findresource
+setcolorrendering}b/G2UBegin{findresource/FontInfo get/GlyphNames2Unicode get
+`}bind d/G2CCBegin{findresource/FontInfo get/GlyphNames2HostCode get `}bind d
+/G2UEnd{E}bind d/AddFontInfoBegin{/FontInfo 8 dict @ `}bind d/AddFontInfo{
+/GlyphNames2Unicode 16 dict d/GlyphNames2HostCode 16 dict d}bind d
+/AddFontInfoEnd{E d}bind d/T0AddCFFMtx2{/CIDFont findresource/Metrics2 get ` d
+E}bind d
+%%EndResource
+end
+%%EndProlog
+
+%%BeginSetup
+[ 1 0 0 1 0 0 ] false Pscript_WinNT_Incr dup /initialize get exec
+1 setlinecap 1 setlinejoin
+/mysetup [ 72 300 V 0 0 -72 300 V 18 784.00067 ] def
+%%EndSetup
+
+%%Page: 1 1
+%%PageBoundingBox: 18 8 593 784
+%%EndPageComments
+%%BeginPageSetup
+/DeviceRGB dup setcolorspace /colspABC exch def
+mysetup concat colspRefresh
+%%EndPageSetup
+
+0 0 0 1 scol Pscript_WinNT_Incr begin
+%%BeginResource: file Pscript_Text 5.0 0
+/TextInit{TextInitialised? not{/Pscript_Windows_Font & d/TextInitialised? T d
+/fM[1 0 0 1 0 0]d/mFM matrix d/iMat[1 0 0.212557 1 0 0]d}if}b/copyfont{1 ^
+length add dict `{1 ^/FID ne{d}{! !}?}forall & E}b/EncodeDict 11 dict d/bullets
+{{/bullet}repeat}b/rF{3 copyfont @ ` ~ EncodeDict ~ get/Encoding ~ 3 ^/0 eq{&
+/CharStrings known{CharStrings/Eth known not{! EncodeDict/ANSIEncodingOld get}
+if}if}if d E}b/mF{@ 7 1 $ findfont ~{@/Encoding get @ StandardEncoding eq{! T}{
+{ISOLatin1Encoding}stopped{! F}{eq}?{T}{@ ` T 32 1 127{Encoding 1 ^ get
+StandardEncoding 3 -1 $ get eq and}for E}?}?}{F}?{1 ^ ~ rF}{0 copyfont}? 6 -2 $
+! ! ~ !/pd_charset @ where{~ get 128 eq{@ FDV 2 copy get @ length array copy
+put pd_CoverFCRange}if}{!}? 2 ^ ~ definefont fM 5 4 -1 $ put fM 4 0 put fM
+makefont Pscript_Windows_Font 3 1 $ put}b/sLT{: Lw -M currentpoint snap M 0 - 0
+Lc K ;}b/xUP null d/yUP null d/uW null d/xSP null d/ySP null d/sW null d/sSU{N
+/uW ~ d/yUP ~ d/xUP ~ d}b/sU{xUP yUP uW sLT}b/sST{N/sW ~ d/ySP ~ d/xSP ~ d}b/sT
+{xSP ySP sW sLT}b/sR{: + R 0 0 M}b/sRxy{: matrix astore concat 0 0 M}b/eR/; , d
+/AddOrigFP{{&/FontInfo known{&/FontInfo get length 6 add}{6}? dict `
+/WinPitchAndFamily ~ d/WinCharSet ~ d/OrigFontType ~ d/OrigFontStyle ~ d
+/OrigFontName ~ d & E/FontInfo ~ d}{! ! ! ! !}?}b/mFS{makefont
+Pscript_Windows_Font 3 1 $ put}b/mF42D{0 copyfont `/FontName ~ d 2 copy ~ sub 1
+add dict `/.notdef 0 d 2 copy 1 ~{@ 3 ^ sub Encoding ~ get ~ d}for & E
+/CharStrings ~ d ! ! & @ E/FontName get ~ definefont}b/mF42{15 dict ` @ 4 1 $
+FontName ~ d/FontType 0 d/FMapType 2 d/FontMatrix[1 0 0 1 0 0]d 1 ^ 254 add 255
+idiv @ array/Encoding ~ d 0 1 3 -1 $ 1 sub{@ Encoding 3 1 $ put}for/FDepVector
+Encoding length array d/CharStrings 2 dict `/.notdef 0 d & E d 0 1 Encoding
+length 1 sub{@ @ 10 lt{! FontName length 1 add string}{100 lt{FontName length 2
+add string}{FontName length 3 add string}?}? @ 0 FontName @ length string cvs
+putinterval @ 3 -1 $ @ 4 1 $ 3 string cvs FontName length ~ putinterval cvn 1 ^
+256 mul @ 255 add 3 -1 $ 4 ^ findfont mF42D FDepVector 3 1 $ put}for & @ E
+/FontName get ~ definefont ! ! ! mF}b/mF_OTF_V{~ ! ~ ! 4 -1 $ ! findfont 2 ^ ~
+definefont fM @ @ 4 6 -1 $ neg put 5 0 put 90 matrix R matrix concatmatrix
+makefont Pscript_Windows_Font 3 1 $ put}b/mF_TTF_V{3{~ !}repeat 3 -1 $ !
+findfont 1 ^ ~ definefont Pscript_Windows_Font 3 1 $ put}b/UmF{L2?
+{Pscript_Windows_Font ~ undef}{!}?}b/UmF42{@ findfont/FDepVector get{/FontName
+get undefinefont}forall undefinefont}b
+%%EndResource
+end reinitialize
+Pscript_WinNT_Incr begin
+%%BeginResource: file Pscript_Encoding256 5.0 0
+/CharCol256Encoding[/.notdef/breve/caron/dotaccent/dotlessi/fi/fl/fraction
+/hungarumlaut/Lslash/lslash/minus/ogonek/ring/Zcaron/zcaron/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
+/.notdef/.notdef/.notdef/.notdef/.notdef/space/exclam/quotedbl/numbersign
+/dollar/percent/ampersand/quotesingle/parenleft/parenright/asterisk/plus/comma
+/hyphen/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
+/semicolon/less/equal/greater/question/at/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/bracketleft/backslash/bracketright/asciicircum/underscore/grave
+/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/braceleft/bar/braceright
+/asciitilde/.notdef/Euro/.notdef/quotesinglbase/florin/quotedblbase/ellipsis
+/dagger/daggerdbl/circumflex/perthousand/Scaron/guilsinglleft/OE/.notdef
+/.notdef/.notdef/.notdef/quoteleft/quoteright/quotedblleft/quotedblright/bullet
+/endash/emdash/tilde/trademark/scaron/guilsinglright/oe/.notdef/.notdef
+/Ydieresis/.notdef/exclamdown/cent/sterling/currency/yen/brokenbar/section
+/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/.notdef/registered
+/macron/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph
+/periodcentered/cedilla/onesuperior/ordmasculine/guillemotright/onequarter
+/onehalf/threequarters/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis
+/Aring/AE/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute
+/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
+/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls
+/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute
+/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis/eth/ntilde/ograve
+/oacute/ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex
+/udieresis/yacute/thorn/ydieresis]def EncodeDict/256 CharCol256Encoding put
+%%EndResource
+end reinitialize
+
+%%IncludeResource: font Times-Roman
+Pscript_WinNT_Incr begin
+%%BeginResource: file Pscript_Win_Euro_L2 5.0 0
+/UseT3EuroFont{/currentdistillerparams where{pop currentdistillerparams
+/CoreDistVersion get 4000 le}{false}ifelse}bind def/NewEuroT3Font?{dup/FontType
+get 3 eq{dup/EuroFont known exch/BaseFont known and}{pop false}ifelse}bind def
+/T1FontHasEuro{dup/CharStrings known not{dup NewEuroT3Font?{dup/EuroGlyphName
+get exch/EuroFont get/CharStrings get exch known{true}{false}ifelse}{pop false}
+ifelse}{dup/FontType get 1 eq{/CharStrings get/Euro known}{dup/InfoDict known{
+/InfoDict get/Euro known}{/CharStrings get/Euro known}ifelse}ifelse}ifelse}bind
+def/FontHasEuro{findfont dup/Blend known{pop true}{T1FontHasEuro}ifelse}bind
+def/EuroEncodingIdx 1 def/EuroFontHdr{12 dict begin/FontInfo 10 dict dup begin
+/version(001.000)readonly def/Notice(Copyright (c)1999 Adobe Systems
+Incorporated. All Rights Reserved.)readonly def/FullName(Euro)readonly def
+/FamilyName(Euro)readonly def/Weight(Regular)readonly def/isFixedPitch false
+def/ItalicAngle 0 def/UnderlinePosition -100 def/UnderlineThickness 50 def end
+readonly def/FontName/Euro def/Encoding 256 array 0 1 255{1 index exch/.notdef
+put}for def/PaintType 0 def/FontType 1 def/FontMatrix[0.001 0 0 0.001 0 0]def
+/FontBBox{-25 -23 1500 804}readonly def currentdict end dup/Private 20 dict dup
+begin/ND{def}def/NP{put}def/lenIV -1 def/RD{string currentfile exch
+readhexstring pop}def/-|{string currentfile exch readstring pop}executeonly def
+/|-{def}executeonly def/|{put}executeonly def/BlueValues[-20 0 706 736 547 572]
+|-/OtherBlues[-211 -203]|-/BlueScale 0.0312917 def/MinFeature{16 16}|-/StdHW
+[60]|-/StdVW[71]|-/ForceBold false def/password 5839 def/Erode{8.5 dup 3 -1
+roll 0.1 mul exch 0.5 sub mul cvi sub dup mul 71 0 dtransform dup mul exch dup
+mul add le{pop pop 1.0 1.0}{pop pop 0.0 1.5}ifelse}def/OtherSubrs[{}{}{}
+{systemdict/internaldict known not{pop 3}{1183615869 systemdict/internaldict
+get exec dup/startlock known{/startlock get exec}{dup/strtlck known{/strtlck
+get exec}{pop 3}ifelse}ifelse}ifelse}executeonly]|-/Subrs 5 array dup 0
+<8E8B0C100C110C110C210B>put dup 1<8B8C0C100B>put dup 2<8B8D0C100B>put dup 3<0B>
+put dup 4<8E8C8E0C100C110A0B>put |- 2 index/CharStrings 256 dict dup begin
+/.notdef<8b8b0d0e>def end end put put dup/FontName get exch definefont pop}bind
+def/AddEuroGlyph{2 index exch EuroEncodingIdx 1 eq{EuroFontHdr}if systemdict
+begin/Euro findfont dup dup/Encoding get 5 1 roll/Private get begin/CharStrings
+get dup 3 index known{pop pop pop pop end end}{begin 1 index exch def end end
+end EuroEncodingIdx dup 1 add/EuroEncodingIdx exch def exch put}ifelse}bind def
+/GetNewXUID{currentdict/XUID known{[7 XUID aload pop]true}{currentdict/UniqueID
+known{[7 UniqueID]true}{false}ifelse}ifelse}bind def/BuildT3EuroFont{exch 16
+dict begin dup/FontName exch def findfont dup/Encoding get/Encoding exch def
+dup length 1 add dict copy dup/FID undef begin dup dup/FontName exch def
+/Encoding 256 array 0 1 255{1 index exch/.notdef put}for def GetNewXUID{/XUID
+exch def}if currentdict end definefont pop/BaseFont exch findfont 1000
+scalefont def/EuroFont exch findfont 1000 scalefont def pop/EuroGlyphName exch
+def/FontType 3 def/FontMatrix[.001 0 0 .001 0 0]def/FontBBox BaseFont/FontBBox
+get def/Char 1 string def/BuildChar{exch dup begin/Encoding get 1 index get
+/Euro eq{BaseFont T1FontHasEuro{false}{true}ifelse}{false}ifelse{EuroFont
+setfont pop userdict/Idx 0 put EuroFont/Encoding get{EuroGlyphName eq{exit}
+{userdict/Idx Idx 1 add put}ifelse}forall userdict/Idx get}{dup dup Encoding
+exch get BaseFont/Encoding get 3 1 roll put BaseFont setfont}ifelse Char 0 3 -1
+roll put Char stringwidth newpath 0 0 moveto Char true charpath flattenpath
+pathbbox setcachedevice 0 0 moveto Char show end}bind def currentdict end dup
+/FontName get exch definefont pop}bind def/AddEuroToT1Font{dup findfont dup
+length 10 add dict copy dup/FID undef begin/EuroFont 3 -1 roll findfont 1000
+scalefont def CharStrings dup length 1 add dict copy begin/Euro{EuroFont
+setfont pop EuroGBBox aload pop setcachedevice 0 0 moveto EuroGName glyphshow}
+bind def currentdict end/CharStrings exch def GetNewXUID{/XUID exch def}if 3 1
+roll/EuroGBBox exch def/EuroGName exch def currentdict end definefont pop}bind
+def/BuildNewFont{UseT3EuroFont{BuildT3EuroFont}{pop AddEuroToT1Font}ifelse}bind
+def/UseObliqueEuro{findfont/FontMatrix get dup 2 get 0 eq exch dup 0 get exch 3
+get eq and UseT3EuroFont or}bind def
+%%EndResource
+end reinitialize
+/Times-Roman FontHasEuro not
+{
+/Euro.Times-Roman
+ [500 0 24 -14 493 676 ]
+<A3F8880DC0EB03F854F743950C0C037DA501F7A0BB01F805BB01F91EA501F869F8911584
+F73A0576068478827E7F8B087F8B70AC438B082A8BFB0D6471FB700863067C5B05BE068A
+7E8B878B7D08750764067D5B05C206A0FB7BF71858E88B088F0AC0EB03F84BF789950C0C
+037DA501F7A0BB01F805BB01F91EA501CA8BACAC998B08988B95809076088F0AC0EB03F8
+54F743950C0C037DA501F7A0BB01F805BB01F91EA501A00692F73705750675FB09417667
+8B083A8B43C182F75E08F7740699BB05FB84069C078B978C978B9708F7950699BB05FBA1
+069AF755D5B3D18B08AB8BDD71A2FB0708090E>
+AddEuroGlyph
+/Euro /Times-Roman /Times-Roman-Copy BuildNewFont
+} if
+F /F0 0 /256 T /Times-Roman mF
+/F0S32 F0 [50 0 0 -50 0 0 ] mFS
+F0S32 Ji
+300 312 M ( )S
+Pscript_WinNT_Incr begin
+%%BeginResource: file Pscript_Win_Dib_L2 5.0 0
+/iw 0 d/ih 0 d/im_save 0 d/s 0 d/polarity 0 d/smoothflag 0 d/mystring 0 d/bpc 0
+d/maskcolor 0 d/mask? F d/setup1asciiproc{[currentfile mystring/readhexstring
+cvx/! cvx]cvx bind}b/setup1binaryproc{[currentfile mystring/readstring cvx/!
+cvx]cvx bind}b/setup2asciiproc{currentfile/ASCII85Decode filter/RunLengthDecode
+filter}b/setup2binaryproc{currentfile/RunLengthDecode filter}b/jpegasciiproc
+{currentfile/ASCII85Decode filter<</Relax 1>>/DCTDecode filter}b/jpegbinaryproc
+{currentfile<</Relax 1>>/DCTDecode filter}b/mycolorspace{colspABC}d/myimagedict
+{/myimagedict 10 dict d myimagedict @ `/ImageType 1 d/MultipleDataSource F d E}
+b/imageprocarray[/setup1binaryproc/setup1asciiproc/setup2binaryproc
+/setup2asciiproc/setup1binarydecodeproc/setup1asciidecodeproc]d/jpegprocarray[
+/jpegasciiproc/jpegbinaryproc]d/Q{/im_save save d scol imageprocarray ~ get/s ~
+, d/polarity ~ d/smoothflag ~ d +/dx 2 ^ d/dy 1 ^ d +S/mystring ~ string d/bpc
+~ d/ih ~ d/iw ~ d fx rf}b/X{/im_save save d/mask? ~ d/maskcolor ~ d
+imageprocarray ~ get/s ~ , d/polarity ~ d/smoothflag ~ d +/dx 2 ^ d/dy 1 ^ d +S
+/mystring ~ string d/bpc ~ d/ih ~ d/iw ~ d}b/Z{im_save restore}b/beginjpeg{
+/jpeg_save save d jpegprocarray ~ get/jpegimageproc ~ , d + +S/bpc ~ d/ih ~ d
+/iw ~ d bpc 24 eq{/DeviceRGB}{/DeviceGray}? setcolorspace myimagedict @ `
+/ImageType 1 d/Width iw d/Height ih d/Decode bpc 24 eq{[0 1 0 1 0 1]}{[0 1]}? d
+/ImageMatrix[iw 0 0 ih 0 0]d/BitsPerComponent 8 d/DataSource jpegimageproc d E
+image}b/endjpeg{jpeg_save restore}b/Y{scol myimagedict @ ` mask?{/polarity
+maskcolor 0 get 0 eq{T}{F}? d}if/Width iw d/Height ih d/Decode polarity{[1 0]}{
+[0 1]}? d/ImageMatrix[iw 0 0 ih 0 0]d/DataSource s d/BitsPerComponent 1 d
+/Interpolate smoothflag d E imagemask}bd/doclutimage{/rgbclut ~ d bpc @ 8 eq{!
+255}{@ 4 eq{! 15}{2 eq{3}{1}?}?}?/hival ~ d[/Indexed currentcolorspace hival
+rgbclut]setcolorspace myimagedict @ ` mask?{/ImageType 4 d/MaskColor maskcolor
+d}if/Width iw d/Height ih d/Decode[0 hival]d/ImageMatrix[iw 0 0 ih 0 0]d
+/DataSource s d/BitsPerComponent bpc d/Interpolate smoothflag d E image}b
+/doCMYKclutimage{/CMYKclut ~ d bpc @ 8 eq{! 255}{4 eq{15}{3}?}?/hival ~ d[
+/Indexed/DeviceCMYK hival CMYKclut]setcolorspace myimagedict @ ` mask?{
+/ImageType 4 d/MaskColor maskcolor d}if/Width iw d/Height ih d/Decode[0 hival]d
+/ImageMatrix[iw 0 0 ih 0 0]d/DataSource s d/BitsPerComponent bpc d/Interpolate
+smoothflag d E image}b/doNimage{bpc 24 eq{currentcolorspace}{colspA}?
+setcolorspace myimagedict @ ` mask?{/ImageType 4 d/MaskColor maskcolor d}if
+/Width iw d/Height ih d/Decode bpc 24 eq{[0 1 0 1 0 1]}{[0 1]}? d/ImageMatrix
+[iw 0 0 ih 0 0]d/DataSource s d/BitsPerComponent bpc 24 eq{8}{bpc}? d
+/Interpolate smoothflag d E image}b/doCMYKimage{/DeviceCMYK setcolorspace
+myimagedict @ ` mask?{/ImageType 4 d/MaskColor maskcolor d}if/Width iw d/Height
+ih d/Decode[0 1 0 1 0 1 0 1]d/ImageMatrix[iw 0 0 ih 0 0]d/DataSource s d
+/BitsPerComponent 8 d/Interpolate smoothflag d E image}b
+%%EndResource
+end reinitialize
+: : N 1123 450 417 396 irp C
+1 1 1 1 scol O ; 104 99 1 13 417 396 1123 450 F F 3 [ 0 ] F
+X
+0.5 0 0 1 Y
+oQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqO
+oQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqO
+oQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqOoQTqO
+oQTqOoQTqOoQTqOoQTqOoQL~> Z
+; 1302 899 M (\(b)[17 0]xS
+1343 899 M (\))S
+: 1360 854 12 57 rc 1360 899 M ( )S
+; : : N 648 450 417 396 irp C
+1 1 1 1 scol O ; 104 99 1 13 417 396 648 450 F F 3 [ 0 ] F
+X
+0.5 0 0 1 Y
+oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`
+oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`
+oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`oW%P`
+oW%P`oW%P`oW%P`oW%P`oVq~> Z
+; 828 899 M (\(a\))[17 22 0]xS
+: 884 854 13 57 rc 884 899 M ( )S
+; : : N 1123 946 417 396 irp C
+1 1 1 1 scol O ; 104 99 1 13 417 396 1123 946 F F 3 [ 0 ] F
+X
+0.5 0 0 1 Y
+oM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8q
+o^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@B
+oI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)o_e@BoI'8qo^h]qoM5&)
+o_e@BoI'8qo^h]qoM5&)o_\~> Z
+; 1301 1395 M (\(d)[17 0]xS
+1343 1395 M (\))S
+: 1360 1350 12 57 rc 1360 1395 M ( )S
+; : : N 648 946 417 396 irp C
+1 1 1 1 scol O ; 104 99 1 13 417 396 648 946 F F 3 [ 0 ] F
+X
+0.5 0 0 1 Y
+oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`I
+oR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(
+o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6ADo[ia(o[i`IoR6B2oR6AD
+o[ia(o[i`IoR6B2oR6ADo[a~> Z
+; 828 1395 M (\()S
+845 1395 M (c)S
+867 1395 M (\))S
+: 884 1350 13 57 rc 884 1395 M ( )S
+; LH
+%%PageTrailer
+
+%%Trailer
+%%DocumentNeededResources:
+%%+ font Times-Roman
+%%DocumentSuppliedResources:
+%%+ procset Pscript_WinNT_ErrorHandler 5.0 0
+%%+ procset Pscript_FatalError 5.0 0
+%%+ procset Pscript_Win_Basic 5.0 0
+%%+ procset Pscript_Win_Utils_L2 5.0 0
+%%+ procset Pscript_Text 5.0 0
+%%+ procset Pscript_Encoding256 5.0 0
+%%+ procset Pscript_Win_Euro_L2 5.0 0
+%%+ procset Pscript_Win_Dib_L2 5.0 0
+Pscript_WinNT_Incr dup /terminate get exec
+%%EOF
diff --git a/macros/latex/contrib/osa/journals/README b/macros/latex/contrib/osa/journals/README
new file mode 100644
index 0000000000..41733d2718
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/README
@@ -0,0 +1,10 @@
+This is material related to the OSA's primary print journals
+(J. Opt. Soc. Am A, J. Opt. Soc. Am. B, Applied Optics).
+The Society keeps its official download on
+ http://josaa.osa.org/submit/templates/pc/osajnl.zip
+
+Note that the materials geometry.sty, overcite.sty
+and trig.sty were removed, as they are present elsewhere on
+CTAN.
+
+2004-Aug-25 Jim Hefferon \ No newline at end of file
diff --git a/macros/latex/contrib/osa/journals/geometry.cfg b/macros/latex/contrib/osa/journals/geometry.cfg
new file mode 100644
index 0000000000..7590cd15d6
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/geometry.cfg
@@ -0,0 +1,23 @@
+%%
+%% This is file `geometry.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% geometry.dtx (with options: `config')
+%%
+%% File: geometry.dtx Copyright (C) 1996-2002 Hideo Umeki
+%% (hideo.umeki@toshiba.co.jp)
+%%
+%% This package may be distributed under the terms of the LaTeX
+%% Project Public License, as described in lppl.txt in the base
+%% LaTeX distribution, either version 1.2 or (at your option)
+%% any later version.
+%%
+
+%% Uncomment and edit the line below to set default options.
+%%\ExecuteOptions{a4paper,dvips}
+
+\endinput
+%%
+%% End of file `geometry.cfg'.
diff --git a/macros/latex/contrib/osa/journals/osajnl.bst b/macros/latex/contrib/osa/journals/osajnl.bst
new file mode 100644
index 0000000000..a4b98dc692
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/osajnl.bst
@@ -0,0 +1,1448 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% This is osajnl.bst (20 July 2003 version), generated with custom-bib,
+% for use with all Optical Society of America Journals:
+% The Journal of the Optical Society of America A,
+% The Journal of the Optical Society of America B,
+% Applied Optics, Optics Letters,
+% Optics Express, the Journal of Optical Networking,
+% TOPS, and others.
+%
+% Scott Dineen (sdinee@osa.org), July 2003
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Note that the OSA e-subs system cannot process BibTeX; for submissions, produce a BibTeX % output file (*.bbl file) and past the contents inside the
+% \begin{thebibliography} \end{thebibliography} commands.
+% See OSAstyle.tex for details.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%
+%% This is file `osajnl.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% merlin.mbs (with options: `seq-no,nm-init,ed-au,(def) Date at end ,yr-par,xmth,tit-qq,atit-u,jttl-rm,thtit-a,vol-bf,volp-com,pgsep-c,num-xser,jnm-x,pub-date,pre-edn,edby,edbyy,blk-com,blknt,pp,ed,abr,ednx,ord,jabr,etal-it,revdata,eprint,url,url-blk,nfss')
+%% ----------------------------------------
+
+%%
+%% Copyright 1994-2002 Patrick W Daly
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This bibliographic style (bst) file has been generated from one or
+ % more master bibliographic style (mbs) files, listed above.
+ %
+ % This generated file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ % Name and version information of the main mbs file:
+ % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)]
+ % For use with BibTeX version 0.99a or later
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is a numerical citation style, and as such is standard LaTeX.
+ % It requires no extra package to interface to the main text.
+ % The form of the \bibitem entries is
+ % \bibitem{key}...
+ % Usage of \cite is as follows:
+ % \cite{key} ==>> [#]
+ % \cite[chap. 2]{key} ==>> [#, chap. 2]
+ % where # is a number determined by the ordering in the reference list.
+ % The order in the reference list is that by which the works were originally
+ % cited in the text, or that in the database.
+ %---------------------------------------------------------------------
+
+ENTRY
+ { address
+ archive
+ author
+ booktitle
+ chapter
+ collaboration
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ numpages
+ organization
+ pages
+ publisher
+ school
+ series
+ title
+ type
+ url
+ volume
+ year
+ }
+ {}
+ { label }
+INTEGERS { output.state before.all mid.sentence after.sentence after.block }
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+}
+STRINGS { s t}
+FUNCTION {output.nonnull}
+{ 's :=
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+ s
+}
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ skip$
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\emph{" swap$ * "}" * }
+ if$
+}
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf{" swap$ * "}" * }
+ if$
+}
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{ "u" change.case$ "t" change.case$ }
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+FUNCTION {bbl.and}
+{ "and"}
+
+FUNCTION {bbl.etal}
+{ "et~al." }
+
+FUNCTION {bbl.editors}
+{ "eds." }
+
+FUNCTION {bbl.editor}
+{ "ed." }
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{ "ed." }
+
+FUNCTION {bbl.volume}
+{ "vol." }
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{ "no." }
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{ "pp." }
+
+FUNCTION {bbl.page}
+{ "p." }
+
+FUNCTION {bbl.eidpp}
+{ "pages" }
+
+FUNCTION {bbl.chapter}
+{ "chap." }
+
+FUNCTION {bbl.techrep}
+{ "Tech. Rep." }
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{ "1st" }
+
+FUNCTION {bbl.second}
+{ "2nd" }
+
+FUNCTION {bbl.third}
+{ "3rd" }
+
+FUNCTION {bbl.fourth}
+{ "4th" }
+
+FUNCTION {bbl.fifth}
+{ "5th" }
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+MACRO {acmcs} {"ACM Comput. Surv."}
+
+MACRO {acta} {"Acta Inf."}
+
+MACRO {cacm} {"Commun. ACM"}
+
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+
+MACRO {ibmsj} {"IBM Syst.~J."}
+
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+
+MACRO {ipl} {"Inf. Process. Lett."}
+
+MACRO {jacm} {"J.~ACM"}
+
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+
+MACRO {scp} {"Sci. Comput. Program."}
+
+MACRO {sicomp} {"SIAM J. Comput."}
+
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+
+MACRO {tods} {"ACM Trans. Database Syst."}
+
+MACRO {tog} {"ACM Trans. Graphic."}
+
+MACRO {toms} {"ACM Trans. Math. Software"}
+
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ pop$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }
+ { duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }
+ { swap$
+ pop$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.eprint}
+{ eprint duplicate$ empty$
+ 'skip$
+ { "\eprint"
+ archive empty$
+ 'skip$
+ { "[" * archive * "]" * }
+ if$
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { "\urlprefix\url{" url * "}" * }
+ if$
+}
+
+STRINGS { bibinfo}
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.~}{vv~}{ll}{, jj}"
+ format.name$
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ numnames #2 >
+ { "," * }
+ 'skip$
+ if$
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }
+ {
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+FUNCTION {format.names.ed}
+{
+ format.names
+}
+FUNCTION {format.authors}
+{ author "author" format.names
+ duplicate$ empty$ 'skip$
+ { collaboration "collaboration" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " (" swap$ * ")" * }
+ if$
+ *
+ }
+ if$
+}
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ " " *
+ get.bbl.editor
+ *
+ }
+ if$
+}
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ { output.state mid.sentence =
+ { "l" }
+ { "u" }
+ if$
+ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.title}
+{ title
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ "\enquote{" swap$ *
+ non.stop
+ { ",} " * }
+ { "} " * }
+ if$
+ }
+ if$
+}
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {if.digit}
+{ duplicate$ "0" =
+ swap$ duplicate$ "1" =
+ swap$ duplicate$ "2" =
+ swap$ duplicate$ "3" =
+ swap$ duplicate$ "4" =
+ swap$ duplicate$ "5" =
+ swap$ duplicate$ "6" =
+ swap$ duplicate$ "7" =
+ swap$ duplicate$ "8" =
+ swap$ "9" = or or or or or or or or or
+}
+FUNCTION {n.separate}
+{ 't :=
+ ""
+ #0 'numnames :=
+ { t empty$ not }
+ { t #-1 #1 substring$ if.digit
+ { numnames #1 + 'numnames := }
+ { #0 'numnames := }
+ if$
+ t #-1 #1 substring$ swap$ *
+ t #-2 global.max$ substring$ 't :=
+ numnames #5 =
+ { duplicate$ #1 #2 substring$ swap$
+ #3 global.max$ substring$
+ "," swap$ * *
+ }
+ 'skip$
+ if$
+ }
+ while$
+}
+FUNCTION {n.dashify}
+{
+ n.separate
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.in
+ " " * }
+
+FUNCTION {format.date}
+{
+ ""
+ duplicate$ empty$
+ year "year" bibinfo.check duplicate$ empty$
+ { swap$ 'skip$
+ { "there's a month but no year in " cite$ * warning$ }
+ if$
+ *
+ }
+ { swap$ 'skip$
+ {
+ swap$
+ " " * swap$
+ }
+ if$
+ *
+ }
+ if$
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+ }
+ if$
+}
+FUNCTION {format.btitle}
+{ title "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ }
+ if$
+}
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.volume volume tie.or.space.prefix
+ "volume" bibinfo.check * *
+ series "series" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ bbl.of space.word * swap$
+ emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { number "number" bibinfo.check }
+ { output.state mid.sentence =
+ { bbl.number }
+ { bbl.number capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+ bbl.in space.word *
+ series "series" bibinfo.check *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s eng.ord 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state mid.sentence =
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ " " * bbl.edition *
+ }
+ if$
+}
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+FUNCTION {format.pages}
+{ pages duplicate$ empty$ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }
+ {
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ {
+ ", " *
+ swap$
+ n.dashify
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { swap$ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$
+ numpages empty$ 'skip$
+ { bbl.eidpp numpages tie.or.space.prefix
+ "numpages" bibinfo.check * *
+ " (" swap$ * ")" * *
+ }
+ if$
+ }
+ if$ *
+}
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "(" swap$ * ")" *
+ }
+ if$ *
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ 'format.pages
+ { type empty$
+ { bbl.chapter }
+ { type "l" change.case$
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle "booktitle" bibinfo.check
+ emphasize
+}
+FUNCTION {format.in.ed.booktitle}
+{ format.booktitle duplicate$ empty$ 'skip$
+ {
+ editor "editor" format.names.ed duplicate$ empty$ 'pop$
+ {
+ get.bbl.editor
+ swap$ "," *
+ " " * swap$ *
+ swap$
+ "," *
+ " " * swap$
+ * }
+ if$
+ word.in swap$ *
+ }
+ if$
+}
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+FUNCTION {format.article.crossref}
+{
+ key duplicate$ empty$
+ { pop$
+ journal duplicate$ empty$
+ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
+ { "journal" bibinfo.check emphasize word.in swap$ * }
+ if$
+ }
+ { word.in swap$ * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.crossref.editor}
+{ editor #1 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ editor num.names$ duplicate$
+ #2 >
+ { pop$
+ "editor" bibinfo.check
+ " " * bbl.etal
+ emphasize
+ *
+ }
+ { #2 <
+ 'skip$
+ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ "editor" bibinfo.check
+ " " * bbl.etal
+ emphasize
+ *
+ }
+ {
+ bbl.and space.word
+ * editor #2 "{vv~}{ll}" format.name$
+ "editor" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { series empty$
+ { "need editor, key, or series for " cite$ * " to crossref " *
+ crossref * warning$
+ "" *
+ }
+ { series emphasize * }
+ if$
+ }
+ { key * }
+ if$
+ }
+ { format.crossref.editor * }
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.incoll.inproc.crossref}
+{
+ editor empty$
+ editor field.or.null author field.or.null =
+ or
+ { key empty$
+ { format.booktitle duplicate$ empty$
+ { "need editor, key, or booktitle for " cite$ * " to crossref " *
+ crossref * warning$
+ }
+ { word.in swap$ * }
+ if$
+ }
+ { word.in key * " " *}
+ if$
+ }
+ { word.in format.crossref.editor * " " *}
+ if$
+ " \cite{" * crossref * "}" *
+}
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ year empty$
+ { "empty year in " cite$ * warning$ }
+ 'skip$
+ if$
+ address empty$ t empty$ and
+ year empty$ and
+ 'skip$
+ {
+ add.blank "(" *
+ t empty$
+ { address "address" bibinfo.check *
+ }
+ { t *
+ address empty$
+ 'skip$
+ { ", " * address "address" bibinfo.check * }
+ if$
+ }
+ if$
+ year empty$
+ 'skip$
+ { t empty$ address empty$ and
+ 'skip$
+ { ", " * }
+ if$
+ year "year" bibinfo.check
+ *
+ }
+ if$
+ ")" *
+ }
+ if$
+}
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ {
+ journal
+ "journal" bibinfo.check
+ "journal" output.check
+ add.blank
+ format.vol.num.pages output
+ format.date "year" output.check
+ }
+ { format.article.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ { format.bvolume output
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.book.crossref output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ format.title "title" output.check
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+ format.date output
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ { format.editors "author and editor" output.check
+ }
+ { format.authors output.nonnull
+ crossref missing$
+ { "author and editor" editor either.or.check }
+ 'skip$
+ if$
+ }
+ if$
+ format.btitle "title" output.check
+ crossref missing$
+ {
+ format.bvolume output
+ format.chapter.pages "chapter and pages" output.check
+ format.number.series output
+ format.edition output
+ format.publisher.address output
+ }
+ {
+ format.chapter.pages "chapter and pages" output.check
+ format.book.crossref output.nonnull
+ format.date "year" output.check
+ }
+ if$
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.edition output
+ format.chapter.pages output
+ format.publisher.address output
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ end.quote.title
+ crossref missing$
+ { format.in.ed.booktitle "booktitle" output.check
+ format.bvolume output
+ format.number.series output
+ format.pages output
+ publisher empty$
+ { format.organization.address output }
+ { organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ { format.incoll.inproc.crossref output.nonnull
+ format.pages output
+ }
+ if$
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization "organization" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { output
+ address "address" bibinfo.check output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address "address" bibinfo.check output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title
+ "title" output.check
+ end.quote.title
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ format.title output
+ end.quote.title
+ howpublished "howpublished" bibinfo.check output
+ format.date output
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+ empty.misc.check
+}
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title
+ "title" output.check
+ end.quote.title
+ bbl.phdthesis format.thesis.type output.nonnull
+ school "school" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ editor empty$
+ { organization "organization" bibinfo.check output
+ }
+ { format.editors output.nonnull }
+ if$
+ format.btitle "title" output.check
+ format.bvolume output
+ format.number.series output
+ editor empty$
+ { publisher empty$
+ 'skip$
+ {
+ format.publisher.address output
+ }
+ if$
+ }
+ { publisher empty$
+ {
+ format.organization.address output }
+ {
+ organization "organization" bibinfo.check output
+ format.publisher.address output
+ }
+ if$
+ }
+ if$
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title
+ "title" output.check
+ end.quote.title
+ format.tr.number output.nonnull
+ institution "institution" bibinfo.warn output
+ address "address" bibinfo.check output
+ format.date "year" output.check
+ new.sentence
+ format.note output
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ format.title "title" output.check
+ end.quote.title
+ format.date output
+ new.sentence
+ format.note "note" output.check
+ format.eprint output
+ format.url output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+READ
+STRINGS { longest.label }
+INTEGERS { number.label longest.label.width }
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+EXECUTE {initialize.longest.label}
+ITERATE {longest.label.pass}
+FUNCTION {begin.bib}
+{ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{" longest.label * "}" *
+ write$ newline$
+ "\newcommand{\enquote}[1]{``#1''}"
+ write$ newline$
+ "\expandafter\ifx\csname url\endcsname\relax"
+ write$ newline$
+ " \def\url#1{\texttt{#1}}\fi"
+ write$ newline$
+ "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
+ write$ newline$
+ "\providecommand{\eprint}[2][]{\url{#2}}"
+ write$ newline$
+}
+EXECUTE {begin.bib}
+EXECUTE {init.state.consts}
+ITERATE {call.type$}
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+EXECUTE {end.bib}
+%% End of customized bst file
+%%
+%% End of file `osa.bst'.
diff --git a/macros/latex/contrib/osa/journals/osajnl.rtx b/macros/latex/contrib/osa/journals/osajnl.rtx
new file mode 100644
index 0000000000..0e10269d35
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/osajnl.rtx
@@ -0,0 +1,565 @@
+%% Test version of osajnl.rtx for use with REVTeX 4
+%% This file is based on osa.rtx and replaces josa.rtx
+%% File does not require osa.rtx; osajnl for use with all OSA print journals
+%%
+%% 15 August 2002 version: sdinee@osa.org
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\NeedsTeXFormat{LaTeX2e}[1996/12/01]
+\ProvidesFile{osajnl.rtx}[2003/06/28]%FileInfo
+\ifx\undefined\substyle@ext
+ \def\@tempa{%
+ \endinput
+ \GenericWarning{I must be read in by REVTeX! (Bailing out)}%
+ }%
+ \expandafter\else
+ \def\@tempa{}%
+ \expandafter\fi\@tempa
+
+%% Journals and Proceedings macros %% F.H.
+
+\def\ao{Appl.\ Opt.\ }
+\def\ap{Appl.\ Phys.\ }
+\def\apl{Appl.\ Phys.\ Lett.\ }
+\def\apj{Astrophys.\ J.\ }
+\def\bell{Bell Syst.\ Tech.\ J.\ }
+\def\jqe{IEEE J.\ Quantum Electron.\ }
+\def\assp{IEEE Trans.\ Acoust.\ Speech Signal Process.\ }
+\def\aprop{IEEE Trans.\ Antennas Propag.\ }
+\def\mtt{IEEE Trans.\ Microwave Theory Tech.\ }
+\def\iovs{Invest.\ Ophthalmol.\ Visual\ Sci.\ }
+\def\jcp{J.\ Chem.\ Phys.\ }
+\def\jmo{J.\ Mod.\ Opt.\ }
+\def\jon{J.\ Opt.\ Netw.\ } %% S.D.
+\def\josa{J.\ Opt.\ Soc.\ Am.\ }
+\def\josaa{J.\ Opt.\ Soc.\ Am.\ A }
+\def\josab{J.\ Opt.\ Soc.\ Am.\ B }
+\def\jpp{J.\ Phys.\ (Paris) }
+\def\nat{Nature (London) }
+\def\oc{Opt.\ Commun.\ }
+\def\ol{Opt.\ Lett.\ }
+\def\pl{Phys.\ Lett.\ }
+\def\pra{Phys.\ Rev.\ A }
+\def\prb{Phys.\ Rev.\ B }
+\def\prc{Phys.\ Rev.\ C }
+\def\prd{Phys.\ Rev.\ D }
+\def\pre{Phys.\ Rev.\ E }
+\def\prl{Phys.\ Rev.\ Lett.\ }
+\def\rmp{Rev.\ Mod.\ Phys.\ }
+\def\pspie{Proc.\ Soc.\ Photo-Opt.\ Instrum.\ Eng.\ }
+\def\sjqe{Sov.\ J.\ Quantum Electron.\ }
+\def\vr{Vision Res.\ }
+\def\opex{ Opt.\ Express }
+\def\apa{ Appl.\ Phys.\ A }
+\def\apb{ Appl.\ Phys.\ B }
+\def\cleo{ {\it Conference on Lasers and Electro-Optics }}
+\def\assl{ {\it Advanced Solid State Lasers }}
+\def\tops{ Trends in Optics and Photonics }
+
+%% OSA change to remove para indent below section head %% S.D.
+
+\renewcommand{\@afterindenttrue}{\@afterindentfalse}
+\renewcommand{\abstractname}{}%
+%% OSA URL underlining %% F.H.
+
+\def\Url@z#1{\def\@tempa{#1}\expandafter\expandafter\expandafter\Url@Hook
+ \underline{\expandafter\strip@prefix\meaning\@tempa\UrlRight}\m@th$\endgroup}%%% 8/29/01 %%%
+
+%% Section formatting %% S.D.
+
+\setcounter{secnumdepth}{4}
+\renewcommand{\@seccntformat}[1]{\csname the#1\endcsname.\quad }
+\renewcommand \thesection {\normalsize\@arabic\c@section}
+\renewcommand{\@seccntformat}[1]{\csname the#1\endcsname.\quad }
+\renewcommand\thesubsection {\normalsize\@Alph\c@subsection}
+\renewcommand{\@seccntformat}[1]{\csname the#1\endcsname.\quad }
+\renewcommand\thesubsubsection{\normalfont\@arabic\c@subsubsection}
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+ {-2.5ex \@plus -1ex \@minus -.2ex}%
+ {1.3ex \@plus.2ex}%
+ {\normalfont\normalsize\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {-2.25ex\@plus -1ex \@minus -.2ex}%
+ {.1ex \@plus .1ex}%
+ {\normalfont\normalsize\itshape}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-2.25ex\@plus -1ex \@minus -.2ex}%
+ {.1ex \@plus .1ex}%
+ {\normalfont\normalsize\itshape}}
+
+%% Table title %% S.D.
+\renewcommand\thetable{\@arabic\c@table}
+\renewcommand\tablename{Table}
+
+%% Figure name %% S.D.
+\renewcommand\figurename{Fig.}
+%% Figure caption %% S.D.
+\long\def\@makecaption#1#2{%
+ \par
+ \vskip\abovecaptionskip
+ \begingroup
+ \normalsize\rmfamily
+ \sbox\@tempboxa{%
+ \let\\\heading@cr
+ #1. #2%
+ }%
+ \@ifdim{\wd\@tempboxa >\hsize}{%
+ \begingroup
+ \samepage
+ \flushing
+ \let\footnote\@footnotemark@gobble
+ #1. #2\par
+ \endgroup
+ }{%
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\unhbox\@tempboxa\hfil}%
+ }%
+ \endgroup
+ \vskip\belowcaptionskip
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@fnsymbol#1{%
+ \ensuremath{%
+ \ifcase#1\or
+ *\or \dagger \or
+ \ddagger \or \mathsection \or
+ \mathparagraph\or
+ **\or \dagger\dagger \or
+ \ddagger\ddagger \or \mathsection \mathsection \or
+ \mathparagraph\mathparagraph\or
+ *{*}*\ignorespaces \or \dagger\dagger\dagger \or
+ \ddagger\ddagger\ddagger\or \mathsection \mathsection \mathsection \or
+ \mathparagraph\mathparagraph\mathparagraph\or
+ \else
+ \@ctrerr
+ \fi
+ }%
+}%
+\renewenvironment{titlepage}{%
+ \let\wastwocol@sw\twocolumn@sw
+ \onecolumngrid
+ \newpage
+ \thispagestyle{titlepage}%
+ \c@page\z@% article sets this to one not zero???
+}{%
+ \wastwocol@sw{\twocolumngrid}{\newpage}%
+}%
+\def\frontmatter@abstractheading{%
+ \preprintsty@sw{%
+ \begingroup
+ \centering\large
+ \abstractname
+ \par
+ \endgroup
+ }{}%
+}%
+\def\frontmatter@abstractwidth{340\p@}% changed from 400, 8/8/01
+\def\frontmatter@abstractfont{%
+ \normalsize
+ \parindent0em\relax
+ \adjust@abstractwidth
+}%
+\def\adjust@abstractwidth{%
+ \dimen@\textwidth\advance\dimen@-\frontmatter@abstractwidth
+ \divide\dimen@\tw@
+ \galley@sw{%
+ \advance\rightskip\tw@\dimen@
+ }{%
+ \advance\leftskip\dimen@
+ \advance\rightskip\dimen@
+ }%
+}%
+\appdef\class@documenthook{%
+ \preprintsty@sw{%
+ \@ifxundefined\titlepage@sw{\@booleantrue\titlepage@sw}{}%
+ \def\frontmatter@abstractwidth{.85\textwidth}%% changed 4/2/01
+ \def\frontmatter@affiliationfont{\it}%
+ \let\section\section@preprintsty
+ \let\subsection\subsection@preprintsty
+ \let\subsubsection\subsubsection@preprintsty
+ }{}%
+ }%
+\def\frontmatter@authorformat{%
+ \skip@\@flushglue
+ \@flushglue\z@ plus.3\hsize\relax
+ \centering\sf\bfseries
+ \advance\baselineskip\p@
+ \parskip11.5\p@\relax
+ \@flushglue\skip@
+}%
+\def\frontmatter@above@affilgroup{%
+}%
+\def\frontmatter@above@affiliation@script{%
+ \skip@\@flushglue
+ \@flushglue\z@ plus.3\hsize\relax
+ \centering
+ \@flushglue\skip@
+ \addvspace{3.5\p@}%
+}%
+\def\frontmatter@above@affiliation{%
+ \preprintsty@sw{}{%
+ }%
+}%
+\def\frontmatter@affiliationfont{%
+ \normalsize\it %% S.D.
+}%
+\def\frontmatter@collaboration@above{%
+ \preprintsty@sw{%
+ }{%
+ \parskip1.5\p@\relax
+ }%
+}%
+\@ifxundefined\groupauthors@sw{%
+ \clo@groupedaddress
+}{}%
+\def\frontmatter@setup{%
+ \normalfont
+}%
+\def\frontmatter@title@above{\addvspace{6\p@}}%
+\def\frontmatter@title@format{\large\bfseries\centering\parskip\z@skip}%
+\def\frontmatter@title@below{}%
+\def\@author@parskip{3\p@}%
+\def\frontmatter@makefnmark{%
+ \@textsuperscript{%
+ \normalfont\@thefnmark
+ }%
+}%
+\def\frontmatter@authorbelow{%
+\addvspace{3\p@}%
+}%
+\def\frontmatter@RRAP@format{%
+ \small
+ \centering
+ \everypar{\hbox\bgroup(\@gobble@leavemode@uppercase}%
+ \def\par{\@ifvmode{}{\unskip)\egroup\@@par}}%
+}%
+\def\punct@RRAP{;\egroup\ \hbox\bgroup}%
+\def\@gobble@leavemode@uppercase#1#2{\expandafter\MakeTextUppercase}%
+
+\let\ocis\pacs
+\@booleantrue\showPACS@sw
+\def\frontmatter@PACS@format{\hskip3pc\noindent\normalsize \copyright\enspace\number\year\hskip3pt
+ Optical Society of America \\ \vskip-8pt \hskip3.25pc \it OCIS codes: %%%%% OSA Round 2 change 6.1.01 %%%%
+ \def\@pacs@name{ }\normalfont% THIS PART (OCIS) WORKING FINE 4.11.01
+}%
+\def\frontmatter@keys@format{%
+ \footnotesize
+ \adjust@abstractwidth
+ \parindent\z@
+ \samepage
+}%
+\def\ps@titlepage{%
+ \def\@oddhead{%
+ \hfill
+ \produce@preprints\@preprint
+ }%
+ \let\@evenhead\@oddhead
+ \def\@oddfoot{%
+ \hb@xt@\z@{\byrevtex\hss}%
+ \hfil
+ \preprintsty@sw{\thepage}{}%
+ \quad\checkindate
+ \hfil
+ }%
+ \let\@evenfoot\@oddfoot
+}%
+\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX}{}}%
+\def\produce@preprints#1{%
+ \preprint@sw{%
+ \vtop to \z@{%
+ \def\baselinestretch{1}%
+ \small
+ \let\preprint\preprint@count
+ \count@\z@#1\@ifnum{\count@>\tw@}{%
+ \hbox{%
+ \let\preprint\preprint@hlist
+ #1\setbox\z@\lastbox
+ }%
+ }{%
+ \let\preprint\preprint@cr
+ \halign{\hfil##\cr#1\crcr}%
+ \par
+ \vss
+ }%
+ }%
+ }{}%
+}%
+\def\preprint@cr#1{#1\cr}%
+\def\preprint@count#1{\advance\count@\@ne}%
+\def\preprint@hlist#1{#1\hbox{, }}%
+\def\@seccntformat#1{\csname the#1\endcsname.\quad}%
+\def\@hang@from#1#2#3{#1#2#3}%
+\def\section{% %%% SECTION CHANGES 8/10/01 %%%
+ \@startsection
+ {section}%
+ {1}%
+ {\z@}%
+ {0.35cm \@plus1ex \@minus .02ex}%
+ {0.3cm}%
+ {%
+ \normalfont\normalsize\bfseries
+ \noindent
+ }%
+}%
+\def\@hangfrom@section#1#2#3{\@hangfrom{#1#2}{#3}}%%
+\def\subsection{%
+ \@startsection
+ {subsection}%
+ {2}%
+ {\z@}%
+ {.28cm \@plus1ex \@minus .02ex}%
+ {.25cm}%
+ {%
+ \normalfont\normalsize\itshape
+ \noindent
+ }%
+}%
+\def\subsubsection{%
+ \@startsection
+ {subsubsection}%
+ {3}%
+ {\z@}%
+ {.18cm \@plus1ex \@minus .02ex}%
+ {.15cm}%
+ {%
+ \normalfont\small\itshape
+ \noindent
+ }%
+}%
+\def\paragraph{%
+ \@startsection
+ {paragraph}%
+ {4}%
+ {\parindent}%
+ {\z@}%
+ {-1em}%
+ {\normalfont\normalsize\itshape}%
+}%
+\def\subparagraph{%
+ \@startsection
+ {subparagraph}%
+ {5}%
+ {\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}%
+}%
+\def\section@preprintsty{%
+ \@startsection
+ {section}%
+ {1}%
+ {\z@}%
+ {0.2cm \@plus1ex \@minus .02ex}%
+ {0.1cm}%
+ {%
+ \normalfont\normalsize\bfseries\noindent
+ }%
+}%
+\def\subsection@preprintsty{%
+ \@startsection
+ {subsection}%
+ {2}%
+ {\z@}%
+ {.08cm \@plus1ex \@minus .02ex}%
+ {.05cm}%
+ {%
+ \normalfont\normalsize\itshape\noindent
+ }%
+}%
+\def\subsubsection@preprintsty{%
+ \@startsection
+ {subsubsection}%
+ {3}%
+ {\z@}%
+ {.08cm \@plus1ex \@minus .02ex}%
+ {.05cm}%
+ {%
+ \normalfont\small\itshape\noindent
+ }%
+}%
+
+ \@ifxundefined\frontmatter@footnote@produce{%
+ \let\frontmatter@footnote@produce\frontmatter@footnote@produce@endnote
+ }{}%
+\def\@pnumwidth{1.55em}
+\def\@tocrmarg {2.55em}
+\def\@dotsep{4.5pt}
+\setcounter{tocdepth}{3}
+\def\tableofcontents{%
+ \addtocontents{toc}{\string\tocdepth@munge}%
+ \print@toc{toc}%
+ \addtocontents{toc}{\string\tocdepth@restore}%
+}%
+\def\tocdepth@munge{%
+ \let\l@section@saved\l@section
+ \let\l@section\@gobble@tw@
+}%
+\def\@gobble@tw@#1#2{}%
+\def\tocdepth@restore{%
+ \let\l@section\l@section@saved
+}%
+\def\l@part#1#2{\addpenalty{\@secpenalty}%
+ \begingroup
+ \set@tocdim@pagenum{#2}%
+ \parindent \z@
+ \rightskip\tocleft@pagenum plus 1fil\relax
+ \skip@\parfillskip\parfillskip\z@
+ \addvspace{2.25em plus\p@}%
+ \large \bf %
+ \leavevmode\ignorespaces#1\unskip\nobreak\hskip\skip@
+ \hb@xt@\rightskip{\hfil\unhbox\z@}\hskip-\rightskip\hskip\z@skip
+ \par
+ \nobreak %
+ \endgroup
+}%
+\def\tocleft@{\z@}%
+\def\tocdim@min{5\p@}%
+\def\l@section{%
+ \l@@sections{}{section}% Implicit #3#4
+}%
+\def\l@f@section{%
+ \addpenalty{\@secpenalty}%
+ \addvspace{1.0em plus\p@}%
+ \bf
+}%
+\def\l@subsection{%
+ \l@@sections{section}{subsection}% Implicit #3#4
+}%
+\def\l@subsubsection{%
+ \l@@sections{subsection}{subsubsection}% Implicit #3#4
+}%
+\def\l@paragraph#1#2{}%
+\def\l@subparagraph#1#2{}%
+\let\toc@pre\toc@pre@auto
+\let\toc@post\toc@post@auto
+\def\listoffigures{\print@toc{lof}}%
+\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\def\listoftables{\print@toc{lot}}%
+\let\l@table\l@figure
+\appdef\class@documenthook{%
+ \@ifxundefined\raggedcolumn@sw{\@booleantrue\raggedcolumn@sw}{}%
+ \raggedcolumn@sw{\raggedbottom}{\flushbottom}%
+}%
+\def\tableft@skip@float{\z@ plus\hsize}%
+\def\tabmid@skip@float{\@flushglue}%
+\def\tabright@skip@float{\z@ plus\hsize}%
+\def\array@row@pre@float{\hline\hline\noalign{\vskip\doublerulesep}}%
+\def\array@row@pst@float{\noalign{\vskip\doublerulesep}\hline\hline}%
+\def\@makefntext#1{%
+ \def\baselinestretch{1}%
+ \reset@font
+ \footnotesize
+ \leftskip1em
+ \parindent1em
+ \noindent\nobreak\hskip-\leftskip
+ \hb@xt@\leftskip{%
+ \Hy@raisedlink{\hyper@anchorstart{footnote@\the\c@footnote}\hyper@anchorend}%
+ \hss\@makefnmark\
+ }%
+ #1%
+ \par
+}%
+
+%%\MakeUpperCase removed from appendix defs %% S.D.
+\prepdef\appendix{%
+\setcounter{equation}{0}%% S.D.
+ \par
+ \let\@hangfrom@section\@hangfrom@appendix
+ \let\@hangfroms@section\@hangfroms@appendix
+ \let\@sectioncntformat\@appendixcntformat
+}%
+\def\@hangfrom@appendix#1#2#3{%
+ #1%
+ \@if@empty{#2}{%
+ {#3}%
+ }{%
+ #2\@if@empty{#3}{}{:\ {#3}}%
+ }%
+}%
+\def\@hangfroms@appendix#1#2{%
+ #1{#2}%
+}%
+\def\@appendixcntformat#1{\appendixname\ \csname the#1\endcsname}%
+\def\appendixesname{Appendices} %
+\def\appendixname{Appendix} %
+ \def\@appendixcntformat#1{\appendixname\ \csname the#1\endcsname}%
+ \bibpunct{}{}{,}{n}{}{\textsuperscript{,}}
+ \def\bibsection{%
+ \par
+ \onecolumngrid@push
+ \begingroup
+ \baselineskip26\p@
+ \bib@device{\textwidth}{245.5\p@}%
+ \endgroup
+ \nobreak\@nobreaktrue
+ \addvspace{19\p@}%
+ \par
+ \onecolumngrid@pop
+ }%
+\def\bib@device#1#2{%
+\hb@xt@#1{%
+ \hfil
+ \phantomsection
+ \addcontentsline {toc}{section}{\protect\numberline{}\refname}%
+ \hb@xt@#2{%
+ \skip@\z@\@plus-1fil\relax
+ \leaders\hrule height.25 \p@ depth.25 \p@ \hskip\z@\@plus1fil
+\hskip\skip@
+\hskip\z@\@plus0.125fil\leaders\hrule height.375\p@ depth.375\p@ \hskip\z@\@plus0.75fil \hskip\z@\@plus0.125fil
+\hskip\skip@
+\hskip\z@\@plus0.25 fil\leaders\hrule height.5 \p@ depth.5 \p@ \hskip\z@\@plus0.5 fil \hskip\z@\@plus0.25 fil
+\hskip\skip@
+\hskip\z@\@plus0.375fil\leaders\hrule height.625\p@ depth.625\p@ \hskip\z@\@plus0.25fil \hskip\z@\@plus0.375fil
+ }%
+\hfil
+}%
+}%
+\let\bibpreamble\@empty
+\bibsep\z@\relax
+\def\newblock{\ }%
+ \def\bibfont{%
+ \normalfont %% Normal size font in references 3/12/2002 S.D.
+ }%
+\newenvironment{theindex}{%
+ \columnseprule \z@
+ \columnsep 35\p@
+ \c@secnumdepth-\maxdimen
+ \onecolumngrid@push
+ \section{\indexname}%
+ \thispagestyle{plain}%
+ \parindent\z@
+ \parskip\z@ plus.3\p@\relax
+ \let\item\@idxitem
+ \onecolumngrid@pop
+}{%
+}%
+\def\@idxitem{\par\hangindent 40\p@}
+\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}}
+\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}
+\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}
+\def\journal@{osajnl}%
+\@ifx{\@journal\journal@osajnl}{%
+ %\@ifxundefined\bibnotes@sw{\@booleantrue\bibnotes@sw}{}%
+ \bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
+ \def\@onlinecite#1{\begingroup\let\@cite\NAT@citenum\citealp{#1}\endgroup}%
+ \appdef\class@documenthook{%
+ \@ifxundefined\place@bibnumber{%
+ \let\place@bibnumber\place@bibnumber@sup
+ }{}%
+ }%
+}{}%
+
+\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%% F.H.
+
+\renewcommand\bibnumfmt[1]{#1.\enspace} %% S.D.
+\def\bibsection{%
+ \@ifx@empty\refname{%
+ \par
+ }{%
+ \section*{\refname}% \hskip-15pt 8/10/01
+ }%
+}%
+\usepackage{graphicx}
+\endinput
+%%
+%% End of file `osajnl.rtx'.
diff --git a/macros/latex/contrib/osa/journals/osajnl.sty b/macros/latex/contrib/osa/journals/osajnl.sty
new file mode 100644
index 0000000000..406e98ea6e
--- /dev/null
+++ b/macros/latex/contrib/osa/journals/osajnl.sty
@@ -0,0 +1,284 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% File: osajnl.sty %
+% VERSION: 2.0 %
+% Date: May 28, 2004 %
+% %
+% %
+% %
+% LaTeX style file for use with %
+% the following OSA Journals: JOSA A, JOSA B, %
+% Applied Optics, Optics Letters %
+% %
+% THIS FILE REPLACES osa2.sty and predecessors %
+% %
+% THIS FILE IS NOT COMPATIBLE WITH LATEX 2.09 %
+% %
+% %
+% FOR LATEX 2E USE %
+% \documentclass[12pt]{article} %
+% \usepackage{osajnl} %
+% %
+% (c) 2004 Optical Society of America %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%\documentclass[osajnl,preprint,showpacs]{revtex4} %% REVTeX 4.0
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\documentclass[12pt,letterpaper]{article} %% LaTeX 2e
+%\usepackage{osajnl}
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{osajnl}[2004/05/28 LaTeX package for submission to OSA's print journals]
+
+%% packages
+\RequirePackage{overcite}
+\RequirePackage{geometry}
+\usepackage{color}
+
+\ifx\pdfoutput\undefined
+\usepackage{graphicx}
+\else
+\usepackage[pdftex]{graphicx}
+\fi
+
+\geometry{letterpaper,nohead,margin=1in} %% uses geometry.sty
+\parindent1em %% em tied to font
+\parskip0pc
+\linespread{1.2}
+\pagestyle{plain}
+\sloppy
+
+%%Title page elements
+
+\newcommand\OSAJNLtitle[1]{\Large \bf \noindent \begin{center} #1
+\end{center}\rm \normalsize \vskip.125in }%
+
+\newcommand\OSAJNLauthor[1]{\vskip.1in\noindent%
+ \large \begin{center} \textsf{#1} \end{center}\rm \vskip-.2in}
+
+\newcommand\OSAJNLaddress[1]{\vskip3pt\noindent%
+ \normalsize \begin{center} \it #1 \end{center}\rm \vskip-.2in}
+
+\newcommand\OSAJNLemail[1]{\vskip3pt\normalsize
+ \begin{center}\it #1 \rm \end{center} \vskip-.25in}
+
+\newcommand\homepage[1]{\vskip12pt\normalsize
+ \begin{center}\it \textcolor{blue}{\underline{#1}} \end{center}\rm \vskip-.2in}
+
+\newcommand\ocis[1]{\vskip-1pc \hskip3pc {\normalsize\it OCIS codes: \rm #1 \hfill}\vskip1pc}
+
+\renewenvironment{abstract}%%
+{\vskip2.75pc\noindent\begin{center}\begin{minipage}{5.5in} \parindent.2in
+ \noindent \rm}{\hskip.07in \copyright \hskip.05in \number\year \hskip.05in
+ Optical Society of America \\ \hfil \end{minipage}\end{center}}
+
+\newenvironment{abstract*}%%
+{\vskip2.75pc\noindent\hskip.3in\begin{minipage}{5.5in} \parindent.2in
+ \noindent \rm}{\hfil \end{minipage}\vskip.25in}
+
+\let\title\OSAJNLtitle
+\let\author\OSAJNLauthor
+\let\affil\OSAJNLaddress
+\let\address\OSAJNLaddress
+\let\email\OSAJNLemail
+\let\pacs\ocis
+
+
+
+%%Various customizations
+
+\renewcommand\maketitle{\vskip0pt} %%deactivates \maketitle in LaTeX
+\def\affiliation{\address}
+\def\onlinecite{\citeonline}
+%Fig. and Table Labels
+
+\renewcommand\figurename{Fig.}
+\def\fps@table{h}%\def\fps@table{!htbp}
+\renewcommand\tablename{Table}
+
+%% New caption command
+\newcommand\@MaxCapWidth{5.5in}
+\setlength\belowcaptionskip{.2in}
+\setlength\abovecaptionskip{.4in}
+\long\def\@makecaption#1#2{%
+ \normalsize
+ \vskip\abovecaptionskip
+ \sbox\@tempboxa{#1. #2}%
+ \ifdim \wd\@tempboxa >\@MaxCapWidth
+ \hskip.5in\parbox{5.5in}{#1. #2}
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+ \vskip\belowcaptionskip\normalsize}
+
+%%References
+
+\renewcommand\refname{\normalsize References \rm}
+\setlength\bibindent{.2in}
+\renewenvironment{thebibliography}[1]
+ {\section*{\refname
+ \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+ \list{\@arabic\c@enumiv .}
+ {\settowidth\labelwidth{.25in}%
+ \leftmargin\labelwidth
+ \setlength{\parsep}{0pc}
+ \setlength{\labelsep}{0.5em}
+ \setlength{\itemsep}{0.05pc}%{-0.06in}
+ \setlength{\listparindent}{0in}
+ \setlength{\itemindent}{0in}
+ \setlength{\leftmargin}{.2in}
+ \setlength{\rightmargin}{0in}
+ \advance\leftmargin\labelsep
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m \normalsize}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist \vskip.2in}
+\let\@openbib@code\@empty
+\newcommand\OSAJNLReferences{\thebibliography{}}
+\newcommand\OSAJNLReflinks{\thebibliography{}}
+\newcommand\References{\thebibliography{}}
+\newcommand\references{\thebibliography{}}
+\let\endOSAJNLReferences\endthebibliography
+\let\endOSAJNLlinks\endthebibliography
+\let\endReferences\endthebibliography
+
+%%Section parameters
+\renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad }
+\renewcommand\thesubsection{\thesection.\Alph{subsection}}
+\renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}}
+
+\renewcommand\section{\@startsection {section}{1}{0pt}%
+ {-2.5ex plus -1ex minus -.2ex}%
+ {1.3ex plus .2ex}%
+ {\normalsize\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{0pt}%
+ {-2.25ex plus -1ex minus -.2ex}%
+ {1ex plus .2ex}%
+ {\normalsize\itshape}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{0pt}%
+ {-2.25ex plus -1ex minus -.2ex}%
+ {1ex plus .2ex}%
+ {\small\upshape}}
+
+\frenchspacing
+
+\hyphenation {ac-cord-ing
+ allow
+ back-scat-ter
+ back-scat-te-ring
+ back-scat-tered
+ scat-te-ring
+ Based based
+ cases
+ cen-tered
+ changed
+ co-incide
+ con-cerning
+ con-ven-tional
+ de-creased
+ de-po-lar-iz-ation
+ de-tector de-tectors
+ de-vi-ation
+ dis-cussion
+ dis-tribu-tion
+ dis-tribu-tions
+ dis-trib-ute
+ dis-trib-uted
+ Ehhalt
+ extinc-tion
+ found
+ Geest-hacht
+ ground
+ Hink-ley
+ il-lus-trated
+ il-lus-trate
+ Intro-ducing
+ Klap-heck
+ lati-tude
+ measure-ment
+ measure-ments
+ meas-ured
+ measuring
+ mixing
+ north-east
+ orig-inated
+ op-er-ating
+ out-flow
+ pres-ence
+ primary
+ rather
+ rela-tive
+ sig-nal
+ sig-nals
+ solid
+ tem-pera-ture
+ Tem-pera-ture
+ trans-ported
+ tropo-pause
+ Tropo-pause
+ tropo-sphere
+ Tropo-sphere
+ tube
+ tubes
+ Values
+ varies
+ Weather}
+
+\def\opex{ Opt.\ Express }
+\def\ao{ Appl.\ Opt.\ }
+\def\ap{ Appl.\ Phys.\ }
+\def\apa{ Appl.\ Phys.\ A }
+\def\apb{ Appl.\ Phys.\ B }
+\def\apl{ Appl.\ Phys.\ Lett.\ }
+\def\apj{ Astrophys.\ J.\ }
+\def\bell{ Bell Syst.\ Tech.\ J.\ }
+\def\jqe{ IEEE J.\ Quantum Electron.\ }
+\def\assp{ IEEE Trans.\ Acoust.\ Speech Signal Process.\ }
+\def\aprop{ IEEE Trans.\ Antennas Propag.\ }
+\def\mtt{ IEEE Trans.\ Microwave Theory Tech.\ }
+\def\iovs{ Invest.\ Ophthalmol.\ Visual\ Sci.\ }
+\def\jcp{ J.\ Chem.\ Phys.\ }
+\def\jmo{ J.\ Mod.\ Opt.\ }
+\def\jon{J.\ Opt.\ Netw.\ }
+\def\josa{ J.\ Opt.\ Soc.\ Am.\ }
+\def\josaa{ J.\ Opt.\ Soc.\ Am.\ A }
+\def\josab{ J.\ Opt.\ Soc.\ Am.\ B }
+\def\jpp{ J.\ Phys.\ (Paris) }
+\def\nat{ Nature (London) }
+\def\oc{ Opt.\ Commun.\ }
+\def\ol{ Opt.\ Lett.\ }
+\def\pl{ Phys.\ Lett.\ }
+\def\pra{ Phys.\ Rev.\ A }
+\def\prb{ Phys.\ Rev.\ B }
+\def\prc{ Phys.\ Rev.\ C }
+\def\prd{ Phys.\ Rev.\ D }
+\def\pre{ Phys.\ Rev.\ E }
+\def\prl{ Phys.\ Rev.\ Lett.\ }
+\def\rmp{ Rev.\ Mod.\ Phys.\ }
+\def\pspie{ Proc.\ SPIE\ }
+\def\sjqe{ Sov.\ J.\ Quantum Electron.\ }
+\def\vr{ Vision Res.\ }
+\def\cleo{ {\it Conference on Lasers and Electro-Optics }}
+\def\assl{ {\it Advanced Solid State Lasers }}
+\def\tops{ Trends in Optics and Photonics }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Option: copyedit
+%% Adds space in between lines and in margins
+%% for traditional copyediting
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\DeclareOption{copyedit}{%
+\linespread{2.2}
+\geometry{letterpaper,hcentering,nohead,right=1.25in,left=1.25in} %% uses geometry.sty
+}%
+\ProcessOptions\relax
+
+%% end osajnl.sty