aboutsummaryrefslogtreecommitdiff
path: root/model_6/resources
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-01-05 10:32:35 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-01-05 10:34:48 +0100
commitc283c578db25effd1e52706dafe822c78aaa7607 (patch)
tree4522923ba27880f7a29311cbf07473bf8e9e3ec6 /model_6/resources
parent1580c9a97934403cc96488247d29b8e64e9fde94 (diff)
Modified the template in order generate a letter to
Diffstat (limited to 'model_6/resources')
-rwxr-xr-xmodel_6/resources/00_preamble.tex2
-rw-r--r--model_6/resources/10_container.tex24
-rwxr-xr-xmodel_6/resources/10_title_style.tex1
3 files changed, 20 insertions, 7 deletions
diff --git a/model_6/resources/00_preamble.tex b/model_6/resources/00_preamble.tex
index e969bba..bd36515 100755
--- a/model_6/resources/00_preamble.tex
+++ b/model_6/resources/00_preamble.tex
@@ -1,6 +1,6 @@
\usepackage{calc}
-\usepackage[a4paper, top=0.5cm, bottom=0.5cm, outer=2.0cm, inner=2.0cm]{geometry}
+\usepackage[a4paper, top=2cm, bottom=0.5cm, outer=2.0cm, inner=2.0cm]{geometry}
\pagestyle{empty}
\pagenumbering{gobble}
diff --git a/model_6/resources/10_container.tex b/model_6/resources/10_container.tex
index a880a85..9b4173b 100644
--- a/model_6/resources/10_container.tex
+++ b/model_6/resources/10_container.tex
@@ -1,8 +1,22 @@
+\usepackage[absolute]{textpos}
\newenvironment{DUCLASSheader}
{ % renew the itemize command in order to apply a flushright to each elements
\let\olditemize\itemize%
- \renewcommand\itemize{\olditemize\raggedleft\setlength\itemsep{0.0em}\small}%
- % Create a minipage on the right
- \begin{flushright}\begin{minipage}[t][0cm][b]{\linewidth}%
- \raggedleft\em\color{gray}}
- { \end{minipage}\end{flushright}}
+ \renewcommand\itemize{
+ \olditemize%
+ \raggedleft%
+ \setlength\itemsep{0.0em}%
+ \small}%
+ \raggedleft%
+ \em%
+ % A textblock is created for placing the header in the topright corner
+ \begin{textblock*}{\linewidth}[0,0](2cm,1.5cm)%
+
+ % Create a new group for the color gray
+ \begingroup%
+ \color{gray}%
+ }
+ {
+ \endgroup%
+ \end{textblock*}%
+ }
diff --git a/model_6/resources/10_title_style.tex b/model_6/resources/10_title_style.tex
index 05036f4..a194354 100755
--- a/model_6/resources/10_title_style.tex
+++ b/model_6/resources/10_title_style.tex
@@ -13,7 +13,6 @@
\makeatletter
\def\@maketitle{%
- \vspace*{1cm}
\fontsize{1.2cm}{2cm}
\TitleFont\selectfont \@title
}