blob: 0d56e4345e25edcb15021b02f526ec8195115a7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{sibjnm}
[2005/01/11 v1.06 Article class for SibJNM (NCC)]
%
% \changes{v1.01}{2002/03/24}{This version is uploaded to CTAN}
% \changes{v1.02}{2004/04/08}{Fix bug with using russian option}
% \changes{v1.03}{2004/09/23}{In english mode load nccltrus instead of babel}
% \changes{v1.03}{2004/09/23}{Remove unnecessary \frenchspacing}
% \changes{v1.04}{2004/09/30}{Bug with omitted \@thanks fixed}
% \changes{v1.05}{2004/12/06}{Replace \NCC@null with \StartFromTextArea}
% \changes{v1.06}{2005/01/11}{Remove small, fleqn, and leqno options}
%
\DeclareOption{a5paper}{\OptionNotUsed}
\DeclareOption{a5a4paper}{\OptionNotUsed}
\DeclareOption{b5paper}{\OptionNotUsed}
\DeclareOption{letterpaper}{\OptionNotUsed}
\DeclareOption{legalpaper}{\OptionNotUsed}
\DeclareOption{executivepaper}{\OptionNotUsed}
\DeclareOption{fittopage}{\OptionNotUsed}
\DeclareOption{10pt}{\OptionNotUsed}
\DeclareOption{12pt}{\OptionNotUsed}
\DeclareOption{14pt}{\OptionNotUsed}
\DeclareOption{oneside}{\OptionNotUsed}
\DeclareOption{twocolumn}{\OptionNotUsed}
\DeclareOption{openbib}{\OptionNotUsed}
\DeclareOption{preprint}{\OptionNotUsed}
\DeclareOption{monography}{\OptionNotUsed}
\DeclareOption{report}{\OptionNotUsed}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ncc}}
\PassOptionsToClass{11pt,twoside,onecolumn,article,a4paper}{ncc}
\ProcessOptions\relax
\LoadClass{ncc}
%
% Text area size
%
\ToCenter[h]{155mm}{225mm}
%
% Change TeX parameters
%
\setlength\smallskipamount{2pt plus 1pt minus .5pt}
\setlength\medskipamount {4pt plus 1pt minus .5pt}
\setlength\bigskipamount {8pt plus 1pt minus .5pt}
\setlength\floatsep {12pt plus 1pt minus .5pt}
\setlength\textfloatsep {12pt plus 1pt minus .5pt}
\setlength\intextsep {\floatsep}
%
% Centered sections with indentation after them
%
\sectionstyle{center}
\indentaftersection
%
% Russian and English abstracts
%
\ifNCC@rus
\def\UDCname{{\cyr\CYRU\CYRD\CYRK}}
%
% Rabstract and Eabstract
%
\newenvironment{Rabstract}{\par\addvspace\bigskipamount
{\footnotesize\noindent \UDCname~\SJNM@UDC}\par\smallskip
\SJNM@abstr{\SJNM@Rname}%
}{\par\addvspace{1.5\bigskipamount}}
\newenvironment{Eabstract}{\par\addvspace\bigskipamount
\begin{otherlanguage*}{english}\SJNM@abstr{\SJNM@Ename}%
}{\par\end{otherlanguage*}%
\smallskip{\centering\rule\linewidth{.5pt}\par}%
\addvspace{1.5\bigskipamount}%
}
\else
\RequirePackage[russian,english]{nccltrus}
\def\UDCname{UDC}
%
% Rabstract and Eabstract
%
\newenvironment{Rabstract}{\par\addvspace\bigskipamount
{\footnotesize\noindent \UDCname~\SJNM@UDC}\par\smallskip
\begin{otherlanguage*}{russian}\SJNM@abstr{\SJNM@Rname}%
}{\par\end{otherlanguage*}%
\addvspace{1.5\bigskipamount}%
}
\newenvironment{Eabstract}{\par\addvspace\bigskipamount
\SJNM@abstr{\SJNM@Ename}%
}{\par\smallskip{\centering\rule\linewidth{.5pt}\par}%
\addvspace{1.5\bigskipamount}%
}
\fi
%
% \SJNM@Rname and \SJNM@Ename are brief journal titles used in abstracts.
% They are defined in the local definition file sibjnm.def.
%
\let\SJNM@Rname\@empty
\let\SJNM@Ename\@empty
\newcommand*\SJNM@abstr[3]{%
{\hbadness=4000 \pretolerance=1000 {\bf #2} #3~// #1\par}%
\bigskip\footnotesize
}
%
% UDC or AMS Subject Classification can be used in articles.
%
\newcommand*\UDC[1]{\def\SJNM@UDC{#1}}
\newcommand\AmSclassification{%
\def\UDCname{\AmS\ subject classification:\,}%
\let\AmSclassification\UDC
\UDC
}
%
% Redefine title making command
%
\def\@maketitle{%
\StartFromTextArea\vskip 2em \centering
{\LARGE\bff \@title \par} \vskip 1.5em
{\large\sf \lineskip .5em \pbox{\@author}\par}%
\@thanks
}
\RequirePackage[title,myheadings]{ncchdr}
\def\NCC@articlehead{\thispagestyle{title}}
%
% Defaults
%
\UDC{???}
\renewcommand{\headrulewidth}{\p@}
\renewcommand{\headstrutheight}{.2\normalbaselineskip}
\InputIfFileExists{sibjnm.def}{}{}% Load a file of local definitions
\endinput
|