SPB Git

Repository Public MIT Research preview

ce-tikz.tex 2.9 KB 34 lines latex

1% ce-tikz.tex — composants TikZ propres au contenu expert (s'ajoutent à latex/tikz-library/atlas-tikz-core.tex).2% Aucune couleur brute : uniquement les couleurs sémantiques du système partagé.3\tikzset{4  % Tenseur : bloc rectangulaire à coins vifs, pour le distinguer d'un bloc de calcul (coins arrondis).5  ce tenseur/.style={draw=#1, fill=atlasPanel, text=atlasFg, line width=.9pt, inner xsep=4pt, inner ysep=3.5pt,6    align=center, atlas font, atlas nohyphen},7  ce tenseur/.default=atlasRule,8  % Annotation de forme d'un tenseur, sous ou à côté du bloc.9  ce forme/.style={text=atlasMuted, font=\ttfamily\AtlasSizeTiny, inner sep=1.2pt},10  % Cellule de carte (matrice d'attention, masque) : carré plein, bord fin.11  ce cellule/.style={draw=atlasBg, line width=.5pt, minimum size=#1, inner sep=0pt, font=\AtlasTabularFont\AtlasSizeTiny},12  ce cellule/.default=5.2mm,13  % Opération élémentaire (produit, softmax, somme) : petit cercle.14  ce operation/.style={circle, draw=atlasFlow, fill=atlasBg, text=atlasFg, line width=.9pt, inner sep=0pt,15    minimum size=6.2mm, font=\AtlasSizeTiny\bfseries},16  % Segment de frise temporelle (préremplissage, décodage).17  ce phase/.style={draw=#1, fill=#1, fill opacity=.22, text opacity=1, text=atlasFg, line width=.9pt,18    rounded corners=1.5pt, minimum height=7mm, inner sep=2pt, atlas font, atlas nohyphen},19  ce phase/.default=atlasFlow,20  % Cote (mesure d'une longueur) : accolade discrète.21  ce cote/.style={decorate, decoration={brace, amplitude=3.5pt, raise=1.5pt}, draw=atlasMuted, line width=.7pt},22  % Étiquette de nature des données, à poser dans un coin de toute figure quantitative.23  ce nature/.style={draw=atlasMuted, text=atlasMuted, fill=atlasBg, line width=.6pt, rounded corners=1.2pt,24    inner xsep=3.5pt, inner ysep=1.8pt, font=\AtlasSizeTiny\bfseries},25  % Courbes : une couleur sémantique ET un style de trait ET une forme de marque (jamais la couleur seule).26  ce courbe a/.style={draw=atlasFlow, line width=1.3pt, mark=*, mark size=1.6pt, mark options={fill=atlasFlow, draw=atlasFlow, solid}},27  ce courbe b/.style={draw=atlasValid, line width=1.3pt, dash pattern=on 4pt off 2pt, mark=square*, mark size=1.5pt, mark options={fill=atlasValid, draw=atlasValid, solid}},28  ce courbe c/.style={draw=atlasUncertain, line width=1.3pt, dash pattern=on 1.2pt off 1.6pt, mark=triangle*, mark size=1.9pt, mark options={fill=atlasUncertain, draw=atlasUncertain, solid}},29  ce courbe d/.style={draw=atlasHazard, line width=1.3pt, dash pattern=on 5pt off 1.5pt on 1.2pt off 1.5pt, mark=diamond*, mark size=1.9pt, mark options={fill=atlasHazard, draw=atlasHazard, solid}},30  ce courbe e/.style={draw=atlasMuted, line width=1.1pt, mark=o, mark size=1.6pt, mark options={draw=atlasMuted, solid}},31}32% \CECarte{<nom>}{<coin haut-gauche>}{<taille de cellule>} n'existe pas : les cartes sont dessinées par \foreach à partir33% de fichiers -donnees.tex générés, avec fill=atlasFlow!<intensité>!atlasPanel.34
Files main
Menu

Theme