Fichiers
typo-cpge/latex/paquets.tex

105 lignes
3.0 KiB
TeX
Brut Vue normale Historique

2018-02-21 19:12:43 +01:00
\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}
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
\@ifclassloaded{scrartcl}{
2018-02-21 19:12:43 +01:00
\addtokomafont{disposition}{\rmfamily}
\setkomafont{descriptionlabel}{\bfseries}
}{}
\usepackage[babel]{csquotes}
\usepackage{microtype}
\usepackage[hang, centerlast]{subfigure}
\usepackage{epsfig}
2018-02-27 23:36:19 +01:00
\subimport{./}{unicode.tex}
2018-02-21 19:12:43 +01:00
2018-02-27 23:36:19 +01:00
\subimport{./}{ystikz.tex}
\subimport{./}{ystheorem.tex}
2018-02-21 19:12:43 +01:00
\usepackage[backend=biber, style=alphabetic]{biblatex}
\edef\@mybibfile{\import@path commun.bib}
\addbibresource{\@mybibfile}
2018-02-21 19:12:43 +01:00
2018-02-27 23:36:19 +01:00
\subimport{./}{yslistings.tex}
2018-02-21 19:12:43 +01:00
\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}{}{
2018-02-21 19:12:43 +01:00
\usepackage{hyperref}
}
2018-02-21 19:12:43 +01:00
\hypersetup{hidelinks, hyperfootnotes=false, hyperindex=false, implicit=false, bookmarks=false, pdfpagelabels=false, breaklinks=true, pdfencoding=unicode}
\usepackage[os=win]{menukeys}
\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
2018-02-27 23:36:19 +01:00
\subimport{./}{yssymbols.tex}
2018-02-21 19:12:43 +01:00
2018-02-21 19:12:43 +01:00
\endinput