Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 4

14 Sep '22, 19:08

cpierquet's gravatar image

cpierquet
33614

<p>Et en utilisant les autres nœuds possibles avec <code>Nicetabular</code> ?</p> <pre><code>\documentclass[11pt,a4paper,french]{article} \usepackage[french]{babel} \usepackage[margin=1cm,noheadfoot]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{tkz-euclide} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}[corners=NW,hvlines]{w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}}[cell-space-limits=6pt] \CodeBefore \rectanglecolor{blue!30}{1-2}{1-6} \rectanglecolor{red!30}{2-1}{3-1} \Body &amp;amp; & Volume Total &amp;amp; & Orange &amp;amp; & Limonade &amp;amp; & Jus de citron &amp;amp; & Grenadine\\ Recette 75 cL &amp;amp; & 75 &amp;amp; & 30 &amp;amp; & 24 &amp;amp; & 12 &amp;amp; & 9 \\ Recette 200 cL &amp;amp; & 200 &amp;amp; & \textcolor{red}{80} &amp;amp; & \textcolor{red}{64} &amp;amp; & \textcolor{red}{32} &amp;amp; & \textcolor{red}{24}\\ \CodeAfter \begin{tikzpicture} \draw[-latex,line width=1,scale=4] (2.5-|last) to [out=-45,in=45] node[right,pos=0.5] {$\div 0,375$} (3.5-|last); \end{tikzpicture} \end{NiceTabular} \end{document} </code></pre>
cliquez ici pour masquer/afficher la révision 3
oubli de tikz

14 Sep '22, 19:07

cpierquet's gravatar image

cpierquet
33614

<p>Et en utilisant les autres nœuds possibles avec <code>Nicetabular</code> ?</p> <pre><code>\documentclass[11pt,a4paper,french]{article} \usepackage[french]{babel} \usepackage[margin=1cm,noheadfoot]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{tkz-euclide} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}[corners=NW,hvlines]{w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}w{c}{2.2cm}}[cell-space-limits=6pt] \CodeBefore \rectanglecolor{blue!30}{1-2}{1-6} \rectanglecolor{red!30}{2-1}{3-1} \Body &amp;amp; Volume Total &amp;amp; Orange &amp;amp; Limonade &amp;amp; Jus de citron &amp;amp; Grenadine\\ Recette 75 cL &amp;amp; 75 &amp;amp; 30 &amp;amp; 24 &amp;amp; 12 &amp;amp; 9 \\ Recette 200 cL &amp;amp; 200 &amp;amp; \textcolor{red}{80} &amp;amp; \textcolor{red}{64} &amp;amp; \textcolor{red}{32} &amp;amp; \textcolor{red}{24}\\ \CodeAfter \begin{tikzpicture} \draw[-latex,line width=1,scale=4] (2.5-|last) to [out=-45,in=45] node[right,pos=0.5] {$\div 0,375$} (3.5-|last); \end{tikzpicture} \end{NiceTabular} \end{document} </code></pre>
cliquez ici pour masquer/afficher la révision 2

14 Sep '22, 19:07

cpierquet's gravatar image

cpierquet
33614

cliquez ici pour masquer/afficher la révision 1

14 Sep '22, 19:06

cpierquet's gravatar image

cpierquet
33614