Feat: font parameter and listexercise
This commit is contained in:
parent
0563c8c153
commit
137431bbbb
@ -1,13 +1,12 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
|
||||
% extensions
|
||||
\RequirePackage[utf8x]{inputenc}
|
||||
%\RequirePackage[utf8x]{inputenc}
|
||||
\RequirePackage[french]{babel}
|
||||
%\usepackage[babel=true,kerning=true]{microtype}
|
||||
\RequirePackage[T1]{fontenc}
|
||||
\RequirePackage{amssymb}
|
||||
\RequirePackage{amsmath}
|
||||
\RequirePackage{amsfonts}
|
||||
%\RequirePackage{amssymb}
|
||||
%\RequirePackage{amsmath}
|
||||
%\RequirePackage{amsfonts}
|
||||
\PassOptionsToPackage{table,usenames,dvipsnames}{xcolor}
|
||||
\RequirePackage{hyperref}
|
||||
%\RequirePackage{subfig}
|
||||
@ -15,6 +14,7 @@
|
||||
\RequirePackage{graphicx}
|
||||
\graphicspath{{./}{\string~/.Clipart/}}
|
||||
|
||||
\RequirePackage{textcomp}
|
||||
\RequirePackage{gensymb}
|
||||
\RequirePackage{ifthen, calc}
|
||||
\RequirePackage{tabularx}
|
||||
@ -53,10 +53,16 @@
|
||||
\RequirePackage{shortcuts}
|
||||
|
||||
%Polices
|
||||
%% l'option nomath fait que la police du mode mathématique n'est pas affectée
|
||||
\RequirePackage[nomath]{kpfonts}
|
||||
\renewcommand*\familydefault{\sfdefault}
|
||||
\RequirePackage[T1]{fontenc}
|
||||
\RequirePackage{kpfonts-otf}
|
||||
\RequirePackage{fontspec}
|
||||
\setmainfont{KpSans}
|
||||
\setsansfont{KpSans}
|
||||
\setmonofont{KpMono}
|
||||
|
||||
% \RequirePackage[nomath]{kpfonts}
|
||||
% \renewcommand*\familydefault{\sfdefault}
|
||||
% \RequirePackage[T1]{fontenc}
|
||||
|
||||
|
||||
% Les tableaux
|
||||
\renewcommand{\arraystretch}{1.5}
|
||||
|
@ -104,16 +104,23 @@
|
||||
}
|
||||
|
||||
\newcommand\listsectionexercises{%
|
||||
\begin{itemize}
|
||||
|
||||
\begin{itemize}[label={$\square$}]
|
||||
\ForEachUsedExerciseByType{%
|
||||
\ifnum\ExercisePropertyGet{##1}{##2}{step}=\value{section}
|
||||
\item
|
||||
\ifnum\ExercisePropertyGet{##1}{##2}{step}=\value{section}%
|
||||
\item %
|
||||
\XSIMmixedcase{\GetExerciseName}\nobreakspace
|
||||
\GetExerciseProperty{counter}%
|
||||
{{\PropertyValue}}: %
|
||||
\GetExerciseProperty{subtitle}%
|
||||
{{\PropertyValue}}%
|
||||
|
||||
\dotfill
|
||||
%Auto-évaluation
|
||||
\begin{tikzpicture}
|
||||
\foreach \k in {0,1,...,4}{
|
||||
\draw (\k*0.5, 0) node[draw, star, star points=5, star point ratio=0.5]{};
|
||||
}
|
||||
\end{tikzpicture}
|
||||
\fi
|
||||
}%
|
||||
\end{itemize}
|
||||
|
@ -97,7 +97,7 @@
|
||||
|
||||
% Pour l'évaluation par compétence
|
||||
\usepackage{tikzsymbols}
|
||||
\usetikzlibrary{babel}
|
||||
\usetikzlibrary{babel, shapes, snakes}
|
||||
|
||||
\RequirePackage{xstring}
|
||||
\newcommand{\RepLevel}[1]{%
|
||||
|
Loading…
Reference in New Issue
Block a user