diff --git a/LISEZMOI b/LISEZMOI index 8c5b522dcf81d12c2477232c509a48aa40a304b7..2ec87217b8830c97389aaf123ccb3dd60ce5c042 100644 --- a/LISEZMOI +++ b/LISEZMOI @@ -5,12 +5,7 @@ Trois types de documents sont proposés initialement : lettres, rapports et présentations ; d'autres suivront. Ces fichiers supposent une installation récente de LaTeX et ont été testés avec -les distributions texlive 2017 et 2021. Il faut utiliser lualatex pour compiler -les documents. Ce style nécessite l'installation des polices Marianne, Spectral -et Droid Sans Mono qui sont disponibles gratuitement pour tout système. Marianne -a été créée pour l'état français (https://www.gouvernement.fr/charte/charte- -graphique-les-fondamentaux/la-typographie) et peut être téléchargée à -https://gouvfr.atlassian.net/wiki/spaces/DB/pages/223019527/ +les distributions texlive 2017, 2021 et 2024. Il faut utiliser lualatex pour compiler les documents. Ce style nécessite l'installation des polices Marianne, Spectral et Droid Sans Mono qui sont disponibles gratuitement pour tout système. Marianne a été créée pour l'état français (https://www.gouvernement.fr/charte/charte-graphique-les-fondamentaux/la-typographie) et peut être téléchargée à https://gouvfr.atlassian.net/wiki/spaces/DB/pages/223019527/ Typographie+-+Typography. Droid Sans Mono a été créée pour Android (http://en.wikipedia.org/wiki/Droid_fonts) et est disponible par exemple sur http://www.fontsquirrel.com/fonts/droid-sans-mono ou le paquetage fonts-droid @@ -29,5 +24,7 @@ Contenu du répertoire : - LICENSE License copyleft GPL v3 - install-linux.sh script bash d'installation dans le répertoire de l'utilisateur courant + - latexmkrc Fichier à mettre à la racine d'un projet overleaf + pour permettre l'utilisation de ces styles en considérant que tous les fichiers sont copiés dans un sous-répertoire ULille du projet Auteur initial : Pierre Boulet <Pierre.Boulet@univ-lille.fr> diff --git a/README b/README index 948dabed1e5bb6614de63f759e38218475157a39..3e3e5b0703ad9ddd064848e404776095b3ca1ec6 100644 --- a/README +++ b/README @@ -5,18 +5,7 @@ For the moment, three kinds of documents are proposed: letters, reports and presentations; more will come. These styles expect a recent install of LaTeX and have been tested with the -texlive 2017 and 2021 distribution. The files are to be compiled with lualatex. -These styles need the Marianne, Spectral and Droid Sans Mono fonts. These fonts -are freely available for all operating systems. Marianne has been created for -the French state (https://www.gouvernement.fr/charte/charte-graphique-les- -fondamentaux/la-typographie) and can be downloaded at https:/gouvfr.atlassian. -net/wiki/spaces/DB/pages/223019527/Typographie+-+Typography. Droid Sans Mono has -been created for Android (http://en.wikipedia.org/wiki/Droid_fonts) and is -available for free on http://www.fontsquirrel.com/fonts/droid-sans-mono for -example or from the fonts-droid package on the Ubuntu or Debian Linux -distributions. Spectral has been commissionned by Google and is available for -free on https://www.fontsquirrel.com/fonts/spectral for example. For your -convenience, these fonts are available in the fonts directory. +texlive 2017, 2021 and 2024 distributions. The files are to be compiled with lualatex. These styles need the Marianne, Spectral and Droid Sans Mono fonts. These fonts are freely available for all operating systems. Marianne has been created for the French state (https://www.gouvernement.fr/charte/charte-graphique-les-fondamentaux/la-typographie) and can be downloaded at https:/gouvfr.atlassian.net/wiki/spaces/DB/pages/223019527/Typographie+-+Typography. Droid Sans Mono has been created for Android (http://en.wikipedia.org/wiki/Droid_fonts) and is available for free on http://www.fontsquirrel.com/fonts/droid-sans-mono for example or from the fonts-droid package on the Ubuntu or Debian Linux distributions. Spectral has been commissionned by Google and is available for free on https://www.fontsquirrel.com/fonts/spectral for example. For your convenience, these fonts are available in the fonts directory. Contents of the directory: - tex/*.sty Style files @@ -28,5 +17,7 @@ Contents of the directory: - LICENSE GPL v3 copyleft license - install.sh Bash script for the installation in the current user's home directory + - latexmkrc File to copy at the root of an overleaf project + to allow the use of these styles considering all the files are uploaded in a ULille subdirectory of the project. Initial author: Pierre Boulet <Pierre.Boulet@univ-lille.fr> diff --git a/doc/Makefile b/doc/Makefile index 6ae7827e7fd110a49c341ff5fe8e7355726775b1..e786a6d156eb8be3ea535095371a8d0537e177ec 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,12 +1,12 @@ LATEXMK = latexmk -lualatex -all: exPrezULille.pdf exRapportULille.pdf exLettreULille.pdf +all: exPrezULille.pdf exRapportULille.pdf exLettreULille.pdf exCompteRenduULille.pdf dist: $(MAKE) all $(MAKE) clean -rm ../../ULille-latex.zip - cd ../..; zip -r ULille-latex.zip ULille -x ULille/.git\* + cd ../..; zip -r ULille-latex.zip ulille-latex -x ulille-latex/.git\* clean: -$(LATEXMK) -c @@ -22,3 +22,4 @@ realclean: exTransparentsULille.pdf : ../tex/ulille-beamer.sty exLettreULille.pdf : ../tex/ulille-lettre.sty exRapportULille.pdf : ../tex/ulille-rapport.sty +exCompteRenduULille.pdf : ../tex/ulille-compte-rendu.sty diff --git a/doc/exCompteRenduULille.pdf b/doc/exCompteRenduULille.pdf new file mode 100644 index 0000000000000000000000000000000000000000..db7e7349c3ccc55367cb2f55951a818fc3baff23 Binary files /dev/null and b/doc/exCompteRenduULille.pdf differ diff --git a/doc/exCompteRenduULille.tex b/doc/exCompteRenduULille.tex new file mode 100644 index 0000000000000000000000000000000000000000..27680567a8138e074758d1776ca54038c7546541 --- /dev/null +++ b/doc/exCompteRenduULille.tex @@ -0,0 +1,34 @@ +\documentclass[fontsize=11pt,oneside]{scrartcl} +\usepackage{ulille-compte-rendu} +\usepackage{lipsum} + + +\begin{document} +\titre{Intitulé du compte-rendu} + +\tableofcontents + +\section{Participants et participantes} + +\subsection*{Liste des participant·es :} + +\begin{tabular}{ll} + \absent & Prénom NOM, \emph{fonction de la personne}\\ + \absent & Prénom NOM, \emph{fonction de la personne}\\ + \present & Prénom NOM, \emph{fonction de la personne}\\ + \absent & Prénom NOM, \emph{fonction de la personne}\\ +\end{tabular} + +\section{Ordre du jour} + +\subsection{Questions stratégiques} + +\lipsum +\subsection{Informations et avis} + +\subsection{Questions diverses} + +\subsection{Agenda} + + +\end{document} \ No newline at end of file diff --git a/doc/exLettreULille.pdf b/doc/exLettreULille.pdf index 49e9a99c4059c34e4accae862c2fea92ceb90453..b4e632366fd02b12f293dc93d3d4932996b2fbf2 100644 Binary files a/doc/exLettreULille.pdf and b/doc/exLettreULille.pdf differ diff --git a/doc/exLettreULille.tex b/doc/exLettreULille.tex index d16d3183682ff3de76c9e04d5e97ea7a9f18b57b..2441759505d272f6d4bf1d6b21f9af646b3103af 100644 --- a/doc/exLettreULille.tex +++ b/doc/exLettreULille.tex @@ -1,7 +1,5 @@ \documentclass[fontsize=8pt,parskip=full,oneside]{scrartcl} \usepackage{ulille-lettre} -\selectlanguage{french} - % Si nécessaire \direction{% ---\\ @@ -44,6 +42,8 @@ bât 1 entrée 001 - apt 1002 \\ \lieudate{Lille, le \today} \begin{document} +\selectlanguage{french} + \textbf{Objet :} Loin, très loin, au delà des monts Mots, à mille lieues des pays Voyellie et Consonnia, demeurent les Bolos Bolos Ils vivent en retrait, à Bourg-en-Lettres, sur les côtes de la Sémantique, un vaste océan de langues. Un petit ruisseau, du nom de Larousse, coule en leur lieu et les approvisionne en règlalades nécessaires en tout genre; un pays paradisiagmatique, dans lequel des pans entiers de phrases prémâchées vous volent litéralement tout cuit dans la bouche. Pas même la toute puissante Ponctuation ne régit les Bolos Bolos - une vie on ne peut moins or\-tho\-do\-xo\-gra\-phique. Un jour pourtant, une petite ligne de Bolo Bolo du nom de Lorem Ipsum décida de s’aventurer dans la vaste Grammaire. Le grand Oxymore voulut l’en dissuader, le prevenant que là-bas cela fourmillait de vils Virgulos, de sauvages Pointdexclamators et de sournois Semicolons qui l’attendraient pour sûr au prochain paragraphe, mais ces mots ne firent écho dans l’oreille du petit Bolo qui ne se laissa point déconcerter. Il pacqua ses 12 lettrines, glissa son initiale dans sa panse et se mit en route. diff --git a/doc/exPrezULille.pdf b/doc/exPrezULille.pdf index f0899b79fdc88dc2f8113f4790f2b9b24ee13dd6..6b0abdef727ae1bceb4e68fade1e4f7e886c2f8b 100644 Binary files a/doc/exPrezULille.pdf and b/doc/exPrezULille.pdf differ diff --git a/doc/exPrezULille.tex b/doc/exPrezULille.tex index 5840e585d4c0f6399ebb94d027103268d9458e78..c41fefa17cd7ac0d811bec585586ccaab302dd1f 100644 --- a/doc/exPrezULille.tex +++ b/doc/exPrezULille.tex @@ -4,9 +4,6 @@ %\usepackage[institutionnelClair]{ulille-beamer} %\usepackage[institutionnelFonce]{ulille-beamer} -%%%% Choix de la langue du document -\selectlanguage{french} -%\selectlanguage{english} %%%% Choix des couleurs secondaires du diaporama %% (la commande \ListeCouleurs génère une table des couleurs disponibles) @@ -24,6 +21,10 @@ \date{\today} \begin{document} +%%%% Choix de la langue du document +\selectlanguage{french} +%\selectlanguage{english} + \frame{\titlepage} \section{Section 1} diff --git a/doc/exRapportULille.pdf b/doc/exRapportULille.pdf index 7a65a1b545edf075407018b1bd3f4bb2f86b51a0..db567100ed7a9cdce10bff064b03de528c08d10d 100644 Binary files a/doc/exRapportULille.pdf and b/doc/exRapportULille.pdf differ diff --git a/doc/exRapportULille.tex b/doc/exRapportULille.tex index 2bec699669ec06fde6c42aeb2b36fe3812a0949f..e511cd14c33731ab3a87df575c24e2a430c8af1e 100644 --- a/doc/exRapportULille.tex +++ b/doc/exRapportULille.tex @@ -1,4 +1,4 @@ -\documentclass[fontsize=10pt,twoside]{scrartcl} +\documentclass[fontsize=10pt,oneside]{scrreprt} \usepackage{ulille-rapport} \usepackage{lipsum} @@ -23,18 +23,22 @@ %% \maketitle ou \logoULille %% Il peut être adapté en redéfinissant la commande \includeLogo comme suit : % \renewcommand{\includeLogo}{\includegraphics[height=2cm]{Logo.sans.baseline-Horizontal-RVB-Noir.pdf}} -\title{Exemple de rapport au style ULille} +\subject{Rapport} +\title{Exemple d'utilisation du style ULille} \author{Pierre Boulet} -\date{\today} -\piedDePage{\colorie{Pierre Boulet}, VP infrastructures numériques\\ - \href{mailto:Pierre.Boulet@univ-lille.fr}{Pierre.Boulet@univ-lille.fr} - \colorie{/} \url{https://pro.univ-lille.fr/pierre-boulet}\\ - 42 rue Paul Duez, 59000 Lille\\ - \colorie{T.} 06 09 08 18 11} +\direction{VP Numérique} \begin{document} \maketitle +\pagecolor{Blanc} + +\tableofcontents + +\part*{Partie/intercalaire} + +\chapter{Chapitre} + \section{Gestion des couleurs} Liste des couleurs disponibles (voir le site \url{https://identite.univ-lille.fr}) : diff --git a/img/Logo.sans.baseline-Horizontal-RVB-RougeAction.pdf b/img/Logo.sans.baseline-Horizontal-RVB-RougeAction.pdf new file mode 100644 index 0000000000000000000000000000000000000000..b4c947fb3b9a64e32817734eedc425c0d988b4f7 Binary files /dev/null and b/img/Logo.sans.baseline-Horizontal-RVB-RougeAction.pdf differ diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000000000000000000000000000000000000..f5e04154e8a59b344798e85a4376191dc5256884 --- /dev/null +++ b/latexmkrc @@ -0,0 +1,3 @@ +$ENV{'TEXINPUTS'}='./ULille//:'.$ENV{'TEXINPUTS'}; +$ENV{'OPENTYPEFONTS'}='./ULille/fonts//:'.$ENV{'OPENTYPEFONTS'}; +$ENV{'TTFONTS'}='./ULille/fonts//:'.$ENV{'TTFONTS'}; diff --git a/tex/ulille-compte-rendu.sty b/tex/ulille-compte-rendu.sty new file mode 100644 index 0000000000000000000000000000000000000000..0cd429f23cd15cdb300ffdfbe16df8caaa95a0dd --- /dev/null +++ b/tex/ulille-compte-rendu.sty @@ -0,0 +1,66 @@ +\NeedsTeXFormat{LaTeX2e}[1999/01/01] +\ProvidesPackage{ulille-compte-rendu}[2025/03/04] + +%% paquetages nécessaires +%% paquetages nécessaires +\RequirePackage{graphicx} +\RequirePackage[hyperref]{xcolor} +\RequirePackage{ulille-macros} +\RequirePackage[hyphens]{url} +\RequirePackage[breaklinks=true, + pdfborder=0 0 0, + colorlinks=true, + linkcolor=black, + citecolor=black, + filecolor=black, + menucolor=black, + urlcolor=ULilleLiens, + bookmarks=false, + pdfhighlight=/O, + pdfpagemode=UseNone, + pdfpagelayout=OneColumn]{hyperref} + +%% Style de page +\RequirePackage{scrlayer-scrpage,typearea} +\KOMAoptions{paper=A4,footlines=4,headinclude=false,footinclude=false,DIV=12,BCOR=0mm} + +\setkomafont{pageheadfoot}{\small} + +\renewcommand{\includeLogo}{\includegraphics[height=2.5cm]{Logo.sans.baseline-Horizontal-RVB-RougeAction.pdf}} +\renewcommand{\logoULille}{% + \begin{tikzpicture}[remember picture,overlay] + \node[anchor=south west, inner sep=0pt, outer sep=0.5cm] at (current page.south west) + {\includeLogo}; + \end{tikzpicture}} + +\newcommand{\mypagemark}{\strut\\ \strut\\ \strut\\ \pagemark} +\addtokomafont{pagenumber}{\color{RougeAction}} +\lofoot[\logoULille]{\logoULille} +\lefoot[\logoULille]{\logoULille} +\cfoot[]{} +\rofoot[\mypagemark]{\mypagemark} +\refoot[\mypagemark]{\mypagemark} +\pagestyle{scrheadings} + +%% Sections +\KOMAoptions{headings=big} +\colorlet{ULilleStructure}{RougeAction} +\addtokomafont{disposition}{\rmfamily\color{ULilleStructure}} +\addtokomafont{section}{\color{GrisStatutaire}} +\AddtoDoHook{heading/begingroup/section}{\pagebreak} +\AddtoDoHook{heading/endgroup/section}{{\color{ULilleStructure}---}} + +%% Titre +\newcommand{\titre}[1]{% + \textbf{\large \color{ULilleStructure} Compte-rendu\\ + ---}\\ + {\Large \color{GrisStatutaire} #1}} + +%% Table des matières +\setuptoc{toc}{leveldown} + +%% Texte courant +\raggedright +\RequirePackage{amssymb} +\newcommand{\present}{$\boxtimes$} +\newcommand{\absent}{$\Box$} \ No newline at end of file diff --git a/tex/ulille-rapport.sty b/tex/ulille-rapport.sty index c88a7fd4107e0da0c19fa8bbbeb3f3ccd40c54d5..40ce98f6af938330de1dd5aabf7465826bca7c11 100644 --- a/tex/ulille-rapport.sty +++ b/tex/ulille-rapport.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1999/01/01] -\ProvidesPackage{ulille-rapport}[2022/01/27] +\ProvidesPackage{ulille-rapport}[2025/03/04] %% paquetages nécessaires %% paquetages nécessaires @@ -20,32 +20,73 @@ pdfpagemode=UseNone, pdfpagelayout=OneColumn]{hyperref} -\RequirePackage{scrlayer-scrpage} -\KOMAoptions{paper=A4,footlines=4.2,headinclude=false,footinclude=false} - %% Style de page -\renewcommand{\headfont}{\normalfont} -\clearscrheadfoot - -\newcommand{\myfoot}{} - -\newcommand{\piedDePage}[1]{% - \renewcommand{\myfoot}{\small #1}% -} -\piedDePage{\textbf{Nom ou service}\\ - 42 rue Paul Duez, 59000 Lille\\ - {T.} xxx | \url{www.univ-lille.fr}} - -\ohead[]{\thepage} -\ihead[]{} -\lofoot[\myfoot]{\myfoot} -\lefoot[\myfoot]{\myfoot} -\pagestyle{scrheadings} +\RequirePackage{scrlayer-scrpage,typearea} +\KOMAoptions{paper=A4,footlines=4,headinclude=false,footinclude=false,DIV=12,BCOR=0mm} + +\setkomafont{pageheadfoot}{\small} +\newcommand{\nomDeLaDirection}{Nom de la direction} +\newcommand{\direction}[1]{\renewcommand{\nomDeLaDirection}{#1}} +\newlength\stextwidthdir +\settowidth{\stextwidthdir}{\usekomafont{pagefoot}\nomDeLaDirection} +\newcommand{\myfoot}{ + \begin{minipage}{\stextwidthdir} + \strut\\ \strut\\ ---\strut\\ \nomDeLaDirection + \end{minipage}} -\typearea[10mm]{10} +\renewcommand{\logoULille}{% + \begin{tikzpicture}[remember picture,overlay] + \node[anchor=south west, inner sep=0pt, outer sep=0.5cm] at (current page.south west) + {\includeLogo}; + \end{tikzpicture}} + +\lofoot[\logoULille]{\logoULille} +\lefoot[\logoULille]{\logoULille} +\cfoot[\strut\\ \strut\\ \strut\\ \pagemark]{\strut\\ \strut\\ \strut\\ \pagemark} +\rofoot[\myfoot]{\myfoot} +\refoot[\myfoot]{\myfoot} +\pagestyle{scrheadings} %% Titre et logos -\titlehead{\logoULille} +\KOMAoptions{titlepage=firstiscover} +\newlength{\gridwidth} +\setlength{\gridwidth}{21cm/12} +\titlehead{\pagecolor{BeigeSerein}% + \begin{tikzpicture}[remember picture,overlay] + \node[anchor=north east, inner sep=0pt, outer sep=0pt] at (current page.north east){% + \tikz \fill [fill=BleuHorizon] (0,0) rectangle +(-11\gridwidth,-29.7cm+2\gridwidth);}; + \node[anchor=south west, inner sep=0pt, outer xsep=\gridwidth, outer ysep=0.667\gridwidth] at (current page.south west){\includegraphics[height=0.667\gridwidth]{Logo.sans.baseline-Horizontal-RVB-Noir-sans.bordure.pdf}}; + \end{tikzpicture}} +\addtokomafont{subject}{\color{BeigeSerein}\raggedright\Huge} +\addtokomafont{title}{\color{BeigeSerein}} +\addtokomafont{author}{\color{BeigeSerein}} +\addtokomafont{date}{\color{BeigeSerein}} +\addtokomafont{dedication}{\color{BeigeSerein}} +\addtokomafont{subject}{\color{BeigeSerein}} +\setkomafont{publishers}{\scriptsize} +\publishers{% + \begin{tikzpicture}[remember picture,overlay] + \node[anchor=south east, inner sep=0pt, outer xsep=\gridwidth, outer ysep=0.5\gridwidth] at (current page.south east){% + \begin{minipage}{4cm} + ---\\ + Université de Lille\\ + 42 rue Paul Duez\\ + 59000 Lille\\ + \\ + \url{www.univ-lille.fr} + \end{minipage}}; + \end{tikzpicture}} -%%% Sections +%% Sections +\KOMAoptions{headings=normal} +\colorlet{ULilleStructure}{IndigoInclusif} \addtokomafont{disposition}{\rmfamily\color{ULilleStructure}} +\addtokomafont{part}{\color{BleuHorizon}} +\addtokomafont{chapter}{\color{BleuHorizon}} +\addtokomafont{subsection}{\itshape} +\addtokomafont{subsubsection}{\itshape} +\addtokomafont{partentry}{\color{BleuHorizon}} +\addtokomafont{chapterentry}{\color{BleuHorizon}} + +%% Texte courant +\raggedright \ No newline at end of file