llncs.cls
来自「phelix加密算法源代码,是一个开源的加密算法」· CLS 代码 · 共 1,016 行 · 第 1/3 页
CLS
1,016 行
\renewcommand\labelitemi{\normalfont\bfseries --}\renewcommand\labelitemii{$\m@th\bullet$}\setlength\arraycolsep{1.4\p@}\setlength\tabcolsep{1.4\p@}\def\tableofcontents{\chapter*{\contentsname\@mkboth{{\contentsname}}% {{\contentsname}}} \def\authcount##1{\setcounter{auco}{##1}\setcounter{@auth}{1}} \def\lastand{\ifnum\value{auco}=2\relax \unskip{} \andname\ \else \unskip \lastandname\ \fi}% \def\and{\stepcounter{@auth}\relax \ifnum\value{@auth}=\value{auco}% \lastand \else \unskip, \fi}% \@starttoc{toc}\if@restonecol\twocolumn\fi}\def\l@part#1#2{\addpenalty{\@secpenalty}% \addvspace{2em plus\p@}% % space above part line \begingroup \parindent \z@ \rightskip \z@ plus 5em \hrule\vskip5pt \large % same size as for a contribution heading \bfseries\boldmath % set line in boldface \leavevmode % TeX command to enter horizontal mode. #1\par \vskip5pt \hrule \vskip1pt \nobreak % Never break after part entry \endgroup}\def\@dotsep{2}\def\hyperhrefextend{\ifx\hyper@anchor\@undefined\else{chapter.\thechapter}\fi}\def\addnumcontentsmark#1#2#3{%\addtocontents{#1}{\protect\contentsline{#2}{\protect\numberline {\thechapter}#3}{\thepage}\hyperhrefextend}}\def\addcontentsmark#1#2#3{%\addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}\hyperhrefextend}}\def\addcontentsmarkwop#1#2#3{%\addtocontents{#1}{\protect\contentsline{#2}{#3}{0}\hyperhrefextend}}\def\@adcmk[#1]{\ifcase #1 \or\def\@gtempa{\addnumcontentsmark}% \or \def\@gtempa{\addcontentsmark}% \or \def\@gtempa{\addcontentsmarkwop}% \fi\@gtempa{toc}{chapter}}\def\addtocmark{\@ifnextchar[{\@adcmk}{\@adcmk[3]}}\def\l@chapter#1#2{\addpenalty{-\@highpenalty} \vskip 1.0em plus 1pt \@tempdima 1.5em \begingroup \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip {\large\bfseries\boldmath#1}\ifx0#2\hfil\null \else \nobreak \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}\hfill \nobreak\hbox to\@pnumwidth{\hss #2}% \fi\par \penalty\@highpenalty \endgroup}\def\l@title#1#2{\addpenalty{-\@highpenalty} \addvspace{8pt plus 1pt} \@tempdima \z@ \begingroup \parindent \z@ \rightskip \@tocrmarg \parfillskip -\@tocrmarg \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak \leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep mu$}\hfill \nobreak\hbox to\@pnumwidth{\hss #2}\par \penalty\@highpenalty \endgroup}\setcounter{tocdepth}{0}\newdimen\tocchpnum\newdimen\tocsecnum\newdimen\tocsectotal\newdimen\tocsubsecnum\newdimen\tocsubsectotal\newdimen\tocsubsubsecnum\newdimen\tocsubsubsectotal\newdimen\tocparanum\newdimen\tocparatotal\newdimen\tocsubparanum\tocchpnum=\z@ % no chapter numbers\tocsecnum=15\p@ % section 88. plus 2.222pt\tocsubsecnum=23\p@ % subsection 88.8 plus 2.222pt\tocsubsubsecnum=27\p@ % subsubsection 88.8.8 plus 1.444pt\tocparanum=35\p@ % paragraph 88.8.8.8 plus 1.666pt\tocsubparanum=43\p@ % subparagraph 88.8.8.8.8 plus 1.888pt\def\calctocindent{%\tocsectotal=\tocchpnum\advance\tocsectotal by\tocsecnum\tocsubsectotal=\tocsectotal\advance\tocsubsectotal by\tocsubsecnum\tocsubsubsectotal=\tocsubsectotal\advance\tocsubsubsectotal by\tocsubsubsecnum\tocparatotal=\tocsubsubsectotal\advance\tocparatotal by\tocparanum}\calctocindent\def\l@section{\@dottedtocline{1}{\tocchpnum}{\tocsecnum}}\def\l@subsection{\@dottedtocline{2}{\tocsectotal}{\tocsubsecnum}}\def\l@subsubsection{\@dottedtocline{3}{\tocsubsectotal}{\tocsubsubsecnum}}\def\l@paragraph{\@dottedtocline{4}{\tocsubsubsectotal}{\tocparanum}}\def\l@subparagraph{\@dottedtocline{5}{\tocparatotal}{\tocsubparanum}}\def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\section*{\listfigurename\@mkboth{{\listfigurename}}{{\listfigurename}}} \@starttoc{lof}\if@restonecol\twocolumn\fi}\def\l@figure{\@dottedtocline{1}{0em}{1.5em}}\def\listoftables{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn \fi\section*{\listtablename\@mkboth{{\listtablename}}{{\listtablename}}} \@starttoc{lot}\if@restonecol\twocolumn\fi}\let\l@table\l@figure\renewcommand\listoffigures{% \section*{\listfigurename \@mkboth{\listfigurename}{\listfigurename}}% \@starttoc{lof}% }\renewcommand\listoftables{% \section*{\listtablename \@mkboth{\listtablename}{\listtablename}}% \@starttoc{lot}% }\ifx\oribibl\undefined\ifx\citeauthoryear\undefined\renewenvironment{thebibliography}[1] {\section*{\refname} \def\@biblabel##1{##1.} \small \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \if@openbib \advance\leftmargin\bibindent \itemindent -\bibindent \listparindent \itemindent \parsep \z@ \fi \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \if@openbib \renewcommand\newblock{\par}% \else \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% \fi \sloppy\clubpenalty4000\widowpenalty4000% \sfcode`\.=\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist}\def\@lbibitem[#1]#2{\item[{[#1]}\hfill]\if@filesw {\let\protect\noexpand\immediate \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}\newcount\@tempcntc\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do {\@ifundefined {b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}% \ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne \@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}% \else \advance\@tempcntb\@ne \ifnum\@tempcntb=\@tempcntc \else\advance\@tempcntb\m@ne\@citeo \@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else \@citea\def\@citea{,\,\hskip\z@skip}% \ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else {\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi \advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}\else\renewenvironment{thebibliography}[1] {\section*{\refname} \small \list{}% {\settowidth\labelwidth{}% \leftmargin\parindent \itemindent=-\parindent \labelsep=\z@ \if@openbib \advance\leftmargin\bibindent \itemindent -\bibindent \listparindent \itemindent \parsep \z@ \fi \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{}}% \if@openbib \renewcommand\newblock{\par}% \else \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% \fi \sloppy\clubpenalty4000\widowpenalty4000% \sfcode`\.=\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} \def\@cite#1{#1}% \def\@lbibitem[#1]#2{\item[]\if@filesw {\def\protect##1{\string ##1\space}\immediate \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces} \fi\else\@cons\@openbib@code{\noexpand\small}\fi\def\idxquad{\hskip 10\p@}% space that divides entry from number\def\@idxitem{\par\hangindent 10\p@}\def\subitem{\par\setbox0=\hbox{--\enspace}% second order \noindent\hangindent\wd0\box0}% index entry\def\subsubitem{\par\setbox0=\hbox{--\,--\enspace}% third \noindent\hangindent\wd0\box0}% order index entry\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax}\renewenvironment{theindex} {\@mkboth{\indexname}{\indexname}% \thispagestyle{empty}\parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\par \def\,{\relax\ifmmode\mskip\thinmuskip \else\hskip0.2em\ignorespaces\fi}% \normalfont\small \begin{multicols}{2}[\@makeschapterhead{\indexname}]% } {\end{multicols}}\renewcommand\footnoterule{% \kern-3\p@ \hrule\@width 2truecm \kern2.6\p@} \newdimen\fnindent \fnindent1em\long\def\@makefntext#1{% \parindent \fnindent% \leftskip \fnindent% \noindent \llap{\hb@xt@1em{\hss\@makefnmark\ }}\ignorespaces#1}\long\def\@makecaption#1#2{% \vskip\abovecaptionskip \sbox\@tempboxa{{\bfseries #1.} #2}% \ifdim \wd\@tempboxa >\hsize {\bfseries #1.} #2\par \else \global \@minipagefalse \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip}\def\fps@figure{htbp}\def\fnum@figure{\figurename\thinspace\thefigure}\def \@floatboxreset {% \reset@font \small \@setnobreak \@setminipage}\def\fps@table{htbp}\def\fnum@table{\tablename~\thetable}\renewenvironment{table} {\setlength\abovecaptionskip{0\p@}% \setlength\belowcaptionskip{10\p@}% \@float{table}} {\end@float}\renewenvironment{table*} {\setlength\abovecaptionskip{0\p@}% \setlength\belowcaptionskip{10\p@}% \@dblfloat{table}} {\end@dblfloat}\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname ext@#1\endcsname}{#1}{\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}\begingroup \@parboxrestore \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par \endgroup}% LaTeX does not provide a command to enter the authors institute% addresses. The \institute command is defined here.\newcounter{@inst}\newcounter{@auth}\newcounter{auco}\def\andname{and}\def\lastandname{\unskip, and}\newdimen\instindent\newbox\authrun\newtoks\authorrunning\newtoks\tocauthor\newbox\titrun\newtoks\titlerunning\newtoks\toctitle\def\clearheadinfo{\gdef\@author{No Author Given}% \gdef\@title{No Title Given}% \gdef\@subtitle{}% \gdef\@institute{No Institute Given}% \gdef\@thanks{}% \global\titlerunning={}\global\authorrunning={}% \global\toctitle={}\global\tocauthor={}}\def\institute#1{\gdef\@institute{#1}}\def\institutename{\par \begingroup \parskip=\z@ \parindent=\z@ \setcounter{@inst}{1}% \def\and{\par\stepcounter{@inst}%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?