📄 sigcomm.cls
字号:
\newcommand\large{\@setfontsize\large\@xiipt{14}}\newcommand\Large{\@setfontsize\Large\@xivpt{18}}\newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}\newcommand\huge{\@setfontsize\huge\@xxpt{25}}\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}\fi\normalsize% make aubox hsize/number of authors up to 3, less gutter% then showbox gutter showbox gutter showbox -- GKMT Aug 99\newbox\@acmtitlebox\def\@maketitle{\newpage \null \setbox\@acmtitlebox\vbox{%\baselineskip 20pt\vskip 2em % Vertical space above title. \begin{center} {\ttlfnt \@title\par} % Title set in 18pt Helvetica (Arial) bold size. \vskip 1.5em % Vertical space after title.%This should be the subtitle.{\subttlfnt \the\subtitletext\par}\vskip 1.25em%\fi {\baselineskip 16pt\aufnt % each author set in \12 pt Arial, in a \lineskip .5em % tabular environment \begin{tabular}[t]{c}\@author \end{tabular}\par} \vskip 1.5em % Vertical space after author. \end{center}} \dimen0=\ht\@acmtitlebox \advance\dimen0 by -12.75pc\relax % Increased space for title box -- KBT \unvbox\@acmtitlebox \ifdim\dimen0<0.0pt\relax\vskip-\dimen0\fi}\newcount\titlenotecount\global\titlenotecount=0\newtoks\tntoks\newtoks\tntokstwo\newtoks\tntoksthree\newtoks\tntoksfour\newtoks\tntoksfive\def\abstract{\ifnum\titlenotecount>0 % was =1 \insert\footins{% \reset@font\footnotesize \interlinepenalty\interfootnotelinepenalty \splittopskip\footnotesep \splitmaxdepth \dp\strutbox \floatingpenalty \@MM \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel{% }% \color@begingroup\ifnum\titlenotecount=1 \@maketntext{% \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\@finalstrut\strutbox}%\fi\ifnum\titlenotecount=2 \@maketntext{% \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\@finalstrut\strutbox}%\fi\ifnum\titlenotecount=3 \@maketntext{% \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\@finalstrut\strutbox}%\fi\ifnum\titlenotecount=4 \@maketntext{% \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\@finalstrut\strutbox}%\fi\ifnum\titlenotecount=5 \@maketntext{% \raisebox{4pt}{$\ast$}\rule\z@\footnotesep\ignorespaces\the\tntoks\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\dagger$}\rule\z@\footnotesep\ignorespaces\the\tntokstwo\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\ddagger$}\rule\z@\footnotesep\ignorespaces\the\tntoksthree\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\S$}\rule\z@\footnotesep\ignorespaces\the\tntoksfour\par\@finalstrut\strutbox}%\@maketntext{% \raisebox{4pt}{$\P$}\rule\z@\footnotesep\ignorespaces\the\tntoksfive\@finalstrut\strutbox}%\fi \color@endgroup} %g}\fi\setcounter{footnote}{0}\section*{\centerline{Abstract}}%}\def\endabstract{\if@twocolumn\else\endquotation\fi}\def\keywords{\if@twocolumn\section*{Keywords}\else \small\quotation\fi}\def\terms{\if@twocolumn\section*{General Terms}\else \small\quotation\fi}% -- Classification needs to be a bit smart due to optionals - Gerry/Georgia November 2nd. 1999\newcount\catcount\global\catcount=1\def\category#1#2#3{%\ifnum\catcount=1\section*{Categories and Subject Descriptors}\advance\catcount by 1\else{\unskip; }\fi \@ifnextchar [{\@category{#1}{#2}{#3}}{\@category{#1}{#2}{#3}[]}%}\def\@category#1#2#3[#4]{% \begingroup \let\and\relax #1 [\textbf{#2}]% \if!#4!% \if!#3!\else : #3\fi \else :\space \if!#3!\else #3\kern\z@---\hskip\z@\fi \textit{#4}% \fi \endgroup}%%%% This section (written by KBT) handles the 1" box in the lower left%%% corner of the left column of the first page by creating a picture,%%% and inserting the predefined string at the bottom (with a negative%%% displacement to offset the space allocated for a non-existent%%% caption).%%%\newtoks\copyrightnotice\def\ftype@copyrightbox{8}\def\@copyrightspace{\@float{copyrightbox}[b]% Leave only 8pt space above the rule, by backing up \textfloatsep then% forward 8pt.\vskip-\textfloatsep\vskip8pt%\rule[5pt]{\hsize}{.4pt}\par%\noindent\crnotice{\@toappear}%\end@float}\def\@toappear{} % Default setting blank - commands below change this.\long\def\toappear#1{\def\@toappear{\parbox[b]{\hsize}{#1}}}\def\toappearbox#1{\def\@toappear{\raisebox{5pt}{\framebox[20pc]{\parbox[b]{19pc}{#1}}}}}\newtoks\conf\newtoks\confinfo\def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}\def\marginpar{\@latexerr{The \marginpar command is not allowed in the `acmconf' document style.}\@eha}\mark{{}{}} % Initializes TeX's marks\def\today{\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\day, \number\year}\def\@begintheorem#1#2{% \parskip 0pt % GM July 2000 (for tighter spacing) \trivlist \item[% \hskip 10\p@ \hskip \labelsep {{\sc #1}\hskip 5\p@\relax#2.}% ] \it}\def\@opargbegintheorem#1#2#3{% \parskip 0pt % GM July 2000 (for tighter spacing) \trivlist \item[% \hskip 10\p@ \hskip \labelsep {\sc #1\ #2\ % This mod by Gerry to enumerate corollaries \setbox\@tempboxa\hbox{(#3)} % and bracket the 'corollary title' \ifdim \wd\@tempboxa>\z@ % and retain the correct numbering of e.g. theorems \hskip 5\p@\relax % if they occur 'around' said corollaries. \box\@tempboxa % Gerry - Nov. 1999. \fi.}% ] \it}\newif\if@qeded\global\@qededfalse\def\proof{% \vspace{-\parskip} % GM July 2000 (for tighter spacing) \global\@qededfalse \@ifnextchar[{\@xproof}{\@proof}%}\def\endproof{% \if@qeded\else\qed\fi \endtrivlist}\def\@proof{% \trivlist \item[% \hskip 10\p@ \hskip \labelsep {\sc Proof.}% ] \ignorespaces}\def\@xproof[#1]{% \trivlist \item[\hskip 10\p@\hskip \labelsep{\sc Proof #1.}]% \ignorespaces}\def\qed{% \unskip \kern 10\p@ \begingroup \unitlength\p@ \linethickness{.4\p@}% \framebox(6,6){}% \endgroup \global\@qededtrue}\def\newdef#1#2{% \expandafter\@ifdefinable\csname #1\endcsname {\@definecounter{#1}% \expandafter\xdef\csname the#1\endcsname{\@thmcounter{#1}}% \global\@namedef{#1}{\@defthm{#1}{#2}}% \global\@namedef{end#1}{\@endtheorem}% }%}\def\@defthm#1#2{% \refstepcounter{#1}% \@ifnextchar[{\@ydefthm{#1}{#2}}{\@xdefthm{#1}{#2}}%}\def\@xdefthm#1#2{% \@begindef{#2}{\csname the#1\endcsname}% \ignorespaces}\def\@ydefthm#1#2[#3]{% \trivlist \item[% \hskip 10\p@ \hskip \labelsep {\it #2% \savebox\@tempboxa{#3}% \ifdim \wd\@tempboxa>\z@ \ \box\@tempboxa \fi.% }]% \ignorespaces}\def\@begindef#1#2{% \trivlist \item[% \hskip 10\p@ \hskip \labelsep {\it #1\ \rm #2.}% ]%}\def\theequation{\arabic{equation}}\newcounter{part}\newcounter{section}\newcounter{subsection}[section]\newcounter{subsubsection}[subsection]\newcounter{paragraph}[subsubsection]\def\thepart{\Roman{part}}\def\thesection{\arabic{section}}\def\thesubsection{\thesection.\arabic{subsection}}\def\thesubsubsection{{\subsecfnt\thesubsection.\arabic{subsubsection}}}\def\theparagraph{{\subsecfnt\thesubsubsection.\arabic{paragraph}}}\newif\if@uchead\@ucheadfalse%% CHANGES: NEW NOTE%% NOTE: OK to use old-style font commands below, since they were%% suitably redefined for LaTeX2e%% END CHANGES\setcounter{secnumdepth}{3}\def\part{% \@startsection{part}{9}{\z@}{-.95\n@ \@plus -.38\n@ \@minus -.17\n@} {.38\n@}{\normalsize\@ucheadtrue}%}\def\section{% \@startsection{section}{1}{\z@}{-.95\n@ \@plus -.38\n@ \@minus -.17\n@}% GM {.38\n@}{\baselineskip\@@secbaseline\secfnt\@ucheadtrue}%}\def\subsection{% \@startsection{subsection}{2}{\z@}{-.76\n@ \@plus -.17\n@ \@minus -.09\n@} {.38\n@}{\secfnt}%}\def\subsubsection{% \@startsection{subsubsection}{3}{\z@}{-.76\n@ \@plus -.17\n@ \@minus -.09\n@}% {.38\n@}{\subsecfnt}%}\def\paragraph{% \vskip 1.14\normaldimen\@startsection{paragraph}{3}{\z@}{.57\n@ \@plus .09\n@}% {-.47\n@}{\subsecfnt}%}\let\@period=.\def\@startsection#1#2#3#4#5#6{%% Get rid of spurious period after section numbers.% \if@noskipsec %gkmt, 11 aug 99% \global\let\@period\@empty% \leavevmode% \global\let\@period.%% \fi \par % \@tempskipa #4\relax \@afterindenttrue \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse \fi \if@nobreak \everypar{}% \else \addpenalty\@secpenalty \addvspace\@tempskipa \fi\parskip=0pt % GM July 2000 (non numbered) section heads \@ifstar {\@ssect{#3}{#4}{#5}{#6}} {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%}\def\@sect#1#2#3#4#5#6[#7]#8{% \ifnum #2>\c@secnumdepth \let\@svsec\@empty \else \refstepcounter{#1}% \edef\@svsec{% \begingroup \ifnum#2>2 \noexpand\rm \fi \csname the#1\endcsname \endgroup% Get rid of spurious period at end of section number% \ifnum #2=1\relax .\fi \hskip 1em }% \fi \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup #6\relax
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -