⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sigcomm.cls

📁 xorp源码hg
💻 CLS
📖 第 1 页 / 共 4 页
字号:
% SIG-ALTERNATE.CLS - VERSION 1.1% "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V2.01SP% Gerald Murray May 11 2001% Modified by Eddie Kohler for multiple font sizes December 2001%% ---- Start of 'updates'  ----%% Allowance made to switch default fonts between those systems using% METAFONT and those using 'Type 1' or 'Truetype' fonts.% See LINE NUMBER 232 for details.% Also provided for enumerated/annotated Corollaries 'surrounded' by% enumerated Theorems (line 790).% Gerry November 11th. 1999%% Made the Permission Statement / Conference Info / Copyright Info% 'user definable' in the source .tex file OR automatic if% not specified.%% ---- End of 'updates' ----%\def\fileversion{v1.1e}         % for ACM's tracking purposes\def\filedate{December 4, 2001}    % Gerry Murray's tracking data\def\docdate {4 Dec. 2001} % Gerry Murray (with deltas to doc}\NeedsTeXFormat{LaTeX2e}[1995/12/01]\ProvidesClass{sigcomm} [2001/05/11 - V1.1 - based on acmproc.cls V1.3 <Nov. 30 '99>]\newcommand\@ptsize{0}\newdimen\normaldimen\let\n@\normaldimen\newif\if@faircopy\DeclareOption{9pt}{\renewcommand\@ptsize{0}}\DeclareOption{10pt}{\renewcommand\@ptsize{1}}\DeclareOption{11pt}{\renewcommand\@ptsize{2}}\DeclareOption{faircopy}{\@faircopytrue}\DeclareOption{preprint}{\@faircopyfalse}\DeclareOption{draft}{\overfullhrule 5\p@}\ExecuteOptions{9pt,twoside,preprint}\ProcessOptions\RequirePackage{latexsym}% QUERY: are these two really needed?\RequirePackage{epsfig}\RequirePackage{amssymb}\RequirePackage{amsmath}\RequirePackage{amsfonts}%% SIG-ALTERNATE DOCUMENT STYLE% G.K.M. Tobin August-October 1999%    adapted from ARTICLE document style by Ken Traub, Olin Shivers%    also using elements of esub2acm.cls% HEAVILY MODIFIED, SUBSEQUENTLY, BY GERRY MURRAY 2000% ARTICLE DOCUMENT STYLE -- Released 16 March 1988%    for LaTeX version 2.09% Copyright (C) 1988 by Leslie Lamport%%%%% sig-alternate.cls is an 'ALTERNATE' document style for producing%%% two-column camera-ready pages for ACM conferences.%%% THIS FILE DOES NOT STRICTLY ADHERE TO THE SIGS (BOARD-ENDORSED)%%% PROCEEDINGS STYLE. It has been designed to produce a 'tighter'%%% paper in response to concerns over page budgets.%%% The main features of this style are:%%%%%% 1)  Two columns.%%% 2)  Side and top margins of 4.5pc, bottom margin of 6pc, column gutter of%%%     2pc, hence columns are 20pc wide and 55.5pc tall.  (6pc =3D 1in, approx)%%% 3)  First page has title information, and an extra 6pc of space at the%%%     bottom of the first column for the ACM copyright notice.%%% 4)  Text is 9pt on 10pt baselines; titles (except main) are 9pt bold.%%%%%%%%% There are a few restrictions you must observe:%%%%%% 1)  You cannot change the font size; ACM wants you to use 9pt.%%% 3)  You must start your paper with the \maketitle command.  Prior to the%%%     \maketitle you must have \title and \author commands.  If you have a%%%     \date command it will be ignored; no date appears on the paper, since%%%     the proceedings will have a date on the front cover.%%% 4)  Marginal paragraphs, tables of contents, lists of figures and tables,%%%     and page headings are all forbidden.%%% 5)  The `figure' environment will produce a figure one column wide; if you%%%     want one that is two columns wide, use `figure*'.%%%%%%% Copyright Space:%%% This style automatically reserves 1" blank space at the bottom of page 1/%%% column 1.  This space can optionally be filled with some text using the%%% \toappear{...} command.  If used, this command must be BEFORE the \maketitle%%% command.  If this command is defined AND [preprint] is on, then the%%% space is filled with the {...} text (at the bottom); otherwise, it is%%% blank.  If you use \toappearbox{...} instead of \toappear{...} then a%%% box will be drawn around the text (if [preprint] is on).%%%%%% A typical usage looks like this:%%%     \toappear{To appear in the Ninth AES Conference on Medievil Lithuanian%%%               Embalming Technique, June 1991, Alfaretta, Georgia.}%%% This will be included in the preprint, and left out of the conference%%% version.%%%%%% WARNING:%%% Some dvi-ps converters heuristically allow chars to drift from their%%% true positions a few pixels. This may be noticeable with the 9pt sans-serif%%% bold font used for section headers.%%% You may turn this hackery off via the -e option:%%%     dvips -e 0 foo.dvi >foo.ps%%%\typeout{Document Class 'sig-alternate' <11th. May '01>.  Modified by G.K.M. Tobin/Gerry Murray}\typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}\typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}\typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}\typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******}\typeout{Questions on the style, SIGS policies, etc. to Julie Goetz goetz@acm.org or Adrienne Griscti griscti@acm.org}\ifnum\@ptsize=0\normaldimen=10.5\p@\fi\ifnum\@ptsize=1\normaldimen=12\p@\fi\ifnum\@ptsize=2\normaldimen=13.6\p@\fi\oddsidemargin 4.5pc\evensidemargin 4.5pc\advance\oddsidemargin by -1in  % Correct for LaTeX gratuitousness\advance\evensidemargin by -1in % Correct for LaTeX gratuitousness\marginparwidth 0pt             % Margin pars are not allowed.\marginparsep 11pt              % Horizontal space between outer margin and                                % marginal note                                % Top of page:\topmargin 4.5pc                % Nominal distance from top of page to top of                                % box containing running head.\advance\topmargin by -1in      % Correct for LaTeX gratuitousness\headheight 0pt                 % Height of box containing running head.\headsep 0pt                    % Space between running head and text.                                % Bottom of page:\footskip 30pt                  % Distance from baseline of box containing foot                                % to baseline of last line of text.\@ifundefined{footheight}{\newdimen\footheight}{}% this is for LaTeX2e\footheight 12pt                % Height of box containing running foot.%% Must redefine the top margin so there's room for headers and%% page numbers if you are using the preprint option. Footers%% are OK as is. Olin.\advance\topmargin by -37pt     % Leave 37pt above text for headers\headheight 12pt                % Height of box containing running head.\headsep 25pt                   % Space between running head and text.\textheight 666pt       % 9 1/4 column height\textwidth 42pc         % Width of text line.                        % For two-column mode:\columnsep 2pc          %    Space between columns\columnseprule 0pt      %    Width of rule between columns.\hfuzz 1pt              % Allow some variation in column width, otherwise it's                        % too hard to typeset in narrow columns.\footnotesep 5.6pt      % Height of strut placed at the beginning of every                        % footnote =3D height of normal \footnotesize strut,                        % so no extra space between footnotes.\skip\footins 8.1pt plus 4pt minus 2pt  % Space between last line of text and                                        % top of first footnote.\floatsep 11pt plus 2pt minus 2pt       % Space between adjacent floats moved                                        % to top or bottom of text page.\textfloatsep 18pt plus 2pt minus 4pt   % Space between main text and floats                                        % at top or bottom of page.\intextsep 11pt plus 2pt minus 2pt      % Space between in-text figures and                                        % text.\@ifundefined{@maxsep}{\newdimen\@maxsep}{}% this is for LaTeX2e\@maxsep 18pt                           % The maximum of \floatsep,                                        % \textfloatsep and \intextsep (minus                                        % the stretch and shrink).\dblfloatsep 11pt plus 2pt minus 2pt    % Same as \floatsep for double-column                                        % figures in two-column mode.\dbltextfloatsep 18pt plus 2pt minus 4pt% \textfloatsep for double-column                                        % floats.\@ifundefined{@dblmaxsep}{\newdimen\@dblmaxsep}{}% this is for LaTeX2e\@dblmaxsep 18pt                        % The maximum of \dblfloatsep and                                        % \dbltexfloatsep.\@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must be                         % 0pt plus ...)\@fpsep 8pt plus 2fil    % Space between floats on float page/column.\@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column. (Must be                         % 0pt plus ... )\@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)\@dblfpsep 8pt plus 2fil % Space between floats on float page.\@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be                         % 0pt plus ... )\marginparpush 5pt       % Minimum vertical separation between two marginal                         % notes.\parskip 0pt plus 1pt            % Extra vertical space between paragraphs.\parindent 9pt  % GM July 2000 / was 0pt - width of paragraph indentation.\partopsep 2pt plus 1pt minus 1pt% Extra vertical space, in addition to                                 % \parskip and \topsep, added when user                                 % leaves blank line before environment.\@lowpenalty   51       % Produced by \nopagebreak[1] or \nolinebreak[1]\@medpenalty  151       % Produced by \nopagebreak[2] or \nolinebreak[2]\@highpenalty 301       % Produced by \nopagebreak[3] or \nolinebreak[3]\@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.\@endparpenalty   -\@lowpenalty % After a list or paragraph environment.\@itempenalty     -\@lowpenalty % Between list items.\lineskip 2pt           % \lineskip is 1pt for all font sizes.\normallineskip 2pt\def\baselinestretch{1}\newcount\aucount\newcount\originalaucount\newdimen\auwidth\auwidth=\textwidth\newdimen\auskip\newcount\auskipcount\newdimen\auskip\global\auskip=1pc\newdimen\allauboxes\allauboxes=\auwidth\newtoks\addauthors\newcount\addauflag\global\addauflag=0 %Haven't shown additional authors yet\newtoks\subtitletext\gdef\subtitle#1{\subtitletext={#1}}\gdef\additionalauthors#1{\addauthors={#1}}\gdef\numberofauthors#1{\global\aucount=#1\ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g}\global\auskipcount=\aucount\global\advance\auskipcount by 1\global\multiply\auskipcount by 2\global\multiply\auskip by \auskipcount\global\advance\auwidth by -\auskip\global\divide\auwidth by \aucount}% \and was modified to count the number of authors.  GKMT 12 Aug 1999\def\alignauthor{%                  % \begin{tabular}\end{tabular}%  \begin{tabular}[t]{p{\auwidth}}\centering}%%  *** NOTE *** NOTE *** NOTE *** NOTE ***%  If you have 'font problems' then you may need%  to change these, e.g. 'arialb' instead of "arialbd".%  Gerry Murray 11/11/1999%  *** OR ** comment out block A and activate block B or vice versa.% **********************************************%%  -- Start of block A -- (Type 1 or Truetype fonts)%\newfont{\secfnt}{timesbd at 12pt} % was timenrb originally - now is timesbd%\newfont{\secit}{timesbi at 12pt}   %13 Jan 00 gkmt%\newfont{\subsecfnt}{timesi at 11pt} % was timenrri originally - now is timesi%\newfont{\subsecit}{timesbi at 11pt} % 13 Jan 00 gkmt -- was times changed to timesbi gm 2/4/2000%                         % because "normal" is italic, "italic" is Roman%\newfont{\ttlfnt}{arialbd at 18pt} % was arialb originally - now is arialbd%\newfont{\ttlit}{arialbi at 18pt}    % 13 Jan 00 gkmt%\newfont{\subttlfnt}{arial at 14pt} % was arialr originally - now is arial%\newfont{\subttlit}{ariali at 14pt} % 13 Jan 00 gkmt%\newfont{\subttlbf}{arialbd at 14pt}  % 13 Jan 00 gkmt%\newfont{\aufnt}{arial at 12pt} % was arialr originally - now is arial%\newfont{\auit}{ariali at 12pt} % 13 Jan 00 gkmt%\newfont{\affaddr}{arial at 10pt} % was arialr originally - now is arial%\newfont{\affaddrit}{ariali at 10pt} %13 Jan 00 gkmt%\newfont{\eaddfnt}{arial at 12pt} % was arialr originally - now is arial%\newfont{\ixpt}{times at 9pt} % was timenrr originally - now is times%\newfont{\confname}{timesi at 8pt} % was timenrri - now is timesi%\newfont{\crnotice}{times at 8pt} % was timenrr originally - now is times%\newfont{\ninept}{times at 9pt} % was timenrr originally - now is times% *********************************************%  -- End of block A --%%% -- Start of block B -- METAFONT% +++++++++++++++++++++++++++++++++++++++++++++% Next (default) block for those using Metafont% Gerry Murray 11/11/1999% *** THIS BLOCK FOR THOSE USING METAFONT *****% *********************************************\ifnum\@ptsize=0\def\@@xviiipt{18pt}\def\@@xivpt{14pt}\def\@@xiipt{12pt}\def\@@secbaseline{12pt}\def\@@xipt{11pt}\def\@@xpt{10pt}\def\@@ixpt{9pt}\def\@@viiipt{8pt}\def\@@viiiptbl{9pt}\fi\ifnum\@ptsize=1\def\@@xviiipt{18pt}\def\@@xivpt{14pt}\def\@@xiipt{12pt}\def\@@secbaseline{12pt}\def\@@xipt{11pt}\def\@@xpt{10pt}\def\@@ixpt{9pt}\def\@@viiipt{8pt}\def\@@viiiptbl{9pt}\fi\ifnum\@ptsize=2\def\@@xviiipt{18pt}\def\@@xivpt{16pt}\def\@@xiipt{14pt}\def\@@secbaseline{16pt}\def\@@xipt{12pt}\def\@@xpt{12pt}\def\@@ixpt{11pt}\def\@@viiipt{9pt}\def\@@viiiptbl{10pt}\fi\newfont{\secfnt}{ptmb at \@@xiipt}\newfont{\secit}{ptmbi at \@@xiipt}    %13 Jan 00 gkmt\newfont{\subsecfnt}{ptmri at \@@xipt}\newfont{\subsecit}{ptmbi at \@@xipt}  % 13 Jan 00 gkmt -- was ptmr changed to ptmbi gm 2/4/2000                         % because "normal" is italic, "italic" is Roman\newfont{\ttlfnt}{phvb at \@@xviiipt}\newfont{\ttlit}{phvbo at \@@xviiipt}    % GM 2/4/2000\newfont{\subttlfnt}{phvr at \@@xivpt}\newfont{\subttlit}{phvro at \@@xivpt} % GM 2/4/2000\newfont{\subttlbf}{phvb at \@@xivpt}  % 13 Jan 00 gkmt\newfont{\aufnt}{phvr at \@@xiipt}\newfont{\auit}{phvro at \@@xiipt}     % GM 2/4/2000\newfont{\affaddr}{phvr at \@@xpt}\newfont{\affaddrit}{phvro at \@@xpt} % GM 2/4/2000\newfont{\eaddfnt}{phvr at \@@xiipt}\newfont{\ixpt}{ptmr at \@@ixpt}\def\confname{\normalfont\itshape\fontsize{\@@viiipt}{\@@viiiptbl}\selectfont}\def\crnotice{\normalfont\fontsize{\@@viiipt}{\@@viiiptbl}\selectfont}\newfont{\ninept}{ptmr at \@@ixpt}% +++++++++++++++++++++++++++++++++++++++++++++% -- End of block B --\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}\def\addauthorsection{\ifnum\originalaucount>3    \section{Additional Authors}\the\addauthors  \fi}\newcount\savesection\newcount\sectioncntr\global\sectioncntr=1\setcounter{secnumdepth}{3}\def\appendix{\par\section*{APPENDIX}\setcounter{section}{0} \setcounter{subsection}{0} \def\thesection{\Alph{section}} }\leftmargini 22.5pt\leftmarginii 19.8pt    % > \labelsep + width of '(m)'\leftmarginiii 16.8pt   % > \labelsep + width of 'vii.'\leftmarginiv 15.3pt    % > \labelsep + width of 'M.'

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -