Add a better location information
This commit is contained in:
parent
914b7be9cb
commit
fde256187c
3 changed files with 41 additions and 4 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -5,7 +5,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.3.0] - 2019-10-01
|
||||||
|
### Added
|
||||||
|
* formationTitle.sty, add new commands used to specify the location of
|
||||||
|
the formation
|
||||||
|
* `\hour` define the hour of the formation
|
||||||
|
* `\place` and `\room` define the place and the room
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
* Changed the display of the title page to add the use of the new commands
|
||||||
|
* If the place isn't defined, the room won't be displayed
|
||||||
|
|
||||||
## [0.2.0] - 2019-09-30
|
## [0.2.0] - 2019-09-30
|
||||||
|
### Added
|
||||||
* formationTitle.sty, add two new commands, `\objectivesTitle`
|
* formationTitle.sty, add two new commands, `\objectivesTitle`
|
||||||
and `\messagesTitles`, which allow to set the titles of the first page
|
and `\messagesTitles`, which allow to set the titles of the first page
|
||||||
and keep it on a separate line
|
and keep it on a separate line
|
||||||
|
|
|
@ -31,6 +31,12 @@ 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*{\room}[1]{\gdef\@room{#1}%
|
||||||
|
}
|
||||||
|
|
||||||
\newcommand*{\messagesTitle}[1]{\gdef\@messagesTitle{\textbf{#1}}%
|
\newcommand*{\messagesTitle}[1]{\gdef\@messagesTitle{\textbf{#1}}%
|
||||||
}
|
}
|
||||||
|
@ -43,9 +49,9 @@ not set, please fix this.}
|
||||||
\item Messages 2
|
\item Messages 2
|
||||||
\item Messages 3
|
\item Messages 3
|
||||||
\end{enumerate}}
|
\end{enumerate}}
|
||||||
\newcommand*{\objectivesTitles}[1]{\gdef\@objectivesTitles{\textbf{#1}}%
|
\newcommand*{\objectivesTitle}[1]{\gdef\@objectivesTitle{\textbf{#1}}%
|
||||||
}
|
}
|
||||||
\newcommand*{\@objectivesTitles}{\textbf{\dumblang{Objectives}{Objectifs}}}
|
\newcommand*{\@objectivesTitle}{\textbf{\dumblang{Objectives}{Objectifs}}}
|
||||||
\newcommand*{\objectives}[1]{\gdef\@objectives{#1}%
|
\newcommand*{\objectives}[1]{\gdef\@objectives{#1}%
|
||||||
}
|
}
|
||||||
\newcommand*{\@objectives}{
|
\newcommand*{\@objectives}{
|
||||||
|
@ -78,7 +84,7 @@ not set, please fix this.}
|
||||||
\begin{tabular}{p{.5\textwidth}|p{.5\textwidth}}
|
\begin{tabular}{p{.5\textwidth}|p{.5\textwidth}}
|
||||||
\toprule
|
\toprule
|
||||||
& \\
|
& \\
|
||||||
\@objectivesTitles\unskip\strut\par & \@messagesTitle\unskip\strut\par \\
|
\@objectivesTitle\unskip\strut\par & \@messagesTitle\unskip\strut\par \\
|
||||||
\@objectives\unskip\strut\par & \@messages\unskip\strut\par \\
|
\@objectives\unskip\strut\par & \@messages\unskip\strut\par \\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
@ -93,7 +99,22 @@ not set, please fix this.}
|
||||||
\vfill
|
\vfill
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
{\large \@date\par}
|
{\large \@date}
|
||||||
|
\ifx\@hour\undefined
|
||||||
|
\else
|
||||||
|
{
|
||||||
|
\large\itshape\@hour\unskip\strut}
|
||||||
|
\fi
|
||||||
|
\ifx\@place\undefined
|
||||||
|
\else
|
||||||
|
{\par
|
||||||
|
\@place\unskip\strut}
|
||||||
|
\ifx\@room\undefined
|
||||||
|
\else
|
||||||
|
{
|
||||||
|
\@room\unskip\strut}
|
||||||
|
\fi
|
||||||
|
\fi
|
||||||
\end{titlepage}
|
\end{titlepage}
|
||||||
}
|
}
|
||||||
\newcommand{\steptable}[1]
|
\newcommand{\steptable}[1]
|
||||||
|
|
4
plan.tex
4
plan.tex
|
@ -16,6 +16,10 @@
|
||||||
\author{Gregory Trolliet}
|
\author{Gregory Trolliet}
|
||||||
\supervisor{Jean Dupont}
|
\supervisor{Jean Dupont}
|
||||||
\logo{logo.pdf}
|
\logo{logo.pdf}
|
||||||
|
\hour{10h00}
|
||||||
|
\place{École-club Migros, Pont-Rouge}
|
||||||
|
\room{salle 514}
|
||||||
|
|
||||||
\objectives{
|
\objectives{
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item[] Objective n$^{\circ}$1
|
\item[] Objective n$^{\circ}$1
|
||||||
|
|
Loading…
Reference in a new issue