\makeatletter
\usepackage{ifluatex}
\ifluatex
  \usepackage{shellesc}
\fi

\usepackage{silence}
\WarningsOff[hyperref]
\usepackage{xcolor}%
\usepackage{colortbl}
\usepackage{graphicx}%
\usepackage{fontspec}
\usepackage{babel}
\usepackage{pdfpages}
\usepackage{textcomp}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}

\defaultfontfeatures{Ligatures=TeX}
\setmainfont[Renderer=ICU, SlantedFont=Gentium Basic, SlantedFeatures={FakeSlant},SmallCapsFont=Gentium Plus, SmallCapsFeatures={Letters=SmallCaps}]{Gentium Basic}
\setmonofont[FakeStretch=.7,BoldFont=Source Code Pro Semibold]{Source Code Pro}
\usepackage[math-style=ISO, bold-style=ISO]{unicode-math}
\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
\AtBeginDocument{\let\setminus\smallsetminus}
\setmathfont[range=scr]{XITS Math}
\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
\@ifclassloaded{scrartcl}{
\addtokomafont{disposition}{\rmfamily}
\setkomafont{descriptionlabel}{\bfseries}
}{}


\usepackage[babel]{csquotes}
\usepackage{microtype}
\usepackage[hang, centerlast]{subfigure}


\usepackage{epsfig}


\subimport{./}{unicode.tex}

\subimport{./}{ystikz.tex}
\subimport{./}{ystheorem.tex}

\usepackage[backend=biber, style=alphabetic]{biblatex}
\edef\@mybibfile{\import@path commun.bib}
\addbibresource{\@mybibfile}

\subimport{./}{yslistings.tex}



\usepackage{mdframed}
\definecolor{shadecolor}{gray}{.9}

\usepackage{tikz}
\usepackage[printwatermark]{xwatermark}
\newsavebox\mybox

\def\filigrane#1{%
%  \savebox\mybox{\tikz[color=black,opacity=0.15]\node{#1};}
%  \newwatermark*[allpages,angle=45,scale=3,xpos=0,ypos=0]{\usebox\mybox}
}



 


\usepackage{multicol}
\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}}

\usepackage[nolinks]{qrcode}
\def\marginqrcode#1{\marginparsep=2pt\marginparwidth=.9cm\marginpar{\qrcode[height=.9cm,level=L]{#1}}}

\@ifpackageloaded{hyperref}{}{
\usepackage{hyperref}
}
\hypersetup{hidelinks, hyperfootnotes=false, hyperindex=false, implicit=false, bookmarks=false, pdfpagelabels=false, breaklinks=true, pdfencoding=unicode}

\usepackage[os=win]{menukeys}
\renewmenumacro{\keys}{shadowedangularkeys}
\renewmenumacro{\directory}{hyphenatepathswithblackfolder}
\newmenumacro{\directorysymb}[/]{hyphenatepathswithblackfolder}

\subimport{./}{yssymbols.tex}

\AtEndDocument{\label{lastpage}}

\endinput