From 5a964ec2c35abc6a791627a03bc9cb8bbdab6019 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 31 May 2020 16:40:34 +0200 Subject: [PATCH] [STRUCT] Reorganize structure --- .gitignore | 1 + CHANGELOG.md | 6 +++++ context.tex | 9 ++++++++ formationTitle.sty | 18 +++++++-------- messages.tex | 6 +++++ objectives.tex | 6 +++++ plan.tex | 57 ++++------------------------------------------ steps.tex | 30 ++++++++++++++++++++++++ 8 files changed, 71 insertions(+), 62 deletions(-) create mode 100644 context.tex create mode 100644 messages.tex create mode 100644 objectives.tex create mode 100644 steps.tex diff --git a/.gitignore b/.gitignore index b7cb153..2a9416b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,6 @@ *.log *.pdf *.out +*.synctex.gz !logo.pdf diff --git a/CHANGELOG.md b/CHANGELOG.md index f6ced39..a3e109a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/context.tex b/context.tex new file mode 100644 index 0000000..fd8eb2b --- /dev/null +++ b/context.tex @@ -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} diff --git a/formationTitle.sty b/formationTitle.sty index 7ed8818..a5e81e8 100644 --- a/formationTitle.sty +++ b/formationTitle.sty @@ -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} diff --git a/messages.tex b/messages.tex new file mode 100644 index 0000000..c8c1729 --- /dev/null +++ b/messages.tex @@ -0,0 +1,6 @@ +\messages{ +\begin{itemize} +\item[] Message n$^{\circ}$1 +\item[] Message n$^{\circ}$2 +\end{itemize} +} diff --git a/objectives.tex b/objectives.tex new file mode 100644 index 0000000..c81ea29 --- /dev/null +++ b/objectives.tex @@ -0,0 +1,6 @@ +\objectives{ +\begin{itemize} +\item[] Objective n$^{\circ}$1 +\item[] Objective n$^{\circ}$2 +\end{itemize} +} diff --git a/plan.tex b/plan.tex index 1534a94..b86593d 100644 --- a/plan.tex +++ b/plan.tex @@ -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} diff --git a/steps.tex b/steps.tex new file mode 100644 index 0000000..d00e388 --- /dev/null +++ b/steps.tex @@ -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 +& -- \\ +}