%% Version 7/12/99
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Proceedings Sample, procsamp.tex
%%
%% Based on sample by Amy Hendrickson, TeXnology Inc., July 1999.
%%
%% Changes and abbreviations by S.K.Gorny, NCAC 2000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%
%% LaTeX2e 
%% Uncomment documentclass, 
\documentclass{KapProc} % Computer Modern font calls

%%%%%
% PostScript font calls
%
% If you use the ProcPs PS font file, you may need to edit it
% to make sure the font names match those on your system. See
% the top of the ProcPs.sty file for more info.

%\usepackage{ProcPs} 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% LaTeX209, uncomment only one:
%% (Make sure documentclass and usepackage commands above are commented out!)
%
%  \documentstyle{KapProc} % Computer Modern fonts
%  \documentstyle[ProcPs]{KapProc} %For PostScript fonts 

%% uncomment to make current time and `draft' appear at bottom of page.
%\draft

\let\footnote\savefootnote
\let\footnotetext\savefootnotetext 
\let\footnoterule\savefootnoterule 

\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{1}

\kluwerbib

\startauthorindex

\begin{document}


%------------ article title  ------------------->>

\articletitle[Audio Quality Determination]
{Audio Quality Determination\\
Based on Perceptual \\
Measurement Techniques}

\author{John G. Beerends}

%% affil, email, and abstract are optional
\affil{Royal PTT Netherlands N.V.\\
KRN Research, P. Box 421, AK Leidenham\\
The Netherlands\footnote{Partial funding provided by grant NL-213-456.}}
\email{beerends@ptt.com.nl}

%% optional, to supply a shorter version of the title for the running head:
%%\chaptitlerunninghead{}

\begin{keywords}
Audio quality measurements, perceptual measurement techniques
\end{keywords}

\begin{abstract}
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
Here is quite a long abstract.
\end{abstract}



\section{Introduction}
Here is the beginning of the article.\footnote{Here is a sample footnote.}
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.



\section[All the Things that can be Done with Figure Captions]
{All the Things that can be Done\\ with Figure Captions}
\begin{figure}[ht]
\vskip.2in
\caption{Short caption.}
\end{figure}

\begin{figure}[ht]
\vskip2pt
\caption{\protect\inx{Oscillograph} for memory address access operations, showing 500 ps
address access time and $\alpha\beta\Gamma\Delta\sum_{123}^{345}$
\protect\inx{superimposed signals}%
\protect\inxx{address,superimposed
signals} of address access in 1 kbit
memory plane.}
\end{figure}

%% Double captions:
\begin{figure}[ht]
\dblcaption{This caption will go on the left side of
the page. It is the initial caption of two side-by-side captions.}
{This caption will go on the right side of
the page. It is the second of two side-by-side captions.}
\end{figure}
%% For continued caption. Same figure number used as for last caption.
\begin{figure}[ht]
\contcaption{This is a continued caption.}
\end{figure}
\inxx{captions,figure}


%% Not a continued caption, new figure number used.
\begin{figure}[ht]
\caption{This caption is not continued so it has a new caption number.}
\end{figure}

%% To make narrow caption:
\begin{figure}[ht]
\narrowcaption{This is a narrow caption so that it can
be at the side of the illustration. This is a narrow caption.
This is a narrow caption. This is a narrow caption.}
\end{figure}

%% To make narrow continued caption:
\begin{figure}[ht]
\narrowcontcaption{This is a narrow continued caption.
This is a narrow continued caption. This is a narrow continued caption.}
\end{figure}
\clearpage
\begin{figure}[ht]
\letteredcaption{a}{Lettered caption.}
\end{figure}
\inxx{captions,lettered}

\begin{figure}[ht]
\lettereddblcaption{b}{One caption.}
{c}{Two captions.}
\end{figure}


\section{Making Tables}\inxx{Making tables}
Notice that the caption should be at the top of the table. Use
a line above the table, under the column heads, and at the
end of the table. This form of the tabular command makes the
table spread out to the width of the page.
\begin{table}[ht]
\caption[Effects of the Two Types of Scaling Proposed by Dennard 
and Co-Workers.$^{a,b}$]
{Effects of the Two Types of Scaling Proposed by \protect\inx{Dennard} 
and\newline
Co-Workers.$^{a,b}$}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcc}
\hline
\it Parameter&\it $\kappa$ Scaling &\it $\kappa$, $\lambda$ Scaling\cr
\hline
Dimension&$\kappa^{-1}$&$\lambda^{-1}$\cr
Voltage&$\kappa^{-1}$&$\kappa^{-1}$\cr
Currant&$\kappa^{-1}$&$\lambda/\kappa^{2}$\cr
\inx{Dopant Concentration}&$\kappa$&$\lambda^2/\kappa$\cr
\hline
\end{tabular*}
\begin{tablenotes}
$^a$Refs.~19 and 20.

$^b\kappa, \lambda>1$.
\end{tablenotes}
\end{table}
\inxx{captions,table}

\begin{table}[ht]
\letteredcaption{a}{A small table with a lettered table caption.}
\centering
\begin{tabular}{lcr}\hline
\it $\alpha\beta\Gamma\Delta$ One&\it Two&\it Three\cr\hline
one&two&three\cr
one&two&three\cr\hline
\end{tabular}
\label{table1a}
\end{table}
\clearpage


\begin{table}[ht]
\caption{Here is a table caption.}
\begin{center}
\begin{tabular}{||c||c||l}
\savehline
  %% On the next line is an example of how to get extra vertical space in
  %% a line: Use a \vrule with width 0pt and the height or depth that you
  %% want.
\it Cell\vrule height 14pt width 0pt depth 4pt
&\it Time (sec.)&\cr
\savehline
\savehline
1&432.22\vrule height 12pt width0pt&\cr
%%
%% On the next line, see how to line up numbers aligned on their decimal point
2&\phantom{3}32.32&\cr
3&\phantom{33}2.32&\cr
\savehline
\end{tabular}
\end{center}
\end{table}


\begin{table}[ht]
\contcaption{This is a continued caption.}
\begin{center}
\begin{tabular}{||c||c||l}
\savehline
  %% On the next line is an example of how to get extra vertical space in
  %% a line: Use a \vrule with width 0pt and the height or depth that you
  %% want.
\it Cell\vrule height 14pt width 0pt depth 4pt
&\it \inx{Time} (sec.)&\cr
\savehline
\savehline
4&532.22\vrule height 12pt width0pt&\cr
%%
%% On the next line, see how to line up numbers aligned on their decimal point
5&\phantom{3}12.02&\cr
6&\phantom{33}4.44&\cr
\savehline
\end{tabular}
\end{center}
\end{table}


\section{Other environments}
\begin{quote}
This is a sample of extract or quotation.\inxx{quotation}%
\inxx{quotation,extract}
This is a sample of extract or quotation.
This is a sample of extract or quotation.
\end{quote}

\begin{enumerate}
\item
This is the first item in the numbered list.

\item
This is the second item in the numbered list.
This is the second item in the numbered list.
This is the second item in the numbered list.
\end{enumerate}

\begin{itemize}
\item
This is the first item in the itemized list.

\item
This is the first item in the itemized list.
This is the first item in the itemized list.
This is the first item in the itemized list.
\end{itemize}

\begin{itemize}
\item[]
This is how to get an indented paragraph without
an item marker.

\item[]
This is how to get an indented paragraph without
an item marker.
\end{itemize}


\section[Small Running Head]{Some Sample Algorithms}
When you want to demonstrate some programming code, these are
the commands to use. Lines will be preserved as you see them
on the screen, as will spaces at the beginning of the line.%
\inxx{algorithm,State transition}\inxx{algorithm}
A backslash followed with a space will indent the line. 
Blank lines will be preserved.
Math and font changes may be used. 

\begin{algorithm}
{\bf state\_transition algorithm} $\{$
\        for each neuron $j\in\{0,1,\ldots,M-1\}$
\        $\{$   
\            calculate the weighted sum $S_j$ using Eq. (6);
\            if ($S_j>t_j$)
\                    $\{$turn ON neuron; $Y_1=+1\}$   
\            else if ($S_j<t_j$)
\                    $\{$turn OFF neuron; $Y_1=-1\}$   
\            else
\                    $\{$no change in neuron state; $y_j$ remains %
unchanged;$\}$ .
\        $\}$   
$\}$   
\end{algorithm}

Here is another sample algorithm:

%% \bit will produce bold italics if you are using PostScript fonts, 
%% boldface in Computer Modern.

\begin{algorithm}
{\bit Evaluate-Single-FOE} ({\bf x$_f$, I$_0$, I$_1$}):
\ {\bf I}+ := {\bf I}$_1$;
\ ($\phi,\theta$) := (0,0);
\ {\it repeat}\note{/*usually only 1 interation required*/}
\ \ (s$_{opt}${\bf E}$_\eta$) := {\bit Optimal-Shift} ({\bf I$_0$,I$^+$,I$_0$,x$_f$});
\ \ ($\phi^+$, $\theta^+$) := {\bit Equivalent-Rotation} ({\bf s}$_{opt}$);
\ \ ($\phi$, $\theta$) := ($\phi$, $\theta$) + ($\phi^+$, $\theta^+$);
\ \ {\bf I}$^+$:= {\bit Derotate-Image} ({\bf I}$_1$, $\phi$, $\theta$);
\ \ {\it until} ($\|\phi^+\|\leq\phi_{max}$ \& $\|\theta^+\|\leq\theta_{max}$);
\ {\it return} ({\bf I}$^+$, $\phi$, $\theta$, E$_\eta$).

End pseudo-code.
\end{algorithm}
\inxx{code,Pseudo}

% Notice that to produce printed `{' brackets, precede them with \string

% Notice that \begin{codebox}...\end{codebox} can be inserted within
%   codesamp, and will be positioned at the same distance from right
%   margin as text. codebox needs an argument for the width of the box,
%   as in  \begin{codebox}{2.5in} below.

This is an example of `codesamp' with a `codebox' included. Notice
that `underline' will still work even though this is basically
a verbatim environment.\inxx{code,Sample}

\begin{codesamp}
sqrdc(a, n)(a, qraux)\string{
  \underline{DARRAY float[180] a[180];}
  float qraux[180], col[180], nrmxl,t;
  DO(1=0, n)\string{
         \underline{ALIGN*(i=1, n) col[i]=a[l][i];}
         \begin{codebox}{2.3in}
         init*\string{ nrmxl=0.0;\string}
         DO*(i=l, n)\string{
           nrmxl += col[i]*col[i];\string}
         combine*\string{nrmxl;\string}
         \end{codebox}
         nmxl=sqrt(nrmxl);
         if (nrmxl != 0.00)\string{
            if (col[1]=1.0+col[1];
\end{codesamp}


\begin{glossary}
\term{GaAs}Gallium Arsinide. For similar device sizes GaAs transistors 
have three to\inxx{GaAs,Gallium Arsinide}
five times greater transconductance than those of of silicon bipolar
and MOS transistors.

\term{VLSI}Very Large Scale Integration. Since the mid-1970's 
\inx{VLSI} technology has been successfully used in many areas, but its effect on
computers of all shapes and sizes has been the most dramatic. Some of the
application areas got boosts in performance while others became
feasible.
\end{glossary}


\section{Summary}
This is a \inx{summary} of this article.

\begin{acknowledgments}
The authors wish to thank Drs.~T. Misugi, M. Kobayashi, and M. Fukuta for%
\inxx{Misugi\, Dr. T.}\inxx{Kobayashi\, Dr. M.}%
\inxx{Fukuta\, Dr. M.}
their encouragement and support. Their authors also wish to thank their
colleagues...
\end{acknowledgments}

\chapappendix{This is a Chapter Appendix}
This is an appendix which is meant to appear in individual chapters
of the edited book, not at the end of the book.

\begin{figure}[ht]
\caption{This is an appendix figure caption.}
\end{figure}

\begin{table}[ht]
\caption{This is an appendix table caption.}
\centering
\begin{tabular}{ccc}
\hline
one&two&three\\
\hline
C&D&E\\
\hline
\end{tabular}
\end{table}

\begin{equation}
\alpha\beta\Gamma\Delta
\end{equation}


\chapappendix{}
This is a chapter appendix without a title 
meant to appear in individual chapters
of the edited book, not at the end of the book.


\begin{equation}
e=mc^2
\end{equation}


\begin{chapthebibliography}{1}
\bibitem{ander}
Anderson, Terry L., and Fred S. McChesney. (n.d.). ``Raid or Trade?
An Economic Model of Indian-WhiteRelations,'' Political Economy Research
Center Working Paper 93--1.

\bibitem{lacey}
Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell
University Press.

\bibitem{oliva}
Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf
M. Hakkert.

\bibitem{zimmern}
Zimmern, Alfred. (1961). {\it The Greek Commonwealth: Politics and Economics
in Fifth-Century Athens,}\/ 5th ed. New York: Galaxy Book, Oxford University
Press.
\end{chapthebibliography}

\end{document}