Compare commits

...

2 Commits

Author SHA1 Message Date
507ab77bcf update 2021-07-06 09:58:03 +02:00
38b946e18e up 2021-05-27 17:02:21 +02:00
2 changed files with 30 additions and 26 deletions

View File

@ -43,7 +43,7 @@
\RequirePackage{luatextra} % charge fontspec => fontenc
% \defaultfontfeatures{Ligatures=TeX}
\else
\RequirePackage[francais]{babel} % => polyglossia
\RequirePackage[french]{babel} % => polyglossia
\RequirePackage[utf8]{inputenc} % => fontspec
\RequirePackage[T1]{fontenc} % => fontspec
% \RequirePackage[babel=true,kerning=true]{microtype}
@ -72,6 +72,7 @@
% maths
\RequirePackage{amsmath, amsthm, amsfonts, amssymb}
% \RequirePackage{amsmath, amsthm, amssymb}
\RequirePackage{tkz-euclide}
\usetikzlibrary{arrows, calc, positioning, shapes.geometric, shadows, snakes, tikzmark}
\RequirePackage{calc}
@ -113,7 +114,7 @@
\RequirePackage[dash]{dashundergaps}
\RequirePackage{comment}
\RequirePackage{caption}
\RequirePackage[outputdir=./build]{minted}
% \RequirePackage[outputdir=./build]{minted}
\RequirePackage{inconsolata}
\RequirePackage{tasks}
\RequirePackage{dashrule}
@ -304,7 +305,9 @@
%
\definecolor{friendlybg}{HTML}{F0F0F0}
\newminted[python]{python}{style=bw,
\newif\ifplastex\plastexfalse
\ifplastex
\newminted[python]{python}{style=bw,
fontsize=\small,
bgcolor=white,
highlightcolor=white,
@ -316,19 +319,20 @@
xrightmargin=0em,
numbersep=.2em}
\newmintinline{python}{style=bw,
\newmintinline{python}{style=bw,
fontsize=\small,
bgcolor=white,
highlightcolor=white,
autogobble,
encoding=utf8}
\renewcommand{\theFancyVerbLine}{
\renewcommand{\theFancyVerbLine}{
\sffamily\black{\bfseries{\scriptsize\arabic{FancyVerbLine}}}}
\AtBeginEnvironment{minted}{\dontdofcolorbox}
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
\AtBeginEnvironment{minted}{\dontdofcolorbox}
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
\fi
%--

View File

@ -125,10 +125,10 @@
% double quoting
%%
\NewDocumentCommand \og { }{
\providecommand{\og}{
<<
}
\NewDocumentCommand \fg { }{
\providecommand{\fg}{
>>
}