summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/ifac/automatica.tex
blob: 35c6735d705cc093ec5118bd0a25defd2c6ac193 (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
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
%%%%%%%%%%%%%%%%%%%%%%%%%%  automatica.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%                                                        %%%%%%%%%%%%%
%%%%%%%%%%   More information: see the header of automatica.sty   %%%%%%%%%%%%%
%%%%%%%%%%                                                        %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentstyle[twocolumn]{automatica}
\begin{document}
\title{Sample LaTeX Article with Style Files for
Automatica\thanks{This sample article has been created in 1992}}

\markboth{S. Balemi}{Sample \LaTeX\ article with style files for Automatica}

\head{\scriptsize{\em Automatica}\hfill
Sample file. \copyright 1993 Silvano Balemi}

\author{SILVANO BALEMI\thanks{
Automatic Control Laboratory, ETH-Zentrum, 
8092 Z\"urich, Switzerland. E-mail: balemi@aut.ee.ethz.ch}}

\shortabstract{This paper shows how to use the LaTeX style file
created for Automatica, the journal of the International Federation of
Automatic Control.}

\keywords{\LaTeX\  style files, bibliography style files, Automatica,
journal of the International Federation of Automatic Control (IFAC).}

\maketitle

\begin{abstract}
This article explains how to use a \LaTeX\ style that produces a good
approximation to the style used in the Automatica.
The article is itself an example of the {\tt automatica.sty} style in action.
\end{abstract}

\section{INTRODUCTION}
\noindent{\footnotesize\sc This paper }uses two style files created
for \LaTeX\ in order to format
an article as in Automatica, the journal of the
International Federation of Automatic Control.

The style file {\tt automatica.sty} is to be used in combination with
the substyles  
{\tt IFAC\-art9.sty}, {\tt IFAC\-art10.sty}, {\tt IFAC\-art12.sty}
and {\tt IFAC.bst}.  All these
files should be in a path known by \LaTeX. 

\subsection{Main Changes}
Input that is suitable for the \LaTeX\ {\tt article} style needs only
a couple of modifications besides changing the document style to {\tt
automatica}.  The \verb+IEEEtran.sty+ style file first has to be
selected with a command of the form
\begin{center}
\verb+\documentstyle[...]{automatica}+
\end{center}

The main differences with the usual article style file pertain to some
definitions in the title page.
\begin{itemize}
\item After the name of the author, go to the next line with 
 \verb+\\[2mm]+ for the address.
\item the syntax for keywords is  \verb+\keywords{...}+ 
\item the syntax for for the newly defined item
shortabstract is  \verb+\shortabstract{...}+ 
\item \verb+\maketitle+ comes after  title, keywords and shortabstract. 
\end{itemize}

Automatica papers do not include author affiliations below or beside
the name(s) of the author(s);  use \verb+\thanks{...}+ to list
addresses. 

The default font size is 10 points, and {\tt IFACart10.sty} will be
used; the only other fonts available are 9 and 12 points, which are
defined by {\tt IFACart9.sty} and {\tt IFACart12.sty} respectively.
The default page style has been redefined and is now set by  {\tt
automatica.sty}  to ``\verb+myheadings+''. 

\subsection*{Running headers}
The running heads can be set with the command
\verb+\markboth{leftTEXT}{rightTEXT}+. If the option {\tt twoside} is not
selected, both even and odd headers will display {\tt rightTEXT}
together with the page number.
The command \verb+\head{headTEXT}+ will put the string \verb+headTEXT+
on the header of the title page.


\begin{figure}
\begin{center}
\setlength{\unitlength}{0.0105in}%
\begin{picture}(242,150)(73,660)
\put( 75,660){\framebox(240,150){}}
\put(105,741){\vector( 0, 1){ 66}}
\put(105,675){\vector( 0, 1){ 57}}
\put( 96,759){\vector( 1, 0){204}}
\put(105,789){\line( 1, 0){ 90}}
\put(195,789){\line( 2,-1){ 90}}
\put(105,711){\line( 1, 0){ 60}}
\put(165,711){\line( 5,-3){ 60}}
\put(225,675){\line( 1, 0){ 72}}
\put( 96,714){\vector( 1, 0){204}}
\put( 99,720){\makebox(0,0)[rb]{\raisebox{0pt}[0pt][0pt]{\tenrm $\varphi$}}}
\put(291,747){\makebox(0,0)[lb]{\raisebox{0pt}[0pt][0pt]{\tenrm $\omega$}}}
\put(291,702){\makebox(0,0)[lb]{\raisebox{0pt}[0pt][0pt]{\tenrm $\omega$}}}
\put( 99,795){\makebox(0,0)[rb]{\raisebox{0pt}[0pt][0pt]{\tenrm $M$}}}
\end{picture}
\end{center}
\caption{This is a sample figure. The caption comes after the figure.}
\end{figure}
\nocite{TeX}

The captions for figures and tables have been modified; the caption of
the tables must come before the table. 

\begin{table}[hb]
\caption{The caption comes before the table.}
\begin{center}
\begin{tabular}{|c||c|c|}\hline
$\otimes$&0&1\\\hline\hline
0&0&1\\\hline
1&1&0\\\hline
\end{tabular}
\end{center}
\end{table}


The bibliography style file {\tt IFAC\-.bst} formats with BibTeX the
references from the bibliography file according to IFAC instructions.
It takes advantage of the definitions introduced by Peter Williams for
the family of harvard bibliography style files.  The references can be
cited with the usual syntax ({\em e.g.\ \/}\verb+\cite{LaTeX}+,
yielding the citation ``\cite{LaTeX}'') or with with a new command
({\em e.g.\ \/}\verb+\citeasnoun{LaTeX}+, yielding the citation
``\citeasnoun{LaTeX}''). The two commands support all original options
in the book of \citeasnoun{LaTeX}.

In figure \ref{figure2} we can see an example for the definition of
the title page and of the main commands needed.

\begin{figure}[htb]
\mbox{}\hrulefill
\vspace{-.3em}
\begin{verbatim}
\documentstyle[twocolumn]{automatica}
\begin{document}

\title{Sample LaTeX Article...}

\markboth{S. Balemi}{Sample ..}

\head{\scriptsize{\em Automatica}\hfill
Sample file. c 1993 Silvano Balemi}

\author{SILVANO BALEMI\thanks{
Automatic Control Laboratory,...}

\shortabstract{This paper ..}

\keywords{\LaTeX\ style files...}

\maketitle

\begin{abstract}
This article explains how to use ..
\end{abstract}

\section{INTRODUCTION}
\noindent
{\footnotesize\sc This paper }uses..

\bibliographystyle{IFAC}
\bibliography{bib-file}
\end{document}
\end{verbatim}
\vspace{-.6em}
\mbox{}\hrulefill
\caption{Input used to produce this paper.}
\label{figure2}
\end{figure}

\section{CONCLUSIONS}
A sample article for publication in  the IFAC Proceedings has been 
presented.  It uses  some \LaTeX\  style files  which format 
the article automatically according to IFAC instructions.

\nocite{*}
\bibliographystyle{IFAC}

%\bibliography{bib-file}  % commented if *.bbl file included, as seen below

%%%%%%%%%%%%%%%%% BIBLIOGRAPHY IN THE LaTeX file !!!!! %%%%%%%%%%%%%%%%%%%%%%%%
%% This is nothing else than the automatica.bbl file that you would          %%
%% obtain with BibTeX: this way, you do not need a separate *.bbl file       %%
%%---------------------------------------------------------------------------%%
\begin{thebibliography}{xx}
\harvarditem[Knuth]{Knuth}{1989}{TeX}
Knuth, D.  (1989). {\em The {\rm
  T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}book}. Addison-Wesley.
\harvarditem[Kopka]{Kopka}{1989}{LaTeXD}
Kopka, H.  (1989). {\em \LaTeX, eine Einf\"uhrung}. Addison-Wesley.
\harvarditem[Lamport]{Lamport}{1986}{LaTeX}
Lamport, L.  (1986). {\em A Document Preparation System: \LaTeX, User's Guide
  and Reference Manual}. Addison Wesley Publishing Company.
\end{thebibliography}
%
%%---------------------------------------------------------------------------%%

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%  End of automatica.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%