diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/osa/journals/osajnl.rtx')
-rw-r--r-- | Master/texmf-dist/doc/latex/osa/journals/osajnl.rtx | 565 |
1 files changed, 565 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/osa/journals/osajnl.rtx b/Master/texmf-dist/doc/latex/osa/journals/osajnl.rtx new file mode 100644 index 00000000000..1329baec4fa --- /dev/null +++ b/Master/texmf-dist/doc/latex/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'. |