File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 63
63
{0.5ex} % sep
64
64
{} % before-code
65
65
66
- \newcommand {\QAlabel }{\IfLanguageName {english}{}{la }Question}
67
- \newcommand {\theQA }{\thesection }
68
-
69
66
\RequirePackage [eval]{../../../../../../eplqa}
70
67
68
+ \newcommand {\QAlabel }{\IfLanguageName {english}{}{la }Question}
69
+ \renewcommand {\theQA }{\thesection }
70
+
71
71
\endinput
Original file line number Diff line number Diff line change 50
50
{0.5ex} % sep
51
51
{} % before-code
52
52
53
+ \RequirePackage {../../../eplqa}
53
54
54
55
\newcommand {\QAlabel }{\IfLanguageName {english}{Exercise}{l'Exercice}}
55
- \newcommand {\theQA }{\thesubsection }
56
-
57
- \RequirePackage {../../../eplqa}
58
56
59
57
% \comment and \endcomment of the environment solution
60
58
% does not work with newcommand
Original file line number Diff line number Diff line change 41
41
{} % before-code
42
42
43
43
44
- \newcommand {\QAlabel }{\IfLanguageName {english}{MCQ}{le QCM}}
45
- \newcommand {\theQA }{\thesubsection }
46
-
47
44
\RequirePackage {../../../eplqa}
48
45
46
+ \newcommand {\QAlabel }{\IfLanguageName {english}{MCQ}{le QCM}}
47
+ \renewcommand {\theQA }{\thesubsection }
48
+
49
49
\endinput
Original file line number Diff line number Diff line change 9
9
\usepackage {tikzpagenodes }
10
10
\usetikzlibrary {calc, arrows}
11
11
12
+ \RequirePackage {titlesec} % Provides the \thetitle command.
13
+ \newcommand {\theQA }{\thetitle } % Default definition of this command: it uses the current section/subsection/... label
14
+
12
15
\newcommand {\SolutionLabel }{Solution \IfLanguageName {english}{to}{à} \QAlabel ~\theQA }
13
16
14
17
\usepackage [framemethod=tikz ]{mdframed }
You can’t perform that action at this time.
0 commit comments