%%\tracingstats=2

%%\renewcommand{\baselinestretch}{1.7}
%\usepackage{doublespace}
%\textheight=589pt
%\textwidth=364pt
%\headsep=20pt
%\allowdisplaybreaks[2]
%\usepackage{fullpage}
%% \topmargin 0pt
%% %\advance \topmargin by -\headheight
%% %\advance \topmargin by -\headsep
%% \textheight 8.9in
%% \oddsidemargin 0pt
%% \evensidemargin \oddsidemargin
%% \marginparwidth 0.5in
%%      
%% %\textwidth 6.5in
%% \textwidth 6.0in

% Define margens
\setlength{\topmargin}{-1.0in}
\setlength{\oddsidemargin}{-0.5in}
\setlength{\textwidth}{10.0in}
\setlength{\textheight}{7.5in} 
%\setlength{\foilheadskip}{-0.5in}

%\usepackage{pause}
%\usepackage{background}
%\usepackage{pp4slide}


\usepackage[brazil]{babel}
%\newlength{\figurewidth}
%\setlength{\figurewidth}{3in}

\usepackage[latin1]{inputenc}
%\usepackage[T1]{fontenc}
\usepackage{ae}
%\usepackage{euler}
\usepackage{beton}
%\usepackage[T1]{fontenc}
%\usepackage{txfonts}
%\usepackage[T1]{fontenc}
%\usepackage{pxfonts}

\usepackage{subfigure}
\newcommand{\goodskip}{\hspace{\subfigtopskip}%
  \hspace{\subfigbottomskip}}


%\usepackage[display,coloremph,colormath,colorhighlight,lightbackground]{texpower}
\usepackage[display,coloremph,colormath,colorhighlight,whitebackground]{texpower}
\usepackage{fixseminar}
%\usepackage{tpslifonts}

%% % pdflatex
\newif\ifpdf\ifx\pdfoutput\undefined\pdffalse\else\pdfoutput=1\pdftrue\fi
\newcommand{\TITLE}{Tópicos em Algoritmos sobre Seqüências}
\newcommand{\SUBJECT}{sequence analysis}
\newcommand{\KEYWORDS}{sequence analysis, text algorithms, combinatorics on words}
\newcommand{\PDFAUTHOR}{Alair Pereira do Lago}
\newcommand{\pdfgraphics}{\ifpdf\DeclareGraphicsExtensions{.pdf,.jpg}\else\fi}
\ifpdf
     \usepackage[pdftex]{graphicx}
     \usepackage[pdftex,colorlinks=true]{hyperref}
%%      \pdfinfo{/Title   (\TITLE)
%%               /Subject  (\SUBJECT)
%%               /Keywords (\KEYWORDS)
%%               /Author   (\PDFAUTHOR)
%%              }
      \hypersetup{pdftitle    = {\TITLE},
                  pdfsubject  = {\SUBJECT},
                  pdfkeywords = {\KEYWORDS},
                  pdfauthor   = {\PDFAUTHOR},
%                  plainpages  = false,pdfpagelabels,
                  hypertexnames=false,
                 }
\else
     \usepackage[dvips]{graphicx}
      \usepackage[dvips,colorlinks=true]{hyperref}
      \hypersetup{pdftitle    = {\TITLE},
                  pdfsubject  = {\SUBJECT},
                  pdfkeywords = {\KEYWORDS},
                  pdfauthor   = {\PDFAUTHOR},
                 }
\fi

\usepackage[portuguese]{alg}
%% %% \usepackage[boxed,chapter]{algorithm}
%% %% \renewcommand{\listalgorithmname}{Lista de Algoritmos}
%% %% \floatname{algorithm}{Algoritmo}
%% \usepackage{float}
%% %\floatstyle{boxed}
%% \floatstyle{ruled}
%% \newfloat{algorithm}{htbp}{loa}%[chapter]
%% \newcommand{\listofalgorithms}{\listof{algorithm}{Lista de Algoritmos}}
%% \floatname{algorithm}{Algoritmo}
%% float.sty e foiltex são incompatíveis.  Usando figure
\newenvironment{algorithm}{\begin{figure}}{\end{figure}}

%\nonstopmode
\input{commands}

\newtheorem{lemma}{Lema}%[chapter]
\newtheorem{proposition}[lemma]{Proposição}
\newtheorem{corollary}[lemma]{Corolário}
\newtheorem{theorem}[lemma]{Teorema}
\newtheorem{example}[lemma]{Exemplo}
\newtheorem{assertion}{Asserção}
\newtheorem{conjecture}{Conjectura}

