additions and updates

This commit is contained in:
khannurien
2026-10-21 14:56:15 +00:00
parent a8426be8bd
commit 296b08e420
8 changed files with 155 additions and 83 deletions

View File

@@ -6,13 +6,13 @@
%% LOAD SUPPORTING PACKAGES %% LOAD SUPPORTING PACKAGES
% We want to use US letter paper with one-inch margins % We want to use A4 paper with one-inch margins
\RequirePackage{geometry} \RequirePackage{geometry}
\geometry{letterpaper, margin=1.0in} \geometry{a4paper, margin=1.0in}
% Alternatives:
% PDFLaTeX commands % \geometry{letterpaper, margin=1.0in} % US Letter
\pdfpagewidth=\paperwidth % \geometry{legalpaper, margin=1.0in} % US Legal
\pdfpageheight=\paperheight % \geometry{a5paper, margin=0.75in} % A5
% And we should use T1 for the output encoding, because the default results % And we should use T1 for the output encoding, because the default results
% in a big mess with accented characters in the PDF % in a big mess with accented characters in the PDF

View File

@@ -4,6 +4,21 @@
\usepackage{lmodern} \usepackage{lmodern}
\usepackage{carlletter} \usepackage{carlletter}
\usepackage[dvipsnames]{xcolor}
\usepackage{circledsteps}
% status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
\usepackage{xparse} % for the optional {text} argument
\usepackage{xspace}
\NewDocumentCommand{\pill}{m m m g}{%
\CircledParamOpts{inner color=#1, outer color=#2, fill color=#2}{1}{%
\textbf{#3}\IfValueT{#4}{ \textbf{--} #4}%
}%
\IfNoValueT{#4}{\xspace}% keep the space in "\TODO bla"
}
\newcommand{\DONE}{\pill{black}{LimeGreen}{DONE}}
\newcommand{\TODO}{\pill{black}{Goldenrod}{TODO}}
\newcommand{\FIXME}{\pill{white}{Red}{FIXME}}
\usepackage{graphicx} \usepackage{graphicx}
\graphicspath{{img/}} \graphicspath{{img/}}
@@ -12,33 +27,33 @@
\begin{document} \begin{document}
Vincent Lannurien \\ Vincent Lannurien \\
64 rue Paul Masson \\ 64 rue Paul Masson \\
29200 Brest 29200 Brest
\begin{flushright}
À l'attention de ...
\end{flushright}
\begin{flushright}
le , à, \\
\end{flushright}
\vspace{40px} \begin{flushright}
À l'attention de ...
Madame, Monsieur, \end{flushright}
\begin{flushright}
le , à, \\
\end{flushright}
\vspace{40px}
Madame, Monsieur,
\vspace{20px}
...
\vspace{40px}
\begin{flushright}
Vincent Lannurien
\vspace{20px} \vspace{20px}
... \includegraphics[width=4cm]{signature.png}
\end{flushright}
\vspace{40px}
\begin{flushright}
Vincent Lannurien
\vspace{20px}
\includegraphics[width=4cm]{signature.png}
\end{flushright}
\end{document} \end{document}

View File

@@ -67,6 +67,18 @@
% colorlet commands reference: https://texdoc.org/serve/tikzposter/0 % colorlet commands reference: https://texdoc.org/serve/tikzposter/0
% color names reference: https://sharelatex-wiki-cdn-671420.c.cdn77.org/learn-scripts/images/e/ef/OLxcolorList2.png % color names reference: https://sharelatex-wiki-cdn-671420.c.cdn77.org/learn-scripts/images/e/ef/OLxcolorList2.png
\usepackage[dvipsnames]{xcolor} \usepackage[dvipsnames]{xcolor}
% status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
\usepackage{xparse} % for the optional {text} argument
\usepackage{xspace}
\NewDocumentCommand{\pill}{m m m g}{%
\CircledParamOpts{inner color=#1, outer color=#2, fill color=#2}{1}{%
\textbf{#3}\IfValueT{#4}{ \textbf{--} #4}%
}%
\IfNoValueT{#4}{\xspace}% keep the space in "\TODO bla"
}
\newcommand{\DONE}{\pill{black}{LimeGreen}{DONE}}
\newcommand{\TODO}{\pill{black}{Goldenrod}{TODO}}
\newcommand{\FIXME}{\pill{white}{Red}{FIXME}}
\definecolor{accent}{HTML}{4D7EA8} \definecolor{accent}{HTML}{4D7EA8}
\definecolor{foreground}{HTML}{272932} \definecolor{foreground}{HTML}{272932}
\definecolor{background}{HTML}{FFFFFF} \definecolor{background}{HTML}{FFFFFF}
@@ -133,7 +145,7 @@
{ {
TODO TODO
} }
\column{0.65} \column{0.65}
\begin{subcolumns} \begin{subcolumns}
\subcolumn{1} \subcolumn{1}
@@ -170,7 +182,7 @@
\column{0.75} \column{0.75}
\colorlet{blockbodyfgcolor}{gray} \colorlet{blockbodyfgcolor}{gray}
\block{}{ \block{}{
\vspace{-40pt} \vspace{-40pt}
\nocite{*} \nocite{*}
\printbibliography[heading=none] \printbibliography[heading=none]
} }

View File

@@ -25,6 +25,19 @@
\MakeOuterQuote{"} \MakeOuterQuote{"}
\usepackage{enumitem} \usepackage{enumitem}
\usepackage[dvipsnames]{xcolor} \usepackage[dvipsnames]{xcolor}
\usepackage{circledsteps}
% status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
\usepackage{xparse} % for the optional {text} argument
\usepackage{xspace}
\NewDocumentCommand{\pill}{m m m g}{%
\CircledParamOpts{inner color=#1, outer color=#2, fill color=#2}{1}{%
\textbf{#3}\IfValueT{#4}{ \textbf{--} #4}%
}%
\IfNoValueT{#4}{\xspace}% keep the space in "\TODO bla"
}
\newcommand{\DONE}{\pill{black}{LimeGreen}{DONE}}
\newcommand{\TODO}{\pill{black}{Goldenrod}{TODO}}
\newcommand{\FIXME}{\pill{white}{Red}{FIXME}}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{titlesec} \usepackage{titlesec}
\usepackage{booktabs} \usepackage{booktabs}

View File

@@ -60,22 +60,22 @@
%%%%%%%%%%%% %%%%%%%%%%%%
\begin{document} \begin{document}
\maketitle \maketitle
\romantableofcontents \romantableofcontents
\section*{Glossaire} \section*{Glossaire}
\addcontentsline{toc}{section}{Glossaire} \addcontentsline{toc}{section}{Glossaire}
\printglossaries \printglossaries
\newpage \newpage
\input{sections/1_introduction} \input{sections/1_introduction}
\newpage \newpage
% \nocite{*} % \nocite{*}
\printbibliography \printbibliography
\newpage \newpage
\appendix \appendix
\section{Annexes} \section{Annexes}
\end{document} \end{document}

View File

@@ -86,6 +86,18 @@
\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}} \newcommand{\cmark}{{\color{YellowGreen}\ding{51}}}
\newcommand{\xmark}{{\color{BrickRed}\ding{55}}} \newcommand{\xmark}{{\color{BrickRed}\ding{55}}}
\newcommand{\imark}{{\color{Orange}\ding{109}}} \newcommand{\imark}{{\color{Orange}\ding{109}}}
% status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
\RequirePackage{xparse} % for the optional {text} argument
\RequirePackage{xspace}
\NewDocumentCommand{\pill}{m m m g}{%
\CircledParamOpts{inner color=#1, outer color=#2, fill color=#2}{1}{%
\textbf{#3}\IfValueT{#4}{ \textbf{--} #4}%
}%
\IfNoValueT{#4}{\xspace}% keep the space in "\TODO bla"
}
\newcommand{\DONE}{\pill{black}{LimeGreen}{DONE}}
\newcommand{\TODO}{\pill{black}{Goldenrod}{TODO}}
\newcommand{\FIXME}{\pill{white}{Red}{FIXME}}
% Figures % Figures

View File

@@ -126,35 +126,18 @@
\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}} \newcommand{\cmark}{{\color{YellowGreen}\ding{51}}}
\newcommand{\xmark}{{\color{BrickRed}\ding{55}}} \newcommand{\xmark}{{\color{BrickRed}\ding{55}}}
\newcommand{\imark}{{\color{Orange}\ding{109}}} \newcommand{\imark}{{\color{Orange}\ding{109}}}
% pills % status pills: \TODO, \TODO{text}, likewise \FIXME and \DONE
\RequirePackage{xparse} \RequirePackage{xparse} % for the optional {text} argument
\NewDocumentCommand{\DONE}{g}{% \RequirePackage{xspace}
\IfNoValueTF{#1}{% \NewDocumentCommand{\pill}{m m m g}{%
\CircledParamOpts{inner color=black, outer color=LimeGreen, fill color=LimeGreen} \CircledParamOpts{inner color=#1, outer color=#2, fill color=#2}{1}{%
{1}{\textbf{DONE}}% \textbf{#3}\IfValueT{#4}{ \textbf{--} #4}%
}{%
\CircledParamOpts{inner color=black, outer color=LimeGreen, fill color=LimeGreen}
{1}{\textbf{DONE --} #1}%
}%
}
\NewDocumentCommand{\TODO}{g}{%
\IfNoValueTF{#1}{%
\CircledParamOpts{inner color=black, outer color=Goldenrod, fill color=Goldenrod}
{1}{\textbf{TODO}}%
}{%
\CircledParamOpts{inner color=black, outer color=Goldenrod, fill color=Goldenrod}
{1}{\textbf{TODO --} #1}%
}%
}
\NewDocumentCommand{\FIXME}{g}{%
\IfNoValueTF{#1}{%
\CircledParamOpts{inner color=white, outer color=Red, fill color=Red}
{1}{\textbf{FIXME}}%
}{%
\CircledParamOpts{inner color=white, outer color=Red, fill color=Red}
{1}{\textbf{FIXME --} #1}%
}% }%
\IfNoValueT{#4}{\xspace}% keep the space in "\TODO bla"
} }
\newcommand{\DONE}{\pill{black}{LimeGreen}{DONE}}
\newcommand{\TODO}{\pill{black}{Goldenrod}{TODO}}
\newcommand{\FIXME}{\pill{white}{Red}{FIXME}}
% custom font size for a slide (cf. https://tex.stackexchange.com/a/401409) % custom font size for a slide (cf. https://tex.stackexchange.com/a/401409)
\RequirePackage{environ} \RequirePackage{environ}
\newcommand{\customframefont}[1]{ \newcommand{\customframefont}[1]{

View File

@@ -65,17 +65,17 @@
} }
\begin{framefont}{\small} \begin{framefont}{\small}
\begin{frame}[t]{Plan de la présentation} \begin{frame}[t]{Plan de la présentation}
\begin{columns} \begin{columns}
\column{0.5\textwidth} \column{0.5\textwidth}
\tableofcontents[hideallsubsections] \tableofcontents[hideallsubsections]
\column{0.5\textwidth} \column{0.5\textwidth}
\begin{center} \begin{center}
\includegraphics[width=0.9\columnwidth]{img/logos.png} \includegraphics[width=0.9\columnwidth]{img/logos.png}
\end{center} \end{center}
\end{columns} \end{columns}
\end{frame} \end{frame}
\end{framefont} \end{framefont}
\section{Contexte} \section{Contexte}
@@ -91,11 +91,48 @@
\end{center} \end{center}
\end{columns} \end{columns}
\TODO{bla}
\FIXME bla
\DONE
\addtocounter{footnote}{1} \addtocounter{footnote}{1}
\footnotetext{\fullcite{herofake}} \footnotetext{\fullcite{herofake}}
\end{frame} \end{frame}
\begin{frame}{...}
\begin{table}[ht]
\centering
\begin{tabular}{L{2cm} C{2.2cm} C{3.8cm} C{3.8cm}}
\toprule
\textbf{X} &
\textbf{Y} &
\textbf{\Circled{+}} &
\textbf{\Circled{-}} \\
\midrule
\rowcolor{rowgray}
\textbf{ABC}
& foo
& bar
& baz \\
\textbf{DEF}
& ?
& !
& mmh... \\
\rowcolor{rowgray}
\textbf{XYZ}
& \cmark
& \xmark
& \imark \\
\bottomrule
\end{tabular}
\end{table}
\end{frame}
\begin{frame}[standout] \begin{frame}[standout]
Merci de votre attention. Merci de votre attention.