[BACK]Return to acmconf.cls CVS log [TXT][DIR] Up to [local] / OpenXM / doc / ascm2001

Annotation of OpenXM/doc/ascm2001/acmconf.cls, Revision 1.1

1.1     ! noro        1: %%$OpenXM$
        !             2: %% WARNING!!  This file is temporary put at our CVS server, but it is only
        !             3: %% for committer's PRIVATE use. It is not allowed to redistributed
        !             4: %% this file from
        !             5: %% our cvs server to anonymous public.
        !             6: %% This file will be deleted after we finish our paper.
        !             7:
        !             8: %%
        !             9: %% This is file `acmconf.cls',
        !            10: %% generated with the docstrip utility.
        !            11: %%
        !            12: %% The original source files were:
        !            13: %%
        !            14: %% acmconf.dtx  (with options: `class')
        !            15: %%
        !            16: %% IMPORTANT NOTICE:
        !            17: %%
        !            18: %% For the copyright see the source file.
        !            19: %%
        !            20: %% You are *not* allowed to modify this file.
        !            21: %%
        !            22: %% You are *not* allowed to distribute this file.
        !            23: %% For distribution of the original source see the terms
        !            24: %% for copying and modification in the file acmconf.dtx.
        !            25: %%
        !            26:
        !            27: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
        !            28: %%
        !            29: %% `acmconf' class to use with LaTeX2e.
        !            30: %%
        !            31: %% This class is used to typeset articles to be published in the proceedings
        !            32: %% of the ACM (Association for Computing Machinery) conferences and workshops.
        !            33: %%
        !            34: %% Copyright (C) 1999, Dr. Juergen Vollmer
        !            35: %%                     Viktoriastrasse 15, D-76133 Karlsruhe, Germany
        !            36: %%                     Juergen.Vollmer@acm.org
        !            37: %% License:
        !            38: %%   This program can be redistributed and/or modified under the terms
        !            39: %%   of the LaTeX Project Public License Distributed from CTAN
        !            40: %%   archives in directory macros/latex/base/lppl.txt; either
        !            41: %%   version 1 of the License, or any later version.
        !            42: %%
        !            43: %% If you find this software useful, please send me a postcard.
        !            44: %%
        !            45: %% $Id: acmconf.dtx,v 1.15 1999/06/16 08:41:49 vollmer Exp $
        !            46: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
        !            47:
        !            48:
        !            49: \NeedsTeXFormat{LaTeX2e}
        !            50: \ProvidesClass{acmconf}[1999/06/16 v1.1 ACM Conference Papers]
        !            51: \newif\if@AcmConfPrepare@
        !            52: \newif\if@AcmConfSubmit@
        !            53: \newif\if@AcmConfAccept@
        !            54: \newif\if@AcmConfPublish@
        !            55: \newif\if@AcmConfPrint@
        !            56: \DeclareOption{prepare}{
        !            57:   \@AcmConfPrepare@true
        !            58:   \@AcmConfSubmit@false
        !            59:   \@AcmConfAccept@false
        !            60:   \@AcmConfPublish@false
        !            61:   \@AcmConfPrint@false
        !            62: }
        !            63: \DeclareOption{submit}{
        !            64:   \@AcmConfPrepare@false
        !            65:   \@AcmConfSubmit@true
        !            66:   \@AcmConfAccept@false
        !            67:   \@AcmConfPublish@false
        !            68:   \@AcmConfPrint@false
        !            69: }
        !            70: \DeclareOption{accept}{
        !            71:   \@AcmConfPrepare@false
        !            72:   \@AcmConfSubmit@false
        !            73:   \@AcmConfAccept@true
        !            74:   \@AcmConfPublish@false
        !            75:   \@AcmConfPrint@false
        !            76: }
        !            77: \DeclareOption{publish}{
        !            78:   \@AcmConfPrepare@false
        !            79:   \@AcmConfSubmit@false
        !            80:   \@AcmConfAccept@false
        !            81:   \@AcmConfPublish@true
        !            82:   \@AcmConfPrint@false
        !            83: }
        !            84: \DeclareOption{print}{
        !            85:   \@AcmConfPrepare@false
        !            86:   \@AcmConfSubmit@false
        !            87:   \@AcmConfAccept@false
        !            88:   \@AcmConfPublish@false
        !            89:   \@AcmConfPrint@true
        !            90: }
        !            91: \DeclareOption{10pt}{
        !            92:   \ClassWarningNoLine{acmconf}{%
        !            93:     The `10pt' option is not allowed in the `acmconf' class}
        !            94:   \OptionNotUsed
        !            95: }
        !            96: \DeclareOption{11pt}{
        !            97:   \ClassWarningNoLine{acmconf}{%
        !            98:     The `11pt' option is not allowed in the `acmconf' class}
        !            99:   \OptionNotUsed
        !           100: }
        !           101: \DeclareOption{12pt}{
        !           102:   \ClassWarningNoLine{acmconf}{%
        !           103:     The `12pt' option is not allowed in the `acmconf' class}
        !           104:   \OptionNotUsed
        !           105: }
        !           106: \DeclareOption{landscape}{
        !           107:   \ClassWarningNoLine{acmconf}{%
        !           108:     The `landscape' option is not allowed in the `acmconf' class}
        !           109:   \OptionNotUsed
        !           110: }
        !           111: \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
        !           112: \ExecuteOptions{prepare}
        !           113: \ProcessOptions\relax
        !           114: \LoadClass[twocolumn]{article}
        !           115: \RequirePackage{flushend}
        !           116: \newcommand{\IfPrepare}[2]{\if@AcmConfPrepare@#1\else#2\fi}
        !           117: \newcommand{\IfSubmit}[2]{\if@AcmConfSubmit@#1\else#2\fi}
        !           118: \newcommand{\IfAccept}[2]{\if@AcmConfAccept@#1\else#2\fi}
        !           119: \newcommand{\IfPublish}[2]{\if@AcmConfPublish@#1\else#2\fi}
        !           120: \newcommand{\IfPrint}[2]{\if@AcmConfPrint@#1\else#2\fi}
        !           121: \def\@AcmConfConferenceName{}
        !           122: \def\@AcmConfConferenceShortName{}
        !           123: \def\@AcmConfPublishedPageFrom{}
        !           124: \def\@AcmConfPublishedPageTo{}
        !           125: \newcommand{\ConferenceName}[1]{
        !           126:   \def\@AcmConfConferenceName{#1}
        !           127: }
        !           128: \newcommand{\TheConferenceName}{%
        !           129:   \@AcmConfConferenceName
        !           130: }
        !           131: \newcommand{\ConferenceShortName}[1]{
        !           132:   \def\@AcmConfConferenceShortName{#1}
        !           133: }
        !           134: \newcommand{\TheConferenceShortName}{
        !           135:   \@AcmConfConferenceShortName
        !           136: }
        !           137: \newcommand{\PublishedPageFrom}[1]{
        !           138:   \def\@AcmConfPublishedPageFrom{#1}
        !           139: }
        !           140: \newcommand{\PublishedPageTo}[1]{
        !           141:   \def\@AcmConfPublishedPageTo{#1}
        !           142: }
        !           143: \def\@AcmConfPrepareText{
        !           144:   Intended for submission to the \emph{\@AcmConfConferenceName}
        !           145: }
        !           146: \def\@AcmConfSubmitText{
        !           147:   Submitted to the \emph{\@AcmConfConferenceName}
        !           148: }
        !           149: \def\@AcmConfAcceptText{
        !           150:   Accepted for the \emph{\@AcmConfConferenceName}
        !           151: }
        !           152: \def\@AcmConfPrintText{
        !           153:   Published in the Proceedings of the \emph{\@AcmConfConferenceName},
        !           154:   pages \@AcmConfPublishedPageFrom--\@AcmConfPublishedPageTo
        !           155: }
        !           156: \def\@AcmConfCopyrightText{}
        !           157: \newcommand{\PrepareText}[1]{\def\@AcmConfPrepareText{#1}}
        !           158: \newcommand{\SubmitText}[1]{\def\@AcmConfSubmitText{#1}}
        !           159: \newcommand{\AcceptText}[1]{\def\@AcmConfAcceptText{#1}}
        !           160: \newcommand{\PrintText}[1]{\def\@AcmConfPrintText{#1}}
        !           161: \newcommand{\CopyrightText}[1]{\def\@AcmConfCopyrightText{#1}}
        !           162: \newcommand{\@AcmConfCopyrightSpace}{
        !           163:   \def\ftype@AcmConfCopyrightBox{8}
        !           164:   \@float{AcmConfCopyrightBox}[b]
        !           165:   \framebox[\columnwidth]{
        !           166:     \parbox[t][1.5in][t]{\columnwidth}{%
        !           167:       \IfPrepare{\ifx\@AcmConfCopyrightText\empty
        !           168:                      \copyright-Notice
        !           169:                  \else
        !           170:                      \@AcmConfCopyrightText
        !           171:                  \fi}{}
        !           172:       \IfSubmit{\ifx\@AcmConfCopyrightText\empty
        !           173:                     \copyright-Notice
        !           174:                  \else
        !           175:                     \@AcmConfCopyrightText
        !           176:                  \fi}{}
        !           177:       \IfAccept{\@AcmConfCopyrightText}{}
        !           178:       \IfPublish{\@AcmConfCopyrightText}{}
        !           179:       \IfPrint{\@AcmConfCopyrightText}{}
        !           180:     }
        !           181:   }
        !           182:   \end@float
        !           183: }
        !           184: \def\@AcmConfDate{\today}
        !           185: \let\@AcmConfDateCmd\date
        !           186: \renewcommand{\date}[1]{
        !           187:     \@AcmConfDateCmd{#1}
        !           188:     \def\@AcmConfDate{#1}
        !           189: }
        !           190: \def\@AcmConfFirstAuthor{}
        !           191: \let\@AcmConfMaketitle\maketitle
        !           192: \renewcommand{\maketitle}{
        !           193:   \@AcmConfMaketitle
        !           194:   \@AcmConfCopyrightSpace
        !           195: }
        !           196: \renewcommand{\@maketitle}{
        !           197:   \newcommand{\Author}[1]{%
        !           198:     \LARGE\sffamily ##1%
        !           199:     \ifx\@AcmConfFirstAuthor\empty
        !           200:         \gdef\@AcmConfFirstAuthor{##1}
        !           201:     \fi
        !           202:     }
        !           203:   \newcommand{\Address}[1]{\large\sffamily ##1}
        !           204:   \newcommand{\Phone}[1]{\large\sffamily   ##1}
        !           205:   \newcommand{\Email}[1]{\LARGE\sffamily   ##1}
        !           206:   \def\and{
        !           207:       \end{tabular}
        !           208:       \hskip 1em \@plus.17fil
        !           209:       \begin{tabular}[t]{@{}c@{}}
        !           210:   }
        !           211:   \newpage
        !           212:   \null
        !           213:   \IfPublish{}{
        !           214:     \hfill
        !           215:     \parbox[t][0mm][t]{0.9\textwidth}{
        !           216:       \vspace*{-10mm}
        !           217:       \IfPrepare{\@AcmConfPrepareText}{}
        !           218:       \IfSubmit{\@AcmConfSubmitText}{}
        !           219:       \IfAccept{\@AcmConfAcceptText}{}
        !           220:       \IfPrint{\@AcmConfPrintText}{}
        !           221:       \vspace{1mm}\hrule
        !           222:       }
        !           223:     \hfill
        !           224:     \vspace*{-5mm}
        !           225:   }
        !           226:   \parbox[t][14pc][t]{\textwidth}{
        !           227:     \vskip 2em                   % Vertical space above title.
        !           228:     \begin{center}
        !           229:       {\sffamily\bfseries\Huge \@title \par}
        !           230:       \vskip 1.5em               % Vertical space after title.
        !           231:       {\lineskip .5em            % tabular environment
        !           232:        \noindent
        !           233:        \begin{tabular}[t]{@{}c@{}}\@author
        !           234:        \end{tabular}\par
        !           235:       }
        !           236:       \vskip 1.5em                % Vertical space after author.
        !           237:     \end{center}
        !           238:     \vfill
        !           239:   }
        !           240: }
        !           241: \IfPrepare{}{
        !           242:   \renewcommand{\tableofcontents}{
        !           243:      \ClassError{acmconf}{%
        !           244:       \protect\tableofcontents\space is not
        !           245:       allowed in the `acmconf' class except with option `prepare'}{}
        !           246:   }
        !           247:   \renewcommand{\listoffigures}{
        !           248:      \ClassError{acmconf}{%
        !           249:       \protect\listoffigures\space is not
        !           250:       allowed in the `acmconf' class except with option `prepare'}{}
        !           251:   }
        !           252:   \renewcommand{\listoftables}{
        !           253:      \ClassError{acmconf}{%
        !           254:      \protect\listoftables\space is not
        !           255:      allowed in the `acmconf' class except with option `prepare'}{}
        !           256:   }
        !           257:   \renewcommand{\pagestyle}[1]{
        !           258:      \ClassError{acmconf}{%
        !           259:       \protect\pagestyle\space is not
        !           260:       allowed in the `acmconf' class except with option `prepare'}{}
        !           261:   }
        !           262: }
        !           263: \setlength{\voffset}{-1in}
        !           264: \setlength{\hoffset}{-1in}
        !           265: \setlength{\textwidth}{7in}
        !           266: \setlength{\textheight}{9.25in}
        !           267: \setlength{\topmargin}{1in}
        !           268: \setlength{\topskip}{9pt}
        !           269: \setlength{\oddsidemargin}{0.75in}
        !           270: \setlength{\evensidemargin}{0.75in}
        !           271: \setlength{\footskip}{.35in}
        !           272: \setlength{\columnsep}{.83cm}
        !           273: \setlength{\columnseprule}{0pt}
        !           274: \setlength{\headheight}{9pt}
        !           275: \setlength{\headsep}{20pt}
        !           276: \setlength{\marginparwidth}{0in}
        !           277: \setlength{\marginparsep}{0in}
        !           278:
        !           279: \def\normalsize{
        !           280:   \@setfontsize\normalsize{9}{10.8}
        !           281:   \abovedisplayskip 8pt plus2pt minus4pt
        !           282:   \belowdisplayskip\abovedisplayskip
        !           283:   \abovedisplayshortskip \z@ plus3pt
        !           284:   \belowdisplayshortskip 5pt plus3pt minus3pt
        !           285:   \let\@listi\@listI
        !           286: }
        !           287: \def\small{
        !           288:   \@setfontsize\small{8}{9.6}
        !           289:   \abovedisplayskip 7.5pt plus 3pt minus 4pt
        !           290:   \belowdisplayskip\abovedisplayskip
        !           291:   \abovedisplayshortskip \z@ plus2pt
        !           292:   \belowdisplayshortskip 4pt plus2pt minus 2pt
        !           293:   \def\@listi{
        !           294:     \leftmargin\leftmargini
        !           295:     \topsep 3pt plus 2pt minus 2pt
        !           296:     \parsep 2pt plus 1pt minus 1pt
        !           297:     \itemsep \parsep
        !           298:     }
        !           299: }
        !           300: \def\footnotesize{\@setfontsize\normalsize{9}{10.8}} % \normalsize
        !           301: \def\scriptsize{\@setfontsize\scriptsize{6}{7.2}}
        !           302: \def\tiny{\@setfontsize\tiny{5}{6}}
        !           303: \def\large{\@setfontsize\large{10}{12}}
        !           304: \def\Large{\@setfontsize\Large{11}{13.2}}
        !           305: \def\LARGE{\@setfontsize\LARGE{12}{14.4}}
        !           306: \def\huge{\@setfontsize\huge{14}{16.8}}
        !           307: \def\Huge{\@setfontsize\Huge{20.4}{24.48}}
        !           308:
        !           309: \newenvironment{keywords}{\section*{KEYWORDS}}{}
        !           310:
        !           311: \setcounter{secnumdepth}{5}
        !           312: \setcounter{tocdepth}{5}
        !           313: \renewcommand{\abstractname}{ABSTRACT}
        !           314: \renewcommand{\refname}{REFERENCES}
        !           315:
        !           316: \renewcommand{\section}{
        !           317:   \@startsection{section}{1}{\z@}%
        !           318:   {-3.5ex \@plus -1ex \@minus -.2ex}%
        !           319:   {2.3ex \@plus.2ex}%
        !           320:   {\normalfont\LARGE\bfseries\uppercase}%
        !           321: }
        !           322: \renewcommand{\subsection}{
        !           323:   \@startsection{subsection}{2}{\z@}%
        !           324:   {-3.25ex\@plus -1ex \@minus -.2ex}%
        !           325:   {1.5ex \@plus .2ex}%
        !           326:   {\normalfont\LARGE\bfseries}%
        !           327: }
        !           328: \renewcommand{\subsubsection}{
        !           329:   \@startsection{subsubsection}{3}{\z@}%
        !           330:   {-3.25ex\@plus -1ex \@minus -.2ex}%
        !           331:   {1.5ex \@plus .2ex}%
        !           332:   {\normalfont\Large\itshape}%
        !           333: }
        !           334: \newcommand{\subsubsubsection}{
        !           335:   \@startsection{subsubsubsection}{4}{\z@}%
        !           336:   {-3.25ex\@plus -1ex \@minus -.2ex}%
        !           337:   {1.5ex \@plus .2ex}%
        !           338:   {\normalfont\Large\itshape}%
        !           339: }
        !           340: \newcommand{\subsubsubsubsection}{
        !           341:   \@startsection{subsubsubsubsection}{5}{\z@}%
        !           342:   {-3.25ex\@plus -1ex \@minus -.2ex}%
        !           343:   {1.5ex \@plus .2ex}%
        !           344:   {\normalfont\Large\itshape}%
        !           345: }
        !           346: \renewcommand{\paragraph}{
        !           347:   \@startsection{paragraph}{6}{\z@}%
        !           348:   {3.25ex \@plus1ex \@minus.2ex}%
        !           349:   {-1em}%
        !           350:   {\normalfont\normalsize\bfseries}%
        !           351: }
        !           352: \renewcommand{\subparagraph}{
        !           353:   \@startsection{subparagraph}{7}{%
        !           354:   \parindent}%
        !           355:   {3.25ex \@plus1ex \@minus .2ex}%
        !           356:   {-1em}%
        !           357:   {\normalfont\normalsize\sffamily\bfseries}%
        !           358: }
        !           359: \newcommand{\subsubsubsectionmark}[1]{}
        !           360: \newcommand{\subsubsubsubsectionmark}[1]{}
        !           361: \newcounter{subsubsubsection}[subsubsection]
        !           362: \newcounter{subsubsubsubsection}[subsubsubsection]
        !           363: \renewcommand{\thesubsubsubsection}{%
        !           364:   \thesubsubsection .\@arabic\c@subsubsubsection%
        !           365: }
        !           366: \renewcommand{\thesubsubsubsubsection}{%
        !           367:   \thesubsubsubsection .\@arabic\c@subsubsubsubsection%
        !           368: }
        !           369: \newcommand{\l@subsubsubsection}{\@dottedtocline{4}{3.8em}{3.8em}}
        !           370: \newcommand{\l@subsubsubsubsection}{\@dottedtocline{5}{3.8em}{4.2em}}
        !           371: \renewcommand{\l@paragraph}{\@dottedtocline{6}{7.0em}{4.1em}}
        !           372: \renewcommand{\l@subparagraph}{\@dottedtocline{7}{10em}{5em}}
        !           373: \IfPrepare{\typeout{**** Paper in preparation ****}}{}
        !           374: \IfSubmit{\typeout{**** Sumbitted paper ****}}{}
        !           375: \IfAccept{\typeout{**** Accepted paper ****}}{}
        !           376: \IfPublish{\typeout{**** Published in proceedings ****}}{}
        !           377: \IfPrint{\typeout{****  Published paper printed outside
        !           378:                         proceedings ****}}{}
        !           379: \AtBeginDocument{
        !           380:   \normalsize
        !           381:   \ifx\@AcmConfConferenceShortName\empty
        !           382:     \ClassError{acmconf}{%
        !           383:       You have not specified a conference short name.
        !           384:       \MessageBreak
        !           385:       Use \protect\ConferenceShortName\space in the preamble}{}
        !           386:   \fi
        !           387:   \ifx\@AcmConfConferenceName\empty
        !           388:     \ClassError{acmconf}{%
        !           389:       You have not specified a conference name.
        !           390:       \MessageBreak
        !           391:       Use \protect\ConferenceName\space in the preamble}{}
        !           392:   \fi
        !           393:   \IfSubmit{
        !           394:     \def\@oddfoot{\parbox{0.3\textwidth}{\@AcmConfFirstAuthor,
        !           395:                                          \@AcmConfDate}
        !           396:                   \hfill
        !           397:                   \thepage
        !           398:                   \hfill
        !           399:                   \parbox{0.3\textwidth}{\hfill
        !           400:                                          \@AcmConfConferenceShortName}
        !           401:     }
        !           402:   }{}
        !           403:   \IfAccept{
        !           404:     \def\@oddfoot{\hfill\thepage\hfill}
        !           405:     \ifx\@AcmConfCopyrightText\empty
        !           406:       \ClassError{acmconf}{%
        !           407:         You have not specified the copyright notice
        !           408:         \MessageBreak
        !           409:         Use \protect\CopyrightText\space in the preamble}{}
        !           410:     \fi
        !           411:   }{}
        !           412:   \IfPublish{
        !           413:     \let\ps@plain\ps@empty
        !           414:     \let\ps@headings\ps@empty
        !           415:     \let\ps@myheadings\ps@empty
        !           416:     \def\@oddfoot{}
        !           417:     \ifx\@AcmConfCopyrightText\empty
        !           418:       \ClassError{acmconf}{%
        !           419:         You have not specified the copyright notice
        !           420:         \MessageBreak
        !           421:         Use \protect\CopyrightText\space in the preamble}{}
        !           422:     \fi
        !           423:   }{}
        !           424:   \IfPrint{
        !           425:     \def\@oddfoot{\hfill\thepage\hfill}
        !           426:     \ifx\@AcmConfCopyrightText\empty
        !           427:       \ClassError{acmconf}{%
        !           428:         You have not specified the copyright notice
        !           429:         \MessageBreak
        !           430:         Use \protect\CopyrightText\space in the preamble}{}
        !           431:     \fi
        !           432:     \ifx\@AcmConfPublishedPageFrom\empty
        !           433:       \ClassError{acmconf}{%
        !           434:         You have not specified the start page of the publication
        !           435:         \MessageBreak
        !           436:         Use \protect\PublishedPageFrom\space in the preamble}{}
        !           437:     \fi
        !           438:     \ifx\@AcmConfPublishedPageTo\empty
        !           439:       \ClassError{acmconf}{%
        !           440:         You have not specified the end page of the publication
        !           441:         \MessageBreak
        !           442:         Use \protect\PublishedPageTo\space in the preamble}{}
        !           443:     \fi
        !           444:   }{}
        !           445: }
        !           446: \AtEndDocument{
        !           447:   \IfSubmit{
        !           448:      \ifx\@AcmConfFirstAuthor\empty
        !           449:      \ClassError{acmconf}{%
        !           450:        You have not specified the name of the (first) author.
        !           451:        \MessageBreak
        !           452:        Use \protect\Author to typeset the author(s) of the paper.
        !           453:        }{}
        !           454:      \fi
        !           455:   }{}
        !           456: }
        !           457: \endinput
        !           458: %%
        !           459: %% End of file `acmconf.cls'.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>