[STRUCT] Reorganize structure

This commit is contained in:
Gregory Trolliet 2020-05-31 16:40:34 +02:00
parent 31523923a4
commit 5a964ec2c3
8 changed files with 71 additions and 62 deletions

1
.gitignore vendored
View File

@ -4,5 +4,6 @@
*.log
*.pdf
*.out
*.synctex.gz
!logo.pdf

View File

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Changed
* Separate files into:
* Context, for the context of the formation
* Objectives, for the objectives
* Messages, for the messages
* Steps, for the steps of the formation
## [0.4.0] - 2019-10-01
### Added

9
context.tex Normal file
View File

@ -0,0 +1,9 @@
\context{Super society}
\title{Formation plan}
\subject{My wonderful formation}
\author{Gregory Trolliet}
\supervisor{Jean Dupont}
\logo{logo.pdf}
\place{Super building, Oceania}
\room{room 101}
\startTime{11}{23}

View File

@ -2,16 +2,16 @@
\ProvidesPackage{formationTitle}[2019/10/01 v.0.4.0 a formation title
Gregory Trolliet]
\usepackage[a4paper, landscape]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{enumerate}
\usepackage{numprint}
\usepackage{graphicx}
\RequirePackage[a4paper, landscape]{geometry}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{enumerate}
\RequirePackage{numprint}
\RequirePackage{graphicx}
\usepackage[pdfusetitle]{hyperref}
\RequirePackage[pdfusetitle]{hyperref}
\usepackage[dvipsnames,table]{xcolor}
\RequirePackage[dvipsnames,table]{xcolor}
\definecolor{light-gray}{HTML}{CCCCCC}
\newcommand{\pause}{\rowcolor{light-gray}}
@ -36,7 +36,7 @@ Gregory Trolliet]
\ProcessOptions\relax
%Set the actual language, #1 for english and #2 for french
\usepackage[\dumblang{english}{french}]{babel}
\RequirePackage[\dumblang{english}{french}]{babel}
\RequirePackage{graphicx}
\RequirePackage{booktabs}

6
messages.tex Normal file
View File

@ -0,0 +1,6 @@
\messages{
\begin{itemize}
\item[] Message n$^{\circ}$1
\item[] Message n$^{\circ}$2
\end{itemize}
}

6
objectives.tex Normal file
View File

@ -0,0 +1,6 @@
\objectives{
\begin{itemize}
\item[] Objective n$^{\circ}$1
\item[] Objective n$^{\circ}$2
\end{itemize}
}

View File

@ -2,65 +2,16 @@
\usepackage[english]{formationTitle}
\context{Super society}
\title{Formation plan}
\subject{My wonderful formation}
\author{Gregory Trolliet}
\supervisor{Jean Dupont}
\logo{logo.pdf}
\place{Super building, Oceania}
\room{room 101}
\startTime{11}{23}
%\setcounter{HourCounter}{10}
%\setcounter{MinuteCounter}{0}
\input{context}
\input{objectives}
\input{messages}
\objectives{
\begin{itemize}
\item[] Objective n$^{\circ}$1
\item[] Objective n$^{\circ}$2
\end{itemize}
}
\messages{
\begin{itemize}
\item[] Message n$^{\circ}$1
\item[] Message n$^{\circ}$2
\end{itemize}
}
\begin{document}
\maketitle
\newgeometry{right=1cm, left=1cm}
\steptable{
\partCount
& \partDuration{5}
& Welcome
& Provide guidance
& Present the association, the active learning
&
& Flap \\
\hline
\pause
& \partDuration{10}
& Organization presentation
& Lecture style
&
& Orally
& -- \\
\hline
\partCount
& \partDuration{5}
& Organization presentation
& Lecture style
&
& Orally
& -- \\
}
\input{steps}
\end{document}

30
steps.tex Normal file
View File

@ -0,0 +1,30 @@
\steptable{
\partCount
& \partDuration{5}
& Welcome
& Provide guidance
& Present the association, the active learning
&
& Flap \\
\hline
\pause
& \partDuration{10}
& Organization presentation
& Lecture style
&
& Orally
& -- \\
\hline
\partCount
& \partDuration{5}
& Organization presentation
& Lecture style
&
& Orally
& -- \\
}