%%%
%%% talk.sty
%%% ========
%%% Macros to use with the class seminar for presentations.
%%% Usage:
%%%
%%% \documentclass[a4]{seminar}
%%% \usepackage{talk}
%%% \begin{document}
%%% \sf
%%% \begin{slide}...\end{slide}
%%%
%%% Macros provided are:
%%%
%%%   \talktitle{The Title}{The author}{Place, date, etc.}
%%%
%%%   \talkpart{Part I}{Title of the part}
%%%
%%%   \slidehead{This slide is about...}
%%%
%%%   \portraitfooter
%%%      to put at the END of each portrait slide (\begin{slide*}...)
%%%

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{semcolor}
\usepackage{palette}

\def\_{\kern.08em\vbox{\hrule width.35em height.6pt}\kern.08em}

% des couleurs 
\getcolor[bleu]{blue}
\getcolor[rouge]{red}
\getcolor[beauvert]{forestgreen}
\getcolor[monvert]{darkgreen}
\getcolor{navyblue}
\getcolor[orange]{orangered}

\newcommand{\remph}[1]{{\rouge#1}}
\newcommand{\unixtilde}{\raisebox{-0.22em}{\~{}}}

\newcommand{\talktitle}[3]{\begin{slide}\pagestyle{empty}{\begin{center}%
    \navyblue\rule{\linewidth}{0.1em} \\[0.7em]
    {\LARGE#1} \\
    \rule{\linewidth}{0.1em} \\[2em]
    \large\monvert#2 \\[3em]
    \normalsize\black#3
  \end{center}}\end{slide}}

\newcommand{\slidehead}[1]{%
  {\large\bf\sf\begin{center}
    \beauvert#1\\[-1.1em]
    \noindent\hrulefill
   \end{center}}
  \bigskip}

\newcommand{\talkpart}[2]{\begin{slide}\pagestyle{empty}\begin{center}%
  {\bf\sf\beauvert#1}\\
  {\beauvert\hrulefill}\\[1em]
  {\bf\sf\Large\beauvert#2}\end{center}\end{slide}}

\newpagestyle{jcf}{}{\hfil\beauvert\thepage\qquad\qquad}
\slidepagestyle{jcf}
\slideframe{none}

\newcommand{\portraitfooter}{
  \slidepagestyle{empty}\vfill\hfill{\scriptsize\beauvert\thepage}}
