[392] | 1 | % SVJour DOCUMENT CLASS OPTION EPJ -- The European Physical Journal |
---|
| 2 | % |
---|
| 3 | % This is an enhancement for the |
---|
| 4 | % LaTeX document class for Springer journals (two column version) |
---|
| 5 | % |
---|
| 6 | %% |
---|
| 7 | %% |
---|
| 8 | %% \CharacterTable |
---|
| 9 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
---|
| 10 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
---|
| 11 | %% Digits \0\1\2\3\4\5\6\7\8\9 |
---|
| 12 | %% Exclamation \! Double quote \" Hash (number) \# |
---|
| 13 | %% Dollar \$ Percent \% Ampersand \& |
---|
| 14 | %% Acute accent \' Left paren \( Right paren \) |
---|
| 15 | %% Asterisk \* Plus \+ Comma \, |
---|
| 16 | %% Minus \- Point \. Solidus \/ |
---|
| 17 | %% Colon \: Semicolon \; Less than \< |
---|
| 18 | %% Equals \= Greater than \> Question mark \? |
---|
| 19 | %% Commercial at \@ Left bracket \[ Backslash \\ |
---|
| 20 | %% Right bracket \] Circumflex \^ Underscore \_ |
---|
| 21 | %% Grave accent \` Left brace \{ Vertical bar \| |
---|
| 22 | %% Right brace \} Tilde \~} |
---|
| 23 | \ProvidesFile{svepj.clo} |
---|
| 24 | [2002/03/11 v1.2 |
---|
| 25 | style option for The European Physical Journal] |
---|
| 26 | \typeout{SVJour Class option: svepj.clo for The European Physical Journal} |
---|
| 27 | \DeclareOption{leqno}{\input{leqno.clo}} |
---|
| 28 | \let\if@nopacs\iffalse |
---|
| 29 | \DeclareOption{nopacs}{\let\if@nopacs\iftrue} |
---|
| 30 | \ExecuteOptions{final,twocolumn,10pt} |
---|
| 31 | \newif\if@normhead \@normheadtrue |
---|
| 32 | \def\hugehead{\@normheadfalse |
---|
| 33 | \let\ProcessRunnHead=\relax |
---|
| 34 | \onecolumn |
---|
| 35 | \let\thanks=\footnote |
---|
| 36 | \long\def\@makefntext##1{\parindent\bibindent |
---|
| 37 | \columnwidth\textwidth |
---|
| 38 | \advance\columnwidth -\columnsep |
---|
| 39 | \divide\columnwidth\tw@ |
---|
| 40 | \hsize\columnwidth |
---|
| 41 | \linewidth\columnwidth |
---|
| 42 | \noindent\hbox to\parindent{\hss\@makefnmark\enspace}##1}% |
---|
| 43 | } |
---|
| 44 | \let\if@mathematic\iffalse |
---|
| 45 | % No size changing allowed, hence a copy of size10.clo is included |
---|
| 46 | \renewcommand\normalsize{% |
---|
| 47 | \@setfontsize\normalsize\@xpt{10.5dd}% |
---|
| 48 | \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ |
---|
| 49 | \abovedisplayshortskip \z@ \@plus3\p@ |
---|
| 50 | \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ |
---|
| 51 | \belowdisplayskip \abovedisplayskip |
---|
| 52 | \let\@listi\@listI} |
---|
| 53 | \normalsize |
---|
| 54 | \newcommand\small{% |
---|
| 55 | \@setfontsize\small\@ixpt{10dd}% |
---|
| 56 | \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ |
---|
| 57 | \abovedisplayshortskip \z@ \@plus2\p@ |
---|
| 58 | \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
---|
| 59 | \def\@listi{\leftmargin\leftmargini |
---|
| 60 | \parsep 0\p@ \@plus1\p@ \@minus\p@ |
---|
| 61 | \topsep 8\p@ \@plus2\p@ \@minus4\p@ |
---|
| 62 | \itemsep0\p@}% |
---|
| 63 | \belowdisplayskip \abovedisplayskip |
---|
| 64 | } |
---|
| 65 | \let\footnotesize\small |
---|
| 66 | \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} |
---|
| 67 | \newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt} |
---|
| 68 | \newcommand\large{\@setfontsize\large\@xiipt{13dd}} |
---|
| 69 | \newcommand\Large{\@setfontsize\Large\@xivpt{15dd}} |
---|
| 70 | \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{17dd}} |
---|
| 71 | \newcommand\huge{\@setfontsize\huge\@xxpt{25}} |
---|
| 72 | \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}} |
---|
| 73 | % |
---|
| 74 | \setlength{\textwidth}{180mm} |
---|
| 75 | \setlength{\textheight}{56pc} |
---|
| 76 | % |
---|
| 77 | \def\epj@maketitle{\par |
---|
| 78 | \ch@ckobl{journalname}{Noname} |
---|
| 79 | \ch@ckobl{date}{the date of receipt and acceptance should be inserted |
---|
| 80 | later} |
---|
| 81 | \ch@ckobl{title}{A title should be given} |
---|
| 82 | \ch@ckobl{author}{Name(s) and initial(s) of author(s) should be given} |
---|
| 83 | \ch@ckobl{institute}{Address(es) of author(s) should be given} |
---|
| 84 | \ch@ckobl{abstract}{Abstract is missing.} |
---|
| 85 | \begingroup |
---|
| 86 | % |
---|
| 87 | \renewcommand\thefootnote{\@fnsymbol\c@footnote}% |
---|
| 88 | \def\@makefnmark{$^{\@thefnmark}$}% |
---|
| 89 | \def\switch@fnmark{\def\thefootnote{\mathrm{\alph{footnote}}}} |
---|
| 90 | % |
---|
| 91 | \def\lastand{\ifnum\value{inst}=2\relax |
---|
| 92 | \unskip{} \andname\ |
---|
| 93 | \else |
---|
| 94 | \unskip, \andname\ |
---|
| 95 | \fi}% |
---|
| 96 | \def\and{\stepcounter{auth}\relax |
---|
| 97 | \if@smartand |
---|
| 98 | \ifnum\value{auth}=\value{inst}% |
---|
| 99 | \lastand |
---|
| 100 | \else |
---|
| 101 | \unskip, |
---|
| 102 | \fi |
---|
| 103 | \else |
---|
| 104 | \unskip, |
---|
| 105 | \fi}% |
---|
| 106 | \thispagestyle{empty} |
---|
| 107 | \ifnum \col@number=\@ne |
---|
| 108 | \@maketitle |
---|
| 109 | \else |
---|
| 110 | \twocolumn[\@maketitle]% |
---|
| 111 | \fi |
---|
| 112 | \global\@topnum\z@ |
---|
| 113 | \if@normhead |
---|
| 114 | \@thanks |
---|
| 115 | \else |
---|
| 116 | \twocolumn[\vspace{\@tempdima}] |
---|
| 117 | \addtocounter{page}{-1} |
---|
| 118 | \if!\the\authorrunning! |
---|
| 119 | \authorrunning{ }% |
---|
| 120 | \fi |
---|
| 121 | \fi |
---|
| 122 | \if!\@mail!\else |
---|
| 123 | \footnotetext[0]{\kern-\bibindent\mailname\ |
---|
| 124 | \ignorespaces\@mail}% |
---|
| 125 | \fi |
---|
| 126 | % |
---|
| 127 | \if@runhead |
---|
| 128 | \ProcessRunnHead |
---|
| 129 | \fi |
---|
| 130 | % |
---|
| 131 | \endgroup |
---|
| 132 | \setcounter{footnote}{0} |
---|
| 133 | \global\let\thanks\relax |
---|
| 134 | \global\let\maketitle\relax |
---|
| 135 | \global\let\@maketitle\relax |
---|
| 136 | \global\let\@thanks\@empty |
---|
| 137 | \global\let\@author\@empty |
---|
| 138 | \global\let\@date\@empty |
---|
| 139 | \global\let\@title\@empty |
---|
| 140 | \global\let\@subtitle\@empty |
---|
| 141 | \global\let\title\relax |
---|
| 142 | \global\let\author\relax |
---|
| 143 | \global\let\date\relax |
---|
| 144 | \global\let\and\relax} |
---|
| 145 | % |
---|
| 146 | \def\epj@@maketitle{\newpage |
---|
| 147 | \normalfont |
---|
| 148 | \vbox to0pt{\vskip-40pt |
---|
| 149 | \nointerlineskip |
---|
| 150 | \makeheadbox\vss}\nointerlineskip |
---|
| 151 | \if@normhead |
---|
| 152 | \setbox\authrun=\vbox\bgroup |
---|
| 153 | \fi |
---|
| 154 | {\LARGE \sffamily\bfseries |
---|
| 155 | \hrule\@height\logodepth\@width\z@ |
---|
| 156 | \pretolerance=10000 |
---|
| 157 | \rightskip=0pt plus 4cm |
---|
| 158 | \if!\@headnote!\else |
---|
| 159 | \noindent |
---|
| 160 | {\LARGE\normalfont\itshape\ignorespaces\@headnote\par}\vskip 3.5mm |
---|
| 161 | \fi |
---|
| 162 | \noindent\ignorespaces |
---|
| 163 | \@title \par}\vskip 11.24pt\relax |
---|
| 164 | \authorfont |
---|
| 165 | \if!\@subtitle!\else |
---|
| 166 | {\large\sffamily\bfseries |
---|
| 167 | \pretolerance=10000 |
---|
| 168 | \rightskip=0pt plus 3cm |
---|
| 169 | \noindent\ignorespaces\@subtitle \par}\vskip 11.24pt |
---|
| 170 | \fi |
---|
| 171 | \lineskip .5em |
---|
| 172 | \switch@fnmark |
---|
| 173 | \def\@makefnmark{$^{\mathrm\@thefnmark}$}% |
---|
| 174 | \protected@xdef\@thanks{\@thanks\protect\switch@fnmark}% |
---|
| 175 | \setbox0=\vbox{\setcounter{auth}{1}\def\and{\stepcounter{auth} }% |
---|
| 176 | \hfuzz=2\textwidth\def\thanks##1{}\@author}% |
---|
| 177 | \setcounter{footnote}{0}% |
---|
| 178 | \value{inst}=\value{auth}% |
---|
| 179 | \setcounter{auth}{1}% |
---|
| 180 | \rightskip=0pt plus 2cm |
---|
| 181 | \noindent\ignorespaces\@author\vskip7.23pt |
---|
| 182 | \rightskip=0pt\relax |
---|
| 183 | \small\rm |
---|
| 184 | \institutename |
---|
| 185 | \vskip 12.85pt |
---|
| 186 | \leftskip=1.5cm\rightskip=\leftskip |
---|
| 187 | \noindent\@date |
---|
| 188 | \if!\@dedic!\else |
---|
| 189 | \par |
---|
| 190 | \normalsize\it |
---|
| 191 | \addvspace\baselineskip |
---|
| 192 | \noindent\@dedic |
---|
| 193 | \fi |
---|
| 194 | \vskip 12.85pt |
---|
| 195 | {\topsep=0pt\partopsep=0pt\parsep=0pt\itemsep=0pt\relax |
---|
| 196 | \def\pacsstart##1##2{##1\hskip5pt plus2ptminus2pt##2}% |
---|
| 197 | \def\and##1##2{\unskip\ -- ##1\hskip5pt plus2ptminus2pt##2}% |
---|
| 198 | \trivlist\item[\hskip\labelsep |
---|
| 199 | {\sffamily\bfseries\abstractname}]% |
---|
| 200 | \leftskip=1.5cm\rightskip=\leftskip |
---|
| 201 | \@abstract |
---|
| 202 | \if@nopacs\else |
---|
| 203 | \ch@ckobl{PACS}{{XX.XX.XX}{No PACS code given}}% |
---|
| 204 | \@@PACS |
---|
| 205 | \fi |
---|
| 206 | \endtrivlist}% |
---|
| 207 | \if@normhead |
---|
| 208 | \egroup % end of header box |
---|
| 209 | \@tempdima=\headerboxheight |
---|
| 210 | \advance\@tempdima by-\ht\authrun |
---|
| 211 | \ifdim\@tempdima>0pt |
---|
| 212 | \vrule width0pt height\@tempdima |
---|
| 213 | \fi |
---|
| 214 | \unvbox\authrun |
---|
| 215 | \global\@minipagetrue |
---|
| 216 | \global\everypar{\global\@minipagefalse\global\everypar{}} |
---|
| 217 | \else |
---|
| 218 | \typeout{\the\c@auth\space author names and} |
---|
| 219 | \typeout{\the\c@inst\space institutes processed} |
---|
| 220 | \global\@tempdima=\pagetotal |
---|
| 221 | \global\advance\@tempdima by22.47pt |
---|
| 222 | \fi |
---|
| 223 | \vskip22.47pt |
---|
| 224 | } |
---|
| 225 | % |
---|
| 226 | \def\PACS#1{\gdef\@PACS{#1}} |
---|
| 227 | \def\@@PACS{\par\addvspace\baselineskip\noindent{\sffamily\bfseries |
---|
| 228 | PACS.\enspace}\ignorespaces\expandafter\pacsstart\@PACS\par} |
---|
| 229 | % |
---|
| 230 | \def\epjabstract#1{\gdef\@abstract{#1}} |
---|
| 231 | % |
---|
| 232 | \def\epjrunnhead{% |
---|
| 233 | \def\\{\unskip\ \ignorespaces}\def\inst##1{\unskip{}}% |
---|
| 234 | \def\thanks##1{\unskip{}}\def\fnmsep{\unskip}% |
---|
| 235 | \instindent=\textwidth |
---|
| 236 | \advance\instindent by-\headlineindent |
---|
| 237 | \if!\the\titlerunning!\else |
---|
| 238 | \edef\@title{\the\titlerunning}% |
---|
| 239 | \fi |
---|
| 240 | \global\setbox\titrun=\hbox{\small\rm\ignorespaces\@title}% |
---|
| 241 | \ifdim\wd\titrun>\instindent |
---|
| 242 | \typeout{^^JSVJour Warning: Title too long for running head.}% |
---|
| 243 | \typeout{Please supply a shorter form with \string\titlerunning |
---|
| 244 | \space prior to \string\maketitle}% |
---|
| 245 | \global\setbox\titrun=\hbox{\small\rm |
---|
| 246 | Title Suppressed Due to Excessive Length}% |
---|
| 247 | \fi |
---|
| 248 | \xdef\@title{\copy\titrun}% |
---|
| 249 | % |
---|
| 250 | \if!\the\authorrunning! |
---|
| 251 | \else |
---|
| 252 | \setcounter{auth}{1}% |
---|
| 253 | \edef\@author{\the\authorrunning}% |
---|
| 254 | \fi |
---|
| 255 | \ifnum\value{auth}>2 |
---|
| 256 | \def\stripauthor##1\and##2\endauthor{% |
---|
| 257 | \protected@xdef\@author{##1\unskip\unskip\if!##2!\else\ et al.\fi}}% |
---|
| 258 | \expandafter\stripauthor\@author\and\endauthor |
---|
| 259 | \else |
---|
| 260 | \gdef\and{\unskip, \ignorespaces}% |
---|
| 261 | {\def\and{\noexpand\protect\noexpand\and}% |
---|
| 262 | \protected@xdef\@author{\@author}} |
---|
| 263 | \fi |
---|
| 264 | \global\setbox\authrun=\hbox{\small\ignorespaces |
---|
| 265 | \@author\unskip: \unhbox\titrun}% |
---|
| 266 | \ifdim\wd\authrun>\instindent |
---|
| 267 | \typeout{^^JSVJour Warning: The running head built automatically from |
---|
| 268 | \string\author\space and \string\title |
---|
| 269 | ^^Jexceeds the pagewidth, please supply a shorter form |
---|
| 270 | ^^Jwith \string\authorrunning\space and |
---|
| 271 | \string\titlerunning\space prior to \string\maketitle}% |
---|
| 272 | \global\setbox\authrun=\hbox{\small\rm Please give a shorter version |
---|
| 273 | with: {\tt\string\authorrunning\space and |
---|
| 274 | \string\titlerunning\space prior to \string\maketitle}}% |
---|
| 275 | \fi |
---|
| 276 | \xdef\@author{\copy\authrun}% |
---|
| 277 | \markboth{\@author}{\@author}% |
---|
| 278 | } |
---|
| 279 | % |
---|
| 280 | \AtEndOfClass{\let\ackname\@empty |
---|
| 281 | \let\if@runhead\iftrue |
---|
| 282 | \let\if@smartand\iftrue |
---|
| 283 | \let\@maketitle=\epj@@maketitle |
---|
| 284 | \let\maketitle=\epj@maketitle |
---|
| 285 | \let\ProcessRunnHead=\epjrunnhead |
---|
| 286 | \let\abstract=\epjabstract |
---|
| 287 | \def\@evenhead{\small\rlap{\thepage}\hfil\leftmark\hfil}% |
---|
| 288 | \def\@oddhead{\small\hfil\rightmark\hfil\llap{\thepage}}% |
---|
| 289 | \def\sectcounterend{} |
---|
| 290 | \setlength\columnsep{4mm} |
---|
| 291 | \def\section{\@startsection{section}{1}{\z@}% |
---|
| 292 | {-21dd plus-4pt minus-4pt}{10.5dd plus 4pt |
---|
| 293 | minus4pt}{\large\sffamily\bfseries}} |
---|
| 294 | \def\subsection{\@startsection{subsection}{2}{\z@}% |
---|
| 295 | {-21dd plus-4pt minus-4pt}{10.5dd plus 4pt |
---|
| 296 | minus4pt}{\normalsize\sffamily\bfseries}} |
---|
| 297 | \def\subsubsection{\@startsection{subsubsection}{3}{\z@}% |
---|
| 298 | {-21dd plus-4pt minus-4pt}{10.5dd plus 4pt |
---|
| 299 | minus4pt}{\normalsize\sffamily}} |
---|
| 300 | \def\paragraph{\@startsection{subsubsection}{4}{\z@}% |
---|
| 301 | {-21dd plus-4pt minus-4pt}{-1pt}{\normalsize\sffamily\bfseries}} |
---|
| 302 | \def\authorfont{\rmfamily} |
---|
| 303 | \def\leftlegendglue{\hfil} |
---|
| 304 | \journalname{EPJ}} |
---|
| 305 | %% |
---|
| 306 | %% End of copy of file `svepj.clo'. |
---|
| 307 | \endinput |
---|