%% September 4, 1999 version %% This file is called KapEdbk.doc % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%% %%%%% %% LaTeX Documentation file for Articles in %% Edited Book Style Published by %% Kluwer Academic Press %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%% %%%%% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%% %%%%% %% Macros written by %% Amy Hendrickson %% TeXnology, Inc. %% 57 Longwood Avenue %% Brookline, Massachusetts 02446 %% 617 / 738-8029 %% %% Technical help: dthelp@wkap.com %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%% %%%%% \def\thisdoc{Kluwer Edited Book Documentation} \def\currstyle{Edited Book} %% Please uncomment either a documentstyle or a documentclass: %% (If in doubt, documentclass is the best choice; if you get %% an error message saying that \documentclass is undefined, that %% indicates that you are using LaTeX2.09, and you should uncomment %% \documentstyle. If you don't have a copy of edbk.sty, you can %% rename edbk.cls to edbk.sty since the same file will work for %% both flavors of LaTeX.) %% If you use EdbkPs, you may need to edit the EdbkPs.sty file %% to make sure the font names match those on your system. See %% the top of the EdbkPs.sty file for more info. %% LaTeX2e %% Uncomment documentclass, and, optionally, %% the \usepackage command: %\documentclass{KapEdbk} % Computer Modern font calls %\usepackage{EdbkPs}% PostScript font calls %% LaTeX209, uncomment only one: %% (Make sure docuementclass and usepackage commands above are commented out) % \documentstyle{KapEdbk} % Computer Modern fonts % \documentstyle[EdbkPs]{KapEdbk} %For PostScript fonts \pagenumbering{arabic} \newdimen\abovetitleskip \abovetitleskip=24pt \voffset-1.5in \newif\ifdotoc %\dotoctrue \makeatletter \ifdotoc {\def\numberline#1{} \def\contentsline#1#2#3{}\@starttoc{toc}}\fi \def\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else \item #4 \qquad{\it #5}\fi} \setcounter{tocdepth}{1} \def\numberline#1{} \makeatother %% fake versions of commands to make them work in documentation: \let\openright\relax %% <== end fake versions \newdimen\savetopskip \savetopskip=\topskip \topskip=36pt \let\savechapter\chapter \let\savesection\section \let\savesubsection\subsection \let\StartOnNewPage\relax \newdimen\savehsize \newdimen\savetextwidth \savehsize=\textwidth \savetextwidth=\textwidth \textheight=9in \newdimen\saveparindent \newdimen\saveparskip \saveparindent=\parindent \saveparskip=\parskip \parindent=0pt \parskip=6pt \makeatletter \newif\ifdoctitle \global\doctitletrue \def\ps@headings{\def\@oddfoot{\hfill}% \def\@evenfoot{\hfill}% % \def\@evenhead{\ifdoctitle\global\doctitlefalse\hfill\else \hbox to0pt{\hbox to\savetextwidth{% \hskip-24pt\Large\bf\thepage\hskip 24pt% \sqbullet\hskip10pt\sqbullet\hskip10pt \Large\bf Using the Kluwer Macros \hskip10pt\sqbullet\hskip10pt\sqbullet\hskip10pt\sqbullet\hfill}% \hss}\hfill\fi} % % left heading. \def\@oddhead{\hskip130pt\hbox to0pt{\hbox to\savetextwidth{% \hfill\hbox{}\ifdoctitle\global\doctitlefalse\hfill\else \hfill\sqbullet\hskip10pt\sqbullet\hskip 10pt\sqbullet\hskip10pt \Large\bf Edited Book Style\hskip10pt% \sqbullet\hskip10pt\sqbullet\hskip24pt\thepage\fi\hbox to-24pt{}}\hss}\hss} % right heading. } \ps@headings \oddsidemargin 12pt \evensidemargin -12pt \leftmargini=18pt \labelsep=6pt \def\sqbullet{\raise.2ex\hbox{\vrule width 4pt height4pt}} \let\savelabelitemi\labelitemi \def\labelitemi{%\llap {\hbox to6pt{\sqbullet\hfill}}} \def\ysection#1{\ifdotoc \addcontentsline{toc}{section}{\protect\numberline{x}#1}\fi {\let\uppercase\relax \@startsection {section}{3}{-24pt}{-36pt plus -1pt minus -1pt}{1sp}{\Large\bf}*{#1}}} \def\section{\ysection} \def\ysubsection#1#2{{\let\uppercase\relax% \@startsection {subsection}{2}{\z@}{-24pt plus -1pt minus -1pt}{1sp}{\large\sc}#1{#2}}} \def\subsection{\ysubsection*} \let\savesubsubsection\subsubsection \def\subsubsection{\savesubsubsection*} \def\chapter#1{\global\doctitletrue \vbox to 9.5pc{ \hyphenpenalty=10000 % No hyphenation in chapter heads \parindent=-36pt \vskip12pt\vskip-\parskip \def\\ {\vskip-\parskip} \booktitlefont\baselineskip=30pt #1 \vskip1sp %8pt \moveright-36pt\vbox{\advance\hsize by 36pt \hrule height 1.5pt width \hsize }\vfill}} \let\save@listI\@listI \let\save@listi\@listi \def\code{\vskip6pt \hbox to\textwidth{\vrule width \textwidth height .6pt} \normalsize\vskip1sp} \let\endcode\relax \let\xcode\code \def\results{\bgroup \hbox to\hsize{.\dotfill.} \vskip15pt \bgroup \def\contentsline##1##2##3{} \def\addcontentsline##1##2##3{} \def\addtocontents##1##2{} \let\@listI\save@listI \let\@listi\save@listi \@listi \linewidth=\savehsize \hsize=\savehsize \textwidth=\savetextwidth \parindent=\saveparindent \parskip=\saveparskip \let\section\savesection \let\subsection\savesubsection \let\subsubsection\savesubsubsection \let\labelitemi\savelabelitemi \normalsize\par} \def\endresults{\vskip1sp \egroup\vskip1sp\egroup \hbox to\textwidth{\vrule width \textwidth height .6pt} \xmedium\vskip18pt} \def\nolineendresults{\vskip1sp \egroup\vskip1sp\egroup \xmedium\vskip18pt} \def\xresults{\bgroup \bgroup \topskip\savetopskip \def\contentsline##1##2##3{} \let\@listI\save@listI \let\@listi\save@listi \@listi \linewidth=\savehsize \hsize=\savehsize \textwidth=\savetextwidth \parindent=\saveparindent \parskip=\saveparskip \let\section\savesection \let\subsection\savesubsection \let\labelitemi\savelabelitemi \normalsize\par} \def\xendresults{\vskip1sp \egroup\vskip1sp\egroup \xmedium\vskip18pt} \def\spresults{\hbox to\savehsize{\dotfill} \vskip3pt\bgroup \let\@listI\save@listI \let\@listi\save@listi \@listi \linewidth=\savehsize \hsize=\savehsize \textwidth=\savetextwidth \parindent=\saveparindent \parskip=\saveparskip \normalsize} \def\endspresults{\vskip3pt\egroup \hbox to\textwidth{\vrule width \textwidth height .6pt} \vskip18pt\xmedium} \def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@ \topsep 8\p@ plus2\p@ minus4\p@ \itemsep -3pt %4\p@ plus2\p@ minus\p@ } \let\@listi\@listI \@listi \def\xmedium{\@setsize\xmedium{12pt}\xipt\@xipt} \makeatother \def\btt#1{{\tt\string\ \unskip#1}} \def\lc{$\{$}\def\rc{$\}$} %\begin{document} \makeatletter \def\hb@xt@ {\hbox to} \makeatother \xmedium \textwidth=6.5in \hsize=6.5in \linewidth=6.5in \newif\ifdotitlepage \dotitlepagetrue \ifdotitlepage \expandafter\ifx\csname psfonts\endcsname\relax \font\big=cmbx10 scaled \magstep5 \font\semibig=cmbx10 scaled\magstep4 \font\xbig=cmr10 scaled \magstep4 \font\xmed=cmr10 scaled\magstep3 \font\med=cmbx10 scaled\magstep3 \font\jourfont=cmbx10 scaled \magstep5 \else %% ps fonts: \font\big=\timesbolditalic at 26pt \font\semibig=\timesbolditalic at 20pt \font\xbig=\timesroman at 24pt \font\xmed=\timesroman at 20pt \font\med=\timesroman at 18pt \font\jourfont=\timesbold at 30pt \fi \parindent=0pt \vbox to\vsize{\hyphenpenalty10000 \overfullrule=0pt \vglue.5in \hbox to\hsize {\xbig K \xmed L U W E R\hfill \xbig A \xmed C A D E M I C\hfill% \xbig P \xmed U B L I S H E R S} \vskip6pt \hrule height.05in \vskip6pt \vskip1.3in{ \big%\everypar={\hskip\parfillskip} Author's Guide to Typesetting \vskip16pt \hbox{Kluwer Books} \vskip16pt Using L\hskip-8pt\raise 4pt\hbox{\semibig A}\hskip-4pt\TeX2.09\ or L\hskip-8pt\raise 4pt\hbox{\semibig A}\hskip-4pt\TeX2e\ \vfill} \hbox to\hsize{\hss\vtop{\hsize=.8\hsize \baselineskip=36pt %\makecenterlines \centering\jourfont {\currstyle}}\hss} \vfill \vskip1in \hrule height .04in width 2.5in%3in \vskip3pt \vskip3pt \med Amy Hendrickson \vskip3pt \TeX nology Inc. \vskip3pt \vskip3pt \vskip3pt \vskip3pt \hrule height .05in } \thispagestyle{empty} \newpage \fi \thispagestyle{empty} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \vfill \newpage \setcounter{page}{1} \chapter{Using the Kluwer\\ Edited Book Style File} \vskip-24pt Welcome to the use of the Kluwer style file for articles in edited books! You will find that most of the commands found in the \LaTeX\ book will work exactly the same when you use this style file. The new commands specifically for this book style will be explained here, with examples of code and the typeset results. To help make formatting your article with the Kluwer style an easy process, you will also be supplied with a sample article, KapChap.tex, a sample of the whole book, EdbkSamp.tex, and a template file, EdbkTmpl.tex. \vskip-28pt \vskip1sp \subsection{Current Version} Please make sure that you have the current version of the macro files and the documentation. If you are in doubt, please download a new copy of the files from {\tt www.wkap.nl}. If you have difficulty in finding the appropriate file set, help may be had at \verb+dthelp@wkap.com+. Beware using a set of style files or documentation that you have downloaded from any site other than the official Kluwer site listed here, because they may very well not be current. \subsection{CONTENTS} \vskip-2pt \vskip1sp \vtop to0pt{\normalsize\obeylines \begin{itemize}\parskip=4pt \leftskip=14pt \contentsline {section}{\numberline {x}Computer Modern vs. PostScript}{3} \contentsline {section}{\numberline {x}The Sample File}{5} \contentsline {section}{\numberline {x}The Template File}{5} \contentsline {section}{\numberline {x}Optional Commands}{5} \contentsline {section}{\numberline {x}Starting Your Article}{5} \contentsline {section}{\numberline {x}Making Sections}{9} \contentsline {section}{\numberline {x}Lettered Equations}{10} \contentsline {section}{\numberline {x}Indented Text and Lists}{11} \contentsline {section}{\numberline {x}Making Tables}{13} \contentsline {section}{\numberline {x}All the Things that can be Done with Captions}{17} \contentsline {section}{\numberline {x}Turning Tables and Figures Sideways on Page}{20} \contentsline {section}{\numberline {x}To Illustrate an Algorithm}{22} \contentsline {section}{\numberline {x}Glossary}{23} \contentsline {section}{\numberline {x}End of Article}{24} \contentsline {section}{\numberline {x}Appendices}{25} \contentsline {section}{\numberline {x}End Notes and Footnotes}{28} \contentsline {section}{\numberline {x}Author Biography}{29} \contentsline {section}{\numberline {x}References}{30} \contentsline {section}{\numberline {x}Using the Kluwerbib or Normallatexbib Bibliography Option}{31} \contentsline {section}{\numberline {x}Using BibTeX for your Chapter References}{36} \contentsline {section}{\numberline {x}Commands for the end of the Book}{37} \contentsline {section}{\numberline {x}Final Book Production: Table of Contents}{46} \contentsline {section}{\numberline {x}Making Your Index}{47} \contentsline {section}{\numberline {x}Kluwer Indexing Method}{48} \contentsline {section}{\numberline {x}Topic and Author Indices}{60} \contentsline {section}{\numberline {x}Advice to Book Editor}{61} \contentsline {section}{\numberline {x}Using the Kluwer KapEdbk Edited Book % Style with Scientific Word/Workplace}{61} \end{itemize} \vss} \vfill\eject \subsection{Getting Help} If you find that you are having a problem {\bf after you have read this documentation carefully}, help may be had by sending email to {\tt dthelp@wkap.com}. If possible, please send a small file demonstrating the problem. Authors preparing their paper with the Kluwer \LaTeX\ style are asked to produce copy identical to the final layout. However, if an author has trouble with the figure/table placement, please inform Kluwer of these problems at time of submission. Authors should indicate where the figures/tables should be set in the paper and Kluwer will prepare the final layout. Make sure to included separate original figures/tables with your article as well as PostScript files of the figures. \subsection{\LaTeX2.09 and \LaTeX2e} There are now two forms of \LaTeX\ in use: the older \LaTeX2.09, and the newer version, \LaTeX2e. The distinction between \LaTeX2.09 and \LaTeX2e is often confusing to authors. The tip-off is found in your .log file, however. If you are using \LaTeX2e you will see a line like this, near the top: \verb+LaTeX2e <1996/06/01> patch level 3+ The KapEdbk.sty and KapEdbk.doc files are designed to work with either \LaTeX\ 2.09 or \LaTeX2e. \subsubsection{LaTeX 2.09 Users:} You may use macros which you have written, but please remember to include your macro definitions at the top of your article file when you submit your article. You are discouraged from including any other optional .sty files because of possible incompatibility with the {\tt KapEdbk.sty} file, and also because of our desire to maintain stylistic conformity from article to article within each book. If you find that it is necessary to use an optional .sty file other than those supplied by Kluwer, you may, but Kluwer will not offer any technical support. Of course, when you submit your article also include any .sty files or macro definitions which are used in the article when an electronic version is requested from Kluwer. \subsubsection{LaTeX2e Users:} \LaTeX2e users should use the \verb+\documentclass{}+ command, and should have a KapEdbk.cls file. (If you do not have KapEdbk.cls but do have KapEdbk.sty, you can rename KapEdbk.sty to KapEdbk.cls). Then write: \begin{verbatim} \documentclass{KapEdbk} \end{verbatim} \vskip-12pt \vskip1sp (\verb+\documentclass+ expects a file name ending with the .cls extension). You are discouraged from using any of the \LaTeX2e ancillary packages when formatting your article for Kluwer, since there may be incompatibilities with the KapEdbk.sty file, and also because Kluwer would like all the articles in a particular book to adhere to the same style. However, if you find that using an ancillary package is crucially necessary to convey the meaning of your text, please send the package as well as the file containing the text of your article when you submit your work to Kluwer. However, be aware that Kluwer will not offer technical support for any macros other than those that it supplies. \newpage \subsection{The files in the Edited Book macro set} \begin{verbatim} KapEdbk.cls/sty The main macro file KapEdbk.doc Documentation EdbkPs.sty PostScript font calls m-times.sty MathTimes font calls EdbkTmpl.tex Template File EdbkSamp.tex Sample File of Complete Book EdbkSamp.bbl Sample bibliography file EdbkSamp.srt Sample sorted index file KapChap.tex Sample file for Authors ChapBib.bbl Sample .bbl file for KapChap Files necessary if you are using Scientific Word/Workplace KapEdbk.swp Text file describing how to use KapEdbk.cls with SWP EdbkBook.shl Shell files used by SWP EdbkDocs.shl EdbkSamp.shl EdbkSamp.sav SWP version of KapSamp.tex, sample file EdbkDocs.sav SWP version of KapEdbk.doc, documentation \end{verbatim} \vskip-36pt \vskip1sp \section{Computer Modern vs. PostScript} Although most authors probably have access to at least some PostScript fonts there are differing conventions for naming these fonts depending on the implementation of \TeX\ and the driver program, the program converts the .dvi file to PostScript to prepare it to be sent to your printer. Authors can choose to use either Computer Modern or PostScript fonts, but the results will be much more handsome with PostScript. \vskip12pt {\bf To use Computer Modern fonts:} \vskip-4pt \vskip1sp \begin{verbatim} \documentstyle{KapEdbk} \end{verbatim} \vskip-6pt \vskip1sp \vskip12pt {\bf To use the PostScript and/or MathTimes font files:} \vskip6pt {\it When using \LaTeX2.09} For PostScript text, Computer Modern Math:\verb+ \documentstyle[EdbkPs]{KapEdbk}+ MathTimes Math:\verb+m-times.sty+ only works with \LaTeX2e. \vskip18pt {\it When using \LaTeX2e} \vskip-12pt \vskip1sp \begin{verbatim} \documentclass{KapEdbk} \usepackage{m-times} %% for MathTimes math fonts \usepackage{EdbkPs} %% for PostScript text fonts \end{verbatim} \LaTeX2e\ uses the NFSS, New Font Selection Scheme which uses .fd files. Ordinarily you would need a separate .fd (font definition) file for each font. However, these .sty files include the information found in the .fd files, making those files unnecessary and, happily, one less complication in the production process. However, you may need to rename some font definitions to make the font names match those found on your system. More information found on the next page. \vskip-18pt \vskip1sp \subsection{Renaming PostScript font definitions} Since the PostScript fonts have different names on different systems, you may need to redefine the font names at the top of the {\tt EdbkPs.sty} file. (The default names are the names invented by Karl Berry, used by the dvips driver program.) You will have to find the directory where your .tfm fonts are stored, or consult your driver documentation to find the correct names. Change this part of the file: \begin{verbatim} %% Times-Roman \def\timesroman{ptmr} \def\timesbold{ptmb} \def\timesitalic{ptmri} \def\timesbolditalic{ptmbi} %% Helvetica \def\helvetica{phvr} \def\helveticaoblique{phvro} \def\helveticabold{phvb} \def\helveticaboldoblique{phvbo} \def\helveticamedium{phvr} %% Use helvetica unless you have helvetica-medium %% Courier \def\courier{pcrr} %% <==== End of changes needed. Please do not make changes below this point. %% !!!!!!!!! \end{verbatim} If you use MathTimes fonts, you may also have to change these names in the beginning of the m-times.sty file: \begin{verbatim} %% Times-Roman \def\TimesRoman{ptmr} %% Helvetica %\def\Helvetica{phvr} %% Courier %\def\Courier{pcrr} %% Please do not make any changes below this point! \end{verbatim} In each case, the changes should be confined to the top part of the file. Those changes will be used in the file below to customize your .sty file. \newpage \section{The Sample File} {\tt KapChap.tex} is a sample file which shows examples of the commands that may be used in your article. You may run \LaTeX\ on this file to compare the results with the mark-up code within the file. This alone should indicate how to format your article in most cases. {\tt EdbkSamp.tex} is a sample file which shows examples of the commands that may be used when formatting the entire book. \section{The Template File} A template file, {\tt EdbkTmpl.tex} is provided to make it easier to enter the the initial article commands in the correct order. It should be self-explanatory. You are strongly urged to use this file as the basis of your formatted article. To do this you should: \begin{itemize} \item Copy {\tt EdbkTmpl.tex} to {\tt.tex}. \item Enter your text. \end{itemize} \vskip-36pt \vskip1sp \section{Optional Commands} \subsection{Draft Version} You may use the command \verb+\draft+ immediately after the \verb+\documentstyle+ command. This will cause a line to appear at the bottom of each page containing the words `Draft' with the current date and time that the file was \LaTeX ed. The use of this command is completely optional and only for the convenience of the author. \section{Starting Your Article} We will look at some commands you can use, and then show a sample article title page; \begin{verbatim} \articletitle[]{} \author{} \prologue{}{}% optional prologue \end{verbatim} \vskip-36pt \vskip1sp \subsection{Using Optional square brackets} \verb+\title[]{}+, \verb+\part[]{}+, \verb+\section[]{}+ and \verb+\subsection[]{}+ all allow you to enter the title in square brackets in the way you'd like it to appear in the Table of Contents, and in curly brackets in the way that you want the title to appear on the page in the body of the article. You can use \verb+\\ + to break lines in any of these commands within the curley brackets, and without \verb+\\+ within square brackets. This means that you can break lines easily in the body of the article without causing confusion in the Table of Contents. If you are not using \verb+\\+ you do not need to supply a title within square brackets. \subsection{Author Name} For author, write \verb+\author{}+. You may also supply names of multiple authors by using \verb+\author{}+ several times. Notice that you should type in \verb+\and+ before the last author. This will enter `and' between the last two authors in the table of contents, but will not change the appearance of the title page. \begin{verbatim} \author{Author Name} \and \author{Second Author} \end{verbatim} \newpage \subsection{Sample Title Block} \code \begin{verbatim} \articletitle[Communism, Sparta, and Plato] {COMMUNISM, SPARTA,\\ and PLATO} %% optional, to supply a shorter version of the title for the running head: %%\chaptitlerunninghead{} \author{Samuel Bostaph} \and \author{Gregor Kariotis} %% Optional prologue command: \prologue{The organization of our forces is a thing calling in its nature for much advice and the framing of many rules, but the principal [first] is this---that no man, and no woman, be ever suffered to live without an officer set over them, and no soul of man to learn the trick of doing one single thing of its own sole motion, in play or in earnest, but in peace as in war...\footnote{This prologue represents thought developed and written more than two thousand years ago. That is quite a few years!}} {Plato, {\it Laws}, 942a--c} \end{verbatim} \endcode \results \vskip-4pc \vskip1sp \articletitle[Communism, Sparta, and Plato] {COMMUNISM, SPARTA,\\ and PLATO} %% optional, to supply a shorter version of the title for the running head: %%\chaptitlerunninghead{} \author{Samuel Bostaph} \author{Gregor Kariotis} \prologue{The organization of our forces is a thing calling in its nature for much advice and the framing of many rules, but the principal [first] is this---that no man, and no woman, be ever suffered to live without an officer set over them, and no soul of man to learn the trick of doing one single thing of its own sole motion, in play or in earnest, but in peace as in war...\footnote{This prologue represents thought developed and written more than two thousand years ago. That is quite a few years!}} {Plato, {\it Laws}, 942a--c} \egroup\egroup \newpage \subsection{Sample Title with Multiple Authors and Affiliations} Here is an example of how to set up the title page if you have multiple authors and affiliations. You must give each author a superscripted number, and follow it by a matching number for the affiliation. Notice that email addresses are given {\bf within} the affiliation argument. You can, of course, use two superscripted numbers in the affiliation field for multiple authors that have the same affiliation. Only one email address should be supplied for each affiliation, however. \code \begin{verbatim} \articletitle[Audio Quality Determination] {Audio Quality Determination\\ Based on Perceptual \\ Measurement Techniques } \author{John G. Beerends} \affil{Royal PTT Netherlands N.V.\\ KRN Research, P. Box 421, AK Leidenham\\ The Netherlands} \email{beerends@ptt.com.nl} \author{James Joyce} \affil{Trinity University\\ Dublin, Ireland} \email{jjoyce@dublin.ir} \and \author{Arthur Miller} \affil{Syracuse University,\\ Syracuse, NY} \email{arthurm@math.syracuse.edu} %% optional, to supply a shorter version of the title for the running head: %%\chaptitlerunninghead{} \begin{keywords} Sample keywords, sample keywords. \end{keywords} \begin{abstract} Here is quite a long abstract. Here is quite a long abstract. Here is quite a long abstract.... \end{abstract} \end{verbatim} \endcode \newpage \results \articletitle[Audio Quality Determination] {Audio Quality Determination\\ Based on Perceptual \\ Measurement Techniques } \author{John G. Beerends} \affil{Royal PTT Netherlands N.V.\\ KRN Research, P. Box 421, AK Leidenham\\ The Netherlands} \email{beerends@ptt.com.nl} \author{James Joyce} \affil{Trinity University\\ Dublin, Ireland} \email{jjoyce@dublin.ir} \and \author{Arthur Miller} \affil{Syracuse University,\\ Syracuse, NY} \email{arthurm@math.syracuse.edu} %% optional, to supply a shorter version of the title for the running head: %%\chaptitlerunninghead{} \begin{keywords} Sample keywords, sample keywords. \end{keywords} \begin{abstract} Here is quite a long abstract. Here is quite a long abstract. Here is quite a long abstract.... \end{abstract} \endresults \newpage \section{Making Sections} How many levels of section head would you like numbered? You may use the command \verb+\setcounter{secnumdepth}{}+, 0= no section numbers, 1= section, 2= subsection, 3= subsubsection numbered. You will see this command in the template file and can set it to meet your needs. \begin{verbatim} %% 0= no section numbers, 1= section, 2= subsection, 3= subsubsection %%==>> \setcounter{secnumdepth}{0} \end{verbatim} \vskip-12pt \setcounter{secnumdepth}{3} Making section heads with the Kluwer macros is just the same as normal \LaTeX\ with the exception that you can use \verb+\\+ to start a new line in the \verb+\section+ and \verb+\subsection+. When you use the \verb+\\+, remember to also supply a name without \verb+\\+ within square brackets. \code \begin{verbatim} \section[Introduction and fugue]{Introduction\\ and fugue} Here is some normal text. Here is some normal text. \subsection[This is the subsection]{This is the\\ subsection} Here is some normal text. Here is some normal text. \subsubsection{This is the subsubsection} Here is some normal text. Here is some normal text. Here is some normal text. \paragraph{This is a paragraph} Here is some normal text. Here is some normal text. \end{verbatim} \endcode \results \section[Introduction and fugue]{Introduction\\ and fugue} 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. \subsection[This is the subsection]{This is the\\ subsection} Here is some normal text. Here is some normal text. Here is some normal text. Here is some normal text. \subsubsection{This is the subsubsection} Here is some normal text. Here is some normal text. Here is some normal text. \paragraph{This is a paragraph} Here is some normal text. Here is some normal text. Here is some normal text. \endresults \newpage \section{Lettered Equations} Math in this style is handled the same as in any \LaTeX\ style, with the exception that we have the added command for lettered equations: \code \begin{verbatim} Lettered equation, \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x)\mathletter{a} \end{equation} Second lettered equation \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x)\mathletter{b} \end{equation} Unlettered equation \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x) \end{equation} Formally, this amounts to calculating: \begin{eqnarray} g_1(y|f)&=\sum_x P(x|F_n)f_1(y|x)\mathletter{a}\\ g_2(y|f)&=\sum_x P(x|F_n)f_2(y|x)\mathletter{b}\\ g_3(y|f)&=\sum_x P(x|F_n)f_3(y|x)\mathletter{c} \end{eqnarray} where $g_i(y|F_n)$ is the function specifying... \end{verbatim} \endcode \results Lettered equation, \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x)\mathletter{a} \end{equation} Second lettered equation \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x)\mathletter{b} \end{equation} Unlettered equation \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x) \end{equation} Formally, this amounts to calculating: \begin{eqnarray} g_1(y|f)&=\sum_x P(x|F_n)f_1(y|x)\mathletter{a}\\ g_2(y|f)&=\sum_x P(x|F_n)f_2(y|x)\mathletter{b}\\ g_3(y|f)&=\sum_x P(x|F_n)f_3(y|x)\mathletter{c} \end{eqnarray} where $g_i(y|F_n)$ is the function specifying... \endresults \section{Indented Text and Lists} The Kluwer Edited Book style uses standard \LaTeX\ methods to produce indented text and lists. Following are some examples of the results in this style. \subsection{To Indent Text:} \code \begin{verbatim} If an example satisfies the seed of a clause, then it satisfies the clause as well. In addition, seeds have the following property: \begin{itemize} \item[] If a seed of clause $c_T$, and example {\bf x} satisfies $c_T$ but not $c$, then {\bf x} has at least one attibute in $c_T$ that is not in $c$.\hfill({\tt*}) \end{itemize} The procedure below... \end{verbatim} \endcode \results If an example satisfies the seed of a clause, then it satisfies the clause as well. In addition, seeds have the following property: \begin{itemize} \item[] If a seed of clause $c_T$, and example {\bf x} satisfies $c_T$ but not $c$, then {\bf x} has at least one attibute in $c_T$ that is not in $c$.\hfill({\tt*}) \end{itemize} The procedure below... \endresults \subsection{Bulleted List} Here is an example of a bulleted list: \code \begin{verbatim} \begin{itemize} \item for every $x\in A$ and for... \item for every $x_1$, $x_2$ and for every... \end{itemize} \end{verbatim} \endcode \vskip-6pt \results \vskip-6pt \vskip1sp \begin{itemize} \item for every $x\in A$ and for... \item for every $x_1$, $x_2$ and for every... \end{itemize} \endresults \vskip-36pt \vskip-\parskip \subsection{Numbered List} Here is an example of a numbered list: \code \begin{verbatim} \begin{enumerate} \item If ${n\over n_1}=2$ then the Second multiplier Theroem holds without the assumption, provided that one of the following conditions holds: \begin{enumerate} \item The first situation. \item The second situation. \end{enumerate} \item If ${n\over n_1}=3$ then in the majority of cases the assumption may be removed. \end{enumerate} \end{verbatim} \endcode \vskip-6pt \results \vskip-6pt \vskip1sp \begin{enumerate} \item If ${n\over n_1}=2$ then the Second multiplier Theroem holds without the assumption, provided that one of the following conditions holds: \begin{enumerate} \item The first situation. \item The second situation. \end{enumerate} \item If ${n\over n_1}=3$ then in the majority of cases the assumption may be removed. \end{enumerate} \endresults \newpage \section{Making Tables} There are two aspects of making tables with this macro package that need to be mentioned. First, you need to enter commands as you see in the section `Normal Tables' below, in order to have the table have the correct appearance. Second, since these table macros are made to make it easy to make normal tables, you must go to some extra effort if you want to make more unusual tables, for instance, if you want to nest `tabular' within other `tabular's, or if you want to use vertical lines. Please see the examples in the section `Unusual Tables,' following the next section. \subsection{Normal Tables} In order to make your table conform to the Kluwer Edited Book specification you must follow several steps. \begin{itemize} \item Use \verb+\hline+ at the top of the table, underneath the column headers, and at the end of the table. \item Please enter \verb+\it+ before each column head, to make the column heads appear in italic. \item You are discouraged from using vertical lines in tables, but it you must include vertical lines, you must also use \verb+\savehline+ instead of \verb+\hline+ or there will be a gap between the vertical and horizontal lines. (\verb+\hline+ has been redefined to add some vertical space above and below it.) \item Make your table span the full page width if possible. \end{itemize} The following example shows these steps being followed and the form of the table preamble that will cause the table to spread out to the width of the page: \code \begin{verbatim} \begin{table}[h] \caption{This is an example table caption. If there is enough text it will form a paragraph.} \begin{tabular*}{\hsize}{@{\extracolsep{\fill}}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*} \end{table} \end{verbatim} \endcode \results \makeatletter \def\@captype{table} \makeatother \caption{This is an example table caption. If there is enough text it will form a paragraph.} \leftskip-12pt \begin{tabular*}{\hsize}{@{\extracolsep{\fill}}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*} \endresults \eject \subsection{Making Table Notes} Table notes are made by entering the symbol that you want to use in math mode in a superscript. At the end of the table, please enter the command \verb+\begin{tablenotes}+ and enter the notes, as seen below. \code \begin{verbatim} \begin{table}[t] \caption{Effects of the Two Types of Scaling Proposed by Dennard and\newline Co-Workers.$^{a,b}$} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcc} \hline Parameter& $\kappa$ Scaling & $\kappa$, $\lambda$ Scaling\cr \hline Dimension&$\kappa^{-1}$&$\lambda^{-1}$\cr Voltage&$\kappa^{-1}$&$\kappa^{-1}$\cr Currant&$\kappa^{-1}$&$\lambda/\kappa^{2}$\cr 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} \end{verbatim} \endcode \results \makeatletter \def\@captype{table} \makeatother \caption{Effects of the Two Types of Scaling Proposed by Dennard and\newline Co-Workers.$^{a,b}$} \noindent \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcc} \hline Parameter& $\kappa$ Scaling & $\kappa$, $\lambda$ Scaling\cr \hline Dimension&$\kappa^{-1}$&$\lambda^{-1}$\cr Voltage&$\kappa^{-1}$&$\kappa^{-1}$\cr Currant&$\kappa^{-1}$&$\lambda/\kappa^{2}$\cr Dopant Concentration&$\kappa$&$\lambda^2/\kappa$\cr \hline \end{tabular*} \parindent=0pt \begin{tablenotes} $^a$Refs.~19 and 20. $^b\kappa, \lambda>1$. \end{tablenotes} \endresults \newpage \subsection{Unusual Tables} There are three cases in which authors have felt the need to make a table other than the plain `tabular' table in this style. These more unusual tables are: tables with vertical lines; and tables that do not use `tabular'. In this section we will show how to make these tables. \vskip12pt {\it Vertical Lines} Notice in the previous examples that no vertical lines were used. If at all possible to make your meaning clear without vertical lines, please leave them out. However, if you really must use vertical lines, you must use \verb+\savehline+ instead of \verb+\hline+ and you must add another letter to the preamble. Since we usually do not want vertical lines in tables and we do want the horizontal lines to extend exactly to the left and right of text, we must go to some extra efforts to get the vertical lines to extend to the top and bottom of the column and to not have extra horizontal space to the right of the vertical line in the last column. Remember to use \verb+\savehline+ and to to add another column entry to the table preamble and then not to use that column, as seen below: \code \begin{verbatim} \centering \begin{tabular}{|c|c}\savehline A \\ \savehline B \\ \savehline \end{tabular} \end{verbatim} \endcode \results \centering \begin{tabular}{|c|c}\savehline A \\ \savehline B \\ \savehline \end{tabular} \endresults \newpage \subsection{Table made without `tabular'} To make a table that does not include a `tabular', no extra commands are needed. Here is an example: \code \begin{verbatim} \begin{table} \caption{Training a Thermal Linear Machine.} \begin{enumerate} \item Initialize $\beta$ to $2$. \item If linear machine is correct for all instances or $emag/lmag < \alpha$ for the last $2*n$ instances, then return ($n =$ the number of features). \item Otherwise, pass through the training instance once, and for each instance ${\bf Y}$ that would be misclassified by the linear machine and for which $k < \beta$, immediately \begin{enumerate} \item Compute correction $c = \frac{\beta^{2}}{\beta+k}$, and update ${\bf W}_{i}$ and ${\bf W}_{j}$. \item If the magnitude of a linear machine decreased on this... \end{enumerate} \item Go to step 2. \end{enumerate} \vskip1pt \end{table} \end{verbatim} \endcode \results \vskip-24pt \vskip1sp \makeatletter \def\@captype{table} \makeatother \caption{Training a Thermal Linear Machine.} \begin{enumerate} \item Initialize $\beta$ to $2$. \item If linear machine is correct for all instances or else $emag/lmag$ $< \alpha$ for the last $2*n$ instances, then return ($n =$ the number of features). \item Otherwise, pass through the training instance once, and for each instance ${\bf Y}$ that would be misclassified by the linear machine and for which $k < \beta$, immediately \begin{enumerate} \item Compute correction $c = \frac{\beta^{2}}{\beta+k}$, and update ${\bf W}_{i}$ and ${\bf W}_{j}$. \item If the magnitude of a linear machine decreased on this adjustment, but increased on the previous adjustment, then anneal $\beta$ to $a \beta - b$. \end{enumerate} \item Go to step 2. \end{enumerate} \endresults \newpage \section{All the Things that can be Done with Captions} Captions made with this style are the same as normal \LaTeX\ captions: \begin{verbatim} \begin{figure}[h] \vskip.2in \caption{Short caption.} \end{figure} \end{verbatim} Remember that if you use indexing commands within a caption to preceed the command with {\tt\string\protect}: \begin{verbatim} \begin{figure}[h] \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} \end{verbatim} To make captions that print next to each other, you have the command \verb+\sidebyside{}{}+ to use. Just put a caption into each set of curly brackets and the captions will print next to each other: \code \begin{verbatim} \begin{figure}[ht] \sidebyside{Space for figure... \caption{This caption will go on the left side of the page. It is the initial caption of two side-by-side captions.}} {space for figure... \caption{This caption will go on the right side of the page. It is the second of two side-by-side captions.}} \end{figure} \end{verbatim} \endcode \results \makeatletter \def\@captype{figure} \makeatother \sidebyside{Space for figure... \caption{This caption will go on the left side of the page. It is the initial caption of two side-by-side captions.}} {space for figure... \caption{This caption will go on the right side of the page. It is the second of two side-by-side captions.}} \endresults \newpage In some cases you might want to use a continued caption, with the same figure number used as for last caption. The command \verb+\contcaption+ is the command to use: \code \begin{verbatim} \begin{figure}[h] \contcaption{This is a continued caption.} \end{figure} \end{verbatim} \endcode \results \begin{figure}[h] \contcaption{This is a continued caption.} \end{figure} \endresults If you want to make a narrow caption, here is the code: \code \begin{verbatim} \begin{figure}[h] \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} \end{verbatim} \endcode \results \begin{figure}[h] \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} \endresults \newpage Then, to make a narrow continued caption: \code \begin{verbatim} \begin{figure}[h] \narrowcontcaption{This is a narrow continued caption. This is a narrow continued caption. This is a narrow continued caption.} \end{figure} \end{verbatim} \endcode \results \begin{figure}[h] \narrowcontcaption{This is a narrow continued caption. This is a narrow continued caption. This is a narrow continued caption.} \end{figure} \endresults To make captions with letters, write: \code \begin{verbatim} \begin{figure}[h] \letteredcaption{a}{Lettered caption.} \end{figure} \begin{figure}[h] \letteredcaption{b}{Lettered caption.} \end{figure} \end{verbatim} \endcode \results \begin{figure}[h] \letteredcaption{a}{Lettered caption.} \end{figure} \begin{figure}[h] \letteredcaption{b}{Lettered caption.} \end{figure} \endresults \newpage Captions may be both lettered and print side by side: \code \begin{verbatim} \begin{figure} \sidebyside {\letteredcaption{b}{One caption.}} {\letteredcaption{c}{Two captions.}} \end{figure} \end{verbatim} \endcode \results \makeatletter \def\@captype{figure} \makeatother \sidebyside {\letteredcaption{b}{One caption.}} {\letteredcaption{c}{Two captions.}} \endresults \section{Turning Tables and Figures Sideways on Page} Having text print on the page in a landscape orientation is a function of your printer driver, the program that translates the .dvi file to a .ps file. We can't tell you what commands to do to make your material print sideways, but Kluwer does have some commands to make your figures and tables format correctly if you need to turn them sideways, or even if you want to print an extended appendix sideways to accomodate tables. You can see the commands here, but we will not print them in this documentation, since we want this documentation to print equally well using diverse printer driver programs. This is how to make a figure caption to be turned sideways on page: \code \begin{verbatim} \begin{widefigure} \caption{This is a wide figure caption. It is meant to be printed in landscape mode (sideways). This page should be turned sideways when the driver program is used to translate the .dvi file to the file that is sent to the printer.} \end{widefigure} \end{verbatim} \endcode \hrule \vskip12pt This is how to make a sideways table caption: \code \begin{verbatim} \begin{widetable} \caption{This is a wide table caption. It is meant to be printed in landscape mode (sideways). This page should be turned sideways when the driver program is used to translate the .dvi file to the file that is sent to the printer.} \end{widetable} \end{verbatim} \endcode \hrule \vskip12pt This is how to do an appendix printed sideways: \code \begin{verbatim} \begin{landscapemode} \appendix{Interest Rate Liberalization Through 1988} This is the text of the appendix. This is the text of the appendix. \end{landscapemode} \end{verbatim} \endcode \hrule \vskip12pt A second page turned sideways: \code \begin{verbatim} \begin{landscapemode} This is the text of the second page of the landscape appendix. This is the text of the second page of the landscape appendix. \end{landscapemode} \end{verbatim} \endcode \hrule \newpage \section{To Illustrate an Algorithm} The \verb+\begin{algorithm}...\end{algorithm}+ may be used to illustrate an algorithm. \begin{itemize} \item Spaces and blank lines will be preserved. Math and font changes may be used. \item Line beginnings may be positioned with a \verb+\ +, which may be used as many times as you need. A backslash followed by a space will provide a space a bit wider than the width of 2 `M's. \item If you want to break lines on the screen but not break the line in the results, use `\%' at the end of line, as you see in the fifth line in this example. \item The command \verb+\bit+ will produce bold italics if you are using PostScript fonts, boldface in Computer Modern. \item \verb+\note{}+ will position the note on the right margin. \end{itemize} \code \begin{verbatim} \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} \end{verbatim} \endcode \results \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} \endresults \clearpage \section{Glossary} An optional glossary section is available. Its commands are very straightforward: \begin{verbatim} \begin{glossary} \term{xxx}Text... \term{yyy}Text... \end{glossary} \end{verbatim} Here is an example: \code \begin{verbatim} \begin{glossary} \term{GaAs}Gallium Arsinide. For similar device sizes GaAs transistors have three to five times greater transconductance than those of of silicon bipolar and MOS transistors. \term{VLSI}Very Large Scale Integration. Since the mid-1970's 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} \end{verbatim} \endcode \results \begin{glossary} \term{GaAs}Gallium Arsinide. For similar device sizes GaAs transistors have three to five times greater transconductance than those of of silicon bipolar and MOS transistors. \term{VLSI}Very Large Scale Integration. Since the mid-1970's 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} \endresults \newpage \section{End of Article} Getting the end of article commands in the right order will not be difficult if you use the {\tt EdbkSamp.tex} template file. The commands should be used in this order: Acknowledgments (optional), Appendix (optional), References, and finally \verb+\end{article}+. This is the end of the article as written in the template file: \begin{verbatim} %% End of article: %% optional: %\begin{acknowledgements} % %\end{acknowledgements} %% optional appendix commands: %\chapappendix{} %\chapappendix{} % Untitled chapter appendix \begin{references} ... \end{references} \end{document} \end{verbatim} \subsection{Acknowledgements} Making an acknowledgement section is simple: \code \begin{verbatim} \begin{acknowledgments} We would like to thank.... \end{acknowledgments} \end{verbatim} \endcode \results \vskip1.5\baselineskip \vskip1sp \begin{acknowledgments} We would like to thank.... \end{acknowledgments} \endresults \clearpage \section{Appendices} There are two sets of appendix commands; those for the end of the chapter and those for an appendix at the end of the book. \subsection{End of Chapter Appendix} An appendix to appear at the end of the book is made with the command \verb+\appendix{}+, as seen below. If you want only one appendix, follow \verb+\appendix+ with facing curly brackets: \verb+\appendix{}+. Section numbers, equation numbers, and captions will all use the appendix letter as well as their number. Each new appendix will generate a new appendix letter. Here are some appendix possibilities: \code \begin{verbatim} \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{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x) \end{equation} \chapappendix{} This is a chapter appendix without a title which is meant to appear in individual chapters of the edited book, not at the end of the book. \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x) \end{equation} \end{verbatim} \endcode \results \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{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x) \end{equation} \chapappendix{} This is a chapter appendix without a title which is meant to appear in individual chapters of the edited book, not at the end of the book. \begin{equation} g_i(y|f)=\sum_x P(x|F_n)f_i(y|x) \end{equation} \endresults \newpage Here is a longer example showing a figure, table and equation in the appendix: \code \vskip-12pt \vskip1sp \begin{verbatim} \begin{figure}[h] \caption{This is an appendix figure caption.} \end{figure} \begin{table}[h] \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 ... \end{verbatim} \endcode \results \vskip-24pt \vskip1sp \let\section\savesection \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}[h] \caption{This is an appendix figure caption.} \end{figure} \vskip-24pt \vskip1sp \begin{table}[h] \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} \endresults \newpage \subsection{End of book appendix} \setcounter{alphanum}{0} The appendix commands at the end of the book are exactly the same, except that they use \verb+\appendix{}+ instead of \verb+\chapappendix{}+. If you want only one appendix, follow \verb+\appendix+ with facing curly brackets: \verb+\appendix{}+. Section numbers, equation numbers, and captions will all use the appendix letter as well as their number. Each new appendix will generate a new appendix letter. Here are some appendix possibilities: \code \begin{verbatim} \appendix{} This is an appendix. \begin{equation}\sum_k P(k) \sum_i \sum_y f_i(y|k)^2\end{equation} \appendix{Pspace $\supseteq$ PCP(log n)} .... \end{verbatim} \endcode \global\let\savenewpage\newpage \results \let\section\savesection \let\newpage\relax \appendix{} This is an appendix. \begin{equation}\sum_k P(k) \sum_i \sum_y f_i(y|k)^2\end{equation} \appendix{Pspace $\supseteq$ PCP(log n)} This is an appendix. \begin{equation} \sum_k P(k) \sum_i \sum_y f_i(y|k)^2 \end{equation} \endresults \newpage \section{End Notes and Footnotes} In this style the default is end notes rather than footnotes. The user enters the usual footnote command \verb+\footnote{}+. A number appears in the text as it would with a footnote, but with this style the note only appears at the end of the chapter when the user writes \verb+\notes+. \code \begin{verbatim} Here is some sample text\footnote{Here is our first sample note} to show how end notes print. \notes \end{verbatim} \endcode \results \global\footnum=0 Here is some sample text\footnote{Here is our first sample note} to show how end notes print. \notes \endresults \subsection{If you want Footnotes instead of Endnotes} If you would rather have footnote at the bottom of the page, you may write this command below the documentstyle or documentclass command: \verb+\let\footnote\savefootnote+. If you would also like to have a ruled line appear above the footnote, you may write this: \noindent \verb+\let\footnoterule\savefootnoterule+. \let\newpage\savenewpage \newpage \section{Author Biography} To insert a photo and have the text wrap around it: \code \begin{verbatim} \picturewidth=.9in \picturedepth=.8in \bio{John Smith}{has been a software engineer with Hewlett-Packard for the last 12 years, authoring packages used by millions of people world-wide. Here is the biography. Here is the biography. Here is the biography... } \end{verbatim} \endcode \results \vskip-24pt \picturewidth=.9in \picturedepth=.8in \bio{John Smith}{has been a software engineer with Hewlett-Packard for the last 12 years, authoring packages used by millions of people world-wide. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is the biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography. Here is more biography.} \endresults \newpage \section{References} At the beginning of your EdbkTmpl.tex file you will see the following information: \begin{verbatim} %%%%%%% Bibliography Style Settings ==>> %%% Uncomment one of the Following: %\kluwerbib \normallatexbib %%%%%%% % \kluwerbib will produce this kind of bibliography entry: % % Anderson, Terry L.,... % More bib entry here... % % \cite{xxx} will print without brackets around the citation. % % \bibitem with square bracket argument should be used, i.e., % \bibitem[Anderson, 1999]{xxx}Bibliography entry... % Whatever is in square brackets will be printed when you use % \cite % % \bibliographystyle{apalike} should be use with \kluwerbib %%%%%%% % \normallatexbib will produce bibliography entries as shown in the % LaTeX book % % [1] Anderson, Terry L.,... % More bib entry here... % % \cite{xxx} will print with square brackets around the citation, [1]. % % Any \bibliographystyle{} may be used with \normallatexbib, but % you should check with your editor to find the style preferred for % the book you are contributing to. %%%%%%% To change brackets around citation ==>> % Default with \kluwerbib is no brackets around citation. % Default with \normallatexbib is square brackets around citation. %If you want parens, around citation, i.e., (citation), uncomment these lines: %\let\lcitebracket( %\let\rcitebracket) %%%%%%% <<== End Bibliography Style Settings \end{verbatim} \newpage \section{Using the Kluwerbib or Normallatexbib Bibliography Option} Unless you have a preference to use the normal \LaTeX\ bibliography styles, you should leave \verb+\kluwerbib+ uncommented. If you plan on using the \verb+\cite{}+ command, and are using \verb+\kluwerbib+, remember that \verb+\bibitem+ should be used with the square bracket argument. With \verb+\kluwerbib+, whatever is typed between square brackets after \verb+\bibitem+ will be printed when you use \verb+\cite{}+. When the square bracket argument is used: \code \begin{verbatim} Here is our citation: \cite{lacey}. ... \bibitem[Lacey, 1968]{lacey} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \end{verbatim} \endcode \results Here is our citation: Lacey, 1968. \endresults If you forgot to use the square bracket argument, you will get the name of the symbolic label when you type \verb+\cite{}+, i.e., \code \begin{verbatim} Here is our citation: \cite{lacey}. ... \bibitem{lacey} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \end{verbatim} \endcode \results Here is our citation: lacey. \endresults When using the \verb+\normallatexbib+ option, you don't have to use the square bracket argument, since the bibitems will be numbered and \verb+\cite+ will produce numbers. \newpage \subsection{chapthebibliography} Now you can use the \verb+\begin{chapthebibliography}{}+ command, which works like the \newline \verb+\begin{thebibliography}{}+ command, except that it can be used at the end of chapters. Here is how bib entries will be formatted if you have uncommented the \verb+\kluwerbib+ command near the top of the file. \code \begin{verbatim} \kluwerbib %% <== above \begin{document} ... Sample citations: \cite{lacey,oliva}. \begin{chapthebibliography}{} \bibitem[Anderson, et al]{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, 1968]{lacey} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \bibitem[Oliva, 1971]{oliva} Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf M. Hakkert. \end{chapthebibliography} \end{verbatim} \endcode \results \let\newpage\relax \let\clearpage\relax \kluwerbib Sample citations: Lacey, 1968, Oliva, 1971. \begin{chapthebibliography}{} \bibitem[Anderson, et al]{aander} 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{alacey} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \bibitem[Oliva, 1971]{aoliva} Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf M. Hakkert. \let\newpage\relax \end{chapthebibliography} \nolineendresults If you use \verb+\normallatexbib+ your bibliography will format just as it would with a standard \LaTeX\ style. \code \begin{verbatim} \normallatexbib %% <== above \begin{document} ... Sample citations: \cite{raidtrade,sparta}. \begin{chapthebibliography}{1} \bibitem{raidtrade} 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{history} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \bibitem{sparta} Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf M. Hakkert. \bibitem{earlygreek} 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{verbatim} \endcode \results \let\newpage\relax \let\clearpage\relax \normallatexbib Sample citations: [1,3]. \begin{chapthebibliography}{1} \bibitem{raidtradey} 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{historyy} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \bibitem{spartay} Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf M. Hakkert. \bibitem{earlygreeky} 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} \endresults Using symbolic names for your bibliography is done as you see below, using the \verb+\normallatexbib+ command. \code \begin{verbatim} Sample citations: \cite{xraidtrade,xsparta}. \begin{chapthebibliography}{AnderMcC} \bibitem[AnderMcC]{xraidtrade} 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[Lacey68]{xhistory} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \bibitem[Oliva71]{xsparta} Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf M. Hakkert. \bibitem[Zim61]{xearlygreek} 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{verbatim} \endcode \results Sample citations: [AnderMcC; Oliva71]. \begin{chapthebibliography}{AnderMcC} \bibitem[AnderMcC]{zraidtrade} 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[Lacey68]{zhistory} Lacey, W.K. (1968). {\it History of Socialism}. Ithaca, NY: Cornell University Press. \bibitem[Oliva71]{zsparta} Oliva, Pavel. (1971). {\it Sparta and Her Social Problems.} Amsterdam: Adolf M. Hakkert. \bibitem[Zim61]{xearlygreek} 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} \nolineendresults \let\newpage\savenewpage \newpage \subsection{Changing the bracket around the citation} If you want to set the bracket around the citation to parens, you can do it at the top of your file: \begin{verbatim} %%%%%%% To change brackets around citation ==>> % Default with \kluwerbib is no brackets around citation. % Default with \normallatexbib is square brackets around citation. %If you want parens, around citation, i.e., (citation), uncomment these lines: \let\lcitebracket( \let\rcitebracket) \end{verbatim} Then the citation will look like: \code \begin{verbatim} \let\lcitebracket( \let\rcitebracket) ... Sample citations: \cite{xraidtrade,xsparta}. \end{verbatim} \endcode \results Sample citations: (AnderMcC,Oliva71). \endresults \newpage \section{Using BibTeX for your Chapter References} Using BibTeX is a bit more effort, but the major advantage is that you can build a database of your references that you can reuse for other books or articles. To use Bib\TeX\ in an edited book you must use two new commands: {\tt\string\chapbblname} and {\tt\string\chapbibliography}, explained below. Follow these steps: \begin{description} \vskip6pt \item[Make a .bib file] \noindent\null If you do not already have one or more .bib files, make a {\tt xxx.bib} file, with `{\tt xxx}' being any file name you choose. The .bib file or files are a database of references. Please see Leslie Lamport's {\it \LaTeX\ A Document Preparation System} for information on the form of entries in the .bib file. \vskip6pt \item[Supply a Bibliography style] \noindent\null Use apalike or alpha for the bibliographystyle: \vskip3pt {\tt\string\bibliographystyle\string{apalike\string}} \vskip3pt The apalike.bst file may be downloaded from the Kluwer ftp site, in the same directory as you found the other book files: {\tt www.wkap.nl}. Please put apalike.bst in the same directory where you are working, or in a directory where \LaTeX\ can find it when it is running. \vskip6pt \item[Supply a .bbl file name] \noindent\null Write \verb+\chapbblname{}+\hfill\break with the name of your bbl file being the name of the file you are writing, i.e, if you are working in a file named chap1.tex, the name you should supply is \vskip-6pt \vskip1sp \begin{verbatim} \chapbblname{chap1} \end{verbatim} \item[Run BibTeX on your file to produce a .bbl file] \noindent\null Write either \verb+\cite{