From 83120a9d91a70b704c9bec07b11104c0e581423e Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 10 Apr 2021 20:13:35 +0200 Subject: [PATCH] project: initial pandoc template --- .gitattributes | 1 + Makefile | 4 +++ begin-document.tex | 42 ++++++++++++++++++++++++++++++ config.yaml | 29 +++++++++++++++++++++ figs/epita-banner.png | 3 +++ figs/linkedin.png | 3 +++ header.tex | 60 +++++++++++++++++++++++++++++++++++++++++++ report.md | 25 ++++++++++++++++++ 8 files changed, 167 insertions(+) create mode 100644 .gitattributes create mode 100644 Makefile create mode 100644 begin-document.tex create mode 100644 config.yaml create mode 100644 figs/epita-banner.png create mode 100644 figs/linkedin.png create mode 100644 header.tex create mode 100644 report.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ea11d8e --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +/figs/* filter=lfs diff=lfs merge=lfs -text diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..871fa19 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +all: report.pdf + +report.pdf: report.md begin-document.tex config.yaml header.tex + pandoc --defaults config.yaml diff --git a/begin-document.tex b/begin-document.tex new file mode 100644 index 0000000..570f96e --- /dev/null +++ b/begin-document.tex @@ -0,0 +1,42 @@ +%--------------------------------------------------------------------------------- +% Preamble +%--------------------------------------------------------------------------------- + +\title{ + {Promotion 2021 \hfill Majeure IMAGE}\\ + \vspace{3cm} + {\Huge \textbf{End of studies internship report}}\\ + \vspace{1.5cm} + {\large Internship from 2021-03-01 to 2021-09-01 at :} \\ + \vspace{0.3cm} + {\huge IMC BV} \\ + \vspace{0.5cm} + {\large With the subject :} \\ + \vspace{0.2cm} + {Benchmark IMC's new exchange connectivity service} \\ + \vspace{1cm} + {\large Under the mentorship of : \\ Jelle Wissink} \\ +} + +%\author{Christelle Zouein \\ \\ christelle.zouein@epita.fr} +%\date{February 2021} +\date{} % for an empty page +\author{} +%--------------------------------------------------------------------------------- +% Title Page +%--------------------------------------------------------------------------------- +\maketitle +\thispagestyle{title} + +\newpage + +%--------------------------------------------------------------------------------- +% Contents +%--------------------------------------------------------------------------------- +\tableofcontents + +\newpage + +%--------------------------------------------------------------------------------- +% Body +%--------------------------------------------------------------------------------- diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..417f5d0 --- /dev/null +++ b/config.yaml @@ -0,0 +1,29 @@ +from: markdown +to: pdf + +output-file: output.pdf +input-files: + - report.md + +variables: + documentclass: article + classoptions: + - 12pt + - french + - a4paper + +include-before-body: + - begin-document.tex +include-after-body: [] +include-in-header: + - header.tex +resource-path: ["."] + +metadata: + author: + - Bruno BELANYI + +pdf-engine: pdflatex +table-of-contents: true +toc-depth: 1 +number-sections: true diff --git a/figs/epita-banner.png b/figs/epita-banner.png new file mode 100644 index 0000000..f4b45f4 --- /dev/null +++ b/figs/epita-banner.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:827130de35efacdff3dc6f353fa0175a5a05c1cc82f278bb3d889988eed48432 +size 165986 diff --git a/figs/linkedin.png b/figs/linkedin.png new file mode 100644 index 0000000..3ebd0af --- /dev/null +++ b/figs/linkedin.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f42ddff1f2dc9b7b4edde222c2be2d5546fe540cd30d02064756cbdc884fab8e +size 14643 diff --git a/header.tex b/header.tex new file mode 100644 index 0000000..1eba738 --- /dev/null +++ b/header.tex @@ -0,0 +1,60 @@ +\usepackage{lmodern} +\usepackage{latexsym} +\usepackage{float} +\usepackage{placeins} +\usepackage{graphicx} +\usepackage{indentfirst} +\usepackage{fancyhdr} +\usepackage{changepage} +\usepackage{enumitem} +\usepackage{url} +\usepackage{amssymb} +\usepackage{subcaption} +\DeclareCaptionLabelSeparator{colon}{ : } % to add space before the colon in the figure caption. +%\usepackage[dvipsnames, table]{xcolor} %FIXME +\usepackage{hyperref} +\hypersetup{% + colorlinks=true, + %linkcolor=NavyBlue, + linkcolor=blue, % FIXME + filecolor=magenta, + urlcolor=blue, + citecolor=blue, +} + +\usepackage[includeheadfoot, headheight=64pt, margin=1.25in]{geometry} +\usepackage{graphicx} +\usepackage{fancyhdr} +\usepackage{tikz} + + +%--------------------------------------------------------------------------------- +% Title header +%--------------------------------------------------------------------------------- + +\fancypagestyle{title} {% +\pagestyle{fancy} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} +\fancyhf{} +\chead{\includegraphics[width=\linewidth]{figs/epita-banner.png}} +\rfoot{\thepage} +\lfoot{Bruno BELAYI \\ \vspace{-11pt} \hspace{3.1cm} \href{https://www.linkedin.com/in/bruno-belanyi}{\includegraphics[height=0.5cm]{figs/linkedin.png}}} +} + +%--------------------------------------------------------------------------------- +% Header +%--------------------------------------------------------------------------------- + +\pagestyle{fancy} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} +\fancyhf{} +\chead{ +\begin{tikzpicture} + \draw (0, 0) node[inner sep=0] {\includegraphics[width=\linewidth]{figs/epita-banner.png}}; + \draw (3, 0) node {\textcolor{white}{\textbf{End of studies internship report - IMAGE}}}; +\end{tikzpicture} +} +\rfoot{\thepage} +\cfoot{IMV BV - Bruno BELANYI} diff --git a/report.md b/report.md new file mode 100644 index 0000000..2c8a92e --- /dev/null +++ b/report.md @@ -0,0 +1,25 @@ +# Exec Sum + +# Thanks and acknowledgements + +# Introduction + +# Subject + +# Context of the subject + +# Internship roadmap + +# Engineering practices + +# Illustrated analysis of acquired skills + +# Added value + +# Conclusion + +# Annex + +## About IMC + +## Results & Comments