-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcatalogue-moodle-lua.tex
More file actions
46 lines (35 loc) · 1.15 KB
/
catalogue-moodle-lua.tex
File metadata and controls
46 lines (35 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\documentclass[a4paper,10pt]{article}
% - - - - - - - - -
% ATTENTION
% - - - - - - - - -
%
% Ceci doit être compilé en LUALATEX, et *pas* en pdflatex !
%
% (raison pour laquelle il manque fontenc, inputenc etc)
% pdflatex produit des erreurs, lua non.
\usepackage[margin=2cm]{geometry}
\usepackage{amssymb,amsthm,amsmath,mathrsfs,stmaryrd,multicol,comment}
\usepackage{tikz}
\usepackage{moodle}
\newcommand\pad[1]{\ifnum #1 < 1000 0\fi \ifnum #1 < 100 0\fi \ifnum #1 < 10 0\fi #1} % un peu moche mais bon : sert à ajouetr la bonne quantité de zéros devant un numero de question
% packages et macros pour questions Maxime :
\usepackage{mathdots}
\newcommand{\ora}{\overrightarrow}
\newcommand{\R}{\mathbb R}
\newcommand{\C}{\mathbb C}
\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\eq}[1]{\underset{#1}{\sim}}
\newcommand{\cvg}[1]{\xrightarrow[#1]{}}
\DeclareMathOperator{\tr}{Tr}
\DeclareMathOperator{\id}{Id}
\DeclareMathOperator{\rg}{rg}
\DeclareMathOperator{\im}{Im}
\DeclareMathOperator{\Mat}{Mat}
\begin{document}
\begin{quiz}{Catalogue}
\foreach \n in {1,...,1500} {%
\input{./latex_moodle/10\pad{\n}.tex}%
}%
\end{quiz}
\end{document}