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

31 Oct '24, 22:43

samcarter's gravatar image

samcarter
8.7k2817

Avec l'extension `siunitx` : %!TEX engine=lualatex \documentclass{article}% % Package tabularray \usepackage{tabularray}% \UseTblrLibrary{amsmath,booktabs,countern diagbox,nameref,siunitx,varwidth,zref}% \begin{document}% \begin{tblr}{% colspec = { Q[0.10\textwidth,l] *{4}{Q[ 0.15\textwidth, c, si={ table-format=5.2, group-minimum-digits=4, minimum-decimal-digits=2, locale=FR locale=FR% <- commentaire du @denis } ]} },% row{1} = {c,guard},% cell{2-Z}{1} = {guard},% cell{2-Z}{2-Z} = {font=\ttfamily},% }% Année & Base & Dotation & { Amortissement \\ cumulé } & VNC \\% 1-5 N & 10000 & 877.78 & 877.78 & 9122.22 \\% 1-5 N+1 & 10000 & 2000 & 2877.78 & 7122.22 \\% 1-5 N+2 & 10000 & 2000 & 4877.78 & 5122.22 \\% 1-5 N+3 & 10000 & 2000 & 6877.78 & 3122.22 \\% 1-5 N+4 & 10000 & 2000 & 8877.78 & 1122.22 \\% 1-5 N+5 & 10000 & 1122.22 & 10000.00 & 0.00 \\% 1-5 Total & & 10000.00 & & \\% 1-5 \end{tblr}% \end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/Screenshot_2024-10-31_at_22.38.02.png
cliquez ici pour masquer/afficher la révision 6

31 Oct '24, 22:39

samcarter's gravatar image

samcarter
8.7k2817

Avec l'extension `siunitx` : %!TEX engine=lualatex \documentclass{article}% % Package tabularray \usepackage{tabularray}% \UseTblrLibrary{amsmath,booktabs,countern diagbox,nameref,siunitx,varwidth,zref}% \begin{document}% \begin{tblr}{% colspec = { Q[0.10\textwidth,l] *{4}{Q[0.15\textwidth,c,si={table-format=3.2,table-number-alignment=center,group-separator={\,},group-minimum-digits = 4,minimum-decimal-digits=2,output-decimal-marker={,}}]} *{4}{Q[ 0.15\textwidth, c, si={ table-format=5.2, group-minimum-digits=4, minimum-decimal-digits=2, locale=FR } ]} },% row{1} = {c,guard},% cell{2-Z}{1} = {guard},% cell{2-Z}{2-Z} = {font=\ttfamily},% }% Année & Base & Dotation & { Amortissement \\ cumulé } & VNC \\% 1-5 N & 10000 & 877.78 & 877.78 & 9122.22 \\% 1-5 N+1 & 10000 & 2000 & 2877.78 & 7122.22 \\% 1-5 N+2 & 10000 & 2000 & 4877.78 & 5122.22 \\% 1-5 N+3 & 10000 & 2000 & 6877.78 & 3122.22 \\% 1-5 N+4 & 10000 & 2000 & 8877.78 & 1122.22 \\% 1-5 N+5 & 10000 & 1122.22 & 10000.00 & 0.00 \\% 1-5 Total & & 10000.00 & & \\% 1-5 \end{tblr}% \end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/Screenshot_2024-10-31_at_16.30.07.pnghttps://texnique.fr/osqa/upfiles/Screenshot_2024-10-31_at_22.38.02.png
cliquez ici pour masquer/afficher la révision 5

31 Oct '24, 16:30

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 4

31 Oct '24, 16:29

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 3

31 Oct '24, 16:28

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 2

31 Oct '24, 16:26

samcarter's gravatar image

samcarter
8.7k2817

cliquez ici pour masquer/afficher la révision 1

31 Oct '24, 16:25

samcarter's gravatar image

samcarter
8.7k2817

C'est votre première visite ici ? Consultez la FAQ !

×