%%% This file implements the UniOvi logo in TikZ/PGF.
%
%%% The calling command is \Uniovi
%
%%% In order to use it, just put the following commands in the LaTeX preamble, i.e. before the \begin{document}.
%%% You will need the following packages:
%%% \usepackage{tikz}
%%% \usetikzlibrary{calc}   % this is needed in order to be able to do coordinate calculations
%%% \usetikzlibrary{topaths}
%%% \usetikzlibrary{decorations}
%%% \usetikzlibrary{decorations.pathmorphing}
%
% (c) P. Meessen, 12/03/2010
%
%%%% The UniOvi logo
%
\newcommand{\Uniovi}{
\tikz[scale=.14,
   Uniovi/.style={color=gray, fill=gray} 
   %%%  color=green!51!blue :: UNIOVI-green in xcolor params.
 ] {
 \fill[Uniovi] (0,0) circle (10);
 \fill[white] (0,7) circle (1.5);
 \draw[Uniovi] (-2,7.5) rectangle (2,5.5);
 \fill[white] (-0.3,6.6) rectangle (0.3,0);   % 1.7 cm 
 \fill[white] ( -0.9,6.2) rectangle (.9 ,5.6);
 \fill[white] (-1.4, 5.2) rectangle (1.4, 4.6);
 \fill[white] (0,0) ellipse (3.5 and 4);
 \fill[Uniovi] (-2.5,0.3) rectangle (2.5,-0.3);
 \fill[Uniovi] (-2,2.3) rectangle (2,1.7);
 \fill[Uniovi] (-2,-2.3) rectangle (2,-1.7);
 \fill[white] (-4.5,5.5) rectangle (-2.7,4.9);
 \fill[white] (-3.9,6.1) rectangle (-3.3,4.3);
 \fill[white] (4.5,5.5) rectangle (2.7,4.9);
 \fill[white] (3.9,6.1) rectangle (3.3,4.3);
 \foreach \x in { 0,..., 3 }
   \foreach \y in { 0,...,\x}
    {
     \fill[white] (-6-\x*0.7+\y*1.4,3.5-\x *1.97) -- (-5.6-\x*0.7+\y*1.4,2.4-\x *1.97) -- (-6.4-\x*0.7+\y*1.4,2.4-\x *1.97) -- cycle;
     \fill[white] (6-\x*0.7+\y*1.4,3.5-\x *1.97) -- (5.6-\x*0.7+\y*1.4,2.4-\x *1.97) -- (6.4-\x*0.7+\y*1.4,2.4-\x *1.97) -- cycle;
   };
 \draw (0,-6) node[
                               text centered, 
                               color=white, 
                               font={\fontsize{10}{4}\sffamily\selectfont}
                             ] {HEP Theory};
}
} %%% The command \Uniovi