% Instructions for authors.
%
% Please prepare your abstract by only altering the parts following the
% "Beginning of document" comment that you find below. Do not change any
% commands in the header, and please refrain from including additional
% packages.
\documentclass[11pt,final,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{microtype}
\usepackage{authblk}
\usepackage{titling}

\evensidemargin 0.5cm
\oddsidemargin 0.5cm
\textwidth 15cm

% Mathematics
\usepackage{amsmath,amsthm,amssymb}
\usepackage{mathtools}

% Tables
\usepackage{booktabs,multirow}

% Figures
\usepackage{graphics,graphicx}
\usepackage{epstopdf}

% Hyperlinks
\usepackage[dvipsnames]{xcolor}
\usepackage{hyperref}
\hypersetup{colorlinks,urlcolor=RoyalBlue,citecolor=Magenta,linkcolor=RoyalBlue}
\usepackage{url}

% Code
\usepackage{verbatim}


% Logo with grid on white background.
\usepackage{tikz}
\newcommand{\drawsquare}[1][black]{%
  \draw[draw=#1,thick] (0,0) -- (7,0) -- (7,7) -- (0,7) -- (0,0);
  \ifdefined\plotgrid
  \foreach \y in {1,...,8}
  \draw[color=blue!30,thin] (0,\y) -- (7,\y);
  \foreach \y in {1,...,6}
  \draw[color=blue!30,thin] (\y,0) -- (\y,7);
  \fi}
\newcommand{\drawlogo}{%
  \parbox{4.7cm}{
    \centering
    \begin{tikzpicture}[scale=0.14]
      \def\maa{0.7};\def\mab{0.7};\def\mba{0};\def\mbb{1};
      \def\ca{green!30!blue!80};\def\cb{red!50!blue!80};\def\cc{white};\def\b{5.5};
      \begin{scope}[shift={(0,0)},cm={\maa,\mab,\mba,\mbb,(0,0)}]
        \drawsquare
        \filldraw[fill=\ca,draw=black,thick] (1,1) -- (2,1) -- (2,5) -- (3.5,3.5) -- (5,5) -- (5,1) -- (6,1) -- (6,6) -- (5,6) -- (3.5,4.5) -- (2,6) -- (1,6) -- cycle;
        %
      \end{scope}
      \begin{scope}[shift={(\b,0)},cm={\maa,\mab,\mba,\mbb,(0,0)}]
        \drawsquare
        \filldraw[fill=\ca,draw=black,thick] (1,1) -- (6,1) -- (6,2) -- (2,2) -- (2,3) -- (4,3) -- (4,4) -- (2,4) -- (2,5) -- (6,5) -- (6,6) -- (1,6) -- cycle;
        %
      \end{scope}
      \begin{scope}[shift={(2*\b,0)},cm={\maa,\mab,\mba,\mbb,(0,0)}]
        \drawsquare
        \filldraw[fill=\ca,draw=black,thick] (3,1) -- (4,1) -- (4,5) -- (6,5) -- (6,6) -- (1,6) -- (1,5) -- (3,5) -- (3,1) -- cycle;
        %
      \end{scope}
      \begin{scope}[shift={(3*\b,0)},cm={\maa,\mab,\mba,\mbb,(0,0)}]
        \drawsquare
        \filldraw[fill=\ca,draw=black,thick] (3,1) -- (4,1) -- (4,5) -- (6,5) -- (6,6) -- (1,6) -- (1,5) -- (3,5) -- (3,1) -- cycle;
        %
      \end{scope}
      \begin{scope}[shift={(4*\b,0)},cm={\maa,\mab,\mba,\mbb,(0,0)}]
        \drawsquare
        \filldraw[fill=\cb,draw=black,thick] (1.5,1) -- (5.5,1) -- (5.5,2) -- (4,2) -- (4,5) -- (5.5,5) -- (5.5,6) -- (1.5,6) -- (1.5,5) -- (3,5) -- (3,2) -- (1.5,2) -- cycle;
        %
      \end{scope}
      \begin{scope}[shift={(5*\b,0)},cm={\maa,\mab,\mba,\mbb,(0,0)}]
        \drawsquare
        \filldraw[fill=\cb,draw=black,thick] (1,1) -- (2,1) -- (3.5,3) -- (5,1) -- (6,1) -- (4,3.5) -- (6,6) -- (5,6) -- (3.5,4) -- (2,6) -- (1,6) -- (3,3.5) -- cycle;
        %
      \end{scope}
    \end{tikzpicture}\\[1ex]
    {\tiny
      Matrix Equations and Tensor Techniques IX\\[-2ex]
      Perugia, September 9-10, 2021
    }
  }
}

\setlength{\droptitle}{-8em}
\pretitle{{\begin{flushright}\drawlogo\end{flushright}\bigskip}%
  \begin{center}\LARGE\bfseries\sffamily}
\posttitle{\end{center}}
\date{}
\predate{}
\postdate{}
\renewcommand*{\Authsep}{\qquad}
\renewcommand*{\Authand}{\qquad}
\renewcommand*{\Authands}{\qquad}
\newcommand{\presenter}[1]{\author{\emph{#1}}}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Beginning of document. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\pagenumbering{gobble}

% TITLE goes here.
\title{Title of contribution}

% AUTHORS go here. Use:
% * \presenter{} for the name of the author presenting this work at the conference;
% * \author{} for all other authors.
\author{Contributing Author}
\presenter{Presenting Author}
\author{Yet Another Contributing Author}

% AFFILIATION OF PRESENTER goes here.
\affil{School/Department, University, Address, City}

\maketitle

% ABSTRACT goes here.
% Please write an extended abstract of your presentation, no longer than two pages.
% The abstract should be a descriptive and detailed summary of your presentation.
% The book of abstracts will circulate among the conference participants.

The abstract of your presentation. You can reference entries in the
bibliography~\cite{label:1}, use numbered environments
\begin{equation}
  \label{eq:1}
  AX + XB = C,
\end{equation}
and reference them~\eqref{eq:1}. You can also use URLs: \url{www.example.com}.

% BIBLIOGRAPHY goes here
% Please use the following style
% Journal paper: Name (abbreviated) Surname, \textit{Title of the paper}, Journal (abbreviated), (year), pp. pages.
% Book: Name(s) (abbreviated) Suraname(s), \textit{Title of the book}, Editor, Town, Year.
% Book chapter/Proceedings: Name(s) (abbreviated) Suraname(s), \textit{Title of the book chapter/proceedings paper}, Editor, Town, Year.
\small
\begin{thebibliography}{10}
\bibitem{label:1} A. Uthor, B. Uthor, C. Uthor, \textit{Title of the paper}, Linear Algebra Appl., (2021) pp. 796-797.
\bibitem{label:2} A. Uthor, \textit{Title of the Book in Title Case}, SIAM, Philadelphia, 2021.
\bibitem{label:3} A. Uthor, \textit{Title of book chapter/proceedings paper}, in Name of the Book/Proceedings, SIAM, Philadelphia, 2021.
\end{thebibliography}

\end{document}