Compare commits

..

2 Commits

Author SHA1 Message Date
4ccbee3d98 slides: fix title page spacing, enable LIP6 and Sorbonne
- Reserve a left margin in the partner logo grid so a full grid stays
  clear of the affiliations.
- Let the space above the title shrink when the title page overflows,
  so the logos keep a bottom margin equal to the side margins.
- Enable the LIP6 and Sorbonne Université partners in the example deck.
- Note that author and institute blocks must stay plain: table and
  flushleft wrappers add vertical space.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-26 15:16:26 +01:00
khannurien
296b08e420 additions and updates 2026-10-21 14:56:15 +00:00
9 changed files with 167 additions and 89 deletions

View File

@@ -6,13 +6,13 @@
%% 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}
\geometry{letterpaper, margin=1.0in}
% PDFLaTeX commands
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\geometry{a4paper, margin=1.0in}
% Alternatives:
% \geometry{letterpaper, margin=1.0in} % US Letter
% \geometry{legalpaper, margin=1.0in} % US Legal
% \geometry{a5paper, margin=0.75in} % A5
% And we should use T1 for the output encoding, because the default results
% in a big mess with accented characters in the PDF

View File

@@ -4,6 +4,21 @@
\usepackage{lmodern}
\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}
\graphicspath{{img/}}
@@ -12,33 +27,33 @@
\begin{document}
Vincent Lannurien \\
64 rue Paul Masson \\
29200 Brest
\begin{flushright}
À l'attention de ...
\end{flushright}
\begin{flushright}
le , à, \\
\end{flushright}
Vincent Lannurien \\
64 rue Paul Masson \\
29200 Brest
\vspace{40px}
Madame, Monsieur,
\begin{flushright}
À l'attention de ...
\end{flushright}
\begin{flushright}
le , à, \\
\end{flushright}
\vspace{40px}
Madame, Monsieur,
\vspace{20px}
...
\vspace{40px}
\begin{flushright}
Vincent Lannurien
\vspace{20px}
...
\vspace{40px}
\begin{flushright}
Vincent Lannurien
\vspace{20px}
\includegraphics[width=4cm]{signature.png}
\end{flushright}
\includegraphics[width=4cm]{signature.png}
\end{flushright}
\end{document}

View File

@@ -67,6 +67,18 @@
% 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
\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{foreground}{HTML}{272932}
\definecolor{background}{HTML}{FFFFFF}
@@ -133,7 +145,7 @@
{
TODO
}
\column{0.65}
\begin{subcolumns}
\subcolumn{1}
@@ -170,7 +182,7 @@
\column{0.75}
\colorlet{blockbodyfgcolor}{gray}
\block{}{
\vspace{-40pt}
\vspace{-40pt}
\nocite{*}
\printbibliography[heading=none]
}

View File

@@ -25,6 +25,19 @@
\MakeOuterQuote{"}
\usepackage{enumitem}
\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{titlesec}
\usepackage{booktabs}

View File

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

View File

@@ -86,6 +86,18 @@
\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}}
\newcommand{\xmark}{{\color{BrickRed}\ding{55}}}
\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

View File

@@ -88,7 +88,8 @@
{
\int_set:Nn \l__slides_partner_count_int
{ \seq_count:N \l__slides_partner_files_seq }
\dim_set:Nn \l__slides_partner_width_dim {\linewidth}
% Keep a margin on the left so a full grid stays clear of the affiliations.
\dim_set:Nn \l__slides_partner_width_dim {.82\linewidth}
\dim_set:Nn \l__slides_partner_maxheight_dim {.24\paperheight}
\dim_set:Nn \l__slides_partner_xgap_dim
{ \fp_to_dim:n {min(.04 * \dim_to_fp:n {\linewidth},
@@ -153,7 +154,7 @@
{
\int_compare:nNnT {##1} > {1}
{ \vskip \l__slides_partner_ygap_dim }
\hbox_to_wd:nn {\l__slides_partner_width_dim}
\hbox_to_wd:nn {\linewidth}
{
\hfil
\int_step_inline:nnn {##1}

View File

@@ -126,35 +126,18 @@
\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}}
\newcommand{\xmark}{{\color{BrickRed}\ding{55}}}
\newcommand{\imark}{{\color{Orange}\ding{109}}}
% pills
\RequirePackage{xparse}
\NewDocumentCommand{\DONE}{g}{%
\IfNoValueTF{#1}{%
\CircledParamOpts{inner color=black, outer color=LimeGreen, fill color=LimeGreen}
{1}{\textbf{DONE}}%
}{%
\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}%
% 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}}
% custom font size for a slide (cf. https://tex.stackexchange.com/a/401409)
\RequirePackage{environ}
\newcommand{\customframefont}[1]{
@@ -212,8 +195,10 @@
\setbeamertemplate{title page}{
% Use the theme's margins rather than a full-paper-height box, which placed
% the footer almost on the page edge. Stretch only the space above the footer.
% If the content is too tall, shrink the top space so the footer keeps its
% bottom margin and the title moves up instead.
\begin{minipage}[t][\dimexpr\paperheight-2\beamer@leftmargin\relax][s]{\textwidth}
\vspace*{.04\paperheight}
\vspace*{\dimexpr .04\paperheight\relax minus 1fill}
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\vspace{.2cm}
@@ -227,7 +212,7 @@
\column{0.44\linewidth}
\insertpartnerlogos
\end{columns}
\vspace*{.02\paperheight}
\vspace*{0pt}
\end{minipage}
}
\makeatother

View File

@@ -10,14 +10,17 @@
\partner{ubo}
\partner{ensta}
% \partner{ifremer}
% \partner{lip6}
% \partner{sorbonne}
\partner{lip6}
\partner{sorbonne}
% \partner{academia-sinica}
% \partner{taipei}
% See README.md for supported formats and custom logo paths.
% Optional legacy title graphic (used only when no partners are enabled):
% \titlegraphic{\flushright\includegraphics[height=1.3cm]{img/logos.png}\vspace{.5cm}}
% Keep author and institute blocks plain: table or flushleft wrappers add
% vertical space, which pushes the title up and misaligns the affiliations
% with the partner logos.
\author{
\texorpdfstring{
\begin{tabular}{@{}l@{}}
@@ -65,17 +68,17 @@
}
\begin{framefont}{\small}
\begin{frame}[t]{Plan de la présentation}
\begin{columns}
\column{0.5\textwidth}
\tableofcontents[hideallsubsections]
\begin{frame}[t]{Plan de la présentation}
\begin{columns}
\column{0.5\textwidth}
\tableofcontents[hideallsubsections]
\column{0.5\textwidth}
\begin{center}
\includegraphics[width=0.9\columnwidth]{img/logos.png}
\end{center}
\end{columns}
\end{frame}
\column{0.5\textwidth}
\begin{center}
\includegraphics[width=0.9\columnwidth]{img/logos.png}
\end{center}
\end{columns}
\end{frame}
\end{framefont}
\section{Contexte}
@@ -91,11 +94,48 @@
\end{center}
\end{columns}
\TODO{bla}
\FIXME bla
\DONE
\addtocounter{footnote}{1}
\footnotetext{\fullcite{herofake}}
\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]
Merci de votre attention.