% Institute of Computing's logo
% Version 2006-09-23-121800 (slanted abacus, by Jorge Stolfi)
{ 
  \def\lastedit{2021-08-23 20:31:57 by stolfi}
  \typeout{logo-ic-2 \lastedit} 
}
 
\makeatletter
\advance\endlinechar by -256\relax

% Nominal logo dimensions (should match those of UNICAMP's logo!)
\def\iclogowidth{60pt}    % Nominal width of logo box, with or without name
\def\iclogoheight{65pt}   % Nominal height of logo box, with or without name

% Nominal dimensions of abacus only:
\def\icabacuswidth{\iclogowidth}  % Nominal width of IC abacus
\def\icabacusheight{50pt}         % Nominal height of IC abacus without name

% IC abacus in a tight-fitting box, without name
\def\icabacus{
  \hbox to \icabacuswidth{
    \hss
    \special{psfile=ic-logo-slant-line-wht-red-red-0242.eps voffset=-356 hoffset=-306}
    \vrule height \icabacusheight width 0pt
    \hss
  }
}

% IC logo in a standard-size box, top-aligned, without name
\def\iclogobare{
  \vbox to \iclogoheight{
    \offinterlineskip
    \hrule height 0pt width 0pt depth 0pt
    \icabacus
    \vss
  }
}

% Font for IC name below IC logo
\def\iclogofont{
  \fontfamily{cmss}\fontseries{bx}\fontshape{n}\fontsize{8pt}{8pt}\selectfont
}

% IC logo in a standard-size box, top-aligned, with name below
\def\iclogonamed{
  \vbox to \iclogoheight{
    \offinterlineskip
    \hrule height 0pt width 0pt depth 0pt
    \icabacus
    \hbox to \iclogowidth{
      \iclogofont INSTITUTO\hss DE\vphantom{ÇÃ}
    }
    \hbox to \iclogowidth{
      \iclogofont C\hss O\hss M\hss P\hss U\hss T\hss A\hss \c{C}\hss \~{A}O
    }
    \vss
  }
}

\advance\endlinechar by 256
\makeatother 
