\usepackage[justification=centering,font+=it,labelsep=endash]{caption}
\captionsetup{width=0.9\linewidth}
\usepackage{multirow,diagbox,hhline}

% définition de la commande "refitem"
\makeatletter
\newcommand\refitem[1]{\psframebox[linestyle=none, 
fillstyle=solid,fillcolor=\PM@thumb@dcolor]{\textcolor{white}{\PM@ItemNumberFont 
\ref{#1}}}}
\makeatother

\captionstyle{\centering}

%
% NathanLive
%
\newcommand{\nathanLive}[1]{%
\begin{tabular}{@{}l@{~\,}l}
\includegraphics[width=5mm]{0_pictoVideo}
&
\raisebox{1mm}{\textbf{\textit{#1}}}\hspace{0.5ex} 
\includegraphics[width=5mm]{0_NathanLive}
\end{tabular}}
%
% NathanLive corrigé
%
\newcommand{\nathanliveVideo}{%
\begin{tabular}{@{}l@{~\,}l}
\includegraphics[width=5mm]{0_pictoVideo}
&
\raisebox{1mm}{\textbf{\textit{Retrouvez le corrigé de cet exercice en vidéo 
avec}}}\hspace{0.5ex} \includegraphics[width=5mm]{0_NathanLive}
\end{tabular}
}
%
% NathanLive Renvoi URL
%
\newcommand{\nathanliveWeb}[1]{%
\begin{tabular}{@{}l@{~\,}l}
\includegraphics[width=6mm]{0_pictoWeb}
&
\raisebox{2mm}{\textbf{\textit{#1}}}\hspace{0.5ex} 
\raisebox{0.5mm}{\includegraphics[width=5mm]{0_NathanLive}}
\end{tabular}
\Par
}
%
% NathanLiveAudio \nathanliveAudio
%
\newcommand{\nathanliveAudio}[1]{%
\begin{tabular}{@{}l@{~\,}l}
\includegraphics[width=5mm]{0_pictoAudio} &
\raisebox{1mm}{\textbf{\textit{#1}}}\hspace{0.5ex} 
\includegraphics[width=5mm]{0_NathanLive}
\end{tabular}}

%%%%%%%%%%%%% Macro isotope
\makeatletter
\newcommand{\isotope}[3]{%
   \settowidth\@tempdimb{\ensuremath{\scriptstyle#1}}%
   \settowidth\@tempdimc{\ensuremath{\scriptstyle#2}}%
   \ifnum\@tempdimb>\@tempdimc%
   	\setlength{\@tempdima}{\@tempdimb}%
   \else%
   	\setlength{\@tempdima}{\@tempdimc}%
   \fi%
  \begingroup%
  
\ensuremath{^{\makebox[\@tempdima][r]{\ensuremath{\scriptstyle#1}}}_{\makebox[
\@tempdima][r]{\ensuremath{\scriptstyle#2}}}\text{#3}}%
  \endgroup%
}%
\makeatother


%%%

\usepackage{tikz}
\newcommand{\image}[2]{%
\begin{tikzpicture}
\fill[LB](0,0) rectangle+(#1,#2);
\node at (#1/2,#2/2) {image};
\end{tikzpicture}
}
