_preamble.tex 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. \documentclass[open=any, listof=leveldown, DIV=classic]{scrbook}
  2. \usepackage[french]{babel}
  3. \usepackage{fontspec}
  4. % \setmainfont{Old Standard}
  5. \babelfont{rm}{NewComputerModern}
  6. \babelfont{sf}{NewComputerModern Sans}
  7. \babelfont{tt}{NewComputerModern Mono}
  8. \addtokomafont{disposition}{\rmfamily}
  9. \usepackage{csquotes}
  10. \usepackage[font=footnotesize, rightmargin=0pt]{quoting}
  11. \usepackage[svgnames]{xcolor}
  12. \usepackage{needspace}
  13. \usepackage{graphicx}
  14. \graphicspath{{images/}}
  15. \usepackage{tikzlings-penguins}
  16. \usepackage{scrlayer-scrpage}
  17. \ofoot[]{\begin{tikzpicture}
  18. \penguin[scale=0.5, signpost=\thepage]
  19. \end{tikzpicture}}
  20. \usepackage{filecontents}
  21. \begin{filecontents*}{\jobname.ist}
  22. headings_flag 1
  23. heading_prefix
  24. "\\par\\penalty-50\\textbf{"
  25. heading_suffix
  26. "}\\\\\*\~\\\\\*"
  27. symhead_positive "Extensions"
  28. symhead_negative "extensions"
  29. numhead_positive "Numbers"
  30. numhead_negative "numbers"
  31. delim_0 ",\~"
  32. \end{filecontents*}
  33. \usepackage[french]{varioref}
  34. \usepackage{imakeidx}
  35. \usepackage{xparse}
  36. \usepackage{hyperref}
  37. \hypersetup{unicode=true,colorlinks,allcolors=blue,linktocpage}
  38. \usepackage{hyperxmp}
  39. \usepackage{uri}
  40. \usepackage{intopdf}
  41. \usepackage{cleveref}
  42. \crefname{table}{tableau}{tableaux}
  43. \usepackage{kalendarium}
  44. \usepackage[type={CC}, modifier={by-sa}, version ={3.0}]{doclicense}
  45. \author{Robert Alessi}
  46. \date{\KalToday}
  47. \publishers{\url{https://notabug.org/ralessi/courses/}}
  48. \lowertitleback{\footnotesize\textcopyright{} 2018 Robert Alessi
  49. \mailto[courses]{robert.alessi@cnrs.fr}
  50. \doclicenseThis}
  51. \usepackage{widows-and-orphans}
  52. \WaOsetup{avoid-all}
  53. \usepackage{microtype}
  54. \usepackage{units}
  55. \usepackage{booktabs}
  56. \usepackage{xltabular}
  57. \usepackage{mdframed}
  58. \mdfsetup{
  59. everyline,
  60. backgroundcolor=Lavender,
  61. hidealllines=true}