Tableau d'avancement

Un tableau d’avancement en chimie

Voici le code pour obtenir un tableau d’avancement en chimie :

table(
  columns: (auto, auto, auto, auto, auto, auto, auto,auto, auto, auto, auto, auto, auto, auto),
  align: center,
  stroke: 0.4pt,
  table.hline(y: 0, stroke: none,),
  table.hline(y: 4, stroke: none, end: 1),
  table.vline(x: 0, stroke: none, end: 1),
  table.vline(x: 1, stroke: none, end: 1),
  table.vline(x: 2, stroke: none, end: 1),
  table.vline(x: 3, stroke: none),
  table.vline(x: 4, stroke: none),
  table.vline(x: 5, stroke: none, end: 1),
  table.vline(x: 6, stroke: none),
  table.vline(x: 7, stroke: none),
  table.vline(x: 8, stroke: none, end: 1),
  table.vline(x: 9, stroke: none),
  table.vline(x: 10, stroke: none),
  table.vline(x: 11, stroke: none, end:1),
  table.vline(x: 12, stroke: none),
  table.vline(x: 13, stroke: none),
  table.vline(x: 14, stroke: none, end: 1),

table.cell(colspan: 2, align: left,)[équation],[], [a.A],table.cell(colspan: 2, align: center)[+],[b. B],table.cell(colspan: 2, align: center)[$arrow.r$],[c. C],table.cell(colspan: 2, align: center)[+],[d. D],[],
[État], [Avancement \ (mol)], table.cell(colspan: 12,align: center,)[Quantité de matière (mol)],
[E.I.], [0], [], [0,50], [], [], [0,50], [], [], [0,50], [], [], [0,50], [],
[EF], [$x_f$], [], [], [], [], [], [], [], [], [], [], [], [],
[],[$x_"max"$],[], [], [], [], [], [], [], [], [], [], [], [],
)

Réagir à ce billet :

Related post

typst

Les tableaux

Tableau simple avec les cellules de la première colonne en fond gris…