summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/osa/optical_networking/JONxml.STY
blob: 4897e807c90b4e4df62b0f6dc7ff3d56790aff59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                   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