\newenvironment{proof}{\noindent\emph{Prova.}}{{}\hfill\QED\vspace{3 mm}}
\usepackage{comment}


        
% getting the time and using it via \now
\newcount\hour
\newcount\minute
\hour=\time
\divide \hour by 60
\minute=\time
\loop \ifnum \minute > 59 \advance \minute by -60 \repeat
\def\now{%
\ifnum \hour<13
\ifnum \hour<1 12:\else\number\hour:\fi
\ifnum \minute<10 0\fi                 
\number\minute%                      
%\ifnum \hour<12 \ AM \else \ PM \fi
\else \advance \hour by -12 \number\hour:%
\ifnum \minute<10 0\fi            
\number\minute%                 
%\ PM%
\fi%
}

%\pagestyle{myheadings}
%\markright{}
%\markboth{}{}

\let\oldthepage=\thepage
%\renewcommand{\thepage}{\today{} \now \qquad (\oldthepage)}

%\pagestyle{plain}

%\usepackage{fancyhdr}
%\pagestyle{fancy}
%\cfoot{\hfill \today \hspace{1mm} \now \hfill \thepage}

%\usepackage{drafts}
%\pagestyle{drafts}
%\usepackage[bottom,none]{draftcopy}

%\usepackage{fancybox}
\usepackage{ifthen}
\newcommand{\CO}{1>0}
\ifthenelse{\CO}{%
\usepackage{color}
%% \DefineNamedColor{named}{GreenYellow}   {cmyk}{0.15,0,0.69,0}
%% \DefineNamedColor{named}{Yellow}        {cmyk}{0,0,1,0}
%% \DefineNamedColor{named}{Goldenrod}     {cmyk}{0,0.10,0.84,0}
%% \DefineNamedColor{named}{Dandelion}     {cmyk}{0,0.29,0.84,0}
%% \DefineNamedColor{named}{Apricot}       {cmyk}{0,0.32,0.52,0}
%% \DefineNamedColor{named}{Peach}         {cmyk}{0,0.50,0.70,0}
%% \DefineNamedColor{named}{Melon}         {cmyk}{0,0.46,0.50,0}
%% \DefineNamedColor{named}{YellowOrange}  {cmyk}{0,0.42,1,0}
%% \DefineNamedColor{named}{Orange}        {cmyk}{0,0.61,0.87,0}
%% \DefineNamedColor{named}{BurntOrange}   {cmyk}{0,0.51,1,0}
%% \DefineNamedColor{named}{Bittersweet}   {cmyk}{0,0.75,1,0.24}
%% \DefineNamedColor{named}{RedOrange}     {cmyk}{0,0.77,0.87,0}
%% \DefineNamedColor{named}{Mahogany}      {cmyk}{0,0.85,0.87,0.35}
%% \DefineNamedColor{named}{Maroon}        {cmyk}{0,0.87,0.68,0.32}
\DefineNamedColor{named}{BrickRed}      {cmyk}{0,0.89,0.94,0.28}
%% \DefineNamedColor{named}{Red}           {cmyk}{0,1,1,0}
%% \DefineNamedColor{named}{OrangeRed}     {cmyk}{0,1,0.50,0}
%% \DefineNamedColor{named}{RubineRed}     {cmyk}{0,1,0.13,0}
%% \DefineNamedColor{named}{WildStrawberry}{cmyk}{0,0.96,0.39,0}
%% \DefineNamedColor{named}{Salmon}        {cmyk}{0,0.53,0.38,0}
%% \DefineNamedColor{named}{CarnationPink} {cmyk}{0,0.63,0,0}
%% \DefineNamedColor{named}{Magenta}       {cmyk}{0,1,0,0}
%% \DefineNamedColor{named}{VioletRed}     {cmyk}{0,0.81,0,0}
%% \DefineNamedColor{named}{Rhodamine}     {cmyk}{0,0.82,0,0}
%% \DefineNamedColor{named}{Mulberry}      {cmyk}{0.34,0.90,0,0.02}
%% \DefineNamedColor{named}{RedViolet}     {cmyk}{0.07,0.90,0,0.34}
%% \DefineNamedColor{named}{Fuchsia}       {cmyk}{0.47,0.91,0,0.08}
%% \DefineNamedColor{named}{Lavender}      {cmyk}{0,0.48,0,0}
%% \DefineNamedColor{named}{Thistle}       {cmyk}{0.12,0.59,0,0}
%% \DefineNamedColor{named}{Orchid}        {cmyk}{0.32,0.64,0,0}
%% \DefineNamedColor{named}{DarkOrchid}    {cmyk}{0.40,0.80,0.20,0}
%% \DefineNamedColor{named}{Purple}        {cmyk}{0.45,0.86,0,0}
%% \DefineNamedColor{named}{Plum}          {cmyk}{0.50,1,0,0}
%% \DefineNamedColor{named}{Violet}        {cmyk}{0.79,0.88,0,0}
%% \DefineNamedColor{named}{RoyalPurple}   {cmyk}{0.75,0.90,0,0}
%% \DefineNamedColor{named}{BlueViolet}    {cmyk}{0.86,0.91,0,0.04}
%% \DefineNamedColor{named}{Periwinkle}    {cmyk}{0.57,0.55,0,0}
%% \DefineNamedColor{named}{CadetBlue}     {cmyk}{0.62,0.57,0.23,0}
%% \DefineNamedColor{named}{CornflowerBlue}{cmyk}{0.65,0.13,0,0}
%% \DefineNamedColor{named}{MidnightBlue}  {cmyk}{0.98,0.13,0,0.43}
%% \DefineNamedColor{named}{NavyBlue}      {cmyk}{0.94,0.54,0,0}
%% \DefineNamedColor{named}{RoyalBlue}     {cmyk}{1,0.50,0,0}
\DefineNamedColor{named}{Blue}          {cmyk}{1,1,0,0}
%% \DefineNamedColor{named}{blue}          {cmyk}{1,1,0,0}
%% \DefineNamedColor{named}{Cerulean}      {cmyk}{0.94,0.11,0,0}
%% \DefineNamedColor{named}{Cyan}          {cmyk}{1,0,0,0}
%% \DefineNamedColor{named}{ProcessBlue}   {cmyk}{0.96,0,0,0}
%% \DefineNamedColor{named}{SkyBlue}       {cmyk}{0.62,0,0.12,0}
%% \DefineNamedColor{named}{Turquoise}     {cmyk}{0.85,0,0.20,0}
%% \DefineNamedColor{named}{TealBlue}      {cmyk}{0.86,0,0.34,0.02}
%% \DefineNamedColor{named}{Aquamarine}    {cmyk}{0.82,0,0.30,0}
%% \DefineNamedColor{named}{BlueGreen}     {cmyk}{0.85,0,0.33,0}
%% \DefineNamedColor{named}{Emerald}       {cmyk}{1,0,0.50,0}
%% \DefineNamedColor{named}{JungleGreen}   {cmyk}{0.99,0,0.52,0}
%% \DefineNamedColor{named}{SeaGreen}      {cmyk}{0.69,0,0.50,0}
%% \DefineNamedColor{named}{Green}         {cmyk}{1,0,1,0}
%% \DefineNamedColor{named}{ForestGreen}   {cmyk}{0.91,0,0.88,0.12}
\DefineNamedColor{named}{PineGreen}     {cmyk}{0.92,0,0.59,0.25}
%% \DefineNamedColor{named}{LimeGreen}     {cmyk}{0.50,0,1,0}
%% \DefineNamedColor{named}{YellowGreen}   {cmyk}{0.44,0,0.74,0}
%% \DefineNamedColor{named}{SpringGreen}   {cmyk}{0.26,0,0.76,0}
%% \DefineNamedColor{named}{OliveGreen}    {cmyk}{0.64,0,0.95,0.40}
%% \DefineNamedColor{named}{RawSienna}     {cmyk}{0,0.72,1,0.45}
%% \DefineNamedColor{named}{Sepia}         {cmyk}{0,0.83,1,0.70}
\DefineNamedColor{named}{Brown}         {cmyk}{0,0.81,1,0.60}
%% \DefineNamedColor{named}{Tan}           {cmyk}{0.14,0.42,0.56,0}
%% \DefineNamedColor{named}{Gray}          {cmyk}{0,0,0,0.50}
%% \DefineNamedColor{named}{Black}         {cmyk}{0,0,0,1}
%% \DefineNamedColor{named}{White}         {cmyk}{0,0,0,0}

\definecolor{in}{named}{PineGreen}
\definecolor{out}{named}{Blue}
\definecolor{details}{gray}{0.25}
\definecolor{eg}{named}{Brown}
\definecolor{heading}{named}{BrickRed}
\definecolor{darkgreen}{rgb}{0.2,0.7,0.2}
\definecolor{mdwblue}{rgb}{0.2,0.2,0.6}
%\definecolor{mathcolor}{named}{Black}
\enhancecolor[0.9]{mathcolor}
}{}

