\documentclass[11pt, a4paper]{article}

\usepackage{mititr18}


\begin{document}

\title{Author's guide to typesetting MITI 2018 abstract}
\author[1,2]{Mircea V. PETIC}
\author[2]{Adela F. GOREA}
\affil[1]{Institute of Mathematics and Computer Science, Chisinau, Republic of Moldova}
\affil[2]{Alecu Russo Balti State University, Balti, Republic of Moldova}
\date{}
\clearpage\maketitle
\thispagestyle{fancy}

\begin{center}
\texttt{petic.mircea@gmail.com, gorea.adela@gmail.com}
\end{center}

\vspace{5mm}
\thanks{Here you can specify the information about the grant, in which the study was performed.}


\begin{abstract}
\noindent
The text of the abstract can be preceded by a brief annotation, if necessary.\\
Please do not exceed 50 words.
\end{abstract}

\vspace{5mm}
This document is the author's guide for the preparation of abstracts of MITI conference and at the same time it is a typesetting example. For the typesetting of texts with a lot of equations there are many \LaTeX{} commands, it is not possible to describe them all in this guide. The examples, given in this guide, will be enough for the typesetting of the text, without complicated mathematical equations. Descriptions of user-level packages, listed at the end of the manual, can be useful.

\paragraph{Abstract preparation.}

For abstracts in English, Russian or Romanian use the following archive: \texttt{miti2018.zip}.

The text of the abstract is typeset in the file \texttt{miti2018.tex}, the text volume must be 1 or 2 \emph{full} pages (pages must be fully filled with text). If necessary, custom images can be added to the project. Information about every author is given after the abstract text, is not limited and will be published at the conference website. While writing the abstract, it is useful to compile the file periodically to see the result. 

\paragraph{Paragraphs.}

Structured document is easier to read and understand. Text can be easily structured with \emph{paragraphs}. New and/or important words can be \emph{emphasized with italic font}. To start a new paragraph, an empty line is used.


\paragraph{Lists.}

\emph{Enumerated} and \emph{itemized} lists should be used where possible. Lists, as well as tables, help to structure the information.
\begin{enumerate}
  \item Example of enumerated list.
  \item Nesting lists deeper than two or three levels
  \begin{enumerate}
    \item is not recommended.
  \end{enumerate}
\end{enumerate}

\begin{itemize}
  \item Example of itemized list.
\end{itemize}

\paragraph{Mathematical formulas.}

Mathematical formulas in \LaTeX{} can be typeset in two modes: inline and between paragraphs. Example of inline formulas: $x \in X$, $X = \{\alpha, \beta, \gamma, \dots, \omega\}$; $(a \le b) \wedge (b \le c) \Rightarrow a \le c$. To typeset mathematical formulas between paragraphs several environments exist (see manuals to packages 
\textcolor{blue}{amsmath}).

For a single formula, the \texttt{equation} environment can be used:
\begin{equation}
  \sqrt[4]{\left(\frac{a+b}{a-b}\right)^6} =
    \sqrt{\frac{a^3 + 3a^2b + 3ab^2 + b^3}{a^3 - 3a^2b + 3ab^2 - b^3}}, \qquad
  f(x,y,z,t,\alpha) \xrightarrow[x,y,z,t]{\alpha} \max.
\end{equation}

For several formulas in a row, authors can use \texttt{gather} environment
\begin{gather}
  (a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3,\\
  (a+b+c)^2 = a^2 + b^2 + c^2 + 2ab + 2ac + 2bc.
\end{gather}
or \texttt{align} environment:
\begin{align}
  (a+b)^3 &= a^3 + 3a^2b + 3ab^2 + b^3,\\
  (a+b+c)^2 &= a^2 + b^2 + c^2 + 2ab + 2ac + 2bc.
\end{align}

For wide formulas that do not fit in a single line, authors can use environments \texttt{multlined} or \texttt{aligned} inside \texttt{equation}, \texttt{gather} or \texttt{align}:
\begin{equation}
  \begin{aligned}
    (a+b+c)^2 + (d+e+f)^2 + (g+h+i)^2 =
      a^2 + b^2 + c^2 + 2ab + 2ac + 2bc +{}\\
			{} + d^2 + e^2 + f^2 + 2de + 2df + 2ef +
      g^2 + h^2 + i^2 + 2gh + 2gi + 2hi.
  \end{aligned}
\end{equation}

To turn off equation numbering, corresponding star forms of environments exist: \texttt{equation*}, \texttt{gather*}, \texttt{align*}.

For matrices there exist environments \texttt{pmatrix}, \texttt{bmatrix}, \texttt{vmatrix}, and others:
\begin{equation*}
  A = \begin{pmatrix}
      a_{11} & a_{12}\\ a_{21} & a_{22}
    \end{pmatrix},\quad
  B = \begin{bmatrix}
      b_{11} & \cdots & b_{1n}\\
      \vdots & \ddots & \vdots\\
      b_{21} & \cdots & b_{22}
    \end{bmatrix},\quad
  \Delta = \begin{vmatrix}
      c_{11} & c_{12}\\ c_{21} & c_{22}
    \end{vmatrix},\quad
  \Gamma = \left\{\begin{matrix}
      \gamma_{11} & \gamma_{12}\\ \gamma_{21} & \gamma_{22}
    \end{matrix}\right\}.
\end{equation*}

For curly braces ``if--then'' \texttt{cases} and \texttt{dcases} environments are used (notice the difference between them):
\begin{equation*}
  f(x) = \begin{cases}
    \int_0^{\infty}\varphi(x,t)\,dt, & x \le 0,\\
    \varphi(x,0) & \text{in other cases},
  \end{cases}\qquad
  g(x) = \begin{cases}
    \int_0^{\infty}\psi(x,t)\,dt, & x \le 0,\\
    \psi(x,0), & \text{otherwise}.
  \end{cases}
\end{equation*}

\paragraph{Theorems and definitions.}

To typeset theorems, lemmas, statements, definitions, and corollaries, special environments should be used. Each theorem or lemma can be numbered or not numbered. Optional argument of the environment allows to explicit state the notion described or theorems and lemmas authors.

\begin{definition}
  Text of the definition.
\end{definition}

\begin{definition*}
  Definition without a number.
\end{definition*}

\begin{statement}
  Text of the statement.
\end{statement}

\begin{statement*}
  Text of the statement.
\end{statement*}

\begin{lemma}
  Text of the lemma.
\end{lemma}

\begin{lemma*}
  Lemma without a number.
\end{lemma*}

\begin{theorem}
  Text of the theorem.
\end{theorem}

\begin{theorem*}[Ivanov--Petrov, 2010]
\label{Ivanov--Petrov, 2010}
  Theorem without a number.
\end{theorem*}

\begin{corollary}[sufficiency]
\label{sufficiency}
  Text of the corollary.
\end{corollary}

\begin{corollary*}
  Corollary without a number.
\end{corollary*}


\paragraph{Tables.}

\begin{wraptable}{r}{0.3\textwidth}
  \caption{Example of table on the side of the text}
  \begin{tabularx}{0.3\textwidth}{|X|c|c|c|c|c|}
    \hline
    \thead*{X} & \thead*{A} & \thead*{B} & \thead*{C} & \thead*{D} & \thead*{E}\\
    \hline
    Row & 1 & 2 & 3 & 4 & 5\\
    \hline
  \end{tabularx}
\end{wraptable}

Tables allow to present numeric and textual information compactly and clearly. Like figures, tables can be placed between paragraphs as well as on the side of the text. To typeset tables inside the \texttt{table} environment, authors can use environments \texttt{tabular} or \texttt{tabularx} (see manuals to packages \textcolor{blue}{makecell}, \textcolor{blue}{tabularx}, \textcolor{blue}{multirow}).

\begin{table}[h]\centering
  \caption{Example of wide table placed between text paragraphs}
  \begin{tabular}{|c|c|c|}
    \hline
    \thead*{Column 1} & \thead*{Column 2} & \thead*{Column 3}\\
    \hline
    \makecell{While typesetting tables,} &
    \makecell{authors can use\\commands from} &
    \makecell{\texttt{makecell}, \texttt{tabularx}, \texttt{multirow}.}\\
    \hline
  \end{tabular}
\end{table}


\paragraph{Figures.}

Diagrams, charts and sensible illustrations facilitate the understanding of the text. It is allowed to use both vector (PDF), and raster images (PNG, JPG, GIF), although the vector images should be preferred.

\begin{wrapfigure}{l}{0.3\textwidth}\centering
\includegraphics[width=0.2\textwidth]{Logo_CMI_an}
\caption{Example of small image on the side of the text}
\end{wrapfigure}

Broad figures should be placed between text paragraphs, narrow and small look good on the side of the text. Note that if the figure is on the side of the text, the 
\texttt{wrapfigure} environment should be placed \emph{before} the paragraph.

\LaTeX{} uses a special algorithm to place figures and tables which are typeset between paragraphs, so these figures and tables can ``float'' on the page and can appear in the place other than the author expected them to be in. This is not a bug, but a rule of ``floating'' objects laying out.

Files with figures must be located in the same folder as the abstract file. In the abstract text image file names are specified without extensions (.pdf, .png, etc.).

Vector graphics is preferred over raster, because vector images look good on any scale. 

\begin{figure}[h]\centering
  \includegraphics[width=0.4\textwidth]{Logo_CMI_an}
  \caption{Example of vector image floating between paragraphs}
\end{figure}


\paragraph{Combining tables and figures.}

If possible, it is better to place the figures and tables at the side of the text, this saves page space and allows to fit more text. If that can't be achieved, you can place in one row several figures (fig.~\ref{fig:1of2figs},\,\ref{fig:2of2figs}), figures and tables (fig.~\ref{fig:figtab}, table~\ref{tab:figtab}), or several tables (tables \ref{tab:1of2tabs},\,\ref{tab:2of2tabs}). Both figures and tables can be referenced in the text by adding the label to the header of the image.

\begin{figure}\centering
\begin{minipage}[b]{0.45\textwidth}%
\includegraphics[width=0.9\textwidth]{Logo_CMI_an}%
\caption{First figure\label{fig:1of2figs}}%
\end{minipage}
\qquad
\begin{minipage}[b]{0.45\textwidth}%
\includegraphics[width=0.9\textwidth]{Logo_CMI_an}%
\caption{Second figure\label{fig:2of2figs}}%
\end{minipage}
\end{figure}

\begin{figure}\centering
\begin{minipage}[c]{0.3\textwidth}%
\includegraphics[width=\textwidth]{Logo_CMI_an}%
\caption{Figure near the table\label{fig:figtab}}%
\end{minipage}
\qquad
\begin{minipage}[c]{0.3\textwidth}%
\caption{Table near the figure\label{tab:figtab}}
\begin{tabularx}{\textwidth}{|X|c|c|c|c|c|}
  \hline
  \thead*{X} & \thead*{A} & \thead*{B} & \thead*{C} & \thead*{D} & \thead*{E}\\
  \hline
  Row & 1 & 2 & 3 & 4 & 5\\
  \hline
\end{tabularx}
\end{minipage}
\end{figure}

\begin{table}[h]\centering
\begin{minipage}[t]{0.3\textwidth}%
\caption{First table\label{tab:1of2tabs}}
\begin{tabularx}{\textwidth}{|X|c|c|c|c|c|}
  \hline
  \thead*{X} & \thead*{A} & \thead*{B} & \thead*{C} & \thead*{D} & \thead*{E}\\
  \hline
  Row & 1 & 2 & 3 & 4 & 5\\
  \hline
\end{tabularx}
\end{minipage}
\qquad
\begin{minipage}[t]{0.35\textwidth}%
\caption{Second table\label{tab:2of2tabs}}
\begin{tabularx}{\textwidth}{|X|c|c|c|c|c|}
  \hline
  \thead*{Y} & \thead*{F} & \thead*{G} & \thead*{H} & \thead*{I} & \thead*{J}\\
  \hline
  Row 1 & 6 & 7 & 8 & 9 & 10\\\hline
  Row 2 & 11 & 12 & 13 & 14 & 15\\\hline
\end{tabularx}
\end{minipage}
\end{table}


\paragraph{Programming code.}

Programming code fragment example:
\begin{verbatim}
@verbatim_environment_is
def ined():
  for typesett in g:
    program_code(in.any['programming'].language)
\end{verbatim}


\paragraph{Miscellaneous.}

Hyperlinks can be included in the text, e.g. \url{miti.usarb.md}. Footnotes can also be used\footnote{The footnote text is placed at the bottom of the page.}.


\paragraph{Additional packages.}

Commands from the following packages are available to authors:
Mathematical symbols and formulas ---
\texttt{amsmath},
\texttt{amssymb},
\texttt{mathrsfs},
\texttt{textcomp},
\texttt{tipa};
figures and tables ---
\texttt{array},
\texttt{graphicx},
\texttt{makecell},
\texttt{multirow},
\texttt{subcaption},
\texttt{tabularx},
\texttt{wrapfig}.


\paragraph{Typesetting bibliography citations.}

Each bibliography entry should have a reference in the text of abstract. An example of putting the reference to the bibliography: \cite{1, 2, 3}.


\begin{thebibliography}{}
\bibitem{1} The bibliography may contain from 1 to 10 entries.
\bibitem{2} APA or IEEE bibliography styles may be used.
\bibitem{3} APA, \url{en.wikipedia.org/wiki/APA_style}.
\bibitem{4} IEEE, \url{www.ieee.org/documents/ieeecitationref.pdf}.
\end{thebibliography}


\end{document}
