-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbmd2023a.cls
executable file
·266 lines (235 loc) · 9.77 KB
/
bmd2023a.cls
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Class file for the abstract of the Bicycle and Motercycle Dynamics
%% Conference 2023, 18-20 September, Delft University of Technology.
%% Jason K. Moore & Chrisopth Schmidt 20230110 revision
%% Ben Smith 10092015 REV 2018 by UNIPD team
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bmd2023a}[2023/01/10 BMD2023 abstract class]
\ProcessOptions\relax
\DeclareOption{11pt}{\OptionNotUsed}
\DeclareOption{12pt}{\OptionNotUsed}
\DeclareOption{twocolumn}{\OptionNotUsed}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
\LoadClass[10pt,a4paper,twoside]{article}
%\RequirePackage[latin1]{inputenc} % for unix users
\RequirePackage[ansinew]{inputenc} % for windows users
%\RequirePackage[aplemac]{inputenc} % for mac users
\RequirePackage{a4}
\RequirePackage{amsmath,amsfonts,amssymb,amsthm,amsbsy,amsmath}
\RequirePackage{bm}
\RequirePackage{engord}
\RequirePackage{epsfig,vmargin,booktabs}
\RequirePackage[T1]{fontenc}
\RequirePackage{graphicx}
\RequirePackage{latexsym}
\RequirePackage{natbib}
\RequirePackage{siunitx}
\RequirePackage{tabularx}
\RequirePackage{tikz}
\RequirePackage{times}
\RequirePackage{verbatim}
\setpapersize{A4} % needs vmargin package
%\setmarginsrb{left}{top}{right}{bottom}{headh1gt}{headsep}{foothgt}{footskip}
\setmarginsrb{12.7mm}{25mm}{12.7mm}{19mm}{18mm}{4mm}{6mm}{10mm}
% headsep: Distance from bottom of header to the body of text on a page.
% footskip: Distance from bottom of body to the bottom of the footer (the footer is the text at the bottom of each page).
\parindent=0pt
%\parskip0pc
\parskip=2ex
% variable definitions
\def\doi#1{\def\@doi{#1}}\newcommand{\printdoi}{\@doi}
\def\year#1{\def\@year{#1}}\newcommand{\printyear}{\@year}
\def\editor#1{\def\@editor{#1}}\newcommand{\printeditor}{\@editor}
\def\submitteddate#1{\def\@submitteddate{#1}}\newcommand{\printsubmitteddate}{\@submitteddate}
\def\accepteddate#1{\def\@accepteddate{#1}}\newcommand{\printaccepteddate}{\@accepteddate}
\def\publisheddate#1{\def\@publisheddate{#1}}\newcommand{\printpublisheddate}{\@publisheddate}
\def\citation#1{\def\@citation{#1}}\newcommand{\printcitation}{\@citation}
\def\authorfooter#1{\def\@authors{#1}}\newcommand{\printauthors}{\@authors}
\def\issn#1{\def\@issn{#1}}\newcommand{\printissn}{\@issn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The LABEL extensions for proofing. J. Kaipio, 4.4.1995
%% CAPTIONS FOR TABLES AND FIGURES
%%
%% There's a new logical variable \tablecap, which is
%% set \true by saying \tablecaptrue and \false by
%% \tablecapfalse. The variable is expanded by saying
%% \iftablecap. Then there are two separate \caption
%% macros: \tabcaption and \figcaption, the definition
%% of which are obvious. The \iftablecap is performed in
%% \@makecaption, which now contains two different
%% captioning styles.
%% J. Kaipio 3.10.1990.
\newif\iftablecap
\def\tabcaption#1{\tablecaptrue\caption{#1}}
\def\figcaption#1{\tablecapfalse\caption{#1}}
\newlength{\t@bindwidth} \setlength{\t@bindwidth}{1cm}
\newlength{\c@pwidth} \setlength{\c@pwidth}{\hsize}
\addtolength{\c@pwidth}{-2\t@bindwidth}
\long\def\@makecaption#1#2{
%\vskip 10pt
\vskip 0.5ex
\iftablecap % Is it a table?
\setbox\@tempboxa\hbox{#2}
\ifdim \wd\@tempboxa > \c@pwidth % IF longer than one line-2cm:
\hbox to\hsize{\hfil{\sc #1}\hfil}
\begin{list}{}{\leftmargin\t@bindwidth
\rightmargin\t@bindwidth}
{\item \footnotesize #2}
\end{list}
\else % ELSE center.
\hbox to\hsize{\hfil{\sc #1}\hfil}
\hbox to\hsize{\hfil{\footnotesize #2}\hfil}
\fi % of \ifdim
\else % Not a table: a picture
\setbox\@tempboxa\hbox{\small{\bf #1}. #2}
\ifdim \wd\@tempboxa >\c@pwidth % IF longer than one line-2cm:
\begin{list}{}{\leftmargin\t@bindwidth
\rightmargin\t@bindwidth}
{\small \item {\bf #1}. #2}
\end{list} % THEN set as ordinary paragraph.
\else % ELSE center.
\hbox to\hsize{\hfil\box\@tempboxa\hfil}
\fi % of \ifdim
\fi % of \if\tablecaptrue
} % \@makecaption
% End of \@makecaption modifications.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% MAKETITLE
%%
%% Overwriting \maketitle to prevent floats from slipping above a manually
%% created title
%%
%% CMS, 10.01.2023
%% Authorlist
%% Print comma-separated authorlist after calling
%% /addauthor{authorname}{affiliationID} multiple times
%% Adapted from: https://tex.stackexchange.com/a/231056 (11.01.2023)
\newcommand{\printlist}[2][,]{{% Print list
% http://tex.stackexchange.com/a/89187/5764
\def\listsep{\def\listsep{#1}}% Delayed execution of list separator
\renewcommand{\do}[1]{\listsep~##1}%
\dolistloop\authorlist}}
\newcommand{\addauthor}[2]{
\listadd{\authorlist}{#1~\textsuperscript{#2}}}
%% Affiliationlist
%% Print affiliations as a vertical list after calling
%% /addaffiliation{affiliationID}{affilationName}{EmailOrchidString}
%% multiple times
%% Adapted from: https://tex.stackexchange.com/a/47352 (11.01.2023)
\newcommand{\affiliationlist}{}
\newcommand{\addaffiliation}[3]{
\makeatletter
\expandafter\def\expandafter\affiliationlist\expandafter{\affiliationlist{}
\textsuperscript{#1}~#2;~#3\\}
\makeatother}
%% Overwrite maketitle
\renewcommand{\@maketitle}{%
\noindent\makebox[\linewidth]{\rule{\textwidth}{1.0pt}}
\begin{flushleft}
{\fontsize{9pt}{11pt}\selectfont%
% Do not edit.
Type of the Paper: Extended Abstract
}
\end{flushleft}
\begin{flushleft}
{\fontsize{18pt}{20pt}\selectfont%
% Replace with your paper title.
\@title
}
\end{flushleft}
\begin{flushleft}
{\fontsize{10}{12}\selectfont{
% Replace with your authors.
\printlist{\authorlist}
}\\}
\vspace{10pt}
{\fontsize{8pt}{10pt}\selectfont{
% Replace with your affiliations.
%\textsuperscript{1} Affiliation 1; email One; ORCID One (if applicable) \\
%\textsuperscript{2} Affiliation 2; email Two, ORCID Two (if applicable);
%email Three, ORCID Three (if applicable) \\
\affiliationlist
\textsuperscript{*} corresponding author
}}
\end{flushleft}
\noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
\begin{flushleft}
{\fontsize{8pt}{10pt}\selectfont{
Name of Editor: \printeditor \\
Submitted: \printsubmitteddate \\
Accepted: \printaccepteddate \\
Published: \printpublisheddate \\
Citation: \printcitation
}}
\end{flushleft}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% SECTIONS
\renewcommand\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus-.2ex}{0.2ex}{\normalsize\bf}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% My defs....
% \newcommand{\dd}[1]{\mbox{${\mathrm d}{#1}$}} % d
% \newcommand{\grad}{\operatorname{grad}}
% \newcommand{\dev}{\operatorname{dev}}
% \newcommand{\tr}{\operatorname{tr}}
% \newcommand{\ov}[1]{\mbox{$\bm{#1}$}} % vectors
% \newcommand{\om}[1]{\mbox{$\bm{#1}$}} % matrices
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\ps@plain}{%
\renewcommand{\@oddhead}{{\parbox[b]{\textwidth}{
\begin{minipage}{0.5\textwidth}
The Evolving Scholar (\printyear)
\end{minipage}
\begin{minipage}{0.5\textwidth}
\scriptsize%
\raggedleft http://dx.doi.org/\printdoi
\end{minipage}
\vspace{1mm}
\\
% logos are 1cm in height @ 300 ppi
\begin{minipage}{0.2\textwidth}
\includegraphics[height=1cm]{bmd2023-logo-256x118.png}
\end{minipage}
\begin{minipage}{0.2\textwidth}
\includegraphics[height=1cm]{tu-delft-open-logo-294x118.png}
\end{minipage}
\begin{minipage}{0.6\textwidth}
\scriptsize%
\raggedleft \textbf{Bicycle and Motorcycle Dynamics 2023\\%
Symposium on the Dynamics and Control of Single Track Vehicles\\%
18--20 October 2023, Delft University of Technology, The Netherlands}
\end{minipage}
\vspace{5mm}
}}}%
\renewcommand{\@evenhead}{{\hfill\parbox[b]{\textwidth}{
\begin{minipage}{0.5\textwidth}
Evolving Scholar (\printyear)
\end{minipage}
\begin{minipage}{0.5\textwidth}
\scriptsize%
\raggedleft http://dx.doi.org/\printdoi
\end{minipage}
\vspace{5mm}}}}%
\renewcommand{\@oddfoot}{{\parbox[b]{\textwidth}{
\scriptsize%
\copyright \printyear \hspace{1mm} \printauthors \hspace{1mm} published by TU Delft OPEN
on behalf of the authors.\\%
ISSN: \printissn
}}}%
\renewcommand{\@evenfoot}{{\parbox[b]{\textwidth}{
\scriptsize%
\raggedright
\copyright \printyear \hspace{1mm} \printauthors \hspace{1mm} published by TU Delft OPEN
on behalf of the authors.\\%
ISSN: \printissn
}}}%
}
\renewcommand{\baselinestretch}{0.91}
\AtBeginDocument{%
\pagestyle{plain}
}
\endinput