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