Austin Schuh | 8d0a285 | 2019-12-28 22:54:28 -0800 | [diff] [blame^] | 1 | |
| 2 | % TEMPLATE for Usenix papers, specifically to meet requirements of |
| 3 | % TCL97 committee. |
| 4 | % originally a template for producing IEEE-format articles using LaTeX. |
| 5 | % written by Matthew Ward, CS Department, Worcester Polytechnic Institute. |
| 6 | % adapted by David Beazley for his excellent SWIG paper in Proceedings, |
| 7 | % Tcl 96 |
| 8 | % turned into a smartass generic template by De Clarke, with thanks to |
| 9 | % both the above pioneers |
| 10 | % use at your own risk. Complaints to /dev/null. |
| 11 | % make it two column with no page numbering, default is 10 point |
| 12 | |
| 13 | % adapted for Ottawa Linux Symposium |
| 14 | |
| 15 | % include following in document. |
| 16 | %\documentclass[twocolumn]{article} |
| 17 | %\usepackage{usits,epsfig} |
| 18 | \pagestyle{empty} |
| 19 | |
| 20 | %set dimensions of columns, gap between columns, and space between paragraphs |
| 21 | %\setlength{\textheight}{8.75in} |
| 22 | \setlength{\textheight}{9.0in} |
| 23 | \setlength{\columnsep}{0.25in} |
| 24 | \setlength{\textwidth}{6.45in} |
| 25 | \setlength{\footskip}{0.0in} |
| 26 | \setlength{\topmargin}{0.0in} |
| 27 | \setlength{\headheight}{0.0in} |
| 28 | \setlength{\headsep}{0.0in} |
| 29 | \setlength{\oddsidemargin}{0in} |
| 30 | %\setlength{\oddsidemargin}{-.065in} |
| 31 | %\setlength{\oddsidemargin}{-.17in} |
| 32 | \setlength{\parindent}{0pc} |
| 33 | \setlength{\parskip}{\baselineskip} |
| 34 | |
| 35 | % started out with art10.sty and modified params to conform to IEEE format |
| 36 | % further mods to conform to Usenix standard |
| 37 | |
| 38 | \makeatletter |
| 39 | %as Latex considers descenders in its calculation of interline spacing, |
| 40 | %to get 12 point spacing for normalsize text, must set it to 10 points |
| 41 | \def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt |
| 42 | \abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip |
| 43 | \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt |
| 44 | minus3pt\let\@listi\@listI} |
| 45 | |
| 46 | %need a 12 pt font size for subsection and abstract headings |
| 47 | \def\subsize{\@setsize\subsize{12pt}\xipt\@xipt} |
| 48 | |
| 49 | %make section titles bold and 12 point, 2 blank lines before, 1 after |
| 50 | \def\section{\@startsection {section}{1}{\z@}{24pt plus 2pt minus 2pt} |
| 51 | {12pt plus 2pt minus 2pt}{\large\bf}} |
| 52 | |
| 53 | %make subsection titles bold and 11 point, 1 blank line before, 1 after |
| 54 | \def\subsection{\@startsection {subsection}{2}{\z@}{12pt plus 2pt minus 2pt} |
| 55 | {12pt plus 2pt minus 2pt}{\subsize\bf}} |
| 56 | \makeatother |