SPB Git

Repository Public Research preview

uqo-notes.sty 20.8 KB 534 lines latex

1% =============================================================================2% uqo-notes.sty — Style « Notes de cours » UQO3% Université du Québec en Outaouais — Département des sciences administratives4% Auteur : Simon-Pierre Boucher — simon-pierre.boucher@uqo.ca5% © 2026 Simon-Pierre Boucher6%7% Design éditorial assorti aux présentations Beamer (uqo-style.sty) :8% Fira Sans, bleu UQO / or / bleu nuit, ouvertures de chapitre pleine largeur,9% notes marginales, boîtes « admonition », exemples travaillés numérotés,10% exercices avec solutions, aide-mémoire et glossaire.11%12% Le document maître doit définir AVANT \usepackage{uqo-notes} :13%   \newcommand{\uqoCourseCode}{IMM1003}14%   \newcommand{\uqoCourseTitle}{Éléments d'évaluation immobilière}15%   \newcommand{\uqoCourseTerm}{Automne 2026}16% =============================================================================17\ProvidesPackage{uqo-notes}1819% --- Encodage, langue, police ---20\RequirePackage[utf8]{inputenc}21\RequirePackage[T1]{fontenc}22\RequirePackage[french]{babel}23\RequirePackage{lmodern}24\RequirePackage[sfdefault,scaled=0.94]{FiraSans}25\RequirePackage{amsmath,amssymb}26\RequirePackage{microtype}2728% --- Mise en page : colonne de texte + marge de notes ---29\RequirePackage[30  paper=letterpaper,31  top=24mm, bottom=26mm,32  left=20mm, right=58mm,33  marginparwidth=42mm, marginparsep=6mm,34  headheight=14pt, headsep=8mm, footskip=12mm35]{geometry}3637% --- Packages utilitaires ---38\RequirePackage{graphicx}39\RequirePackage{booktabs}40\RequirePackage{array}41\RequirePackage{tabularx}42\RequirePackage{multirow}43\RequirePackage{longtable}44\RequirePackage[table]{xcolor}45\RequirePackage{colortbl}46\RequirePackage{tikz}47\RequirePackage{pgfplots}48\RequirePackage{fontawesome5}49\RequirePackage{enumitem}50\RequirePackage{fancyhdr}51\RequirePackage{titlesec}52\RequirePackage{titletoc}53\RequirePackage{marginnote}54\RequirePackage{lastpage}55\RequirePackage{eurosym}56\RequirePackage{textcomp}57\RequirePackage{pifont}58\RequirePackage{calc}59\RequirePackage{etoolbox}60\RequirePackage[most]{tcolorbox}61\RequirePackage[intoc,french]{nomencl}62\RequirePackage{imakeidx}63\makeindex[intoc, title=Index des notions]64\RequirePackage[backend=biber, style=authoryear, sorting=nyt, maxbibnames=6]{biblatex}65\addbibresource{references.bib}66\RequirePackage[hidelinks, pdfusetitle]{hyperref}6768\pgfplotsset{compat=1.18}69\usetikzlibrary{shapes,arrows,arrows.meta,positioning,calc,decorations.pathreplacing,shadows,fit}7071% --- Couleurs UQO (identiques aux slides) ---72\definecolor{uqoBleu}{RGB}{0, 62, 126}73\definecolor{uqoBleuClair}{RGB}{41, 118, 187}74\definecolor{uqoOr}{RGB}{204, 164, 36}75\definecolor{uqoGris}{RGB}{96, 102, 112}76\definecolor{uqoGrisClair}{RGB}{208, 213, 220}77\definecolor{uqoBlanc}{RGB}{255, 255, 255}78\definecolor{uqoVert}{RGB}{16, 124, 78}79\definecolor{uqoRouge}{RGB}{178, 42, 32}80\definecolor{uqoBgClair}{RGB}{242, 246, 250}81\definecolor{uqoNavy}{RGB}{9, 26, 51}82\definecolor{uqoInk}{RGB}{38, 43, 52}8384\hypersetup{85  colorlinks=true,86  linkcolor=uqoBleu,87  urlcolor=uqoBleuClair,88  citecolor=uqoBleu89}9091\color{uqoInk}92\linespread{1.12}93\setlength{\parskip}{4pt plus 1pt}94\setlength{\parindent}{0pt}95\emergencystretch=2em9697% --- Listes ---98\setlist{itemsep=3pt, topsep=4pt, parsep=0pt}99\setlist[itemize,1]{label=\raisebox{0.25ex}{\scriptsize\color{uqoBleu}$\blacktriangleright$}, leftmargin=1.6em}100\setlist[itemize,2]{label=\raisebox{0.25ex}{\tiny\color{uqoOr}$\blacktriangleright$}, leftmargin=1.5em}101\setlist[itemize,3]{label=\textcolor{uqoGris}{--}, leftmargin=1.4em}102\setlist[enumerate,1]{label=\protect\uqoenumpastille{\arabic*}, leftmargin=2em}103\setlist[enumerate,2]{label=\textcolor{uqoBleuClair}{\bfseries\alph*)}, leftmargin=1.8em}104\newcommand{\uqoenumpastille}[1]{%105  \tikz[baseline=-0.62ex]\node[fill=uqoBleu, text=uqoBlanc, circle,106    inner sep=0.4pt, minimum size=2.05ex, font=\scriptsize\bfseries]{#1};}107108% =============================================================================109% EN-TÊTES ET PIEDS DE PAGE110% =============================================================================111\fancypagestyle{uqonotes}{%112  \fancyhf{}%113  \fancyhead[L]{\small\color{uqoBleu}\bfseries\uqoCourseCode\ \textcolor{uqoOr}{\rule[0.55ex]{1.6em}{1.4pt}}\ \normalfont\small\color{uqoGris}\leftmark}%114  \fancyhead[R]{\small\color{uqoGris}\uqoCourseTerm}%115  \fancyfoot[L]{\footnotesize\color{uqoGris}Université du Québec en Outaouais \textbullet\ \uqoCourseTitle}%116  \fancyfoot[R]{\small\color{uqoBleu}\bfseries\thepage\ \normalfont\footnotesize\color{uqoGris}/ \pageref{LastPage}}%117  \renewcommand{\headrulewidth}{1.2pt}%118  \renewcommand{\headrule}{\hbox to\headwidth{\color{uqoBleu}\leaders\hrule height \headrulewidth\hfill}}%119  \renewcommand{\footrulewidth}{0.6pt}%120  \renewcommand{\footrule}{\hbox to\headwidth{\color{uqoOr}\leaders\hrule height \footrulewidth\hfill}}%121}122\pagestyle{uqonotes}123\fancypagestyle{plain}{%124  \fancyhf{}%125  \fancyfoot[R]{\small\color{uqoBleu}\bfseries\thepage\ \normalfont\footnotesize\color{uqoGris}/ \pageref{LastPage}}%126  \renewcommand{\headrulewidth}{0pt}%127  \renewcommand{\footrulewidth}{0.6pt}%128  \renewcommand{\footrule}{\hbox to\headwidth{\color{uqoOr}\leaders\hrule height \footrulewidth\hfill}}%129}130131\renewcommand{\chaptermark}[1]{\markboth{#1}{}}132\renewcommand{\sectionmark}[1]{}133134% =============================================================================135% OUVERTURE DE CHAPITRE — bandeau bleu nuit pleine largeur, numéro en filigrane136% =============================================================================137\newcommand{\uqochlabel}{Séance}          % devient « Annexe » après \appendix138\newif\ifuqoappendix139\g@addto@macro\appendix{\uqoappendixtrue\renewcommand{\uqochlabel}{Annexe}}140141\titleformat{\chapter}[block]142  {\normalfont}143  {}144  {0pt}145  {\uqoChapterHead}146\titlespacing*{\chapter}{0pt}{-24mm}{10mm}147148\newcommand{\uqoChapterHead}[1]{%149  \begin{tikzpicture}[remember picture, overlay]150    % bandeau bleu nuit pleine largeur en haut de page151    \fill[uqoNavy] (current page.north west) rectangle152      ([yshift=-52mm]current page.north east);153    \fill[uqoOr] ([yshift=-52mm]current page.north west) rectangle154      ([yshift=-50.9mm]current page.north east);155    % décorations géométriques156    \begin{scope}157      \clip (current page.north west) rectangle ([yshift=-52mm]current page.north east);158      \draw[uqoBleuClair, opacity=0.25, line width=1pt]159        ([xshift=-22mm,yshift=-4mm]current page.north east) circle (25mm);160      \draw[uqoBleuClair, opacity=0.14, line width=1pt]161        ([xshift=-8mm,yshift=-19mm]current page.north east) circle (34mm);162      \draw[uqoOr, opacity=0.6, line width=0.9pt]163        ([xshift=-40mm,yshift=-32mm]current page.north east) circle (10mm);164      \fill[uqoOr] ([xshift=-54mm,yshift=-13mm]current page.north east) circle (1.1mm);165      % grand numéro en filigrane166      \node[anchor=south east, text=uqoBlanc, opacity=0.09,167        font=\fontsize{92}{92}\selectfont\bfseries]168        at ([xshift=-4mm,yshift=-52mm]current page.north east)169        {\ifuqoappendix\thechapter\else\ifnum\value{chapter}<10 0\fi\arabic{chapter}\fi};170    \end{scope}171    % étiquette dorée172    \node[anchor=north west, text=uqoOr, font=\footnotesize\bfseries]173      at ([xshift=20mm,yshift=-12mm]current page.north west)174      {\MakeUppercase{\uqochlabel~\thechapter}\ \textbullet\ \MakeUppercase{\uqoCourseCode}};175    \fill[uqoOr] ([xshift=20mm,yshift=-17.4mm]current page.north west)176      rectangle ++(12mm,0.6mm);177    % titre du chapitre178    \node[anchor=north west, text=uqoBlanc, font=\huge\bfseries,179      text width=158mm, align=left,180      execute at begin node={\hyphenpenalty=10000\exhyphenpenalty=10000\relax}]181      at ([xshift=20mm,yshift=-21mm]current page.north west) {#1};182    % rappel du cours183    \node[anchor=south west, text=uqoGrisClair, font=\tiny]184      at ([xshift=20mm,yshift=-49.5mm]current page.north west)185      {\uqoCourseTitle\ \textbullet\ Simon-Pierre Boucher \textbullet\ UQO \textbullet\ \uqoCourseTerm};186  \end{tikzpicture}%187  \vspace*{34mm}%188}189190% Chapitres non numérotés (\chapter*) — bandeau identique sans étiquette de séance191\titleformat{name=\chapter,numberless}[block]192  {\normalfont}193  {}194  {0pt}195  {\uqoChapterHeadStar}196\newcommand{\uqoChapterHeadStar}[1]{%197  \begin{tikzpicture}[remember picture, overlay]198    \fill[uqoNavy] (current page.north west) rectangle199      ([yshift=-52mm]current page.north east);200    \fill[uqoOr] ([yshift=-52mm]current page.north west) rectangle201      ([yshift=-50.9mm]current page.north east);202    \begin{scope}203      \clip (current page.north west) rectangle ([yshift=-52mm]current page.north east);204      \draw[uqoBleuClair, opacity=0.25, line width=1pt]205        ([xshift=-22mm,yshift=-4mm]current page.north east) circle (25mm);206      \draw[uqoBleuClair, opacity=0.14, line width=1pt]207        ([xshift=-8mm,yshift=-19mm]current page.north east) circle (34mm);208      \draw[uqoOr, opacity=0.6, line width=0.9pt]209        ([xshift=-40mm,yshift=-32mm]current page.north east) circle (10mm);210    \end{scope}211    \node[anchor=north west, text=uqoOr, font=\footnotesize\bfseries]212      at ([xshift=20mm,yshift=-12mm]current page.north west)213      {\MakeUppercase{\uqoCourseCode\ --- \uqoCourseTitle}};214    \fill[uqoOr] ([xshift=20mm,yshift=-17.4mm]current page.north west)215      rectangle ++(12mm,0.6mm);216    \node[anchor=north west, text=uqoBlanc, font=\huge\bfseries,217      text width=158mm, align=left,218      execute at begin node={\hyphenpenalty=10000\exhyphenpenalty=10000\relax}]219      at ([xshift=20mm,yshift=-21mm]current page.north west) {#1};220    \node[anchor=south west, text=uqoGrisClair, font=\tiny]221      at ([xshift=20mm,yshift=-49.5mm]current page.north west)222      {\uqoCourseTitle\ \textbullet\ Simon-Pierre Boucher \textbullet\ UQO \textbullet\ \uqoCourseTerm};223  \end{tikzpicture}%224  \vspace*{34mm}%225}226227% =============================================================================228% PAGE DE PARTIE — pleine page bleu nuit229% =============================================================================230\titleclass{\part}{page}231\titleformat{\part}[block]232  {\normalfont\thispagestyle{empty}}233  {}234  {0pt}235  {\uqoPartHead}236\titlespacing*{\part}{0pt}{0pt}{0pt}237\newcommand{\uqoPartHead}[1]{%238  \begin{tikzpicture}[remember picture, overlay]239    \fill[uqoNavy] (current page.south west) rectangle (current page.north east);240    \draw[uqoBleuClair, opacity=0.20, line width=1pt]241      ([xshift=-20mm,yshift=-8mm]current page.north east) circle (28mm);242    \draw[uqoBleuClair, opacity=0.12, line width=1pt]243      ([xshift=-6mm,yshift=-24mm]current page.north east) circle (40mm);244    \draw[uqoOr, opacity=0.55, line width=0.9pt]245      ([xshift=-42mm,yshift=-34mm]current page.north east) circle (11mm);246    \fill[uqoOr] ([xshift=-58mm,yshift=-14mm]current page.north east) circle (1.2mm);247    \draw[uqoBleuClair, opacity=0.15, line width=1pt]248      ([xshift=22mm,yshift=30mm]current page.south west) circle (30mm);249    \node[anchor=south east, text=uqoBlanc, opacity=0.07,250      font=\fontsize{150}{150}\selectfont\bfseries]251      at ([xshift=-6mm,yshift=-4mm]current page.south east) {\thepart};252    \node[anchor=west, text=uqoOr, font=\small\bfseries]253      at ([xshift=22mm,yshift=16mm]current page.west) {PARTIE~\thepart};254    \fill[uqoOr] ([xshift=22mm,yshift=11mm]current page.west) rectangle ++(13mm,0.65mm);255    \node[anchor=north west, text=uqoBlanc, font=\fontsize{28}{33}\selectfont\bfseries,256      text width=150mm, align=left,257      execute at begin node={\hyphenpenalty=10000\exhyphenpenalty=10000\relax}]258      at ([xshift=22mm,yshift=7mm]current page.west) {#1};259    \node[anchor=south west, text=uqoGrisClair, font=\footnotesize]260      at ([xshift=22mm,yshift=14mm]current page.south west)261      {\uqoCourseCode\ --- \uqoCourseTitle\ \textbullet\ Simon-Pierre Boucher \textbullet\ UQO};262  \end{tikzpicture}%263}264265% --- Sections / sous-sections ---266\titleformat{\section}267  {\Large\bfseries\color{uqoBleu}}268  {\thesection}{0.6em}{}269  [\vspace{-0.55em}{\leavevmode\hbox{%270    {\color{uqoOr}\rule[0.6pt]{9mm}{1.6pt}}\hspace{1.5pt}%271    {\color{uqoGrisClair}\rule[1.1pt]{\dimexpr\textwidth-9mm-1.5pt\relax}{0.5pt}}}}]272\titlespacing*{\section}{0pt}{16pt plus 4pt}{8pt}273274\titleformat{\subsection}275  {\large\bfseries\color{uqoBleuClair}}276  {\thesubsection}{0.6em}{}277\titlespacing*{\subsection}{0pt}{12pt plus 3pt}{5pt}278279\titleformat{\subsubsection}280  {\normalsize\bfseries\color{uqoGris}}281  {\thesubsubsection}{0.6em}{}282\titlespacing*{\subsubsection}{0pt}{10pt plus 2pt}{3pt}283284% --- Table des matières ---285\setcounter{tocdepth}{2}286\setcounter{secnumdepth}{3}287\titlecontents{chapter}[0em]288  {\vspace{9pt}}289  {\leavevmode\uqotocpastille{\thecontentslabel}\hspace{0.7em}\color{uqoBleu}\bfseries}290  {\color{uqoBleu}\bfseries}291  {\hfill\color{uqoBleu}\bfseries\contentspage}292\newcommand{\uqotocpastille}[1]{%293  \tikz[baseline=-0.62ex]\node[fill=uqoBleu, text=uqoBlanc, circle,294    inner sep=0.4pt, minimum size=2.4ex, font=\scriptsize\bfseries]{#1};}295\titlecontents{section}[2.6em]296  {\vspace{2pt}}297  {\footnotesize\textcolor{uqoOr}{$\blacktriangleright$}\hspace{0.55em}\color{uqoInk}\small\contentslabel{2em}}298  {\color{uqoInk}\small}299  {\titlerule*[6pt]{\textcolor{uqoGrisClair}{.}}\small\color{uqoGris}\contentspage}300\titlecontents{subsection}[5.2em]301  {}302  {\color{uqoGris}\footnotesize\contentslabel{2.4em}}303  {\color{uqoGris}\footnotesize}304  {\titlerule*[6pt]{\textcolor{uqoGrisClair}{.}}\footnotesize\color{uqoGris}\contentspage}305306% =============================================================================307% COMPTEURS des environnements pédagogiques308% =============================================================================309\newcounter{uqodef}[chapter]   \renewcommand{\theuqodef}{\thechapter.\arabic{uqodef}}310\newcounter{uqoform}[chapter]  \renewcommand{\theuqoform}{\thechapter.\arabic{uqoform}}311\newcounter{uqoex}[chapter]    \renewcommand{\theuqoex}{\thechapter.\arabic{uqoex}}312\newcounter{uqoexo}[chapter]   \renewcommand{\theuqoexo}{\thechapter.\arabic{uqoexo}}313314% =============================================================================315% BOÎTES — style « admonition » : filet gauche + fond teinté, sécables316% =============================================================================317\tcbset{uqonotesbox/.style={318  enhanced, breakable,319  boxrule=0pt, frame hidden,320  arc=1.5pt,321  left=10pt, right=10pt, top=6pt, bottom=7pt,322  before skip=10pt, after skip=10pt,323  detach title,324  before upper={\tcbtitle\par\vspace{4pt}},325  fonttitle=\bfseries326}}327328% Définition (numérotée)329\newtcolorbox{definition}[1][]{330  uqonotesbox,331  colback=uqoBleu!6,332  borderline west={2.5pt}{0pt}{uqoBleu},333  coltitle=uqoBleu,334  title={\faIcon{book-open}\hspace{6pt}Définition~\stepcounter{uqodef}\theuqodef%335    \ifstrempty{#1}{}{\ --- #1}}336}337338% Formule clé (numérotée, cadre or)339\newtcolorbox{formule}[1][]{340  uqonotesbox,341  colback=uqoNavy!5,342  borderline west={2.5pt}{0pt}{uqoOr},343  borderline north={0.5pt}{0pt}{uqoOr!50},344  coltitle=uqoNavy,345  title={\textcolor{uqoOr}{\faIcon{square-root-alt}}\hspace{6pt}Formule~\stepcounter{uqoform}\theuqoform%346    \ifstrempty{#1}{}{\ --- #1}}347}348349% Exemple travaillé (numéroté)350\newtcolorbox{exemple}[1][]{351  uqonotesbox,352  colback=uqoVert!7,353  borderline west={2.5pt}{0pt}{uqoVert},354  coltitle=uqoVert,355  title={\faIcon{lightbulb}\hspace{6pt}Exemple~\stepcounter{uqoex}\theuqoex%356    \ifstrempty{#1}{}{\ --- #1}}357}358359% Piège / mise en garde360\newtcolorbox{attention}[1][Attention]{361  uqonotesbox,362  colback=uqoRouge!6,363  borderline west={2.5pt}{0pt}{uqoRouge},364  coltitle=uqoRouge,365  title={\faIcon{exclamation-triangle}\hspace{6pt}#1}366}367368% Note / repère terrain369\newtcolorbox{terrain}[1][Sur le terrain]{370  uqonotesbox,371  colback=uqoOr!9,372  borderline west={2.5pt}{0pt}{uqoOr},373  coltitle=uqoOr!50!uqoGris,374  title={\faIcon{hard-hat}\hspace{6pt}#1}375}376377% Note générale378\newtcolorbox{remarque}[1][Remarque]{379  uqonotesbox,380  colback=uqoBgClair,381  borderline west={2.5pt}{0pt}{uqoGris},382  coltitle=uqoGris,383  title={\faIcon{pen}\hspace{6pt}#1}384}385386% Contexte québécois387\newtcolorbox{quebec}[1][Contexte québécois]{388  uqonotesbox,389  colback=uqoBleuClair!8,390  borderline west={2.5pt}{0pt}{uqoBleuClair},391  coltitle=uqoBleuClair!75!uqoNavy,392  title={\faIcon{map-marked-alt}\hspace{6pt}#1}393}394395% À retenir — panneau navy plein (synthèse)396\newtcolorbox{aretenir}[1][À retenir]{397  enhanced, breakable,398  boxrule=0pt, frame hidden,399  arc=2.5pt,400  colback=uqoNavy,401  colupper=uqoBlanc,402  left=12pt, right=12pt, top=8pt, bottom=9pt,403  before skip=12pt, after skip=12pt,404  detach title,405  before upper={\tcbtitle\par\vspace{5pt}},406  fonttitle=\bfseries,407  coltitle=uqoOr,408  title={\faIcon{star}\hspace{6pt}#1},409  borderline south={1.2pt}{0pt}{uqoOr}410}411412% Objectifs d'apprentissage (début de chapitre)413\newtcolorbox{objectifs}{414  enhanced, breakable,415  boxrule=0.6pt,416  colframe=uqoGrisClair,417  colback=uqoBlanc,418  arc=2.5pt,419  left=12pt, right=12pt, top=8pt, bottom=9pt,420  before skip=10pt, after skip=14pt,421  detach title,422  before upper={\tcbtitle\par\vspace{5pt}},423  fonttitle=\bfseries,424  coltitle=uqoBleu,425  title={\textcolor{uqoOr}{\faIcon{bullseye}}\hspace{6pt}Objectifs d'apprentissage},426  borderline north={2pt}{0pt}{uqoOr}427}428429% Exercice (numéroté) + solution repliée visuellement430\newtcolorbox{exercice}[1][]{431  uqonotesbox,432  colback=uqoBleuClair!7,433  borderline west={2.5pt}{0pt}{uqoBleuClair},434  coltitle=uqoBleuClair!70!uqoNavy,435  title={\faIcon{pencil-alt}\hspace{6pt}Exercice~\stepcounter{uqoexo}\theuqoexo%436    \ifstrempty{#1}{}{\ --- #1}}437}438\newtcolorbox{solution}{439  uqonotesbox,440  colback=uqoBgClair!60,441  borderline west={2.5pt}{0pt}{uqoGrisClair},442  coltitle=uqoGris,443  fontupper=\small,444  title={\faIcon{check-circle}\hspace{6pt}Solution}445}446447% =============================================================================448% NOTES MARGINALES449% =============================================================================450% \repere{...} : repère conceptuel dans la marge451\newcommand{\repere}[1]{%452  \marginnote{\raggedright453    {\color{uqoOr}\rule{9mm}{1.3pt}}\\[1.5pt]454    {\footnotesize\color{uqoGris}#1}}}455% \margterme{terme}{définition courte} : mini-lexique en marge456\newcommand{\margterme}[2]{%457  \marginnote{\raggedright458    {\color{uqoOr}\rule{9mm}{1.3pt}}\\[1.5pt]459    {\footnotesize\color{uqoBleu}\bfseries #1}\\[1pt]460    {\footnotesize\color{uqoGris}#2}}}461% \margdate{année}{fait} : jalon historique en marge462\newcommand{\margdate}[2]{%463  \marginnote{\raggedright464    {\footnotesize\color{uqoOr}\bfseries #1}\\[1pt]465    {\footnotesize\color{uqoGris}#2}}}466467% =============================================================================468% COMMANDES DE MISE EN VALEUR469% =============================================================================470\newcommand{\uqotitle}[1]{\textcolor{uqoBleu}{\textbf{#1}}}471\newcommand{\uqohighlight}[1]{\textcolor{uqoOr!75!uqoGris}{\textbf{#1}}}472\newcommand{\uqoalert}[1]{\textcolor{uqoRouge}{\textbf{#1}}}473\newcommand{\uqogreen}[1]{\textcolor{uqoVert}{\textbf{#1}}}474\newcommand{\motcle}[1]{\textcolor{uqoBleu}{\textbf{#1}}\index{#1}}475476% Montants en dollars : \dollars{1234567} -> 1 234 567 $477\newcommand{\dollars}[1]{\num{#1}\,\$}478\RequirePackage[locale=FR, group-separator={\,}, group-minimum-digits=4]{siunitx}479480% Séparateur visuel481\newcommand{\uqosep}{%482  \begin{center}483    \tikz{484      \fill[uqoOr] (0,0) circle (0.5mm);485      \draw[uqoGrisClair, line width=0.5pt] (0.25,0) -- (2.6,0);486      \draw[uqoGrisClair, line width=0.5pt] (-2.6,0) -- (-0.25,0);487    }%488  \end{center}}489490% =============================================================================491% STYLES TikZ PARTAGÉS492% =============================================================================493\tikzset{494  uqoflow/.style={rectangle, rounded corners, draw=uqoBleu, fill=uqoBgClair,495    text centered, font=\small, minimum height=0.6cm},496  uqostep/.style={uqoflow, text width=10.5cm},497  uqocard/.style={rectangle, rounded corners=6pt, draw=uqoBleu, fill=uqoBgClair,498    text centered, font=\small},499  uqoarrow/.style={->, thick, uqoBleu},500}501502% --- pgfplots : habillage discret ---503\pgfplotsset{504  /pgf/number format/1000 sep={\,},505  every axis/.append style={506    axis line style={uqoGris!55},507    tick style={uqoGris!55},508    tick label style={font=\scriptsize, color=uqoGris},509    label style={font=\small, color=uqoInk},510    legend style={font=\scriptsize, draw=uqoGrisClair, fill=white, fill opacity=0.9},511  },512}513514% --- Tableaux ---515\renewcommand{\arraystretch}{1.25}516\newcommand{\enteterang}[1]{\rowcolor{uqoBleu}\multicolumn{1}{l}{\textcolor{white}{\textbf{#1}}}}517518% =============================================================================519% FICHE SYNTHÈSE DE FIN DE CHAPITRE520% =============================================================================521\newenvironment{fichesynthese}{%522  \uqosep523  \begin{tcolorbox}[enhanced, breakable, boxrule=0pt, frame hidden,524    colback=uqoBgClair, arc=2.5pt,525    borderline north={1.6pt}{0pt}{uqoOr},526    left=12pt, right=12pt, top=8pt, bottom=9pt,527    detach title, before upper={\tcbtitle\par\vspace{5pt}},528    fonttitle=\large\bfseries, coltitle=uqoBleu,529    title={\textcolor{uqoOr}{\faIcon{clipboard-check}}\hspace{6pt}L'essentiel de la séance}]530}{%531  \end{tcolorbox}}532533\endinput534
Files main
Menu

Theme