File: estyle.sty

package info (click to toggle)
eprover 2.6%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,288 kB
  • sloc: ansic: 331,111; csh: 12,026; python: 10,178; awk: 5,825; makefile: 461; sh: 389
file content (145 lines) | stat: -rw-r--r-- 3,314 bytes parent folder | download | duplicates (2)
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
%%%%%%%%%%%%%%%%%%%%%%%% Start of File %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% File   : estyle.sty
%
% Author : Stephan Schulz
%
% This file contains general definitions for my papers and thesis.
%
% Changes: <1> 20.09.1994 dipstyle.sty
%          <2> 15.10.1997 Moved to disstyle.sty
%          <3> Tue Feb  2 17:25:35 MET 1999 Added some stuff, changed
%              to stsstyle.sty
%          <4> Added some stuff, renamed to estyle.sty
%
%


\typeout{estyle.sty - Handy macros for term rewriting and beautiful definitions}
\typeout{Written 1997,1998,1999 by Stephan Schulz}

\usepackage{theorem}
\usepackage{amssymb}
\usepackage{amsmath}
%\usepackage{epsfig}
\usepackage{afterpage}

\bibliographystyle{alpha}

%%%%%%%%%%%%%%% Define Theorem - Environments %%%%%%%%%%%%%
% Theoremstyle


\newenvironment{example}%
{\smallskip
 \begin{description}
 \item{\it Example:}
}%
{\end{description}
 \noindent
}

\newenvironment{corollary}%
{\smallskip
 \begin{description}
 \item{\it Corollary:}
}%
{\end{description}
 \noindent
}

\theoremstyle{break}
\theoremheaderfont{\bfseries}
\theorembodyfont{\rmfamily}
\newtheorem{definition}{Definition}[section]

\newtheorem{theorem}{Theorem}[section]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Redefinitons dealing with figures...I don't want them to float to
% much, taking almost ANYTHING else into account!

\renewcommand{\textfraction}{.1}
\renewcommand{\topfraction}{.9}

%%%%%%%%%%%%%%%%%%%%%% Global definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%

\DeclareMathAlphabet{\mathsfbf}{OT1}{cmss}{bx}{n}

\newcommand{\syntaxrule}[2]{\medskip{\noindent \quad \tt #1 ::= #2;;}}
\newcommand{\mmback}{\mbox{$\backslash \! \! \backslash$}}

% Continous math words in mathematical and normal mode
\newcommand{\nat}{\ensuremath{\mathbb N}}
\newcommand{\mw}[1]{\ensuremath{\mathit{#1}}}
\newcommand{\eqn}[2]{\ensuremath{#1\!\simeq\!#2}}
\newcommand{\neqn}[2]{\ensuremath{#1\!\not\simeq\!#2}}
\newcommand{\ueqn}[2]{\ensuremath{#1\dot{\simeq}#2}}
\newcommand{\eeqn}[2]{\ensuremath{#1 =_{\mbox{\tiny E}} #2$}}
\newcommand{\eequal}{\mbox{$=_{\mbox{\tiny E}}$}}
\newcommand{\doteqn}[2]{\mbox{$#1 \doteq #2$}}
\newcommand{\rle}[2]{\mbox{$#1\! \! \rightarrow \! \! #2$}}
\newcommand{\eqnrule}[2]{\mbox{$#1 \! \simeq \! #2$}}
\newcommand{\N}{\ensuremath{\mathsfbf N}}
\newcommand{\Reals}{\ensuremath{\mathsfbf R}}
\newcommand{\E}{\mbox{\tt E}}
\newcommand{\R}{\mbox{\tt R}}
\newcommand{\CP}{\mbox{\tt CP}}
\newcommand{\expr}[1]{\mbox{\tt <expr$_{#1}$>}}
\newcommand{\ttbrace}[1]{\mbox{\tt <#1>}}
\newcommand{\relation}[1]{\mbox{$\vdash \! \dashv_{\mbox{\tiny #1}}$}}

\newcommand{\GInferenz}[3]
{
\begin{tabular}{c}
$#1$ \\
\hline
\raisebox{-0.4ex}{$#2$} \\
\end{tabular}
%\hspace{2.0ex}
\hfill  %
\begin{minipage}{11.0em}
  \small
#3
\end{minipage}
\vspace{1.0ex}
}

\newcommand{\CInferenz}[3]
{
\begin{tabular}{c}
$#1$ \\
\hline
\hline
\raisebox{-0.4ex}{$#2$} \\
\end{tabular}
%\hspace{2.0ex}
\hfill  %
\begin{minipage}{12.0em}
  \small
#3
\end{minipage}
\vspace{1.0ex}
}

\newcommand{\CInferenzFoot}[3]
{
\begin{tabular}{c}
$#1$ \\
\hline
\hline
\raisebox{-0.4ex}{$#2$} \\
\end{tabular}
%\hspace{2.0ex}
\hfill  %
\begin{minipage}{17.0em}
  \small
#3
\end{minipage}\phantom{aaa}
\vspace{1.0ex}
}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "eprover"
%%% End: