aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmodel_6/example.rst14
-rwxr-xr-xmodel_6/lettre.rst34
-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
5 files changed, 57 insertions, 18 deletions
diff --git a/model_6/example.rst b/model_6/example.rst
index 5db07a6..42c055b 100755
--- a/model_6/example.rst
+++ b/model_6/example.rst
@@ -11,16 +11,6 @@
.. default-role:: latex
-.. raw:: latex
-
-
- %\setstretch{1.4}
-
- % Espacement entre chaque note de marge
- %\setlength{\notesep}{0cm}
-
- \renewcommand{\labelitemi}{}
-
.. role:: smallcaps
.. role:: smallemph
@@ -37,6 +27,9 @@ Nom et Prénom
Petite légende
--------------
+:latex:`\renewcommand{\labelitemi}{}`
+
+
.. container:: header
* 17 allée des cerisiers
@@ -46,7 +39,6 @@ Petite légende
* 01/02/1980
* Permis B
-
Expériences
===========
diff --git a/model_6/lettre.rst b/model_6/lettre.rst
new file mode 100755
index 0000000..57ad1f1
--- /dev/null
+++ b/model_6/lettre.rst
@@ -0,0 +1,34 @@
+.. -*- mode: rst -*-
+.. -*- coding: utf-8 -*-
+
+
+.. role:: latex(raw)
+ :format: latex
+
+.. default-role:: latex
+
+:latex:`\renewcommand{\labelitemi}{}`
+
+.. |phoneicon| replace:: `\renewcommand{\labelitemi}{\faPhone}`
+.. |mailicon| replace:: `\renewcommand{\labelitemi}{\faEnvelope}`
+.. |noicon| replace:: `\renewcommand{\labelitemi}{}`
+
+.. container:: header
+
+ * 17 allée des cerisiers
+ * 75001 Paris |phoneicon|
+ * 01 23 45 67 89 |mailicon|
+ * email@example |noicon|
+
+* Company Recruitment team
+* *Company, Inc.*
+* *123 somestreet*
+* *some city*
+
+.. raw:: latex
+
+ \setstretch{1.5}
+ \vspace{2cm}
+
+:latex:`\lipsum[1-3]`
+
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
}