From 936b3898326b6e199240c627021d73747b1c45d1 Mon Sep 17 00:00:00 2001 From: khannurien Date: Tue, 10 Feb 2026 16:54:57 +0100 Subject: [PATCH] february 2026 updates --- Lettre/carlletter.sty | 5 ---- Poster/main.tex | 5 ++++ Projet/main.tex | 1 - Rapport/packages/sleek.sty | 53 ++++++++++++++++++++++++++------------ Slides/slides.cls | 25 +++++++++++++----- 5 files changed, 59 insertions(+), 30 deletions(-) diff --git a/Lettre/carlletter.sty b/Lettre/carlletter.sty index e24fd21..6c837c7 100644 --- a/Lettre/carlletter.sty +++ b/Lettre/carlletter.sty @@ -14,11 +14,6 @@ \pdfpagewidth=\paperwidth \pdfpageheight=\paperheight - -% We should support UTF-8 in the input file (since it is the twenty-first -% century, after all) -\RequirePackage[utf8]{inputenc} - % And we should use T1 for the output encoding, because the default results % in a big mess with accented characters in the PDF \RequirePackage[T1]{fontenc} diff --git a/Poster/main.tex b/Poster/main.tex index f4a545e..5847f02 100644 --- a/Poster/main.tex +++ b/Poster/main.tex @@ -45,6 +45,11 @@ \usepackage{circledsteps} \pgfkeys{/csteps/inner color=white} \pgfkeys{/csteps/fill color=black} +% markers +\RequirePackage{pifont} +\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}} +\newcommand{\xmark}{{\color{BrickRed}\ding{55}}} +\newcommand{\imark}{{\color{Orange}\ding{109}}} % lists \usepackage{enumerate} % comments diff --git a/Projet/main.tex b/Projet/main.tex index 0d13891..239a70d 100644 --- a/Projet/main.tex +++ b/Projet/main.tex @@ -1,5 +1,4 @@ \documentclass[12pt,a4paper]{article} -\usepackage[utf8]{inputenc} \usepackage[margin=2.5cm]{geometry} \usepackage{enumitem} \usepackage[dvipsnames]{xcolor} diff --git a/Rapport/packages/sleek.sty b/Rapport/packages/sleek.sty index 16f6a7d..672d025 100644 --- a/Rapport/packages/sleek.sty +++ b/Rapport/packages/sleek.sty @@ -4,10 +4,6 @@ % Settings % %%%%%%%%%%%% -% Encoding - -\RequirePackage[utf8]{inputenc} - % Font % \RequirePackage{lmodern} @@ -21,7 +17,6 @@ \RequirePackage{geometry} \RequirePackage{fancyhdr} \RequirePackage[bottom]{footmisc} -\RequirePackage{lscape} \geometry{margin=2.5cm} @@ -31,6 +26,8 @@ \fancyfoot[C]{\thepage} \renewcommand*{\headrulewidth}{0pt} +\RequirePackage{pdflscape} + % Code blocks \RequirePackage[newfloat]{minted} @@ -48,6 +45,7 @@ \RequirePackage{eurosym} \RequirePackage[parfill]{parskip} \RequirePackage[dvipsnames]{xcolor} +\RequirePackage{soul} % Links @@ -83,6 +81,10 @@ \RequirePackage{circledsteps} \pgfkeys{/csteps/inner color=white} \pgfkeys{/csteps/fill color=black} +\RequirePackage{pifont} +\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}} +\newcommand{\xmark}{{\color{BrickRed}\ding{55}}} +\newcommand{\imark}{{\color{Orange}\ding{109}}} % Figures @@ -98,11 +100,28 @@ \RequirePackage{booktabs} \RequirePackage{tabularx} \RequirePackage{multirow} +\RequirePackage{longtable} +\RequirePackage{geometry} +\RequirePackage{array} +\setlength{\extrarowheight}{1pt} \renewcommand{\arraystretch}{1.1} -\newcolumntype{Z}{>{\centering\arraybackslash}X} % Tabular text-wrapping column -\renewcommand\tabularxcolumn[1]{m{#1}} % Vertical centering of text in X columns +% dynamic columns +\newcolumntype{B}{>{\hsize=1.3\hsize}X} +\newcolumntype{C}{>{\hsize=.2\hsize}X} +\newcolumntype{s}{>{\hsize=.5\hsize}X} +% various tabular columns with text wrapping +\newcolumntype{L}{>{\arraybackslash}m{\linewidth}} +\newcolumntype{M}{>{\centering\arraybackslash}m{0.33\linewidth}} +\newcolumntype{V}{>{\centering\arraybackslash}m{0.10\linewidth}} +\newcolumntype{Y}{>{\centering\arraybackslash}m{0.15\linewidth}} +\newcolumntype{z}{>{\centering\arraybackslash}m{0.20\linewidth}} +\newcolumntype{y}{>{\arraybackslash}m{0.15\linewidth}} +% generic horizontally centered column with line breaks +\newcolumntype{Z}{>{\centering\arraybackslash}X} +% vertical centering of text in all tabularx columns +\renewcommand\tabularxcolumn[1]{m{#1}} % Algorithms @@ -247,15 +266,15 @@ % In-PDF comments -\newboolean{showcomments} -\setboolean{showcomments}{true} +% \newboolean{showcomments} +% \setboolean{showcomments}{true} -\ifthenelse{\boolean{showcomments}} -{ \newcommand{\mynote}[3]{ - \fbox{\bfseries\sffamily\scriptsize#1} - {\small$\blacktriangleright$\textsf{\emph{\color{#3}{#2}}}$\blacktriangleleft$}}} -{ \newcommand{\mynote}[3]{}} -\newcommand{\shrink}[1]{} +% \ifthenelse{\boolean{showcomments}} +% { \newcommand{\mynote}[3]{ +% \fbox{\bfseries\sffamily\scriptsize#1} +% {\small$\blacktriangleright$\textsf{\emph{\color{#3}{#2}}}$\blacktriangleleft$}}} +% { \newcommand{\mynote}[3]{}} +% \newcommand{\shrink}[1]{} -\newcommand{\jb}[1]{\mynote{Jalil}{#1}{red}} -\newcommand{\vl}[1]{\mynote{Vincent}{#1}{blue}} +% \newcommand{\jb}[1]{\mynote{Jalil}{#1}{red}} +% \newcommand{\vl}[1]{\mynote{Vincent}{#1}{blue}} diff --git a/Slides/slides.cls b/Slides/slides.cls index 2d474da..006cad9 100644 --- a/Slides/slides.cls +++ b/Slides/slides.cls @@ -54,7 +54,6 @@ % captions \RequirePackage{caption} \captionsetup{font=scriptsize,labelfont=scriptsize} -\RequirePackage{subcaption} % beamer theme \usetheme{moloch} @@ -65,14 +64,18 @@ BoldFont={Fira Sans}, BoldItalicFont={Fira Sans Italic} ]{Fira Sans Light} -% \setmonofont[BoldFont={Fira Mono Medium}]{Fira Mono} -\setmonofont{Fantasque Sans Mono} +\setmonofont[BoldFont={Fira Mono Medium}]{Fira Mono} +% \setmonofont{Fantasque Sans Mono} \AtBeginEnvironment{tabular}{% \addfontfeature{Numbers={Monospaced}} } % https://steeven9.github.io/USI-LaTeX/html/packages_hyperref_babel_xcolor3.html % Section 3.2 of: % https://mirror.ibcp.fr/pub/CTAN/macros/latex/contrib/beamer-contrib/themes/moloch/moloch.pdf +\definecolor{ubo}{HTML}{8c3759} +\setbeamercolor{progress bar}{fg=ubo} +\setbeamercolor{title separator}{fg=ubo} +\setbeamercolor{frametitle}{bg=ubo} % \setbeamercolor{progress bar}{fg=BrickRed} % \setbeamercolor{title separator}{fg=BrickRed} % footnote font size @@ -87,6 +90,10 @@ \molochset{subsectionpage=progressbar} % table of contents \setbeamertemplate{section in toc}[sections numbered] +\makeatletter +\patchcmd{\beamer@sectionintoc}{\vskip1.5em}{\vskip0.3em}{}{} +\patchcmd{\beamer@subsectionintoc}{\vskip0.75em}{\vskip0.15em}{}{} +\makeatother % smaller first-level bullet points \setbeamertemplate{itemize item}{\textbullet} % smaller bibliography entries @@ -105,15 +112,18 @@ } % fonts and symbols -\RequirePackage{pifont} -\newcommand{\cmark}{\color{YellowGreen}\ding{51}} -\newcommand{\xmark}{\color{BrickRed}\ding{55}} \RequirePackage{textcomp} \RequirePackage{emoji} -% markers +% circles \RequirePackage{circledsteps} \pgfkeys{/csteps/inner color=white} \pgfkeys{/csteps/fill color=black} +% markers +\RequirePackage{pifont} +\newcommand{\cmark}{{\color{YellowGreen}\ding{51}}} +\newcommand{\xmark}{{\color{BrickRed}\ding{55}}} +\newcommand{\imark}{{\color{Orange}\ding{109}}} +% pills \newcommand{\DONE}{% \CircledParamOpts{inner color=black, outer color=LimeGreen, fill color=LimeGreen}{1}{\textbf{DONE}} % } @@ -140,6 +150,7 @@ \RequirePackage{amsmath,amssymb,amsfonts} % resizebox \RequirePackage{graphicx} +\RequirePackage{subcaption} % tables \RequirePackage{tabularx} \RequirePackage{booktabs}