Feat: skeleton to create new sequence
This commit is contained in:
14
tools/skeleton/sequence/B1.tex
Executable file
14
tools/skeleton/sequence/B1.tex
Executable file
@@ -0,0 +1,14 @@
|
||||
\documentclass[a4paper,10pt]{article}
|
||||
\usepackage{myXsim}
|
||||
|
||||
\author{\Var{ author }}
|
||||
\title{\Var{title} - Cours}
|
||||
\date{\Var{date.strftime("%B %Y")}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\end{document}
|
18
tools/skeleton/sequence/E1.tex
Executable file
18
tools/skeleton/sequence/E1.tex
Executable file
@@ -0,0 +1,18 @@
|
||||
\documentclass[a4paper,10pt]{article}
|
||||
\usepackage{myXsym}
|
||||
|
||||
\author{\Var{ author }}
|
||||
\title{\Var{title} - Cours}
|
||||
\date{\Var{date.strftime("%B %Y")}
|
||||
|
||||
\DeclareExerciseCollection{banque}
|
||||
\xsimsetup{
|
||||
step=1,
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\input{exercises.tex}
|
||||
\printcollection{banque}
|
||||
|
||||
\end{document}
|
10
tools/skeleton/sequence/exercises.tex
Normal file
10
tools/skeleton/sequence/exercises.tex
Normal file
@@ -0,0 +1,10 @@
|
||||
\collectexercises{banque}
|
||||
\begin{exercise}[subtitle={<++>}, step={1}, origin={<++>}, topics={\Var{title}}, tags={\Var{tags}}]
|
||||
<++>
|
||||
\end{exercise}
|
||||
|
||||
\begin{solution}
|
||||
<++>
|
||||
\end{solution}
|
||||
|
||||
\collectexercisesstop{banque}
|
12
tools/skeleton/sequence/index.rst
Normal file
12
tools/skeleton/sequence/index.rst
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ title }}
|
||||
{{ title_under }}
|
||||
|
||||
:date: 2020-08-14
|
||||
:modified: 2020-08-14
|
||||
:authors: {{ author }}
|
||||
:tags: {{ tags }}
|
||||
:category: {{ tribe }}
|
||||
:summary: {{ summary }}
|
||||
|
||||
Étape 1:
|
||||
========
|
Reference in New Issue
Block a user