\usepackage[justification=centering,font+=it,labelsep=endash]{caption}
\captionsetup{width=75mm}

\ISBN{978209 157568 1}
\def\isbn{978209 157568 1}
\def\date{2021}


\usepackage{multirow,diagbox}
\usepackage{eurosym}
\usepackage{fancybox}
\DefineWarningLikeEveryWhere{etymologie}{\includegraphics[height=3mm]{00-plume}}
{\'ETYMOLOGIE}{LR}

%
% NathanLive
%
% \newcounter{NLVid}
% \setcounter{NLVid}{0}
% \newcommand{\nathanLive}[1]{%
% \stepcounter{NLVid}
% \label{NLVid-\theNLVid}
% \begin{tabular}{@{}l@{~\,}l}
% \includegraphics[width=5mm]{0_pictoVideo}
% &
% \raisebox{1mm}{\textbf{\textit{#1}}}\hspace{0.5ex} 
% \includegraphics[width=5mm]{0_NathanLive}
% \end{tabular}}
% %%%%%%
% %%%%%% Vidéo
% %%%%%%
% \newcommand{\nathanliveVidWithoutText}{%
% \stepcounter{NLVid}
% \label{NLVid-\theNLVid}
% \includegraphics[width=5mm]{0_NathanLive}}
% %
% \newcommand{\nathanliveVideo}{%
% \stepcounter{NLVid}
% \label{NLVid-\theNLVid}
% \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}
% \Par
% }
% %%%%%%%%%
% %%%%%%%%% Web
% %%%%%%%%%
% \newcounter{NLWeb}
% \setcounter{NLWeb}{0}
% \newcommand{\nathanliveWebWithoutText}{%
% \stepcounter{NLWeb}
% \label{NLWeb-\theNLWeb}
% \includegraphics[width=5mm]{0_NathanLive}}
% %
% \newcommand{\nathanliveWeb}[1]{%
% \stepcounter{NLWeb}
% \label{NLWeb-\theNLWeb}
% \begin{tabular}{@{}l@{~\,}l}
% \includegraphics[width=6mm]{0_pictoWeb}
% &
% \raisebox{2mm}{\textbf{\textit{Retrouvez le site de #1 avec}}}\hspace{0.5ex} 
% \raisebox{0.5mm}{\includegraphics[width=5mm]{0_NathanLive}}
% \end{tabular}
% \Par
% }
% %%%%%%%%%%%%
% %%%%%%%%% Audio
% %%%%%%%%
% \newcounter{NLAudio}
% \setcounter{NLAudio}{0}
% \newcommand{\nathanliveAudioWithoutText}{%
% \stepcounter{NLAudio}
% \label{NLAudio-\theNLAudio}
% \begin{tabular}{@{}l@{~\,}l}
% \includegraphics[width=5mm]{0_pictoAudio}
% &
% \raisebox{1mm}{\textbf{\textit{Retrouvez le son dont il est question dans cet 
% exercice avec}}}\hspace{0.5ex} \includegraphics[width=5mm]{0_NathanLive}
% \end{tabular}
% \Par 
% }
% \newcommand{\nathanliveAudio}[1]{%
% \stepcounter{NLAudio}
% \label{NLAudio-\theNLAudio}
% \begin{tabular}{@{}l@{~\,}l}
% \includegraphics[width=5mm]{0_pictoAudio}
% &
% \raisebox{1mm}{\textbf{\textit{#1}}}\hspace{0.5ex} 
% \includegraphics[width=5mm]{0_NathanLive}
% \end{tabular}
% \Par 
% }
% %%%%%%
% %%%%%%%%%%%% Prog
% %%%%%%
% \newcounter{NLProg}
% \setcounter{NLProg}{0}
% \newcommand{\nathanliveProgWithoutText}{%
% \stepcounter{NLProg}
% \label{NLProg-\theNLProg}
% \includegraphics[width=5mm]{0_NathanLive}}
% 
% \newcommand{\nathanliveProg}{%
% \stepcounter{NLProg}
% \label{NLProg-\theNLProg}
% \begin{tabular}{@{}l@{~\,}l}
% \includegraphics[width=6mm]{0_pictoProg}
% &
% \raisebox{1mm}{\textbf{\textit{Retrouvez ce programme en ligne 
% avec}}}\hspace{0.5ex} \includegraphics[width=5mm]{0_NathanLive}
% \end{tabular}
% \Par
% }
% %
% 
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 
% \newcommand{\printNL}{%
% \begin{center}
% \large\textbf{Liste des pages où figure un renvoi Nathan Live}
% \end{center}
% 
% 
% 
% \ifnum\theNLVid>0
% \sectionnn{Liste des vidéos}
% \begin{multicols}{3}
% \multido{\i=1+1}{\theNLVid}{%
% Page \pageref{NLVid-\i}\\
% }
% \end{multicols}
% \fi 
% 
% \ifnum\theNLProg>0
% \sectionnn{Liste des Programmes}
% \begin{multicols}{3}
% \multido{\i=1+1}{\theNLProg}{%
% Page \pageref{NLProg-\i}\\
% }
% \end{multicols}
% \fi 
% 
% \ifnum\theNLAudio>0
% \sectionnn{Liste des fichiers audio}
% \begin{multicols}{3}
% \multido{\i=1+1}{\theNLAudio}{%
% Page \pageref{NLAudio-\i}\\
% }
% \end{multicols}
% \fi 
% 
% \ifnum\theNLWeb>0
% \sectionnn{Liste des renvois Web}
% \begin{multicols}{3}
% \multido{\i=1+1}{\theNLWeb}{%
% Page \pageref{NLWeb-\i}\\
% }
% \end{multicols}
% \fi 
% }

%%%%%%%%%%%%% 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%
}%
\newcommand{\note}[2]{\ensuremath{\textit{\MakeLowercase{#1}}#2}}
\makeatother


%%%

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