%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                File: OLpagelength.tex               %
%               Date: Feb. 14, 2007                   %
%                                                     %
%    For assistance, contact Joseph Richardson,       %
%    jricha@osa.org                                   %
%                                                     %
%          LaTeX template and instructions for        %
%          length check and submission of OSA         %
%              Optics Letters manuscripts             %
%                                                     %
%                                                     %
% \documentclass[10pt,letterpaper,twocolumn]{article} %
% \usepackage{ol2}                                    %
%                                                     %
% (c) 2007 Optical Society of America                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[10pt,letterpaper,twocolumn]{article} %% two column, final layout

%\documentclass[12pt]{article} % single column, double spaced
%\usepackage[tablesfirst,notablist,nomarkers]{endfloat} %% float figs. to back

\usepackage{ol2}
\usepackage[draft]{hyperref}
\usepackage{amsmath}

\begin{document}

\twocolumn[ %% activate for two-column option

\title{Optics Letters template for submission  and length-check estimation}

%% For REVTeX it is possible to automate superscript and e-mail callouts with the superscriptaddress option; see REVTeX4 documentation.


\author{Joe Richardson,$^{1,*}$ Antoinette Wrighton,$^2$ and Jennifer Martin$^{2,3}$}

\address{
$^1$Peer Review Department, Optical Society of America, \\ 2010 Massachusetts Avenue, NW, Washington, D.C. 20036, USA
\\
$^2$Editorial Services Department, Optical Society of America, \\ 2010 Massachusetts Avenue, NW,
Washington, D.C. 20036, USA \\
$^3$Currently with the Electronic Journals Department, Optical Society of America, \\ 2010 Massachusetts Avenue, NW,
Washington, D.C. 20036, USA \\
$^*$Corresponding author: xyx@osa.org
}

\begin{abstract}This template, along with associated style files,
can be used to approximate typeset \textit{Optics Letters} (OL) pages for purposes of length check.
With a few command changes, the two-column version can be disassembled into a single-column double-spaced version
suitable for production and submission to OSA. Examples are given of how to account for some of the factors that affect the
accuracy of the length estimate: figures, tables, equations, and author affiliations.  \textbf{Authors
should note the new affiliation style (shown above) as well as the change to bracketed reference callouts.}\end{abstract}

\ocis{000.0000, 999.9999.}

 ] %% activate for two-column option

\noindent We recommend that authors prepare OL manuscripts to accommodate the \texttt{[twocolumn]}
(length-check) option. This will assist both the author and OSA staff in estimating final page count.
Preparing the length-check option involves setting tables and figures within the body of the manuscript
with appropriate sizing commands and placing the  \verb+\twocolumn[...]+ command around the title\-page elements
(as explained \hyperlink{frontmatter}{below}). There are also instructions at the end of
the template for setting up author affiliations properly. Once a manuscript has
been prepared to resemble final pages, it can easily be reprocessed to change layout
for production, float the figures to the back, and generate a list of figure captions.

\bigskip

Sample code for the preamble is as follows:

\subsection*{LaTeX for length check}
\small
\begin{verbatim}
\documentclass[10pt,twocolumn]{article}
\usepackage{ol}
%% Figures should be placed in body
%% of manuscript and
%% sized appropriately.
\end{verbatim}
\normalsize

\subsection*{LaTeX for submission}
\small
\begin{verbatim}
\documentclass[12pt]{article}
\usepackage[tablesfirst,notablist,
nomarkers]{endfloat}
%% use endfloat only to float figures
%% to end and create
%% list of captions
\usepackage{ol}
\end{verbatim}
\normalsize

The command \verb+\twocolumn[...]+ must be placed around the titlepage elements in the two-column option. Note that proper figure, table, and caption environments should be used (see samples below).

\textbf{Displayed equations} may be the most problematic for purposes of length check. \emph{Optics Letters} equations are usually set in one column; breaks and alignment should bring out the structure of the math:
%% LaTeX
%\begin{eqnarray}
%{\dot{E}_{x,y}} &=&\frac{1}{2}\left( 1+j\alpha \right) \left( G_{x,y}-\gamma \right) %E_{x,y}  \label{Eq1} \nonumber \\
%&&+\kappa E_{x,y}\left( t-\tau \right) \exp \left( -j\Omega
%_{x,y}\tau \right) \nonumber \\
%&& + (\beta _{sp}N)^{1/2} \xi _{x,y}.
%\end{eqnarray}

