-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprentcsmacro.sty
131 lines (115 loc) · 5.32 KB
/
prentcsmacro.sty
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
125
126
127
128
129
130
131
% Macro file for Electronic Notes in Theoretical Computer Science.
% Adopted from document-style for journals published by Elsevier Science.
% To be used with LaTeX version 2.09 of 14 January 1992 (or later)
%
% Version: 1.10
% Date: 13 February 1998
%
% Copyright (C) 1998. All rights reserved.
%
% IMPORTANT NOTICE:
%
% You are not allowed to change this file. You may however copy this file
% to a file with a different name and then change the copy.
%
% You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED
% to take money for the distribution or use of this file (or a changed
% version) except for a nominal charge for copying etc.
%
% You are allowed to distribute this file under the condition that it is
% distributed together with all files mentioned in readme.els.
%
% If you receive only some of these files from someone, complain!
%
%
\headheight 10pt
\headsep 20pt
\footskip 20pt
\setlength{\topmargin}{-30pt}
\addtolength{\textheight}{25pt}
\def\labelenumi{\rm\normalshape (\theenumi)}
\def\labelenumii{\rm\normalshape (\theenumii)}
\font\eightrm=cmr8 scaled\magstep1
\font\eightbf=cmbx8 scaled\magstep1
\font\eighttt=cmtt8 scaled\magstep1
\font\eightit=cmsl10
\font\sixrm=cmr6 scaled\magstep1
\font\bfone=cmbx10 scaled\magstep2
\font\smc=cmcsc10 scaled\magstep1
\font\sc=cmcsc10
\def\date{\ifcase\month\or January\or February \or March\or April\or May
\or June\or July\or August\or September\or October\or November
\or December\fi\space\number\day, \number\year}
\volume{MFPS}
\def\volu{MFPS}
\journal{Electronic Notes in Theoretical Computer Science}
\def\jour{Electronic Notes in Theoretical Computer Science}
\def\vol{MFPS}
\def\rightheadline{\ifnum\value{page}=\hypergetpageref{FirstPage}\firstheadline
\else\hfill\sc\lastname\hfill\fi}
\def\leftheadline{\hfill\sc\lastname\hfill}
\def\firstheadline{\vbox{\baselineskip=10pt \parindent 0pt \obeylines
\eightrm\hfill MFPS 2017\hfill\break}}
\def\firstfootline{\vbox{\baselineskip=10pt \parindent 0pt \obeylines
\vspace{.1in}\centerline{\eightit
This paper is electronically published in} \centerline{\eightit
Electronic Notes in Theoretical Computer Science}
\centerline{\eightit URL: {\eighttt
www.elsevier.nl/locate/entcs}}}}
\pagestyle{headings}
% THE NEXT LINES GIVE DEFINITIONS FOR THE THEOREM ENVIRONMENTS.
% EACH IS VIEWED AS A theorem environment IN THE SENSE OF LaTeX.
% THEIR NAMES ARE: Theorem, Proposition, Lemma, Corollary, Proposition,
% Criterion, Definition, Conjecture, Example, Problem, Remark,
% Summary, and Acknowledgement. ALSO INCLUDED WITHIN encs.sty ARE THE
% ENVIRONMENTS Note, Claim and Case UNDER THEIR OWN NAMES, AND THE
% ENVIRONMENT Algorithm UNDER THE NAME alg; FOR THIS USE
% \begin{alg} text \end{alg}.
% TYPE \begin{name} text \end{name} AS USUAL FOR ENVIRONMENTS IN LaTeX.
% THE ENVIRONMENT name IS NUMBERED WITHIN section. E.G. THE FIRST 'Name'
% IN SECTION 1 IS NUMBERED 'Name 1.1'
\newenvironment{theorem}{\vspace{-\lastskip}\par\addvspace{.6pc plus
.2pc minus .1pc}\begin{thm}}{\end{thm}\par\addvspace{.6pc plus
.2pc minus .1pc}} \newenvironment{lemma}{\vspace{-\lastskip}\par
\addvspace{.6pc plus .2pc minus .1pc}\begin{lem}}
{\end{lem}\par\addvspace{.6pc plus .2pc minus .1pc}}
\newenvironment{corollary}{\vspace{-\lastskip}\par \addvspace{.6pc
plus .2pc minus .1pc}\begin{cor}}{\end{cor}\par\addvspace{.6pc
plus .2pc minus .1pc}}
\newenvironment{proposition}{\vspace{-\lastskip}\par \addvspace{.6pc
plus .2pc minus .1pc}\begin{prop}}{\end{prop}\par\addvspace{.6pc
plus .2pc minus .1pc}}
\newenvironment{criterion}{\vspace{-\lastskip}\par \addvspace{.6pc
plus .2pc minus .1pc} \begin{crit}}{\end{crit}\par\addvspace{.6pc
plus .2pc minus .1pc}}
\newenvironment{definition}{\vspace{-\lastskip}\par \addvspace{.6pc
plus .2pc minus
.1pc}\begin{defn}\rm}{\end{defn}\par\addvspace{.6pc plus .2pc
minus .1pc}}
\newenvironment{conjecture}{\vspace{-\lastskip}\par \addvspace{.6pc
plus .2pc minus .1pc}\begin{conj}}{\end{conj}\par\addvspace{.6pc
plus .2pc minus .1pc}}
\newenvironment{example}{\vspace{-\lastskip}\par \addvspace{.6pc plus
.2pc minus .1pc}\begin{exmp}\rm}{\end{exmp}\par\addvspace{.6pc
plus .2pc minus .1pc}}
\newenvironment{problem}{\vspace{-\lastskip}\par \addvspace{.6pc plus
.2pc minus .1pc}\begin{prob}}{\end{prob}\par\addvspace{.6pc plus
.2pc minus .1pc}} \newenvironment{remark}{\vspace{-\lastskip}\par
\addvspace{.6pc plus .2pc minus .1pc}\begin{rem}\rm}
{\end{rem}\par\addvspace{.6pc plus .2pc minus .1pc}}
\newenvironment{summary}{\vspace{-\lastskip}\par \addvspace{.6pc plus
.2pc minus .1pc}\begin{summ}}{\end{summ}\par\addvspace{.6pc plus
.2pc minus .1pc}}
\newenvironment{acknowledgement}{\vspace{-\lastskip}\par\addvspace{.6pc
plus .2pc minus .1pc}\begin{ack}}{\end{ack}\par\addvspace{.6pc
plus .2pc minus .1pc}}
\newenvironment{exercise}{\begin{trivlist}\item[\hskip%
\labelsep{\bf Exercise.}]}%
{\end{trivlist}}
%% THE ENVIRONMENT \begin{proof} ... \end{proof} PRODUCES AN
%% END-OF-PROOF SIGN.
\newenvironment{proof}{\begin{pf}}{\qed\end{pf}}
%% THE ENVIRONMENT \begin{proof*} ... \end{proof*} SUPPORTS ADDING
%% INFORMATION SUCH AS 'Proof (Sketch)' AS THE LABEL FOR THE PROOF.
\newenvironment{proof*}{\begin{pf*}}{\qed\end{pf*}}
%% END OF `entcsmacro.sty'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%