SPB Git

spb/uqo_cours

Public
19.6 KB · 311 lines latex
1% ==============================================================================2% Préambule — Guide Claude Code pour les étudiants (IMM1003 / IMM1033), UQO — v1.0 (dérivé du préambule du Guide IA v3.1)3% ==============================================================================4\usepackage{fontspec}5\setmainfont{Libertinus Serif}[Numbers=OldStyle]6\setsansfont{Fira Sans}[Scale=MatchLowercase]7\setmonofont{Fira Mono}[Scale=MatchLowercase]8\newfontfamily\firalight{Fira Sans Light}[Scale=MatchLowercase]9\usepackage[french]{babel}10\frenchsetup{StandardLists=true}1112\usepackage[margin=2.3cm,top=2.6cm,bottom=2.6cm]{geometry}13\usepackage{parskip}14\usepackage{lastpage}15\usepackage{fancyhdr}16\usepackage{titlesec}17\usepackage{graphicx}18\graphicspath{{./}{../_Guide_IA/}{../_Guide_IA/logos/}}19\usepackage{tikz}20\usetikzlibrary{positioning,arrows.meta,shapes.geometric,shapes.misc,calc,fit,backgrounds,decorations.pathreplacing,shadows}21\usepackage[table]{xcolor}22\usepackage{booktabs}23\usepackage{array}24\usepackage{tabularx}25\usepackage{longtable}26\usepackage{ltablex}27\keepXColumns28\usepackage{multirow}29\usepackage{enumitem}30\usepackage{amsmath,amssymb}31\usepackage{fontawesome5}32\usepackage{fvextra}33\usepackage{tcolorbox}34\tcbuselibrary{skins,breakable,raster}35\usepackage{csquotes}36\usepackage[backend=biber,style=authoryear,sorting=nyt,maxcitenames=2,maxbibnames=8,url=true,doi=true,isbn=false,dashed=false]{biblatex}37\addbibresource{references.bib}38\setcounter{biburlnumpenalty}{9000}39\setcounter{biburlucpenalty}{9000}40\setcounter{biburllcpenalty}{9000}41\renewcommand*{\bibfont}{\small}42\usepackage{hyperref}4344% --- Couleurs UQO ---45\definecolor{uqoBleu}{RGB}{0, 62, 126}46\definecolor{uqoBleuClair}{RGB}{0, 102, 179}47\definecolor{uqoOr}{RGB}{198, 163, 0}48\definecolor{uqoGris}{RGB}{88, 89, 91}49\definecolor{uqoGrisClair}{RGB}{200, 200, 200}50\definecolor{uqoVert}{RGB}{0, 128, 70}51\definecolor{uqoRouge}{RGB}{180, 35, 24}52\definecolor{uqoBgClair}{RGB}{240, 244, 248}53\definecolor{uqoOrange}{RGB}{214, 122, 0}54\definecolor{uqoViolet}{RGB}{94, 53, 177}55\definecolor{uqoTeal}{RGB}{0, 121, 121}5657\hypersetup{colorlinks=true,linkcolor=uqoBleu,urlcolor=uqoBleuClair,citecolor=uqoVert,58  pdftitle={Claude Code pour les étudiants — guide pratique — IMM1003 et IMM1033 — UQO},59  pdfauthor={Simon-Pierre Boucher},60  pdfsubject={Installer, configurer et utiliser Claude Code dans un cours d'évaluation immobilière},61  pdfkeywords={Claude Code, CLAUDE.md, agent IA, hooks, MCP, skills, permissions, évaluation immobilière, UQO}}6263% --- En-têtes ---64\setlength{\headheight}{22pt}65\addtolength{\topmargin}{-10pt}66\pagestyle{fancy}67\fancyhf{}68\renewcommand{\headrulewidth}{1.2pt}69\renewcommand{\headrule}{\hbox to\headwidth{\color{uqoBleu}\leaders\hrule height \headrulewidth\hfill}}70\renewcommand{\footrulewidth}{0.5pt}71\renewcommand{\footrule}{\hbox to\headwidth{\color{uqoGrisClair}\leaders\hrule height \footrulewidth\hfill}}72\fancyhead[L]{\small\sffamily\color{uqoBleu}\textbf{IMM1003 · IMM1033} --- Claude Code pour les étudiants}73\fancyhead[R]{\small\sffamily\color{uqoGris}Automne 2026 · v1.0}74\fancyfoot[L]{\small\sffamily\color{uqoGris}UQO --- S.-P. Boucher}75\fancyfoot[R]{\small\sffamily\color{uqoGris}Page \thepage\ / \pageref{LastPage}}7677% --- Titres ---78\newcommand{\numbox}[1]{\tikz[baseline=(s.base)]\node[fill=uqoBleu,text=white,rounded corners=3pt,inner xsep=5pt,inner ysep=3pt,font=\Large\bfseries\sffamily](s){#1};}79\titleformat{\part}[display]80  {\centering\normalfont\sffamily}81  {\color{uqoOr}\Large\bfseries\partname~\thepart}82  {0.6em}83  {\color{uqoBleu}\Huge\bfseries}84  [\vspace{0.5em}{\color{uqoOr}\rule{0.6\textwidth}{1.5pt}}]85\titleformat{\section}86  {\Large\bfseries\sffamily\color{uqoBleu}}{\numbox{\thesection}}{0.7em}{}87  [\vspace{-0.3em}{\color{uqoOr}\rule{\textwidth}{1.2pt}}]88\titleformat{\subsection}{\large\bfseries\sffamily\color{uqoBleuClair}}{\thesubsection}{0.5em}{}89\titleformat{\subsubsection}{\normalsize\bfseries\sffamily\color{uqoGris}}{\thesubsubsection}{0.5em}{}90% un titre de section ne reste jamais seul en bas de page91\usepackage{needspace}92\let\origsection\section93\renewcommand{\section}{\Needspace*{10\baselineskip}\origsection}94\titlespacing{\section}{0pt}{22pt}{8pt}95\titlespacing{\subsection}{0pt}{12pt}{4pt}96\titlespacing{\subsubsection}{0pt}{8pt}{3pt}9798% ==============================================================================99% BOÎTES ÉDITORIALES100% ==============================================================================101\tcbset{boxeCommune/.style={enhanced,breakable,boxrule=0.8pt,arc=3pt,102  left=6pt,right=6pt,top=4pt,bottom=4pt,before skip=8pt,after skip=8pt,fonttitle=\sffamily\bfseries}}103\newtcolorbox{infobox}[1][]{boxeCommune,colback=uqoBgClair,colframe=uqoBleu,104  title={#1},coltitle=white,colbacktitle=uqoBleu}105\newtcolorbox{alertbox}[1][]{boxeCommune,colback=uqoRouge!4,colframe=uqoRouge,106  title={#1},coltitle=white,colbacktitle=uqoRouge}107\newtcolorbox{notebox}[1][]{boxeCommune,colback=uqoOr!6,colframe=uqoOr,108  title={#1},coltitle=uqoBleu,colbacktitle=uqoOr}109\newtcolorbox{okbox}[1][]{boxeCommune,colback=uqoVert!5,colframe=uqoVert,110  title={#1},coltitle=white,colbacktitle=uqoVert}111% Boîte « Exemple concret » (teal) : cas chiffré, extrait de session, gabarit rempli112\newtcolorbox{exemple}[1][Exemple concret]{enhanced,breakable,colback=uqoTeal!5,colframe=uqoTeal!5,boxrule=0pt,arc=4pt,113  borderline west={3.5pt}{0pt}{uqoTeal},left=10pt,right=8pt,top=6pt,bottom=6pt,before skip=10pt,after skip=10pt,114  fontupper=\small,title={\faIcon{flask}~#1},coltitle=uqoTeal!70!black,fonttitle=\bfseries\small\sffamily,115  colbacktitle=uqoTeal!5,toptitle=4pt,bottomtitle=0pt}116117% ==============================================================================118% CODE : terminal sombre (sessions, commandes) et fichier clair (CLAUDE.md, JSON, Python)119% ==============================================================================120\definecolor{termBg}{RGB}{30, 34, 45}121\definecolor{termBar}{RGB}{44, 49, 63}122\definecolor{termFg}{RGB}{226, 229, 236}123\definecolor{termDim}{RGB}{130, 140, 160}124\definecolor{termGreen}{RGB}{140, 205, 130}125\definecolor{termBlue}{RGB}{125, 175, 255}126\definecolor{termOrange}{RGB}{255, 190, 110}127\definecolor{termRed}{RGB}{255, 130, 120}128\definecolor{termHL}{RGB}{42, 58, 90}129\definecolor{fileBg}{RGB}{248, 249, 251}130\definecolor{fileBar}{RGB}{233, 237, 243}131\fvset{fontsize=\footnotesize,breaklines=true,breakanywhere=true,breaksymbolleft={},132  numbersep=7pt,tabsize=4,xleftmargin=0pt}133% trois pastilles façon fenêtre macOS134\newcommand{\pastilles}{\tikz[baseline=-0.55ex]{\fill[termRed] (0,0) circle (2.6pt);\fill[termOrange] (0.42,0) circle (2.6pt);\fill[termGreen] (0.84,0) circle (2.6pt);}}135\newcommand{\termnum}{\renewcommand{\theFancyVerbLine}{\textcolor{termDim}{\scriptsize\sffamily\arabic{FancyVerbLine}}}}136\newcommand{\filenum}{\renewcommand{\theFancyVerbLine}{\textcolor{black!40}{\scriptsize\sffamily\arabic{FancyVerbLine}}}}137% Terminal : \begin{terminal}[titre] ... \end{terminal} ; à l'intérieur, un Verbatim avec138% commandchars=§¡¿ : §tu¡…¿ ligne utilisateur, §co¡…¿ commentaire, §ok¡…¿, §ko¡…¿, §hi¡…¿, §gris¡…¿, §mk¡n¿ repère139\newtcolorbox{terminal}[1][Terminal]{enhanced,breakable,colback=termBg,colframe=termBg,boxrule=0pt,arc=6pt,140  left=6pt,right=6pt,top=6pt,bottom=6pt,before skip=10pt,after skip=10pt,141  title={\pastilles\hspace{8pt}{\color{termFg}\sffamily\bfseries\small #1}},colbacktitle=termBar,coltitle=termFg,142  toptitle=5pt,bottomtitle=5pt,fontupper=\color{termFg}\ttfamily,143  drop fuzzy shadow={black!45},before upper={\termnum}}144% Fichier : \begin{fichier}[nom-du-fichier] ... \end{fichier}145\newtcolorbox{fichier}[1][fichier]{enhanced,breakable,colback=fileBg,colframe=black!18,boxrule=0.6pt,arc=5pt,146  left=6pt,right=6pt,top=6pt,bottom=6pt,before skip=10pt,after skip=10pt,147  title={\faIcon{file-code}~~{\ttfamily\bfseries\small #1}},colbacktitle=fileBar,coltitle=uqoBleu,148  toptitle=4pt,bottomtitle=4pt,fontupper=\color{black!85}\ttfamily,149  borderline west={3pt}{0pt}{uqoBleu},before upper={\filenum}}150% Couleurs à utiliser via escapeinside=§§151\newcommand{\tu}[1]{\textcolor{termBlue}{\bfseries #1}}152\newcommand{\co}[1]{\textcolor{termDim}{\itshape #1}}153\newcommand{\ok}[1]{\textcolor{termGreen}{#1}}154\newcommand{\ko}[1]{\textcolor{termRed}{#1}}155\newcommand{\hi}[1]{\textcolor{termOrange}{#1}}156\newcommand{\gris}[1]{\textcolor{termDim}{#1}}157\newcommand{\fk}[1]{\textcolor{uqoBleu}{\bfseries #1}}158\newcommand{\fc}[1]{\textcolor{black!50}{\itshape #1}}159\newcommand{\fs}[1]{\textcolor{uqoVert!80!black}{#1}}160\newcommand{\mk}[1]{\tikz[baseline=(m.base)]\node[circle,fill=uqoOr,text=uqoBleu,font=\sffamily\bfseries\scriptsize,inner sep=1pt,minimum size=11pt](m){#1};}161% code en ligne : pastille grise discrète162\let\oldtexttt\texttt163\renewcommand{\texttt}[1]{{\setlength{\fboxsep}{1.4pt}\colorbox{uqoBleu!7}{\ttfamily #1}}}164165% ==============================================================================166% TABLEAUX : légendes numérotées, en-tête coloré répété, zèbre, sans filets verticaux167% ==============================================================================168\usepackage{caption}169\counterwithin{table}{section}170\counterwithin{figure}{section}171\addto\captionsfrench{\renewcommand{\tablename}{Tableau}\renewcommand{\figurename}{Figure}}172\captionsetup{font={small},labelfont={sf,bf,color=uqoBleu},labelsep=quad,173  textfont={sf,color=uqoGris},justification=raggedright,singlelinecheck=false,skip=6pt}174\captionsetup[figure]{position=below,skip=6pt}175\captionsetup[table]{position=above,skip=4pt}176\setlength{\LTcapwidth}{\textwidth}177\setlength{\LTpre}{8pt}178\setlength{\LTpost}{10pt}179\setlength{\tabcolsep}{5pt}180\renewcommand{\tabularxcolumn}[1]{>{\raggedright\arraybackslash}p{#1}}181\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}182% \leavevmode évite que \color (whatsit) déclenche un \parskip en tête de cellule (décalage d'une ligne)183\newcolumntype{E}[1]{>{\raggedright\arraybackslash\bfseries\leavevmode\color{uqoBleu}}p{#1}}184\newcolumntype{R}[1]{>{\raggedright\arraybackslash\bfseries\leavevmode\color{uqoRouge}}p{#1}}185\newcommand{\hc}[1]{\textcolor{white}{\sffamily\bfseries\footnotesize #1}}186\newcommand{\captionsuite}[1]{\caption[]{#1 \emph{(suite)}}\\}187\newcommand{\suitepage}[1]{\multicolumn{#1}{r}{\footnotesize\itshape\color{uqoGris}suite à la page suivante~\faIcon{angle-double-right}}\\}188\newcommand{\finTableau}{\arrayrulecolor{uqoBleu!55}\specialrule{0.8pt}{0pt}{0pt}}189% \nopagebreak : la légende reste collée à son schéma190\newcommand{\figcaption}[2]{\par\nopagebreak\vspace{2pt}\nopagebreak\captionof{figure}{#1}\label{#2}}191% En bref : résumé d'ouverture de chapitre192\newtcolorbox{enbref}{enhanced,breakable,colback=uqoBleu!4,colframe=uqoBleu!4,boxrule=0pt,arc=0pt,193  borderline west={4pt}{0pt}{uqoBleu},left=12pt,right=8pt,top=6pt,bottom=6pt,before skip=6pt,after skip=12pt,194  fontupper=\small,title={\faIcon{compass}~En bref},fonttitle=\sffamily\bfseries\small,coltitle=uqoBleu,colbacktitle=uqoBleu!4,toptitle=4pt,bottomtitle=0pt}195196% ==============================================================================197% SYSTÈME « CONVERSATION » : bulles Vous / IA / analyse198% ==============================================================================199\newtcolorbox{vous}[1][]{enhanced,breakable,200  colback=uqoBleu!5,colframe=uqoBleu!5,boxrule=0pt,arc=7pt,201  borderline west={3.5pt}{0pt}{uqoBleu},202  left=12pt,right=10pt,top=12pt,bottom=8pt,before skip=14pt,after skip=4pt,203  fontupper=\small\sffamily,204  attach boxed title to top left={xshift=10pt,yshift=-\tcboxedtitleheight/2},205  boxed title style={colback=uqoBleu,colframe=uqoBleu,arc=9pt,boxrule=0pt,left=8pt,right=8pt,top=3pt,bottom=3pt},206  coltitle=white,fonttitle=\bfseries\small\sffamily,207  title={\faIcon{user-edit}~~Vous\ifx\relax#1\relax\else~~{\normalfont\footnotesize\color{white!85!uqoBleu}\faIcon{caret-right}~#1}\fi}}208\newtcolorbox{ia}[1][]{enhanced,breakable,209  colback=black!4,colframe=black!4,boxrule=0pt,arc=7pt,210  borderline east={3.5pt}{0pt}{uqoGris},211  left=10pt,right=12pt,top=12pt,bottom=8pt,before skip=10pt,after skip=4pt,212  fontupper=\small,213  attach boxed title to top right={xshift=-10pt,yshift=-\tcboxedtitleheight/2},214  boxed title style={colback=uqoGris,colframe=uqoGris,arc=9pt,boxrule=0pt,left=8pt,right=8pt,top=3pt,bottom=3pt},215  coltitle=white,fonttitle=\bfseries\small\sffamily,216  title={\faIcon{robot}~~Assistant IA\ifx\relax#1\relax\else~~{\normalfont\footnotesize\faIcon{caret-right}~#1}\fi}}217\newtcolorbox{analyse}[1][Pourquoi cette requête fonctionne]{enhanced,breakable,218  colback=uqoOr!7,colframe=uqoOr!7,boxrule=0pt,arc=4pt,219  borderline west={3.5pt}{0pt}{uqoOr},220  left=10pt,right=8pt,top=6pt,bottom=6pt,before skip=4pt,after skip=14pt,221  fontupper=\small,222  title={\faIcon{lightbulb}~#1},coltitle=uqoBleu,fonttitle=\bfseries\small\sffamily,223  colbacktitle=uqoOr!7,toptitle=4pt,bottomtitle=0pt}224\newtcolorbox{faibleforte}[1][]{enhanced,breakable,sidebyside,sidebyside align=top seam,225  lefthand ratio=0.44,segmentation style={uqoGris!50,dashed,line width=0.6pt},226  colback=white,colframe=uqoGris!50,boxrule=0.6pt,arc=4pt,227  left=6pt,right=6pt,top=6pt,bottom=6pt,before skip=10pt,after skip=10pt,228  fontupper=\small,fontlower=\small,229  title={#1},coltitle=white,fonttitle=\bfseries\small\sffamily,colbacktitle=uqoGris}230\newcommand{\faible}{\textcolor{uqoRouge}{\faIcon{times-circle}~\textbf{\sffamily Requête faible}}\par\smallskip}231\newcommand{\forte}{\textcolor{uqoVert}{\faIcon{check-circle}~\textbf{\sffamily Requête forte}}\par\smallskip}232\newcommand{\reponsereelle}{\textcolor{uqoGris}{\faIcon{robot}}~{\footnotesize\sffamily\bfseries\color{uqoGris}Réponse réelle (Claude Sonnet 4.6) :}~}233% Étiquettes de structure d'une requête234\newcommand{\etq}[2]{\tikz[baseline=(t.base)]\node[fill=#1,text=white,font=\sffamily\bfseries\tiny,rounded corners=1.5pt,inner xsep=3pt,inner ysep=2pt](t){#2};\hspace{2pt}}235\newcommand{\eRole}{\etq{uqoViolet}{RÔLE}}236\newcommand{\eCtx}{\etq{uqoTeal}{CONTEXTE}}237\newcommand{\eTache}{\etq{uqoBleuClair}{TÂCHE}}238\newcommand{\eContr}{\etq{uqoRouge!85}{CONTRAINTES}}239\newcommand{\eFormat}{\etq{uqoOrange}{FORMAT}}240\newcommand{\eDonnees}{\etq{uqoVert}{DONNÉES}}241% Fiche de requête testée : id, titre, tags, niveau, C1..C5 (1 = réussi, 0 = échoué, 2 = sans objet)242\newcommand{\crit}[2]{\ifnum#2=1 \textcolor{uqoVert}{\faIcon{check-circle}}\else\ifnum#2=0 \textcolor{uqoRouge}{\faIcon{times-circle}}\else\textcolor{uqoGrisClair}{\faIcon{minus-circle}}\fi\fi{\scriptsize\sffamily\,#1}}243\newcommand{\testbadge}{\tikz[baseline=(b.base)]\node[fill=uqoVert,text=white,font=\sffamily\bfseries\scriptsize,rounded corners=3pt,inner sep=2.5pt](b){\faIcon{vial}~TESTÉ · Claude Sonnet 4.6 · 6 sept. 2026};}244\newcommand{\nontestebadge}{\tikz[baseline=(b.base)]\node[fill=uqoGris,text=white,font=\sffamily\bfseries\scriptsize,rounded corners=3pt,inner sep=2.5pt](b){\faIcon{flask}~NON TESTÉ PAR API · nécessite un dossier de travail};}245\newcommand{\reqmeta}[9]{\par\vspace{12pt}\noindent246  \begin{tcolorbox}[enhanced,colback=uqoBleu!3,colframe=uqoBleu!35,boxrule=0.5pt,arc=4pt,left=8pt,right=8pt,top=5pt,bottom=5pt,before skip=0pt,after skip=-8pt]247  \tikz[baseline=(i.base)]\node[fill=uqoBleu,text=white,font=\sffamily\bfseries,rounded corners=3pt,inner sep=3.5pt](i){#1};~~{\large\bfseries\sffamily\color{uqoBleu}#2}\hfill #4\\[4pt]248  {\footnotesize\sffamily\color{uqoGris}\faIcon{tag}~#3}\hfill\testbadge\quad\crit{C1}{#5}\ \crit{C2}{#6}\ \crit{C3}{#7}\ \crit{C4}{#8}\ \crit{C5}{#9}249  \end{tcolorbox}}250% Logos251\newcommand{\logo}[2][0.95em]{\raisebox{-0.22\height}{\includegraphics[height=#1]{logos/#2.pdf}}}252% Carte outil (grille) : nom, firme, fichier logo253\newtcolorbox{toolcard}[3]{enhanced,colback=white,colframe=uqoBleu!60,boxrule=0.7pt,arc=5pt,254  drop shadow={uqoGris!35},left=7pt,right=7pt,top=5pt,bottom=6pt,255  colbacktitle=uqoBgClair,coltitle=uqoBleu,fonttitle=\sffamily,toptitle=5pt,bottomtitle=5pt,256  title={\raisebox{-0.3\height}{\includegraphics[height=1.3em]{logos/#3.pdf}}~~\textbf{\large #1}\hfill{\footnotesize\color{uqoGris}#2}},fontupper=\small}257\newcommand{\cardline}[2]{\par\noindent{\color{uqoBleu}#1}~\textbf{\sffamily\footnotesize #2}\par\vspace{1pt}}258\newcommand{\etape}[1]{\tikz[baseline=(e.base)]\node[circle,fill=uqoBleu,text=white,font=\sffamily\bfseries\footnotesize,inner sep=1.5pt,minimum size=15pt](e){#1};}259260% --- Pastilles de niveau et feux ---261\newcommand{\niv}[2]{\tikz[baseline=(n.base)]\node[fill=#1,text=white,font=\bfseries\sffamily\footnotesize,rounded corners=2pt,inner sep=2.5pt](n){#2};}262\newcommand{\nivun}{\niv{uqoRouge}{Niveau 1}}263\newcommand{\nivdeux}{\niv{uqoOrange}{Niveau 2}}264\newcommand{\nivtrois}{\niv{uqoBleuClair}{Niveau 3}}265\newcommand{\nivquatre}{\niv{uqoGris}{Niveau 4}}266\newcommand{\nivcinq}{\niv{uqoVert}{Niveau 5}}267\newcommand{\feuvert}{\textcolor{uqoVert}{\faIcon{check-circle}}}268\newcommand{\feujaune}{\textcolor{uqoOrange}{\faIcon{exclamation-triangle}}}269\newcommand{\feurouge}{\textcolor{uqoRouge}{\faIcon{times-circle}}}270271% --- Styles TikZ communs aux schémas ---272\tikzset{273  bloc/.style={draw=uqoBleu,thick,rounded corners=3pt,fill=uqoBgClair,align=center,font=\small\sffamily,inner sep=5pt},274  blocfonce/.style={draw=uqoBleu,thick,rounded corners=3pt,fill=uqoBleu,text=white,align=center,font=\small\sffamily\bfseries,inner sep=5pt},275  blocor/.style={draw=uqoOr,thick,rounded corners=3pt,fill=uqoOr!15,align=center,font=\small\sffamily,inner sep=5pt},276  blocrouge/.style={draw=uqoRouge,thick,rounded corners=3pt,fill=uqoRouge!8,align=center,font=\small\sffamily,inner sep=5pt},277  blocvert/.style={draw=uqoVert,thick,rounded corners=3pt,fill=uqoVert!8,align=center,font=\small\sffamily,inner sep=5pt},278  blocgris/.style={draw=uqoGris,thick,rounded corners=3pt,fill=black!4,align=center,font=\small\sffamily,inner sep=5pt},279  fl/.style={-{Latex[length=2.2mm]},thick,uqoGris},280  flb/.style={-{Latex[length=2.2mm]},thick,uqoBleu},281  flo/.style={-{Latex[length=2.2mm]},thick,uqoOr!80!black},282  flr/.style={-{Latex[length=2.2mm]},thick,uqoRouge},283  etiq/.style={font=\footnotesize\sffamily\color{uqoGris},align=center},284  losange/.style={diamond,draw=uqoOr!80!black,thick,fill=uqoOr!12,aspect=2.2,align=center,font=\footnotesize\sffamily,inner sep=1pt},285  conteneur/.style={draw=uqoGris!60,dashed,rounded corners=6pt,inner sep=8pt,fill=black!2}286}287288\renewcommand{\arraystretch}{1.25}289\setlist{nosep,leftmargin=1.6em}290291% ==============================================================================292% AJOUTS PROPRES AU GUIDE CLAUDE CODE293% ==============================================================================294% touche de clavier295\newcommand{\kbd}[1]{\tikz[baseline=(k.base)]\node[draw=black!35,fill=black!4,rounded corners=2.5pt,inner xsep=3.5pt,inner ysep=1.8pt,font=\sffamily\footnotesize\bfseries,text=black!75](k){#1};}296% étiquette « niveau » du lecteur297\newcommand{\debutant}{\niv{uqoVert}{Débutant}}298\newcommand{\intermediaire}{\niv{uqoBleuClair}{Intermédiaire}}299\newcommand{\avance}{\niv{uqoViolet}{Avancé}}300% boîte « astuce » (or, icône ampoule) et « piège » (rouge)301\newtcolorbox{astuce}[1][Astuce]{enhanced,breakable,colback=uqoOr!7,colframe=uqoOr!7,boxrule=0pt,arc=4pt,302  borderline west={3.5pt}{0pt}{uqoOr},left=10pt,right=8pt,top=6pt,bottom=6pt,before skip=8pt,after skip=8pt,303  fontupper=\small,title={\faIcon{lightbulb}~#1},coltitle=uqoBleu,fonttitle=\bfseries\small\sffamily,colbacktitle=uqoOr!7,toptitle=4pt,bottomtitle=0pt}304\newtcolorbox{piege}[1][Piège]{enhanced,breakable,colback=uqoRouge!5,colframe=uqoRouge!5,boxrule=0pt,arc=4pt,305  borderline west={3.5pt}{0pt}{uqoRouge},left=10pt,right=8pt,top=6pt,bottom=6pt,before skip=8pt,after skip=8pt,306  fontupper=\small,title={\faIcon{exclamation-triangle}~#1},coltitle=uqoRouge,fonttitle=\bfseries\small\sffamily,colbacktitle=uqoRouge!5,toptitle=4pt,bottomtitle=0pt}307% chemin de fichier en prose308\newcommand{\chemin}[1]{\texttt{#1}}309% coche verte utilisable dans les Verbatim : §vok¡¿310\newcommand{\vok}{\textcolor{termGreen}{\faIcon{check}}}311
Files · c71fcb40713c92e0fe96d7767538023ec09c7b28
Menu

Theme