forked from attilafdr/robonaut_paper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAUTstyle.sty
207 lines (167 loc) · 6.63 KB
/
AUTstyle.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
%%*********************************************************************************************
%% AUTstyle.sty 2010.06.10 version v2.0
%%
%% This is the official AUT LaTeX style file for authors of the
%% Proc. of Automation and Applied Computer Science Workshop
%%
%% The latest version of the style file can be obtained
%% at www.aut.bme.hu/aacs
%%
%% NOTE:
%% use \makeAutStyleTitle command instead of \maketitle command
%% use \author and \title commands for providing author and title information
%% use \headerAuthor and \headerTitle commands for providing the short form of the author and title information
%% that will appear on the header of the pages
%% use \email command for providing the e-mails of the authors
%% use \institution command for providing information about the author's institution
%% use \makeAutBib for creating bibliography, the input of the command are the comma separated file names of the bib files
%% use the theorem environments defined in this style file
%**********************************************************************************************
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{exscale}
\usepackage[mathscr]{eucal}
\usepackage{bm}
\usepackage{eqlist} % Makes for a nice list of symbols.
\usepackage{graphicx}
\usepackage[dvipsnames]{color}
\usepackage{algorithm}
\usepackage[noend]{algorithmic}
\usepackage{multicol} % a kethasabos elrendezesert, ami nehol kell
\usepackage{setspace}
\usepackage{fancyhdr}
\usepackage{makeidx}
\usepackage{multind}
\usepackage{ifthen}
\usepackage{rotfloat}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{esint}
\usepackage{ifpdf}
\usepackage{comment}
\usepackage{amsthm}
\usepackage{fancyvrb,relsize} %better verbatim block
\usepackage{dsfont}
\usepackage{float}
\usepackage{array}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{subfig}
\usepackage{caption}
\usepackage{coolstr}
\usepackage{url}
\newcommand\keysize{\@setfontsize\keysize\@ixpt\@xpt}
%%******************************************************************************************
%% HEADER and FOOTER
%%******************************************************************************************
\newcommand{\headerTitle}[1]{\gdef\@headerTitle{#1}}
\newcommand{\headerAuthor}[1]{\gdef\@headerAuthor{#1}}
\newcommand{\AUTheader}
{
\fancyhead[LO,RE]{\@headerAuthor}
\fancyhead[LE,RO]{\@headerTitle}
\fancyhead[CE,CO]{}
}
\newcommand{\AUTfooter}{
\fancyfoot{}
}
%%******************************************************************************************
%% PAGE LAYOUT SETTINGS
%%******************************************************************************************
\pagestyle{fancy}
\fancyhf{}
\AUTheader
\AUTfooter
\voffset -0.65in
\textheight 7.65in
\headsep 0.15in
\setlength{\oddsidemargin}{0.25in}
\setlength{\evensidemargin}{0in}
%%******************************************************************************************
%% COUNTERS
%%******************************************************************************************
\newcommand{\autInitializeCounters}{
\setcounter{theorem}{0}
\setcounter{algorithm}{0}
}
%%******************************************************************************************
%% TITLE AND AUTHOR INFORMATION SETTINGS
%%******************************************************************************************
\def\@date{}
\def\email#1{\gdef\@email{#1}}
\def\institution#1{\gdef\@institution{#1}}
\newcommand\makeAutStyleTitle{\cleardoublepage \thispagestyle{plain}\vbox{\hsize\textwidth
\linewidth\hsize \vfil \centering
\vspace*{0.15in}
{\LARGE\bf \@title \par}% % Title set in \LARGE size.
\vskip 20pt % Vertical space after title.
{\large \begin{tabular}[t]{c}\@author \end{tabular}\par}%
\vskip 2pt % Vertical space after authors.
{\it \@institution \par}
\vskip 2pt % Vertical space after institution.
{\begin{tabular}[t]{c}\@email\end{tabular} \par}
\vskip 32pt}
\thispagestyle{empty}
}
%%******************************************************************************************
%% ABSTRACT ENVIRONMENT
%%******************************************************************************************
\renewenvironment{abstract}
{\keysize\normalfont\rmfamily
\list{}{\leftmargin \z@ \rightmargin\leftmargin
\parsep \z@ \@plus 1\p@ \listparindent\parindent}%
\item[]{\normalfont\bfseries Abstract.}\enskip\ignorespaces}
{\endlist}
%%******************************************************************************************
%% KEYWORD ENVIRONMENT
%%******************************************************************************************
\newenvironment{keywords}
{\keysize\normalfont\rmfamily
\list{}{\leftmargin \z@ \rightmargin\leftmargin
\parsep \z@ \@plus 1\p@}%
\item[]{\normalfont\bfseries Keywords:}\enskip\ignorespaces}
{\endlist}
%%******************************************************************************************
%% WIDOW AND ORPHAN CONTROL
%%******************************************************************************************
\clubpenalty 10000 \widowpenalty 10000
%%******************************************************************************************
%% THEOREM ENVIRONMENTS
%%******************************************************************************************
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{cor}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{conj}[theorem]{Conjecture}
\newtheorem{fact}[theorem]{Fact}
\newtheorem{hypo}[theorem]{Hypothesis}
\newtheorem{assumption}[theorem]{Assumption}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{crit}[theorem]{Criterion}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{prin}[theorem]{Principle}
\newtheorem{alg}{Algorithm}
%%******************************************************************************************
%% REFERENCING COMMANDS
%%******************************************************************************************
\renewcommand{\figurename}{Figure}
\renewcommand{\tablename}{Table}
\newcommand{\equationname}{Eq.}
\newcommand{\sectionname}{Section}
%%******************************************************************************************
%% Bibliography
%%******************************************************************************************
\newcommand\makeAutBib[1]{
\bibliographystyle{ieeetr}
\bibliography{#1}
}