#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1996-05-29 15:22 EDT by <jtk@mango>.
# Source directory was `/usr1/home/jtk/Usenix/winter97/admin/latex-formats'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#   1467 -r--r--r-- README
#    399 -rw-rw-r-- sample-209.aux
#    799 -r--r--r-- sample-209.tex
#    820 -r--r--r-- sample-2e.tex
#   2859 -r--r--r-- usenix-209.sty
#   2657 -r--r--r-- usenix-2e.sty
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
if mkdir _sh05718; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= README ==============
if test -f 'README' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'README' '(file already exists)'
else
  $echo 'x -' extracting 'README' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'README' &&
LATEX FILES
X
Enclosed are 2 sets of files for Latex formatting of papers for USENIX.
They've only been lightly tested, so if you find problems please try to
correct them and send corrections to <kohl@usenix.org>.
Thanks to Jay Lepreau who put these together for the first OSDI conference.
X
One set (*209*) is for the old version of Latex, which might be
available as "latex209" on your system, or just as "latex".
X
The other set (*2e*) is for the new version of Latex, which might be
available as "latex2e" on your system, or just as "latex".
X
The files usenix-*.sty are the style files defining the format,
The files sample-*.sty are sample ways to use them.
None of these files differ much, but the differences are crucial.
X
If the new Latex is available, I recommend using it, as it uses the
native Times font in a Postscript printer, and the output looks nicer
than the old-style Computer Modern fonts.  It also puts more on a
page.  Some of the old latex versions have the required "new font
selection service" (NFSS) to get native fonts.  If yours does, you may
be able to get it by uncommenting the line
% \usepackage{times}
in usenix-209.sty.  However, I have not been able to test this.
X
--------------
MISC FORMAT STUFF
*Note that to get the authors names in Roman, as Usenix wants,
you have to use \rm around them.  "\and" did not work for me.
X
*Bibliographies should be in alphabetical order by author.  Exactly
what citation format you use is up to you.
SHAR_EOF
  $shar_touch -am 0529152196 'README' &&
  chmod 0444 'README' ||
  $echo 'restore of' 'README' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'README:' 'MD5 check failed'
0f5474f2ab69e0f2ec865e95090df155  README
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'README'`"
    test 1467 -eq "$shar_count" ||
    $echo 'README:' 'original size' '1467,' 'current size' "$shar_count!"
  fi
fi
# ============= sample-209.aux ==============
if test -f 'sample-209.aux' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sample-209.aux' '(file already exists)'
else
  $echo 'x -' extracting 'sample-209.aux' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sample-209.aux' &&
\relax 
\@writefile{toc}{\string\contentsline\space {section}{\string\numberline\space {1}Introduction}{1}}
\@writefile{toc}{\string\contentsline\space {section}{\string\numberline\space {2}Design}{1}}
\@writefile{toc}{\string\contentsline\space {subsection}{\string\numberline\space {2.1}Theory}{1}}
\@writefile{toc}{\string\contentsline\space {section}{\string\numberline\space {3}Conclusion}{1}}
SHAR_EOF
  $shar_touch -am 0529145696 'sample-209.aux' &&
  chmod 0664 'sample-209.aux' ||
  $echo 'restore of' 'sample-209.aux' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sample-209.aux:' 'MD5 check failed'
4330213059a0950c46cc964f1d62d2ca  sample-209.aux
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sample-209.aux'`"
    test 399 -eq "$shar_count" ||
    $echo 'sample-209.aux:' 'original size' '399,' 'current size' "$shar_count!"
  fi
fi
# ============= sample-209.tex ==============
if test -f 'sample-209.tex' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sample-209.tex' '(file already exists)'
else
  $echo 'x -' extracting 'sample-209.tex' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sample-209.tex' &&
% Sample main file for USENIX, using latex209 (Old Latex)
X
\documentstyle[usenix-209]{article}
X
\title{This is the Title}
X
% ``\and'' doesn't work for me.  Note \rm commands to get authors in Roman.
% Rest of info is italic.
\author{{\rm First Author~~~~~~~~Second Author}\\[2ex]
Department of Least Publishable Unit\\
University of Irreproducible Results\\
Yourtown, ZZ 88888
{\small \tt \{email1,email2\}@cs.univ.edu}}
X
\begin{document}
X
\maketitle
X
\begin{abstract}
We have done lots of cool stuff.\\
\dots \\
And it goes faster too.
\end{abstract}
X
\section{Introduction}
Stuff everyone knows.
X
\section{Design}
Stuff a few people know.
X
\subsection{Theory}
Stuff no one cares about.
X
\subsubsection*{Proofs}
Stuff we don't even understand.
X
\section{Conclusion}
Glad it's over.
X
\end{document}
SHAR_EOF
  $shar_touch -am 0529145496 'sample-209.tex' &&
  chmod 0444 'sample-209.tex' ||
  $echo 'restore of' 'sample-209.tex' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sample-209.tex:' 'MD5 check failed'
332f3c4c1fc27f116ea2e92c3834353b  sample-209.tex
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sample-209.tex'`"
    test 799 -eq "$shar_count" ||
    $echo 'sample-209.tex:' 'original size' '799,' 'current size' "$shar_count!"
  fi
fi
# ============= sample-2e.tex ==============
if test -f 'sample-2e.tex' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'sample-2e.tex' '(file already exists)'
else
  $echo 'x -' extracting 'sample-2e.tex' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'sample-2e.tex' &&
% Sample main file for USENIX, using latex2e (New Latex)
X
\documentclass[twocolumn]{article}
\usepackage{usenix-2e}
X
\title{This is the Title}
X
% ``\and'' doesn't work for me.  Note \rm commands to get authors in Roman.
% Rest of info is italic.
\author{{\rm First Author~~~~~~~~Second Author}\\[2ex]
Department of Least Publishable Unit\\
University of Irreproducible Results\\
Yourtown, ZZ 88888
{\small \tt \{email1,email2\}@cs.univ.edu}}
X
\begin{document}
X
\maketitle
X
\begin{abstract}
We have done lots of cool stuff.\\
\dots \\
And it goes faster too.
\end{abstract}
X
\section{Introduction}
Stuff everyone knows.
X
\section{Design}
Stuff a few people know.
X
\subsection{Theory}
Stuff no one cares about.
X
\subsubsection*{Proofs}
Stuff we don't even understand.
X
\section{Conclusion}
Glad it's over.
X
\end{document}
SHAR_EOF
  $shar_touch -am 0529145496 'sample-2e.tex' &&
  chmod 0444 'sample-2e.tex' ||
  $echo 'restore of' 'sample-2e.tex' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'sample-2e.tex:' 'MD5 check failed'
ed5797f4c3290acb77fcd925df632b33  sample-2e.tex
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'sample-2e.tex'`"
    test 820 -eq "$shar_count" ||
    $echo 'sample-2e.tex:' 'original size' '820,' 'current size' "$shar_count!"
  fi
fi
# ============= usenix-209.sty ==============
if test -f 'usenix-209.sty' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'usenix-209.sty' '(file already exists)'
else
  $echo 'x -' extracting 'usenix-209.sty' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'usenix-209.sty' &&
% usenix-209.sty - to be used with latex209 (the old one) for USENIX.
% To use this style file, do this:
%
%    \documentstyle[usenix-209]{article}
% and put {\rm ....} around the author names.
%
% If you come up with the error:
%	twocolumn.sty not found
% Then try changing twocolumn.sty to twocolum.sty below.
%
% $Id: usenix-209.sty,v 1.1 1996/05/29 18:56:03 jtk Exp $
%
% The following definitions are modifications of standard article.sty
% definitions, arranged to do a better job of matching the USENIX
% guidelines.
% It will automatically select two-column mode and the Times-Roman
% font.
X
%
% USENIX papers are two-column.
% Times-Roman font is nice if you can get it (requires NFSS,
% which is in latex2e, but not normally in 209, so we comment
% it out here.
X
% Some sites may need to make it twocolum.sty here:
\if@twocolumn\else\input twocolumn.sty\fi
% \usepackage{times}
X
%
% USENIX wants margins of: 7/8" side, 1" bottom, and 3/4" top.
% 0.25" gutter between columns.
% Gives active areas of 6.75" x 9.25"
%
\setlength{\textheight}{9.25in}
\setlength{\columnsep}{0.25in}
\setlength{\textwidth}{6.75in}
%\setlength{\footheight}{0.0in}
\setlength{\topmargin}{-0.25in}
\setlength{\headheight}{0.0in}
\setlength{\headsep}{0.0in}
\setlength{\evensidemargin}{-0.125in}
\setlength{\oddsidemargin}{-0.125in}
X
%
% Usenix wants no page numbers for submitted papers, so that they can
% number them themselves.
%
\pagestyle{empty}
X
%
% Usenix titles are in 14-point bold type, with no date, and with no
% change in the empty page headers.  The whol author section is 12 point
% italic--- you must use {\rm } around the actual author names to get
% them in roman.
%
\def\maketitle{\par
X \begingroup
X   \renewcommand\thefootnote{\fnsymbol{footnote}}%
X   \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
X    \long\def\@makefntext##1{\parindent 1em\noindent
X            \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
X   \if@twocolumn
X     \twocolumn[\@maketitle]%
X     \else \newpage
X     \global\@topnum\z@
X     \@maketitle \fi\@thanks
X \endgroup
X \setcounter{footnote}{0}%
X \let\maketitle\relax
X \let\@maketitle\relax
X \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
X
\def\@maketitle{\newpage
X \vbox to 2.5in{
X \vspace*{\fill}
X \vskip 2em
X \begin{center}%
X  {\Large\bf \@title \par}%
X  \vskip 0.375in minus 0.300in
X  {\large\it
X   \lineskip .5em
X   \begin{tabular}[t]{c}\@author
X   \end{tabular}\par}%
X \end{center}%
X \par
X \vspace*{\fill}
% \vskip 1.5em
X }
}
X
%
% The abstract is preceded by a 12-pt bold centered heading
\def\abstract{\begin{center}%
{\large\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}}
\def\endabstract{}
X
%
% Main section titles are 12-pt bold.  Others can be same or smaller.
%
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
X    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}
SHAR_EOF
  $shar_touch -am 0529152296 'usenix-209.sty' &&
  chmod 0444 'usenix-209.sty' ||
  $echo 'restore of' 'usenix-209.sty' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'usenix-209.sty:' 'MD5 check failed'
cdaafd928afda8d10dec6769c8a4e9c2  usenix-209.sty
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'usenix-209.sty'`"
    test 2859 -eq "$shar_count" ||
    $echo 'usenix-209.sty:' 'original size' '2859,' 'current size' "$shar_count!"
  fi
