Modification du texte d'intro
This commit is contained in:
parent
1fd9458821
commit
6885c8250f
@ -77,7 +77,7 @@
|
||||
Voici un rapide calcul mental pour tester votre compréhension du cours.\\~\\
|
||||
\begin{itemize}[<+-|alert@+>]
|
||||
\item Vous répondrez sur la feuille qui vous a été distribuée.
|
||||
\item Vous avez 60 secondes pour répondre à chaque question.
|
||||
\item Le temps pour répondre à chaque question vous est indiqué au début de chacune d'elle.
|
||||
\item Un compte à rebours apparaîtra en bas à droite vous indiquant le temps restant pour répondre.
|
||||
\item C'est un calcul mental, la calculatrice n'est donc pas autorisée.
|
||||
\end{itemize}
|
||||
@ -92,17 +92,17 @@
|
||||
}
|
||||
|
||||
|
||||
\newcounter{ctrQuest}
|
||||
\newcounter{questionscounter}
|
||||
\NewDocumentEnvironment{questions}{O{60}}{ % begin
|
||||
\stepcounter{ctrQuest}
|
||||
\section{Question \usecounter{ctrQuest}}
|
||||
\stepcounter{questionscounter}
|
||||
\section{Question \usecounter{questionscounter}}
|
||||
\begin{frame}
|
||||
\centering
|
||||
Question \usecounter{ctrQuest}\transduration{3}
|
||||
Question \usecounter{questionscounter}\transduration{3}
|
||||
\end{frame}
|
||||
\begin{frame}
|
||||
\centering
|
||||
\begin{beamerboxesrounded}{Q\usecounter{ctrQuest}.}
|
||||
\begin{beamerboxesrounded}{Q\usecounter{questionscounter}.}
|
||||
} { % end
|
||||
\end{beamerboxesrounded} %
|
||||
\decompte{#1} %
|
||||
|
@ -42,7 +42,7 @@
|
||||
\RequirePackage{tabularx}
|
||||
|
||||
% liste
|
||||
\RequirePackage{enumitem}
|
||||
%\RequirePackage{enumitem}
|
||||
%-- %
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@
|
||||
%% lc{largeur} : gauche - centre
|
||||
%\newcolumntype{lc}[1]{>{\raggedright}m{#1}}
|
||||
%% cc{largeur} : centre - centre
|
||||
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
|
||||
\newcolumntype{M}[1]{ >{\centering\arraybackslash} m{#1} }
|
||||
%% rc{largeur} : droite - centre
|
||||
%\newcolumntype{rc}[1]{>{\raggedleft}m{#1}}
|
||||
%% lb{largeur} : gauche - bas
|
||||
@ -71,11 +71,58 @@
|
||||
%% rb{largeur} : droite - bas
|
||||
%\newcolumntype{rb}[1]{>{\raggedleft}b{#1}}
|
||||
|
||||
% \newenvironment{be}{ % begin
|
||||
% \begin{enumitem}
|
||||
% } { % end
|
||||
% \end{enumitem} %
|
||||
% }
|
||||
% questions<[type]>
|
||||
%
|
||||
% type = 1 -> \arabic
|
||||
% type = a -> \alph
|
||||
% type = A -> \Alph
|
||||
% type = i -> \roman
|
||||
% type = I -> \Roman
|
||||
% \arabic par défaut
|
||||
\newcounter{questionscounter}
|
||||
\newcommand{\questionsseparator}{.}
|
||||
\newenvironment{questions}[1][1] {
|
||||
\ifthenelse{ \equal{#1}{i} }
|
||||
{
|
||||
\def\cType{\roman}
|
||||
\renewcommand{\questionsseparator}{)}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{I} }
|
||||
{
|
||||
\def\cType{\Roman}
|
||||
\renewcommand{\questionsseparator}{.}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{a} }
|
||||
{
|
||||
\def\cType{\alph}
|
||||
\renewcommand{\questionsseparator}{)}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{A} }
|
||||
{
|
||||
\def\cType{\Alph}
|
||||
\renewcommand{\questionsseparator}{.}
|
||||
}
|
||||
{
|
||||
\def\cType{\arabic}
|
||||
\renewcommand{\questionsseparator}{.}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
\begin{list}{\textbf{\cType{questionscounter}\questionsseparator}}{
|
||||
\usecounter{questionscounter}
|
||||
\itemindent=0em
|
||||
\itemsep=8pt \leftmargin=0,54cm}
|
||||
} {
|
||||
\end{list}
|
||||
}
|
||||
\newcommand{\bq}{\begin{questions}}
|
||||
\newcommand{\eq}{\end{questions}}
|
||||
|
||||
|
||||
%--%
|
||||
|
||||
|
||||
|
@ -35,6 +35,7 @@
|
||||
% mise en page
|
||||
\RequirePackage{fancyhdr}
|
||||
\RequirePackage{multicol}
|
||||
% \RequirePackage{enumitem}
|
||||
|
||||
% insertion d'image
|
||||
%\RequirePackage{picins}
|
||||
@ -175,7 +176,7 @@
|
||||
% type = i -> \roman
|
||||
% type = I -> \Roman
|
||||
% \arabic par défaut
|
||||
\newcounter{cExercice}
|
||||
\newcounter{exercicecounter}
|
||||
\newcommand{\exercice}[1][1] {
|
||||
\ifthenelse{ \equal{#1}{i} }
|
||||
{
|
||||
@ -202,50 +203,57 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
\stepcounter{cExercice}
|
||||
\textbf{Exercice \cType{cExercice}\ }
|
||||
\stepcounter{exercicecounter}
|
||||
\textbf{Exercice \cType{exercicecounter}\ }
|
||||
}
|
||||
|
||||
|
||||
% questions<[type]>
|
||||
%
|
||||
% type = 1 -> \arabic
|
||||
% type = a -> \alph
|
||||
% type = A -> \Alph
|
||||
% type = i -> \roman
|
||||
% type = I -> \Roman
|
||||
% \arabic par défaut
|
||||
\newcounter{cQuestions}
|
||||
\newenvironment{questions}[1][1] {
|
||||
\ifthenelse{ \equal{#1}{i} }
|
||||
{
|
||||
\def\cType{\roman}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{I} }
|
||||
{
|
||||
\def\cType{\Roman}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{a} }
|
||||
{
|
||||
\def\cType{\alph}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{A} }
|
||||
{
|
||||
\def\cType{\Alph}
|
||||
}
|
||||
{
|
||||
\def\cType{\arabic}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
\begin{list}{\textbf{\cType{cQuestions}.~}}{\usecounter{cQuestions} \itemindent=0em \itemsep=8pt \leftmargin=0,65cm}
|
||||
} {
|
||||
\end{list}
|
||||
}
|
||||
% % questions<[type]>
|
||||
% %
|
||||
% % type = 1 -> \arabic
|
||||
% % type = a -> \alph
|
||||
% % type = A -> \Alph
|
||||
% % type = i -> \roman
|
||||
% % type = I -> \Roman
|
||||
% % \arabic par défaut
|
||||
% \newcounter{questionscounter}
|
||||
% \newcommand{\questionsseparator}{.}
|
||||
% \newenvironment{questions}[1][1] {
|
||||
% \ifthenelse{ \equal{#1}{i} }
|
||||
% {
|
||||
% \def\cType{\roman}
|
||||
% }
|
||||
% {
|
||||
% \ifthenelse{ \equal{#1}{I} }
|
||||
% {
|
||||
% \def\cType{\Roman}
|
||||
% }
|
||||
% {
|
||||
% \ifthenelse{ \equal{#1}{a} }
|
||||
% {
|
||||
% \def\cType{\alph}
|
||||
% \renewcommand{\questionsseparator}{)}
|
||||
% }
|
||||
% {
|
||||
% \ifthenelse{ \equal{#1}{A} }
|
||||
% {
|
||||
% \def\cType{\Alph}
|
||||
% }
|
||||
% {
|
||||
% \def\cType{\arabic}
|
||||
% }
|
||||
% }
|
||||
% }
|
||||
% }
|
||||
% \begin{list}{\textbf{\cType{questionscounter}\questionsseparator}}{
|
||||
% \usecounter{questionscounter}
|
||||
% \itemindent=0em
|
||||
% \itemsep=8pt \leftmargin=0,54cm}
|
||||
% } {
|
||||
% \end{list}
|
||||
% }
|
||||
% \newcommand{\bq}{\begin{questions}}
|
||||
% \newcommand{\eq}{\end{questions}}
|
||||
|
||||
|
||||
% setAngle{nom}{valeur}
|
||||
|
@ -1,6 +1,6 @@
|
||||
%%%
|
||||
%%%
|
||||
%%% Classe : calculmental.cls
|
||||
%%% Classe : cours_beamer.cls
|
||||
%%% Version : 1.0
|
||||
%%% Date : 08/12/14
|
||||
%%% Auteur : Jeff LANCE
|
||||
@ -28,6 +28,8 @@
|
||||
|
||||
|
||||
%-- paramètrages
|
||||
\graphicspath{{images/}}
|
||||
|
||||
\usetheme{Madrid}
|
||||
\usefonttheme{serif}
|
||||
\setbeamerfont{enumerate item}{family=\sffamily}
|
||||
@ -69,25 +71,60 @@
|
||||
}
|
||||
|
||||
% blocks
|
||||
% \newenvironment<>{def}[1]{%begin
|
||||
% \setbeamercolor{block title}{fg=white,bg=blue!75!black}%
|
||||
% \begin{block}{#1}}{\end{block}
|
||||
% }
|
||||
\newenvironment<>{déf}[1][]{%begin
|
||||
\setbeamercolor{block title}{fg=crimson,bg=pink!95!white}%
|
||||
\begin{block}{Définition}{#1}}{\end{block}
|
||||
}
|
||||
%
|
||||
% \newenvironment<>{thm}[1]{%begin
|
||||
% \setbeamercolor{block title}{fg=white,bg=blue!75!black}%
|
||||
% \begin{block}#2[#1]}{\end{block}
|
||||
% }
|
||||
\newenvironment<>{thm}[1][]{%begin
|
||||
\setbeamercolor{block title}{fg=white,bg=cerisepink!95!white}%
|
||||
\begin{block}{Théorème}{#1}}{\end{block}
|
||||
}
|
||||
%
|
||||
% \newenvironment<>{rmq}[1]{%begin
|
||||
% \setbeamercolor{block title}{fg=white,bg=red!75!black}%
|
||||
% \begin{block}#2[#1]}{\end{block}
|
||||
% }
|
||||
\newenvironment<>{rmq}[1][]{%begin
|
||||
\setbeamercolor{block title}{fg=white,bg=red!75!black}%
|
||||
\begin{block}#1}{\end{block}
|
||||
}
|
||||
%
|
||||
% \newenvironment<>{exp}[1]{%begin
|
||||
% \setbeamercolor{block title}{fg=white,bg=green!75!black}%
|
||||
% \begin{block}#2[#1]}{\end{block}
|
||||
% }
|
||||
\newenvironment<>{exp}[1][]{%begin
|
||||
\setbeamercolor{block title}{fg=white,bg=green!75!black}%
|
||||
\begin{block}#1}{\end{block}
|
||||
}
|
||||
%
|
||||
\newcounter{exercicecounter}
|
||||
\newenvironment<>{exo}[1][]{%begin
|
||||
\setbeamercolor{block title}{fg=white,bg=blue!75!black}%
|
||||
\ifthenelse{ \equal{#1}{i} }
|
||||
{
|
||||
\def\cType{\roman}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{I} }
|
||||
{
|
||||
\def\cType{\Roman}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{a} }
|
||||
{
|
||||
\def\cType{\alph}
|
||||
}
|
||||
{
|
||||
\ifthenelse{ \equal{#1}{A} }
|
||||
{
|
||||
\def\cType{\Alph}
|
||||
}
|
||||
{
|
||||
\def\cType{\arabic}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
\stepcounter{exercicecounter}
|
||||
\begin{block}{Exercice \cType{exercicecounter}\ }}{\end{block}
|
||||
}
|
||||
|
||||
|
||||
|
||||
%--%
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user