%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                   File: jonxml.sty                  %
%                      VERSION: 1.0                   %
%                Date: January 15, 2003               %
%                                                     %
%           LaTeX style file for use with             %
%         OSA Journal of Optical Networking           %
%                                                     %
%                                                     %
%                  FOR LATEX 2E USE                   %
%         \documentclass[letterpaper,10pt]{article}   %
%         \usepackage{jonxml}                         %
%                                                     %
%            Scott Dineen sdinee@osa.org              %
%        (c) 2003 Optical Society of America          %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%\documentclass[10pt]{article}                  %% LaTeX 2e
%\usepackage{jonxml}

%% OTHER PACKAGES

\usepackage{graphicx}
\usepackage{color}
%% PAGE FORMAT

\textwidth5in
\textheight8.5in
\oddsidemargin.75in
\evensidemargin.75in
\topmargin-2.75pc
\parindent.2in
\pagestyle{plain}
\sloppy

%% TITLE PAGE COMMANDS

\def\JONtitle#1{\LARGE \bf \noindent \begin{center} #1 \end{center}
\rm \normalsize \vskip.1in }% 

\def\JONauthor#1{\noindent% 
   \large \begin{center} \sf{#1} \end{center}
   \rm \vskip-.12in }

\def\JONaddress#1{\noindent% 
   \small \it \begin{center} #1 \end{center}
   \rm \vskip-6pt }

\def\JONemail#1{\vskip-6pt\noindent \small% 
   \begin{center}\it #1 
   \rm \end{center}  \normalsize  \vskip-3pt}

\def\ocis#1{\vskip-.03in \hskip.5in {\small \it OCIS codes: \rm #1 \hfill}}
     %\bf  OCIS codes: \rm #1 \hfil } \\ \normalsize \vskip.01cm}

%\def\url#1{\textcolor{blue}{\underline{#1}}} %% use hyperref.sty instead

\def\homepage#1{\vskip-.2in \noindent \small 
   \begin{center}\it \textcolor{blue}{\underline{#1}} 
   \rm \end{center}  \normalsize \vskip.08in}

\def\received#1{\vskip-.1in \footnotesize \begin{center} {#1} 
   \rm \end{center}  \normalsize \vskip-4pt}

\renewenvironment{abstract}%%  
{\vskip1.5pc\noindent\hskip.5in\begin{minipage}{4.in} \parindent.2in
   \noindent \small \rm}{\hskip.07in \copyright \hskip.05in \number\year \hskip.05in
   Optical Society of America \\ \hfil \end{minipage}}

\newenvironment{abstract*}%% * version removes copyright line
{\vskip1.5pc\noindent\hskip.5in\begin{minipage}{4.in} \parindent.2in
   \noindent \small \rm}{\hskip.07in  \hfil \end{minipage}\vskip.0875in}% 

\let\title\JONtitle
\let\author\JONauthor
\let\affil\JONaddress
\let\address\JONaddress
\let\email\JONemail
\let\pacs\ocis

%% VARIOUS LABELS

\renewcommand\figurename{Fig.}
\def\fps@table{h}%\def\fps@table{!htbp}
\renewcommand\tablename{\textbf{Table}}


\renewcommand\refname{\normalsize \sf References and Links \rm} %\renewcommand\refname{\small \bf References and Links}

\newcommand\@MaxCapWidth{4.25in}
\setlength\belowcaptionskip{1pt}

\long\def\@makecaption#1#2{%
  \small
  \vskip\abovecaptionskip
  \sbox\@tempboxa{#1. #2}%
  \ifdim \wd\@tempboxa >\@MaxCapWidth
    \hskip.25in\parbox{4.5in}{#1. #2} 
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip\normalsize}


%%  REFERENCES AND LINKS

\renewcommand\refname{\normalsize References and Links \rm}

\newcommand\JONReferences{\thebibliography{}}
\newcommand\JONReflinks{\thebibliography{}}
\newcommand\References{\thebibliography{}}
\let\endJONReferences\endthebibliography
\let\endJONReflinks\endthebibliography
\let\endReferences\endthebibliography

%% SECTION COMMANDS 

\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}%
                                   {\sf\normalsize\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{0pt}%
                                     {-2.25ex plus -1ex minus -.2ex}%
                                     {1ex plus .2ex}%
                                     {\sf\normalsize\itshape}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{0pt}%
                                     {-2.25ex plus -1ex minus -.2ex}%
                                     {1ex plus .2ex}%
                                     {\sf\small\upshape}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Create footnotes for author author queries (use \au{})
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\thefootnote}{\large\bfseries\Alph{footnote}}
\newcommand{\au}[1]{{\footnote{#1}}\marginpar{\raggedleft\hspace{0pt}
\LARGE\textcolor{webred}{$\leftarrow$}}}
\newcommand{\Au}{\footnote}
\newcommand{\AU}{\footnote}
\definecolor{webred}{rgb}{0.9,0,0} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%% MINIMIMUM INTERSENTENCE SPACING

\frenchspacing

%% HYPHENATION

\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}

%% MACROS FOR STANDARD JOURNAL ABBREVIATIONS

\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.\ Vis.\ 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 }
%%END