fi
# ============= usenix-2e.sty ==============
if test -f 'usenix-2e.sty' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'usenix-2e.sty' '(file already exists)'
else
  $echo 'x -' extracting 'usenix-2e.sty' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'usenix-2e.sty' &&
% usenix-2e.sty - to be used with latex2e (the new one) for USENIX.
% To use this style file, do this:
%
%    \documentclass[twocolumn]{article}
%    \usepackage{usenix-2e}
% and put {\rm ....} around the author names.
%
% $Id: usenix-2e.sty,v 1.1 1996/05/29 18:56:03 jtk Exp $
%
% The following definitions are modifications of standard article.sty
% definitions, arranged to do a better job of matching the USENIX
% guidelines.
% It will automatically select two-column mode and the Times-Roman
% font.
X
%
% USENIX papers are two-column.
% Times-Roman font is nice if you can get it (requires NFSS,
% which is in latex2e.
X
\if@twocolumn\else\input twocolumn.sty\fi
\usepackage{times}
X
%
% USENIX wants margins of: 7/8" side, 1" bottom, and 3/4" top.
% 0.25" gutter between columns.
% Gives active areas of 6.75" x 9.25"
%
\setlength{\textheight}{9.25in}
\setlength{\columnsep}{0.25in}
\setlength{\textwidth}{6.75in}
%\setlength{\footheight}{0.0in}
\setlength{\topmargin}{-0.25in}
\setlength{\headheight}{0.0in}
\setlength{\headsep}{0.0in}
\setlength{\evensidemargin}{-0.125in}
\setlength{\oddsidemargin}{-0.125in}
X
%
% Usenix wants no page numbers for submitted papers, so that they can
% number them themselves.
%
\pagestyle{empty}
X
%
% Usenix titles are in 14-point bold type, with no date, and with no
% change in the empty page headers.  The whol author section is 12 point
% italic--- you must use {\rm } around the actual author names to get
% them in roman.
%
\def\maketitle{\par
X \begingroup
X   \renewcommand\thefootnote{\fnsymbol{footnote}}%
X   \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
X    \long\def\@makefntext##1{\parindent 1em\noindent
X            \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
X   \if@twocolumn
X     \twocolumn[\@maketitle]%
X     \else \newpage
X     \global\@topnum\z@
X     \@maketitle \fi\@thanks
X \endgroup
X \setcounter{footnote}{0}%
X \let\maketitle\relax
X \let\@maketitle\relax
X \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
X
\def\@maketitle{\newpage
X \vbox to 2.5in{
X \vspace*{\fill}
X \vskip 2em
X \begin{center}%
X  {\Large\bf \@title \par}%
X  \vskip 0.375in minus 0.300in
X  {\large\it
X   \lineskip .5em
X   \begin{tabular}[t]{c}\@author
X   \end{tabular}\par}%
X \end{center}%
X \par
X \vspace*{\fill}
% \vskip 1.5em
X }
}
X
%
% The abstract is preceded by a 12-pt bold centered heading
\def\abstract{\begin{center}%
{\large\bf \abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}}
\def\endabstract{}
X
%
% Main section titles are 12-pt bold.  Others can be same or smaller.
%
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
X    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bf}}
SHAR_EOF
  $shar_touch -am 0529152296 'usenix-2e.sty' &&
  chmod 0444 'usenix-2e.sty' ||
  $echo 'restore of' 'usenix-2e.sty' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'usenix-2e.sty:' 'MD5 check failed'
d4ca0930cf34312eb042c9b1c067ce53  usenix-2e.sty
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'usenix-2e.sty'`"
    test 2657 -eq "$shar_count" ||
    $echo 'usenix-2e.sty:' 'original size' '2657,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh05718
exit 0

