Commit f26c1d49 authored by Loïc Barrault's avatar Loïc Barrault
Browse files

ajout des macros

parent 9bb3f175
\usepackage{ulem}
\normalem
%colors
\newcommand{\red}[1]{{\color{red} #1}}
\newcommand{\blue}[1]{{\color{blue} #1}}
\newcommand{\cyan}[1]{{\color{cyan} #1}}
\newcommand{\orange}[1]{{\color{orange} #1}}
\newcommand{\edinblue}[1]{{\color{edinblue} #1}}
\newcommand{\edinred}[1]{{\color{edinred} #1}}
\newcommand{\edinorange}[1]{{\color{edinorange} #1}}
\newcommand{\edinmagenta}[1]{{\color{edinmagenta} #1}}
\newcommand{\edingreen}[1]{{\color{edingreen} #1}}
\newcommand{\liumlightgray}[1]{{\color{liumlightgray} #1}}
\definecolor{liumgreen}{rgb}{0.010,0.350,0.188}
\newcommand{\liumgreen}[1]{{\color{liumgreen} #1}}
\newcommand{\hs}{\hspace{1cm}}
\newcommand{\cad}{c'est-à-dire}
% math
\newcommand{\ds}{\displaystyle}
\newcommand{\mO}{{\bf O}}
\newcommand{\mR}{{\bf R}}
\newcommand{\mS}{{\bf \Sigma}}
\newcommand{\va}{{\bf a}}
\newcommand{\vb}{{\bf b}}
\newcommand{\vo}{{\bf o}}
\newcommand{\vr}{{\bf r}}
\newcommand{\vt}{{\bf t}}
\newcommand{\vx}{{\bf x}}
\newcommand{\vy}{{\bf y}}
\newcommand{\vmu}{{\bf \mu}}
% handy shortcuts for tables
\newcommand{\tabcr}[1]{ \begin{tabular}[c]{r} #1 \end{tabular} }
\newcommand{\tabcc}[1]{ \begin{tabular}[c]{c} #1 \end{tabular} }
\newcommand{\tabcl}[1]{ \begin{tabular}[c]{l} #1 \end{tabular} }
\newcommand{\tabclS}[1]{\begin{tabular}[c]{@{}l@{}} #1 \end{tabular}}
\newcommand{\tabtc}[1]{ \begin{tabular}[t]{c} #1 \end{tabular} }
\newcommand{\tabtl}[1]{ \begin{tabular}[t]{l} #1 \end{tabular} }
\newcommand{\tabtlS}[1]{\begin{tabular}[t]{@{}l@{}} #1 \end{tabular}}
\newcommand{\tabtrl}[1]{ \begin{tabular}[t]{rl} #1 \end{tabular} }
\newcommand{\tabcrl}[1]{ \begin{tabular}[c]{rl} #1 \end{tabular} }
\newcommand{\MC}{\multicolumn}
\newcommand{\MR}[3]{\multirow{#1}{#2}{#3}}
\newcommand{\ul}{\underline}
% for MT
\newcommand{\XX}{x}
\newcommand{\EE}{e}
\newcommand{\FF}{f}
\newcommand{\AAA}{{\cal{A}}}
\newcommand{\PFAE}{\Pr(\FF,\AAA|\EE)}
\newcommand{\NUL}{{\sc NUL}}
\newcommand{\hopt}{h_\textrm{opt}}
\newcommand{\bleu}{\textsc{Bleu}}
%\newcommand{\argmax}{\arg\max}
\newcommand{\tis}{\tilde{s}}
\newcommand{\tit}{\tilde{t}}
\newcommand{\tip}{\tilde{p}}
\newcommand{\ra}{$\rightarrow$}
\newcommand{\Ra}{$\Rightarrow$}
\newcommand{\vm}[1]{ \mathbf{#1}}
%\DeclareMathOperator*{\argmax}{argmax}
\newcommand{\argmaxx}{\operatornamewithlimits{argmax}}
\newcommand{\argmax}{ \ds \argmaxx}
\newcommand{\ieme}{$i^{\mbox{\tiny{ème}}}$}
\newcommand{\jeme}{$j^{\mbox{\tiny{ème}}}$}
%\newcommand{\argmax}{\operatorname*{argmax}}
%\newcommand{\argmax}{\mathop{\mathrm{argmax}}\nolimits} % ASdeL
%\newcommand{\argmax}{argmax}
\DeclareMathOperator*{\argmin}{argmin}
\graphicspath{{../}{../figures/}{./figures/}}
%{../figures/figures.pivot}{../figures/figures.dataselection}}
\setbeamersize{description width=0.57cm}
\newenvironment<>{varblock}[2][.9\textwidth]{%
\setlength{\textwidth}{#1}
\begin{actionenv}#3%
\def\insertblocktitle{#2}%
\par%
\usebeamertemplate{block begin}}
{\par%
\usebeamertemplate{block end}%
\end{actionenv}}
\defbeamertemplate*{section page}{*}[1][]
{
\begingroup
%\centering{
%\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber}
% \vskip4em%\par
\begin{beamercolorbox}[sep=14pt,center,#1]{part title}
\vskip6em
\usebeamerfont{section title}\usebeamercolor[fg]{section name}\insertsection\par
\end{beamercolorbox}
\endgroup
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment