Advertisement
Guest User

ijcai97.sty

a guest
Nov 29th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 13.54 KB | None | 0 0
  1. \typeout{Conference Style, version of 6 September 1995 (revised Nov 2010)}
  2.  
  3. % All bug reports should be directed to kek@cs.brown.edu
  4. % The following comments are from the original ijcai97.sty
  5.  
  6. % The current two-column conference style.
  7. % Originally used for IJCAI-89.
  8. % Fixes from various people incorporated up to the IJCAI-95 style.
  9.  
  10. % To use, place in a file called conference.sty, or whatever your conference
  11. % is called, in the TeX search path.  (Placing it in the same directory as
  12. % the paper should also work.)
  13.  
  14. % Prepared by Peter F. Patel-Schneider,
  15. % liberally using the ideas of
  16. % other style hackers, including Barbara Beeton.
  17. % This style is NOT guaranteed to work.  It is provided in the hope
  18. % that it will make the preparation of papers easier.
  19. %
  20. % The preparation of this file was supported by Schlumberger Palo Alto
  21. % Research, AT\&T Bell Laboratories, AAAI, and Morgan Kaufmann Publishers.
  22.  
  23. % \pubnote added by J. Scott Penberthy
  24.  
  25. % These instructions can be modified and used in other conferences as long
  26. % as credit to the authors and supporting agencies is retained, this notice
  27. % is not changed, and further modification or reuse is not restricted.
  28. %
  29. % If you are organizing a conference, and want to use this file, you should
  30. % appoint a contact person to handle any problems!
  31. %
  32. % If you are using this file for the preparation of papers for a
  33. % conference that supplied you with this file, you should contact the
  34. % organizers of the conference if you have any problems.  They should have
  35. % much more information than I have.
  36.  
  37. % There are undoubtably bugs in this style.  If you make bug fixes,
  38. % improvements, etc.  please let me know.  My e-mail address is:
  39. %       pfps@research.bell-labs.com
  40.  
  41. % Papers are to be prepared using the ``named'' bibliography style,
  42. % included in this file, which implements long and short citations.
  43. %
  44. %       \documentstyle[conference]{article}
  45. %       \title{Title}
  46. %       \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
  47. %               Author 3 \\ Address line \\ Address line}
  48. %       \pubnote{\em To appear, AAAI-94}  % optional, remove for submission
  49. %       \begin{document}
  50. %       \maketitle
  51. %       ...
  52. %       \bibliography{bibliography-file}
  53. %       \bibliographystyle{named}
  54. %       \end{document}
  55. %
  56. % \pubnote is for printing the paper yourself, and should not be used in
  57. % submitted versions!!!!
  58.  
  59. % Author information can be set in various styles:
  60. % For several authors from the same institution:
  61. % \author{Author 1 \and ... \and Author n \\
  62. %         Address line \\ ... \\ Address line}
  63. % if the names do not fit well on one line use
  64. % \author{Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
  65. %         Address line \\ ... \\ Address line}
  66. % For authors from different institutions:
  67. % \author{Author 1 \\ Address line \\  ... \\ Address line
  68. %         \And  ... \And
  69. %         Author n \\ Address line \\ ... \\ Address line}
  70. % To start a separate ``row'' of authors use \AND, as in
  71. % \author{Author 1 \\ Address line \\  ... \\ Address line
  72. %         \AND
  73. %         Author 2 \\ Address line \\ ... \\ Address line \And
  74. %         Author 3 \\ Address line \\ ... \\ Address line}
  75.  
  76. % If the title and author information does not fit in the area allocated,
  77. % place \setlength\titlebox{<new height>} after the \documentstyle line
  78. % where <new height> is something like 2.5in
  79.  
  80. % NOTE:  Some laser printers have a serious problem printing TeX output.
  81. % These printing devices, commonly known as ``write-white'' laser
  82. % printers, tend to make characters too light.  To get around this
  83. % problem, a darker set of fonts must be created for these devices.
  84.  
  85. % Physical page layout
  86. \twocolumn \flushbottom \sloppy
  87. % Note that TeX has built-in 1-inch top and left margins.
  88. \setlength\topmargin{-0.25in}
  89. \setlength\oddsidemargin{-0.25in}
  90. \setlength\evensidemargin{-0.25in}
  91. \setlength\textheight{9.0in}
  92. \setlength\textwidth{7.0in}
  93. \setlength\columnsep{0.25in}  
  94. \newlength\titlebox \setlength\titlebox{2.25in}
  95.  
  96. % No pages numbers or other headers or footers
  97. \setlength\headheight{0pt}   \setlength\headsep{0pt}
  98. %\setlength\footheight{0pt}   \setlength\footskip{0pt}
  99. \thispagestyle{empty}        \pagestyle{empty}
  100.  
  101. % jsp added:
  102. \def\pubnote#1{\thispagestyle{myheadings}
  103. \markboth{#1}{#1}
  104. \def\thepage{}
  105. }
  106.  
  107. % Less leading in most fonts (due to the narrow columns)
  108. % The choices were between 1-pt and 1.5-pt leading
  109. % \def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt} % 10 point on 11
  110. % \def\small{\@setsize\small{10pt}\ixpt\@ixpt}          % 9 point on 10
  111. % \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt} % 9 point on 10
  112. % \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}       % 7 point on 8
  113. % \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}             % 6 point on 7
  114. % \def\large{\@setsize\large{12pt}\xipt\@xipt}          % 11 point on 12
  115. % \def\Large{\@setsize\Large{14pt}\xiipt\@xiipt}                % 12 point on 14
  116. % \def\LARGE{\@setsize\LARGE{16pt}\xivpt\@xivpt}                % 14 point on 16
  117. % \def\huge{\@setsize\huge{20pt}\xviipt\@xviipt}                % 17 point on 20
  118. % \def\Huge{\@setsize\Huge{23pt}\xxpt\@xxpt}            % 20 point on 23
  119.  
  120. % latex2e compatibility mode hack - kek@cs.brown.edu 11/10/98
  121. \def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}   % 10 point on 11
  122. \def\normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}   % 10 point on 11
  123. \def\small{\@setsize\small{10pt}\ixpt\@ixpt}            % 9 point on 10
  124. \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt} % 9 point on 10
  125. \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt} % 7 point on 8
  126. \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}               % 6 point on 7
  127. \def\large{\@setsize\large{12pt}\xipt\@xipt}            % 11 point on 12
  128. \def\Large{\@setsize\Large{14pt}\xiipt\@xiipt}          % 12 point on 14
  129. \def\LARGE{\@setsize\LARGE{16pt}\xivpt\@xivpt}          % 14 point on 16
  130. \def\huge{\@setsize\huge{20pt}\xviipt\@xviipt}          % 17 point on 20
  131. \def\Huge{\@setsize\Huge{23pt}\xxpt\@xxpt}              % 20 point on 23
  132.  
  133.  
  134. % Paragraphs
  135. \parindent 1em
  136. \parskip 0pt plus 1pt
  137.  
  138. % Title stuff, taken from deproc.
  139. \def\maketitle{\par
  140.  \begingroup % to make the footnote style local to the title
  141.    \def\thefootnote{\fnsymbol{footnote}}
  142.   \def\@makefnmark{$^{\@thefnmark}$}
  143.   \twocolumn[\@maketitle] \@thanks
  144. \endgroup
  145. \setcounter{footnote}{0}
  146. \let\maketitle\relax \let\@maketitle\relax
  147. \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
  148. \def\@maketitle{\vbox to \titlebox{\hsize\textwidth
  149. \linewidth\hsize \vskip 0.625in minus 0.125in \centering
  150. {\LARGE\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
  151. {\def\and{\unskip\enspace{\rm and}\enspace}%
  152.   \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
  153.           \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\Large\bf}%
  154.   \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
  155.          \vskip 0.25in plus 1fil minus 0.125in
  156.           \hbox to \linewidth\bgroup\Large \hfil\hfil
  157.             \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\Large\bf}
  158.  \hbox to \linewidth\bgroup\Large \hfil\hfil
  159.    \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\Large\bf\@author
  160.                            \end{tabular}\hss\egroup
  161.    \hfil\hfil\egroup}
  162.  \vskip 0.3in plus 2fil minus 0.1in
  163. }}
  164. \renewenvironment{abstract}{\centerline{\Large\bf
  165. Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
  166.  
  167. % Sections with less space
  168. \def\section{\@startsection{section}{1}{\z@}{-10pt plus
  169.    -3pt minus -2pt}{4pt plus 2pt minus 1pt}{\Large\bf\raggedright}}
  170. \def\subsection{\@startsection{subsection}{2}{\z@}{-8pt plus
  171.    -2pt minus -2pt}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
  172. \def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
  173.   -2pt minus -1pt}{1pt plus 1pt minus 1pt}{\normalsize\bf\raggedright}}
  174. \setcounter{secnumdepth}{2} % Don't number subsubsections
  175.  
  176. % Footnotes
  177. \footnotesep 6.65pt \skip\footins 9pt plus 4pt minus 2pt
  178. \def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
  179. \setcounter{footnote}{0}
  180.  
  181. % Illustrations (floats)
  182. \floatsep 12pt plus 2pt minus 2pt
  183. \textfloatsep 16pt plus 2pt minus 4pt
  184. \intextsep 12pt plus 2pt minus 2pt
  185. \dblfloatsep 12pt plus 2pt minus 2pt
  186. \dbltextfloatsep 18pt plus 2pt minus 4pt
  187.  
  188. % Displays
  189. \abovedisplayskip 7pt plus2pt minus5pt%
  190. \belowdisplayskip \abovedisplayskip
  191. \abovedisplayshortskip  0pt plus3pt%  
  192. \belowdisplayshortskip  4pt plus3pt minus3pt%
  193.  
  194. % Lists
  195. \leftmargini 2em
  196. \leftmarginii 2em
  197. \leftmarginiii 1em
  198. \leftmarginiv 0.5em
  199. \leftmarginv 0.5em
  200. \leftmarginvi 0.5em
  201.  
  202. \leftmargin\leftmargini
  203. \labelsep 5pt
  204. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  205.  
  206. \def\@listI{\leftmargin\leftmargini
  207. \parsep 2pt plus 1pt minus 0.5pt%
  208. \topsep 4pt plus 1pt minus 2pt%
  209. \itemsep 2pt plus 1pt minus 0.5pt%
  210. \partopsep 1pt plus 0.5pt minus 0.5pt}
  211.  
  212. \let\@listi\@listI
  213. \@listi
  214.  
  215. \def\@listii{\leftmargin\leftmarginii
  216.   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  217.   \parsep 1pt plus 0.5pt minus 0.5pt
  218.   \topsep 2pt plus 1pt minus 0.5pt
  219.   \itemsep \parsep}
  220. \def\@listiii{\leftmargin\leftmarginiii
  221.    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  222.    \parsep 0pt plus 1pt
  223.    \partopsep 0.5pt plus 0pt minus 0.5pt
  224.    \topsep 1pt plus 0.5pt minus 0.5pt
  225.    \itemsep \topsep}
  226. \def\@listiv{\leftmargin\leftmarginiv
  227.     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  228. \def\@listv{\leftmargin\leftmarginv
  229.     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  230. \def\@listvi{\leftmargin\leftmarginvi
  231.     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  232.  
  233. % We're never going to need a table of contents, so just flush it to
  234. % save space --- suggested by drstrip@sandia-2
  235. %\def\addcontentsline#1#2#3{}
  236.  
  237.  
  238. %%%% named.sty
  239.  
  240. \typeout{Named Citation Style, version of 30 November 1994}
  241.  
  242. % This file implements citations for the ``named'' bibliography style.
  243. %  Place it in a file called named.sty in the TeX search path.  (Placing it
  244. % in the same directory as the LaTeX document should also work.)
  245.  
  246. % Prepared by Peter F. Patel-Schneider, with the assistance of several,
  247. % since forgotten, LaTeX hackers.
  248. % This style is NOT guaranteed to work.  It is provided in the hope
  249. % that it will make the preparation of papers easier.
  250. %
  251. % There are undoubtably bugs in this style.  If you make bug fixes,
  252. % improvements, etc.  please let me know.  My e-mail address is:
  253. %       pfps@research.att.com
  254.  
  255. % The preparation of this file was supported by Schlumberger Palo Alto
  256. % Research and AT\&T Bell Laboratories.
  257.  
  258. % This file can be modified and used in other conferences as long
  259. % as credit to the authors and supporting agencies is retained, this notice
  260. % is not changed, and further modification or reuse is not restricted.
  261.  
  262. % The ``named'' bibliography style creates citations with labels like
  263. %       \citeauthoryear{author-info}{year}
  264. % these labels are processed by the following commands:
  265. %       \cite{keylist}
  266. %               which produces citations with both author and year,
  267. %               enclosed in square brackets
  268. %       \shortcite{keylist}
  269. %               which produces citations with year only,
  270. %               enclosed in square brackets
  271. %       \citeauthor{key}
  272. %               which produces the author information only
  273. %       \citeyear{key}
  274. %               which produces the year information only
  275.  
  276. \def\leftcite{\@up[}\def\rightcite{\@up]}
  277.  
  278. \def\cite{\def\citeauthoryear##1##2{\def\@thisauthor{##1}%
  279.              \ifx \@lastauthor \@thisauthor \relax \else##1, \fi ##2}\@icite}
  280. \def\shortcite{\def\citeauthoryear##1##2{##2}\@icite}
  281.  
  282. \def\citeauthor{\def\citeauthoryear##1##2{##1}\@nbcite}
  283. \def\citeyear{\def\citeauthoryear##1##2{##2}\@nbcite}
  284.  
  285. % internal macro for citations with [] and with breaks between citations
  286. % used in \cite and \shortcite
  287. \def\@icite{\leavevmode\def\@citeseppen{-1000}%
  288.  \def\@cite##1##2{\leftcite\nobreak\hskip 0in{##1\if@tempswa , ##2\fi}\rightcite}%
  289.  \@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}}
  290. % internal macro for citations without [] and with no breaks
  291. % used in \citeauthor and \citeyear
  292. \def\@nbcite{\leavevmode\def\@citeseppen{1000}%
  293.  \def\@cite##1##2{{##1\if@tempswa , ##2\fi}}%
  294.  \@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}}
  295.  
  296. % don't box citations, separate with ; and a space
  297. % also, make the penalty between citations a parameter,
  298. % it may be a good place to break
  299. \def\@citex[#1]#2{%
  300.   \def\@lastauthor{}\def\@citea{}%
  301.   \@cite{\@for\@citeb:=#2\do
  302.    {\@citea\def\@citea{;\penalty\@citeseppen\ }%
  303.      \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
  304.     \@ifundefined{b@\@citeb}{\def\@thisauthor{}{\bf ?}\@warning
  305.       {Citation `\@citeb' on page \thepage \space undefined}}%
  306.      {\csname b@\@citeb\endcsname}\let\@lastauthor\@thisauthor}}{#1}}
  307.  
  308. % raise the brackets in bibliography labels
  309. \def\@biblabel#1{\def\citeauthoryear##1##2{##1, ##2}\@up{[}#1\@up{]}\hfill}
  310.  
  311. \def\@up#1{\leavevmode\raise.2ex\hbox{#1}}
  312.  
  313. % Optional changes
  314.  
  315. %%%% use parentheses in the reference list and citations
  316. %\def\leftcite{(}\def\rightcite{)}
  317. %\def\@biblabel#1{\def\citeauthoryear##1##2{##1, ##2}(#1)\hfill}
  318.  
  319. %%%% no key in the reference list
  320. %\def\@lbibitem[#1]#2{\item\if@filesw
  321. %      { \def\protect##1{\string ##1\space}\immediate
  322. %        \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
  323. %\def\thebibliography#1{\section*{References\@mkboth
  324. %  {REFERENCES}{REFERENCES}}\list
  325. %  {}{\labelwidth 0pt\leftmargin\labelwidth \itemsep 0.5ex}
  326. %    \def\newblock{\hskip .11em plus .33em minus .07em}
  327. %    \sloppy\clubpenalty4000\widowpenalty4000
  328. %    \sfcode`\.=1000\relax}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement