| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \NeedsTeXFormat{LaTeX2e}[1995/12/01] | 
					
						
							| 
									
										
										
										
											2019-03-03 23:17:26 +01:00
										 |  |  | \ProvidesPackage{paquets} | 
					
						
							| 
									
										
										
										
											2020-02-09 15:29:41 +01:00
										 |  |  | \RequirePackage{iftex} | 
					
						
							|  |  |  | \RequireLuaTeX | 
					
						
							|  |  |  | \RequirePackage{shellesc} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{silence} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \WarningsOff[hyperref] | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{xcolor}% | 
					
						
							|  |  |  | \RequirePackage{colortbl} | 
					
						
							|  |  |  | \RequirePackage{graphicx}% | 
					
						
							|  |  |  | \RequirePackage{fontspec} | 
					
						
							|  |  |  | \RequirePackage{babel} | 
					
						
							|  |  |  | \RequirePackage{pdfpages} | 
					
						
							|  |  |  | \RequirePackage{textcomp} | 
					
						
							|  |  |  | \RequirePackage{latexsym} | 
					
						
							|  |  |  | \RequirePackage{amsmath} | 
					
						
							|  |  |  | \RequirePackage{amssymb} | 
					
						
							| 
									
										
										
										
											2021-01-20 19:09:32 +01:00
										 |  |  | \RequirePackage[inter-unit-product = \ensuremath{{}\cdot{}}, binary-units]{siunitx} | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{mathtools} | 
					
						
							|  |  |  | \RequirePackage{xspace} | 
					
						
							|  |  |  | \RequirePackage{mdwlist} | 
					
						
							| 
									
										
										
										
											2019-08-02 14:44:36 +02:00
										 |  |  | \RequirePackage{xparse} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | \defaultfontfeatures{Ligatures=TeX} | 
					
						
							| 
									
										
										
										
											2021-02-24 22:53:56 +01:00
										 |  |  | \setmainfont[SlantedFont=Gentium Basic, SlantedFeatures={FakeSlant},BoldSlantedFeatures={FakeSlant},SmallCapsFont=Gentium Plus, SmallCapsFeatures={Letters=SmallCaps}]{Gentium Basic} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \setmonofont[FakeStretch=.7,BoldFont=Source Code Pro Semibold]{Source Code Pro} | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage[math-style=ISO, bold-style=ISO]{unicode-math} | 
					
						
							| 
									
										
										
										
											2019-02-22 23:28:26 +01:00
										 |  |  | %% bug recent dans unicode-math https://tex.stackexchange.com/a/475802/103608 | 
					
						
							|  |  |  | \ExplSyntaxOn | 
					
						
							|  |  |  | \cs_set:Nn \__um_fontdimen_to_percent:nN | 
					
						
							|  |  |  |   { | 
					
						
							|  |  |  |     \fp_eval:n { \dim_to_decimal_in_sp:n {  \fontdimen #1 #2 } / 100 } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | \ExplSyntaxOff | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \setmathfont{texgyrepagella-math.otf}[Scale = MatchLowercase] | 
					
						
							|  |  |  | \setmathfont{Asana-Math.otf}[range={\varnothing}, Scale = MatchLowercase] | 
					
						
							|  |  |  | \setmathfont{texgyrepagella-math.otf}[range={\int}, Scale = MatchLowercase] %% https://tex.stackexchange.com/a/386937/103608 | 
					
						
							|  |  |  | \ifluatex | 
					
						
							|  |  |  | \relax | 
					
						
							|  |  |  | \else | 
					
						
							|  |  |  | \Udelcodenum`.=1073741824 %% WTF https://tex.stackexchange.com/a/386937/103608 | 
					
						
							|  |  |  | \fi | 
					
						
							| 
									
										
										
										
											2018-12-03 20:52:46 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | %%% utiliser les chiffres et la virgule de la police texte en mode math | 
					
						
							|  |  |  | %%% adapté de https://tex.stackexchange.com/a/407928/103608 | 
					
						
							|  |  |  | \DeclareSymbolFont{digits}{TU}{\rmdefault}{m}{n} | 
					
						
							|  |  |  | \DeclareMathSymbol{0}{\mathalpha}{digits}{`0} | 
					
						
							|  |  |  | \DeclareMathSymbol{1}{\mathalpha}{digits}{`1} | 
					
						
							|  |  |  | \DeclareMathSymbol{2}{\mathalpha}{digits}{`2} | 
					
						
							|  |  |  | \DeclareMathSymbol{3}{\mathalpha}{digits}{`3} | 
					
						
							|  |  |  | \DeclareMathSymbol{4}{\mathalpha}{digits}{`4} | 
					
						
							|  |  |  | \DeclareMathSymbol{5}{\mathalpha}{digits}{`5} | 
					
						
							|  |  |  | \DeclareMathSymbol{6}{\mathalpha}{digits}{`6} | 
					
						
							|  |  |  | \DeclareMathSymbol{7}{\mathalpha}{digits}{`7} | 
					
						
							|  |  |  | \DeclareMathSymbol{8}{\mathalpha}{digits}{`8} | 
					
						
							|  |  |  | \DeclareMathSymbol{9}{\mathalpha}{digits}{`9} | 
					
						
							|  |  |  | \DeclareMathSymbol{,}{\mathpunct}{digits}{`,} | 
					
						
							|  |  |  | \DeclareMathSymbol{;}{\mathpunct}{digits}{`;} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \AtBeginDocument{\let\setminus\smallsetminus} | 
					
						
							| 
									
										
										
										
											2018-10-13 00:09:43 +02:00
										 |  |  | \setmathfont[range=scr]{XITS Math} | 
					
						
							| 
									
										
										
										
											2021-02-22 20:27:53 +01:00
										 |  |  | \setmathfont[range={\mdlgwhtcircle,\mdlgwhtsquare,\mdlgwhtdiamond}, Scale=.85]{STIX Two Math} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \setmathfontface\mathcal{MnSymbol} | 
					
						
							|  |  |  | \setmathfontface\mathit{texgyrepagella-italic.otf}[Scale = MatchLowercase] | 
					
						
							|  |  |  | \setmathfontface\mathsf{texgyredejavu-math.otf}[Scale = MatchLowercase] | 
					
						
							|  |  |  | \def\tmit#1{\text{\fontspec{texgyrepagella-italic.otf}[Scale = MatchLowercase] #1}} | 
					
						
							|  |  |  | \let\mtit\tmit | 
					
						
							|  |  |  | \let\textdef\textit | 
					
						
							| 
									
										
										
										
											2018-08-05 18:53:03 +02:00
										 |  |  | \@ifclassloaded{scrartcl}{ | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \addtokomafont{disposition}{\rmfamily} | 
					
						
							|  |  |  | \setkomafont{descriptionlabel}{\bfseries} | 
					
						
							|  |  |  | }{} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage[babel]{csquotes} | 
					
						
							|  |  |  | \RequirePackage{microtype} | 
					
						
							|  |  |  | \RequirePackage[hang, centerlast]{subfigure} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{epsfig} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{ysunicode} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{ystikz} | 
					
						
							|  |  |  | \RequirePackage{ystheorem} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage[backend=biber, style=alphabetic]{biblatex} | 
					
						
							| 
									
										
										
										
											2019-11-14 22:25:29 +01:00
										 |  |  | \begin{luacode*} | 
					
						
							|  |  |  | function dirname(str) | 
					
						
							|  |  |  | 	if str:match(".-/.-") then | 
					
						
							|  |  |  | 		local name = string.gsub(str, "(.*/)(.*)", "%1") | 
					
						
							|  |  |  | 		return name | 
					
						
							|  |  |  | 	else | 
					
						
							|  |  |  | 		return '' | 
					
						
							|  |  |  | 	end | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | tex.print([[\addbibresource{]]..dirname(status["filename"])..[[commun.bib}]]) | 
					
						
							|  |  |  | \end{luacode*} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{yslistings} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{mdframed} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \definecolor{shadecolor}{gray}{.9} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{multicol} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \newenvironment{enumq}{\begin{enumerate}\renewcommand*{\theenumi}{\alph{enumi}}\@ifundefined{thequestion}{\renewcommand*\p@enumi{\thecorrige.}}{\renewcommand*\p@enumi{\thequestion.}}}{\end{enumerate}} | 
					
						
							|  |  |  | \newenvironment{multiq}[1]{\begin{multicols}{#1}\begin{enumq}}{\end{enumq}\end{multicols}} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage[nolinks]{qrcode} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \def\marginqrcode#1{\marginparsep=2pt\marginparwidth=.9cm\marginpar{\qrcode[height=.9cm,level=L]{#1}}} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-08-05 18:53:03 +02:00
										 |  |  | \@ifpackageloaded{hyperref}{}{ | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{hyperref} | 
					
						
							| 
									
										
										
										
											2018-08-05 18:53:03 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \hypersetup{hidelinks, hyperfootnotes=false, hyperindex=false, implicit=false, bookmarks=false, pdfpagelabels=false, breaklinks=true, pdfencoding=unicode} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-26 19:56:14 +01:00
										 |  |  | %%% https://github.com/latex3/latex2e/issues/411#issuecomment-708434918 | 
					
						
							|  |  |  | % catoptions patch (no guarantee that will work): | 
					
						
							|  |  |  | % must be applied before loading catoptions | 
					
						
							| 
									
										
										
										
											2020-11-03 13:17:37 +01:00
										 |  |  | %%% https://tex.stackexchange.com/a/26229 | 
					
						
							|  |  |  | \newcommand*\@iflatexlater{\@ifl@t@r\fmtversion} | 
					
						
							|  |  |  | \@iflatexlater{2020/10/01}{% | 
					
						
							| 
									
										
										
										
											2020-10-26 19:56:14 +01:00
										 |  |  | \def\FIXcatoptions\endgroup#1\begingroup{#1} | 
					
						
							|  |  |  | \AddToHook{package/after/catoptions} | 
					
						
							| 
									
										
										
										
											2020-11-03 13:17:37 +01:00
										 |  |  |   {\gleftaddtocs\document{\FIXcatoptions}}% | 
					
						
							|  |  |  | }{} | 
					
						
							| 
									
										
										
										
											2020-10-26 19:56:14 +01:00
										 |  |  | \RequirePackage[os=win]{menukeys}  %% charge catoptions | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \renewmenumacro{\keys}{shadowedangularkeys} | 
					
						
							| 
									
										
										
										
											2018-08-16 17:49:45 +02:00
										 |  |  | \renewmenumacro{\directory}{hyphenatepathswithblackfolder} | 
					
						
							|  |  |  | \newmenumacro{\directorysymb}[/]{hyphenatepathswithblackfolder} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-24 14:23:28 +01:00
										 |  |  | \RequirePackage{yssymbols} | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-26 19:57:04 +01:00
										 |  |  | \RequirePackage{lualatex-math} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-15 22:34:44 +02:00
										 |  |  | \AtEndDocument{\label{lastpage}} | 
					
						
							| 
									
										
										
										
											2018-08-05 18:53:03 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-16 19:23:48 +02:00
										 |  |  | \def\completer{% | 
					
						
							|  |  |  | \@ifundefined{mode}{\@completer}{% | 
					
						
							|  |  |  | \mode<article> | 
					
						
							|  |  |  | \@completer | 
					
						
							|  |  |  | \mode | 
					
						
							|  |  |  | <all>}} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \ExplSyntaxOn | 
					
						
							|  |  |  | \newcommand{\mymod}[2]{\int_mod:nn{#1}{#2}} | 
					
						
							|  |  |  | \ExplSyntaxOff | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \def\@completer{% | 
					
						
							|  |  |  | \loop | 
					
						
							|  |  |  | \ifnum\mymod{\value{page}}{4}>0  | 
					
						
							|  |  |  | \clearpage | 
					
						
							|  |  |  | \begin{center} | 
					
						
							|  |  |  | Notes et compléments | 
					
						
							|  |  |  | \end{center} | 
					
						
							|  |  |  | \repeat} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-02-21 19:12:43 +01:00
										 |  |  | \endinput |