Suppression du \hour, rajout d'une initialisation du timer

This commit is contained in:
Gregory Trolliet 2020-02-13 09:54:25 +01:00
parent 38166c0133
commit 31523923a4
2 changed files with 13 additions and 14 deletions

View file

@ -63,8 +63,6 @@ not set, please fix this.}
%\newcommand*{\@supervisor}{\texttt{\string\supervisor} currently %\newcommand*{\@supervisor}{\texttt{\string\supervisor} currently
%not set, please fix this.} %not set, please fix this.}
\newcommand*{\hour}[1]{\gdef\@hour{#1}%
}
\newcommand*{\place}[1]{\gdef\@place{#1}% \newcommand*{\place}[1]{\gdef\@place{#1}%
} }
\newcommand*{\room}[1]{\gdef\@room{#1}% \newcommand*{\room}[1]{\gdef\@room{#1}%
@ -81,9 +79,8 @@ not set, please fix this.}
\newcounter{MinuteCounter} \newcounter{MinuteCounter}
\newcommand{\startTime}[2]{% \newcommand{\startTime}[2]{%
\gdef\startHour{#1} \setcounter{HourCounter}{#1}
\setcounter{HourCounter}{\value{\startHour}} \setcounter{MinuteCounter}{#2}
\addtocounter{MinuteCounter}{ 2 }
} }
\newcommand*{\printTime}{% \newcommand*{\printTime}{%
@ -168,10 +165,10 @@ not set, please fix this.}
\fi \fi
{\large \@date} {\large \@date}
\ifx\@hour\undefined \ifnum\value{HourCounter}=0
\else \else
{ {
\large\itshape\@hour\unskip\strut} \large\itshape\printTime\unskip\strut}
\fi \fi
\ifx\@place\undefined \ifx\@place\undefined
\else \else

View file

@ -1,7 +1,5 @@
\documentclass{article} \documentclass{article}
\usepackage[a4paper, landscape]{geometry}
\usepackage[english]{formationTitle} \usepackage[english]{formationTitle}
\context{Super society} \context{Super society}
@ -10,11 +8,11 @@
\author{Gregory Trolliet} \author{Gregory Trolliet}
\supervisor{Jean Dupont} \supervisor{Jean Dupont}
\logo{logo.pdf} \logo{logo.pdf}
\hour{10h00}
\place{Super building, Oceania} \place{Super building, Oceania}
\room{room 101} \room{room 101}
\setcounter{HourCounter}{10} \startTime{11}{23}
\setcounter{MinuteCounter}{0} %\setcounter{HourCounter}{10}
%\setcounter{MinuteCounter}{0}
\objectives{ \objectives{
\begin{itemize} \begin{itemize}
@ -35,6 +33,7 @@
\newgeometry{right=1cm, left=1cm} \newgeometry{right=1cm, left=1cm}
\steptable{ \steptable{
\partCount \partCount
& \partDuration{5} & \partDuration{5}
& Welcome & Welcome
@ -42,16 +41,19 @@
& Present the association, the active learning & Present the association, the active learning
& &
& Flap \\ & Flap \\
\hline
\pause
\hline
\pause
& \partDuration{10} & \partDuration{10}
& Organization presentation & Organization presentation
& Lecture style & Lecture style
& &
& Orally & Orally
& -- \\ & -- \\
\hline \hline
\partCount \partCount
& \partDuration{5} & \partDuration{5}
& Organization presentation & Organization presentation