Compare commits
2 Commits
dd213a7709
...
507ab77bcf
Author | SHA1 | Date | |
---|---|---|---|
507ab77bcf | |||
38b946e18e |
@ -43,7 +43,7 @@
|
|||||||
\RequirePackage{luatextra} % charge fontspec => fontenc
|
\RequirePackage{luatextra} % charge fontspec => fontenc
|
||||||
% \defaultfontfeatures{Ligatures=TeX}
|
% \defaultfontfeatures{Ligatures=TeX}
|
||||||
\else
|
\else
|
||||||
\RequirePackage[francais]{babel} % => polyglossia
|
\RequirePackage[french]{babel} % => polyglossia
|
||||||
\RequirePackage[utf8]{inputenc} % => fontspec
|
\RequirePackage[utf8]{inputenc} % => fontspec
|
||||||
\RequirePackage[T1]{fontenc} % => fontspec
|
\RequirePackage[T1]{fontenc} % => fontspec
|
||||||
% \RequirePackage[babel=true,kerning=true]{microtype}
|
% \RequirePackage[babel=true,kerning=true]{microtype}
|
||||||
@ -72,6 +72,7 @@
|
|||||||
|
|
||||||
% maths
|
% maths
|
||||||
\RequirePackage{amsmath, amsthm, amsfonts, amssymb}
|
\RequirePackage{amsmath, amsthm, amsfonts, amssymb}
|
||||||
|
% \RequirePackage{amsmath, amsthm, amssymb}
|
||||||
\RequirePackage{tkz-euclide}
|
\RequirePackage{tkz-euclide}
|
||||||
\usetikzlibrary{arrows, calc, positioning, shapes.geometric, shadows, snakes, tikzmark}
|
\usetikzlibrary{arrows, calc, positioning, shapes.geometric, shadows, snakes, tikzmark}
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
@ -113,7 +114,7 @@
|
|||||||
\RequirePackage[dash]{dashundergaps}
|
\RequirePackage[dash]{dashundergaps}
|
||||||
\RequirePackage{comment}
|
\RequirePackage{comment}
|
||||||
\RequirePackage{caption}
|
\RequirePackage{caption}
|
||||||
\RequirePackage[outputdir=./build]{minted}
|
% \RequirePackage[outputdir=./build]{minted}
|
||||||
\RequirePackage{inconsolata}
|
\RequirePackage{inconsolata}
|
||||||
\RequirePackage{tasks}
|
\RequirePackage{tasks}
|
||||||
\RequirePackage{dashrule}
|
\RequirePackage{dashrule}
|
||||||
@ -304,31 +305,34 @@
|
|||||||
%
|
%
|
||||||
|
|
||||||
\definecolor{friendlybg}{HTML}{F0F0F0}
|
\definecolor{friendlybg}{HTML}{F0F0F0}
|
||||||
\newminted[python]{python}{style=bw,
|
\newif\ifplastex\plastexfalse
|
||||||
fontsize=\small,
|
\ifplastex
|
||||||
bgcolor=white,
|
\newminted[python]{python}{style=bw,
|
||||||
highlightcolor=white,
|
fontsize=\small,
|
||||||
autogobble,
|
bgcolor=white,
|
||||||
frame=none,
|
highlightcolor=white,
|
||||||
% breaklines,
|
autogobble,
|
||||||
escapeinside=||,
|
frame=none,
|
||||||
xleftmargin=0em,
|
% breaklines,
|
||||||
xrightmargin=0em,
|
escapeinside=||,
|
||||||
numbersep=.2em}
|
xleftmargin=0em,
|
||||||
|
xrightmargin=0em,
|
||||||
|
numbersep=.2em}
|
||||||
|
|
||||||
\newmintinline{python}{style=bw,
|
\newmintinline{python}{style=bw,
|
||||||
fontsize=\small,
|
fontsize=\small,
|
||||||
bgcolor=white,
|
bgcolor=white,
|
||||||
highlightcolor=white,
|
highlightcolor=white,
|
||||||
autogobble,
|
autogobble,
|
||||||
encoding=utf8}
|
encoding=utf8}
|
||||||
|
|
||||||
\renewcommand{\theFancyVerbLine}{
|
\renewcommand{\theFancyVerbLine}{
|
||||||
\sffamily\black{\bfseries{\scriptsize\arabic{FancyVerbLine}}}}
|
\sffamily\black{\bfseries{\scriptsize\arabic{FancyVerbLine}}}}
|
||||||
|
|
||||||
\AtBeginEnvironment{minted}{\dontdofcolorbox}
|
\AtBeginEnvironment{minted}{\dontdofcolorbox}
|
||||||
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
|
||||||
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
|
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
|
||||||
|
\fi
|
||||||
%--
|
%--
|
||||||
|
|
||||||
|
|
||||||
|
@ -125,10 +125,10 @@
|
|||||||
|
|
||||||
% double quoting
|
% double quoting
|
||||||
%%
|
%%
|
||||||
\NewDocumentCommand \og { }{
|
\providecommand{\og}{
|
||||||
<<
|
<<
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \fg { }{
|
\providecommand{\fg}{
|
||||||
>>
|
>>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user