%% amsmath
\begin{align}
{\dot{E}_{x,y}} &=\frac{1}{2}\left( 1+j\alpha \right) \left( G_{x,y}-\gamma \right) E_{x,y}  \label{Eq1} \nonumber \\
&\quad+\kappa E_{x,y}\left( t-\tau \right) \exp \left( -j\Omega
_{x,y}\tau \right) \nonumber \\
&\quad + (\beta _{sp}N)^{1/2} \xi _{x,y}.
\end{align}


Use standard LaTeX or AMSTeX environments. For equations that \textit{must} span two columns, it is possible to use a float environment, e.g., \verb+\begin{figure*}...\end{figure*}+. Such an environment will not interfere with figure or table numbering (which is controlled by the caption), but it \textit{will} cause equations to float, often with unwanted consequences.

\textbf{Figures} should  be set to one-column size \mbox{($\sim$8.3 cm)} whenever possible; \textbf{tables} should also be set to one column whenever possible, but tables with more than five columns will probably need to be set to two columns. For two-column layout, figures and tables can be set across both columns with the alternate figure and table environment commands \verb+\begin{figure*}...\end{figure*}+ instead of \verb+\begin{figure}...\end{figure}+. Note that tables are typeset and cannot be reduced in size like art, which may require more space than in the submitted paper.

\subsection*{Sample figure environment:}
\small
\begin{verbatim}
\begin{figure}[htb]
\centerline{
\includegraphics[width=8.3cm]{richardson-f1.eps}}
 \caption{Sample figure.}
\end{figure}
\end{verbatim}
\normalsize

\textbf{References} callouts are now formatted with the \texttt{cite} package, which produces bracketed reference style (e.g., [1]).
For online callouts, e.g., see  [1], the words ``Ref.'' and
``Refs.'' are not required.

Before submitting, authors who use BibTeX should first run BibTeX,
then paste the contents of the output file \texttt{*.bbl} into the
\texttt{*.tex} manuscript file. Our electronic submissions system cannot process BibTeX directly.
Use the latest version of \texttt{ol.bst}, which is included in this distribution.

\paragraph{The following files are included in this distribution:}
\begin{itemize}\itemsep-2pt
\item\texttt{OLpagelength.tex} \ Template and instructions
\item\texttt{ol.sty} \ Style file
\item\texttt{ol.bst} \ BibTeX style file
\item\texttt{endfloat.cfg} \ Configuration file for the \texttt{endfloat} package
\item\texttt{richardson-f1.eps} \ Sample .eps figure.
\end{itemize}

\bigskip

\begin{figure}[htb]
%\centerline{\includegraphics[width=8cm]{richardson-f1.eps}}
\caption{Sample column-width figure; note that multipart figures should be assembled as a single file.}
\end{figure}


\begin{table}
  \centering
  \caption{Sample Table}\begin{tabular}{ccccc} \\ \hline
    % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
    TEST & TEST & TEST & TEST & TEST \\ \hline
    TEST & TEST & TEST & TEST & TEST \\
    TEST & TEST & TEST & TEST & TEST \\
    TEST & TEST & TEST & TEST & TEST \\ \hline
  \end{tabular}
\end{table}

\begin{table*}[htb]
  \centering
  \caption{Sample Table}\begin{tabular}{ccccccccc} \\ \hline
    % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
    TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST\\ \hline
    TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST\\
    TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST\\
    TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST & TEST\\ \hline
  \end{tabular}
\end{table*}


\begin{figure*}[t]
\centerline{\includegraphics[width=10cm]{richardson-f1.eps}}
\caption{Two-column figure set with the figure* environment.}
\end{figure*}


Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.



Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.


Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.


Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text.

Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. Dummy text. [use \verb+\pagebreak+ to balance final column]

%\pagebreak
\begin{thebibliography}{99}


\bibitem{Zhang} Z. Jiang and X.-C. Zhang,  Opt. Lett. {\bf 23,} 1114 (1998).

\end{thebibliography}


\end{document}
