%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\title{}
\author{}
\date{}

%%------------------------------------------------------------------------------
%% Packages

\usepackage{amsmath,amsfonts}
\usepackage{mathtools}
\usepackage[]{mathabx} % french mathematical symbols and more
\usepackage{amsthm}
\usepackage{geometry}
\usepackage[svgnames]{xcolor}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{enumitem}
\usepackage{multicol}

\usepackage{mdwlist}
\usepackage{hyperref}
\hypersetup{colorlinks=true,
  citecolor=DarkBlue,
  linkcolor=DarkBlue,
  linktoc=page,
  urlcolor=black,
}

\usepackage[french]{babel}

%% ------------------------------------------------------------------------------
%% Packages setup

% multicol
\setlength{\columnseprule}{.5pt}

% enumitem
\setlist{itemsep=0pt, topsep=0pt} % vertical spacing for all lists
  
\newlist{pbenum}{enumerate}{10} % enumerate for problems (nested like so : 1., 1.1., 1.1.1., etc)
\setlist[pbenum]{label*=\arabic*.}
\setlist[pbenum, 1]{itemsep=4pt plus 2pt minus 1pt, topsep=8pt plus 2pt minus 4pt} % default enumerate spacing

\newlist{eqenum}{enumerate}{10} % enumerate for problems (nested like so : 1., 1.1., 1.1.1., etc)
\setlist[eqenum]{label*=$\quad(E_{\arabic*}):$,leftmargin=*}


\setlist[enumerate, 1]{label = \arabic*.} % standard enumerate labels 
\setlist[enumerate, 2]{label = \alph*.}

% geometry
\geometry{textwidth = 0.85\paperwidth,
  textheight = 0.8\paperheight}
%defaults : textwidth = 0.7\paperwidth = 1675.8pt, textheight = 0.7\paperheight = 4788pt

% hyperref
\hypersetup{colorlinks=true,
  citecolor=DarkBlue,
  linkcolor=DarkBlue,
  linktoc=page,
  urlcolor=black}

% fancyhdr
%% BUG: Do not issue \fancypagestyle{fancy}{<fancyhdr commands>}, the LaTeX compiler will hang at the first \pagestyle{fancy} call since it will enter in an infinite recursive loop.

%% \fancypagestyle{fancy}{%
%%   \fancyhf{} % clear all header and footer fields
%%   \lhead{École Normale Supérieure de Lyon\\Département de mathématiques}
%%   \rhead{2021--2022\\Option B pour l'agrégation}
%%   \rfoot{\thepage /\pageref{LastPage}}
%%   \renewcommand{\footrulewidth}{0.5pt}
%%   \setlength{\headheight}{24.2pt}} % required for headers spanning two lines

\fancypagestyle{plain}{%
  \fancyhf{}
  \rfoot{\thepage /\pageref{LastPage}}
  \renewcommand{\headrulewidth}{0pt}}

\pagestyle{fancy} % sets page style for the whole document
\fancyhf{} % clear all header and footer fields
\lhead{ENS de Lyon\\CPES Sciences}
\rhead{2022--2023\\Mathématiques}
\rfoot{\thepage /\pageref{LastPage}}
\renewcommand{\footrulewidth}{0.5pt}
\setlength{\headheight}{24.2pt} % required for headers spanning two lines

%%------------------------------------------------------------------------------
%% Custom environments/macros

\theoremstyle{definition}
\newtheorem*{defi}{Définition}

\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\K}{\mathbb{K}}
\newcommand{\ds}{\displaystyle}
\newcommand{\e}{\mathrm{e}}
\newcommand{\mc}{\mathcal}
\renewcommand{\Im}{\operatorname{Im}}
\newcommand{\I}[2]{\Io{#1,#2}\If}

\newcommand{\Io}{[\![}
\newcommand{\If}{]\!]}

\newcommand{\et}{\quad\text{et}\quad}

\DeclarePairedDelimiter{\norm}{\lVert}{\rVert} %% requires mathtools
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
\DeclarePairedDelimiter{\sbra}{[}{]}
\DeclarePairedDelimiter{\pare}{(}{)}
\DeclarePairedDelimiter{\osbral}{]}{]}
\DeclarePairedDelimiter{\osbra}{]}{[}
\DeclarePairedDelimiter{\osbrar}{[}{[}
\DeclarePairedDelimiter{\dbra}{\ldbrack}{\rdbrack}

\newcounter{exercice}

\newcommand{\ex}{\refstepcounter{exercice}\paragraph{Exercice \theexercice.}}
\newtheorem{exo}{Exercice}
\newcommand{\staritem}{\refstepcounter{enumi}\item[$(\star)~$\theenumi]}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{center}
  {\LARGE \bf TD 14 : probabilités finies}
\end{center}
\bigskip

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{multicols}{2}
  
  
\end{multicols}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
