[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 *.log
*.pdf *.pdf
*.out *.out
*.synctex.gz
!logo.pdf !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/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [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 ## [0.4.0] - 2019-10-01
### Added ### 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 \ProvidesPackage{formationTitle}[2019/10/01 v.0.4.0 a formation title
Gregory Trolliet] Gregory Trolliet]
\usepackage[a4paper, landscape]{geometry} \RequirePackage[a4paper, landscape]{geometry}
\usepackage[utf8]{inputenc} \RequirePackage[utf8]{inputenc}
\usepackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\usepackage{enumerate} \RequirePackage{enumerate}
\usepackage{numprint} \RequirePackage{numprint}
\usepackage{graphicx} \RequirePackage{graphicx}
\usepackage[pdfusetitle]{hyperref} \RequirePackage[pdfusetitle]{hyperref}
\usepackage[dvipsnames,table]{xcolor} \RequirePackage[dvipsnames,table]{xcolor}
\definecolor{light-gray}{HTML}{CCCCCC} \definecolor{light-gray}{HTML}{CCCCCC}
\newcommand{\pause}{\rowcolor{light-gray}} \newcommand{\pause}{\rowcolor{light-gray}}
@ -36,7 +36,7 @@ Gregory Trolliet]
\ProcessOptions\relax \ProcessOptions\relax
%Set the actual language, #1 for english and #2 for french %Set the actual language, #1 for english and #2 for french
\usepackage[\dumblang{english}{french}]{babel} \RequirePackage[\dumblang{english}{french}]{babel}
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage{booktabs} \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} \usepackage[english]{formationTitle}
\context{Super society} \input{context}
\title{Formation plan} \input{objectives}
\subject{My wonderful formation} \input{messages}
\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}
\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} \begin{document}
\maketitle \maketitle
\newgeometry{right=1cm, left=1cm} \newgeometry{right=1cm, left=1cm}
\steptable{ \input{steps}
\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
& -- \\
}
\end{document} \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
& -- \\
}