En-têtes communes pour LaTeX
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

  1. %% Paquets utile pour les maths/la science
  2. \usepackage{mathtools} % La base
  3. % Corrections de l’espacement autour des \left et \right
  4. \usepackage{mleftright}
  5. \mleftright
  6. % Pour de belles frations et dérivées
  7. \usepackage{xfrac}
  8. \usepackage{esdiff}
  9. % Mise en formes des unités
  10. \protected\def\numpi{\text{\ensuremath{\pi}}}
  11. \usepackage{siunitx}
  12. \sisetup{
  13. output-decimal-marker = {,},
  14. number-unit-product = \,,
  15. inter-unit-product = \ensuremath{\!\cdot\!},
  16. list-units = single,
  17. multi-part-units = single,
  18. range-units = single,
  19. input-signs = {+ − ±},
  20. input-uncertainty-signs = {±},
  21. input-symbols = {π …},
  22. input-comparators = {< = > ≈ ≥ ≫ ≤ ≪ ∼ ≲ ≳ ≃}
  23. }
  24. \newcommand{\numtrange}[2]{\numrange[range-phrase = --]{#1}{#2}}
  25. \newcommand{\SItrange}[3]{\SIrange[range-phrase = --]{#1}{#2}{#3}}
  26. % Éléments atomiques, réactions, molécules
  27. \usepackage[version=4,arrows=pgf{latex}{0.09ex}]{mhchem}
  28. \usepackage{chemfig}
  29. % Gestion avancée des tableaux
  30. \usepackage{multirow}
  31. \usepackage{makecell}
  32. \usepackage{booktabs}
  33. \usepackage{longtable} % Tableaux sur plusieurs pages (utilisé pour les acronymes, constantes et symboles)
  34. \newcolumntype{d}{@{}c@{}}
  35. \newcolumntype{C}[1]{>{\centering}m{#1}}