Update.
This commit is contained in:
parent
78a38e2fb0
commit
4b53e6a1c9
@ -99,22 +99,25 @@
|
||||
}
|
||||
|
||||
|
||||
% \titre{TITRE}{SOUS-TITRE}{ANNÉE}{LIEU}
|
||||
% defini le titre du document
|
||||
\newcommand{\titre}[4]{%
|
||||
\title{#1}
|
||||
\subtitle{Calcul Mental}
|
||||
\date{#2}
|
||||
\author{#3}
|
||||
\subtitle{#2}
|
||||
\date{#3}
|
||||
\author{Calcul mental}
|
||||
\institute{#4}
|
||||
}
|
||||
|
||||
|
||||
\NewDocumentCommand \debut { s }{%
|
||||
\begin{frame}
|
||||
\begin{frame}[plain]
|
||||
\titlepage
|
||||
|
||||
\transduration{3}
|
||||
\end{frame}
|
||||
|
||||
\addtocounter{framenumber}{-1}
|
||||
|
||||
\begin{frame}
|
||||
\centering
|
||||
Voici un rapide calcul mental pour tester votre compréhension du cours.\\~\\
|
||||
|
@ -132,6 +132,7 @@
|
||||
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
|
||||
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
|
||||
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
|
||||
\newcolumntype{M}[1]{>{\centering}m{#1}}
|
||||
%% lh{largeur} : gauche - haut
|
||||
%\newcolumntype{lh}[1]{>{\raggedright}p{#1}}
|
||||
%% ch{largeur} : centre - haut
|
||||
@ -203,22 +204,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
\NewDocumentCommand \getbool { }{%
|
||||
\pgfmathtruncatemacro{\random}{rnd}
|
||||
%\pgfmathparse{notless(\random, .5)}
|
||||
\pgfmathparse{(\random > .5) ? true : false}
|
||||
\NewDocumentCommand \@getletter{ G{1} G{26} }{
|
||||
\pgfmathsetmacro{\random}{rnd}
|
||||
\pgfmathparse{\random >= 0.5 ? "\noexpand\getrandomletter{#1}{#2}" : "\noexpand\getrandomletter*{#1}{#2}"}
|
||||
\pgfmathresult
|
||||
}
|
||||
|
||||
% \NewDocumentCommand \displaysolutions { }{%
|
||||
% \iftoggle{display}{
|
||||
% \textbf{Solutions}
|
||||
% \includecomment{solution}
|
||||
% }{
|
||||
% \excludecomment{solution}
|
||||
% }
|
||||
% }
|
||||
|
||||
|
||||
|
||||
%
|
||||
|
@ -219,7 +219,6 @@
|
||||
\titlepage
|
||||
\end{frame}
|
||||
\addtocounter{framenumber}{-1}
|
||||
|
||||
}
|
||||
|
||||
\newcommand{\fin}{%
|
||||
|
@ -478,6 +478,7 @@
|
||||
\mdtheorem[style=todo, theoremseparator={ -}, theoremspace={}]{app}{Application}
|
||||
\mdtheorem[style=todo, theoremseparator={}, theoremspace={}]{appn}{}
|
||||
\mdtheorem[style=method, theoremseparator={ -}, theoremspace={}]{met}{Méthode}
|
||||
\mdtheorem[style=clear, theoremseparator={}, theoremspace={}]{metn}{}
|
||||
|
||||
|
||||
|
||||
@ -669,6 +670,16 @@
|
||||
\end{met*}
|
||||
}
|
||||
|
||||
\RenewDocumentEnvironment{metn}{ o } {%begin
|
||||
\IfNoValueTF {#1} {
|
||||
\begin{metn*}
|
||||
}{
|
||||
\begin{metn*}[#1]
|
||||
}
|
||||
}{%end
|
||||
\end{metn*}
|
||||
}
|
||||
|
||||
% titre
|
||||
\NewDocumentCommand \titre { G{Titre} G{Sous-titre} }{%
|
||||
\setlength{\droptitle}{-2cm}
|
||||
@ -707,8 +718,8 @@
|
||||
\setlist[questions, 1]{label=\textbf{\arabic*.}}
|
||||
\setlist[questions, 2]{label=\textbf{\alph*)}}
|
||||
|
||||
\newlist{questinl}{enumerate*}{1}
|
||||
\setlist*[questinl]{label=\textbf{\alph*)}}
|
||||
\newlist{questionsl}{enumerate*}{1}
|
||||
\setlist*[questionsl]{label=\textbf{\alph*)}}
|
||||
|
||||
\setlist[enumerate, 1]{label=\textbf{\arabic*.}, leftmargin=*, labelsep=.5em}
|
||||
\setlist[enumerate, 2]{label=\textbf{\alph*)}}
|
||||
|
@ -62,6 +62,9 @@
|
||||
\ensuremath{ \vec{\jmath} }
|
||||
}
|
||||
|
||||
% redéfinition du signe vectoriel
|
||||
\renewcommand{\Vec}[1]{\overrightarrow{#1\vphantom(}}
|
||||
|
||||
% ensembles
|
||||
\NewDocumentCommand \R { s g } {
|
||||
\IfBooleanTF {#1} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user