%% %\slidesmag{3}
%% %\slideframe{oval}
%% %\renewcommand{\slideitemsep}{0.6ex}
%% %\renewcommand{\slidestretch}{0.7}

\newcommand{\BOX}{1<0}
\newcommand{\IN}[1]{{\ifthenelse{\CO}{\color{in}}{}\ifthenelse{\BOX}{\fbox{#1}}{{{#1}}}}}
\newcommand{\OUT}[1]{{\ifthenelse{\CO}{\color{out}}{}\ifthenelse{\BOX}{\ovalbox{#1}}{{{#1}}}}}

%% \newcommand{\heading}[1]{%
%%   \begin{center}
%%     \large\bf
%% %    \shadowbox{\ifthenelse{\CO}{\color{red}}{} {#1}}%
%%     {\ifthenelse{\CO}{\color{red}}{} {#1}}%
%%   \end{center}
%%   \vspace{1ex minus 1ex}}
%\newcommand{\slide}[1]{\foilhead{#1}} % macro para títulos de folhas

\newcommand{\slide}[1]{\foilhead{{\ifthenelse{\CO}{\color{red}}{} {#1}}}} % macro para títulos de folhas
\newcommand{\section}[1]{\slide{#1}} % macro para títulos de folhas
%\newcommand{\slide}[1]{\newpage {{\ifthenelse{\CO}{\color{red}}{} {\centering \large #1}\vspace{3mm}}}} % macro para títulos de folhas

%% %\newenvironment{details}{\slshape }{\upshape}
%% \newenvironment{details}{%
%%   \ifthenelse{\CO}{\color{details}}{}
%%   \vspace{1mm} \fontsize{9}{1.2}}
%%   {%
%%     \fontsize{10}{1.2}}

\newenvironment{eg}{%
  \ifthenelse{\CO}{\color{eg}}{}
  }
  {%
  }

%\newpagestyle{MH}%
%{}{\footnotesize Alair Pereira do Lago \& Imre Simon --- DCC-IME-USP  \hfill \thepage}
%  {\footnotesize alair@ime.usp.br}\hspace{\fill}\thepage}{}{}   

%\renewcommand{\slideitemsep}{0.6ex}
%\renewcommand{\slidestretch}{0.7}



% \title{Assignment-like optimization as an approach to the analysis of
%   comparative genomic data} \newcounter{mydimacs} \newcounter{mycsrutgers}
% \author{Alair P. do Lago\thanks{DIMACS, Rutgers
%     University}\setcounter{mydimacs}{\value{footnote}}\thanks{University of
%     S\~ao Paulo} \and Casimir A.  Kulikowski\thanks{Department of Computer
%     Science of Rutgers University}\setcounter{mycsrutgers}{\value{footnote}}
%   \and Eric Linton\thanks{Waksman Institute, Rutgers University} \and Victor
%   Llaca\footnotemark[\value{footnote}] \and Joachim
%   Messing\footnotemark[\value{footnote}] \and Ilya
%   Muchnik\footnotemark[\value{mydimacs}]\footnotemark[\value{mycsrutgers}] \\
%   {} \\ {} \\ {} \\ {}}
% \date{DIMACS Workshop on Whole Genome Comparison\\
%   February 28 --- March 2, 2001}

% Define list1, list2, list3 environments
\newenvironment{list1}%
{\begin{list}{}{\setlength{\leftmargin}{-0.0in}\setlength{\itemsep}{0.5ex}}\fontsize{22pt}{22pt}}
{\end{list}\normalsize}

\newenvironment{list2}%
{\begin{list}{\small\textcolor{darkgreen}{$\bullet$}}{\setlength{\leftmargin}{0.75in}\setlength{\itemsep}{0.5ex}}\fontsize{20pt}{20pt}}
{\end{list}\normalsize}

\newenvironment{list3}%
{\begin{list}{\small\textcolor{red}{$\triangleright$}}{\setlength{\leftmargin}{0.75in}\setlength{\itemsep}{0.5ex}\setlength{\topsep}{0.75ex}\setlength{\parskip}{0.5ex}}\fontsize{18pt}{18pt}\color{mdwblue}}
{\end{list}\normalsize\color{black}}

% Turn of bullets on top-level list items (only used with itemize)
%% \renewcommand\labelitemi{\textcolor{darkgreen}{$\bullet$}}
  

%% Local Variables:
%% mode: latex
%% TeX-auto-save: t
%% TeX-master: "apresentacao.tex"
%% TeX-parse-self: t
%% make-backup-files: t
%% End:

