SPB Git

Repository Public License Research preview

atlas-frames.tex 6.9 KB 119 lines latex

1% atlas-frames.tex — structural frames: title, section, roadmap, references, closing.23% Decorative motif (original vector art): a wireframe globe crossed by a small knowledge graph.4\newcommand{\atlas@motif}{%5  \begin{scope}[shift={([xshift=-22mm]current page.east)}]6    \clip (-62mm,-45mm) rectangle (22mm, 45mm);7    \draw[atlasRule, line width=.7pt] (0,0) circle[radius=37mm];8    \foreach \rx in {27, 14.5}{\draw[atlasRule, line width=.5pt] (0,0) ellipse[x radius=\rx mm, y radius=37mm];}9    \draw[atlasRule, line width=.5pt] (0,-37mm) -- (0,37mm);10    \foreach \y/\w in {0/37, 14/34.25, -14/34.25, 27/25.3, -27/25.3}{%11      \draw[atlasRule, line width=.5pt] (-\w mm, \y mm) -- (\w mm, \y mm);}12    \draw[atlasFlow, line width=1.2pt] (-27mm,-14mm) -- (-14.5mm,14mm) -- (0,0) -- (14.2mm,27mm);13    \draw[atlasFlow, line width=1.2pt] (0,0) -- (-13.4mm,-27mm);14    \draw[atlasFlow, line width=1.2pt] (0,0) -- (14.5mm,-14mm);15    \fill[atlasBg, draw=atlasFlow, line width=1.2pt] (-27mm,-14mm) circle[radius=1.5mm];16    \fill[atlasValid] (-14.5mm,14mm) circle[radius=1.9mm];17    \fill[atlasFg] (0,0) circle[radius=2.2mm];18    \fill[atlasUncertain] (14.2mm,27mm) circle[radius=1.9mm];19    \fill[atlasBg, draw=atlasFlow, line width=1.2pt] (-13.4mm,-27mm) circle[radius=1.5mm];20    \fill[atlasHazard] (14.5mm,-14mm) circle[radius=1.9mm];21  \end{scope}}2223% Author block (used on title and closing slides): prominent, never a tiny footer.24\newcommand{\atlas@authorblock}{%25  {\fontsize{14.5}{17}\selectfont\AtlasDisplayFont\color{atlasFg}\AtlasAuthorName\par}\vskip .9mm26  {\AtlasSizeBody\color{atlasFg}\AtlasAuthorTitleLine\par}\vskip .4mm27  {\AtlasSizeSmall\color{atlasMuted}\AtlasAuthorDepartment\par}}2829% \AtlasTitleSlide — opening slide: course, module ID, session title, instructor and affiliation.30\newcommand{\AtlasTitleSlide}{%31  \begin{frame}[plain]32    \label{\AtlasSessionId-D01}33    \begin{tikzpicture}[remember picture, overlay]34      \atlas@motif35      \node[anchor=north west, inner sep=0pt] (logo) at ([shift={(\AtlasMargin,-8mm)}]current page.north west)36        {\tikz{\pic[scale=1.05]{atlas logo};}};37      \node[anchor=west, inner sep=0pt, align=left] at ([xshift=3mm]logo.east)38        {{\AtlasSizeSmall\AtlasDisplayFont\color{atlasFg}\AtlasCourseShort}\\[-.2mm]39         {\AtlasSizeTiny\color{atlasMuted}\AtlasCourseTagline}};40      \node[anchor=north west, inner sep=0pt, align=left, text width=90mm]41        at ([shift={(\AtlasMargin,-23.5mm)}]current page.north west)42        {\atlas@nohyph{\AtlasSizeTiny\bfseries\color{atlasFlow}SÉANCE \AtlasSessionId\enspace\textbullet\enspace43            PARTIE \AtlasPartNum\ — \AtlasPartTitle\par}\vskip 2.2mm44         {\fontsize{21}{24.5}\selectfont\AtlasDisplayFont\color{atlasFg}\AtlasSessionTitle\par}\vskip 2.4mm45         {\AtlasSizeBody\AtlasLightFont\color{atlasMuted}\AtlasSessionSubtitle\par}};46      \draw[atlasFlow, line width=.85mm, line cap=butt]47        ([shift={(\AtlasMargin,26.5mm)}]current page.south west) -- ++(11mm,0);48      \node[anchor=south west, inner sep=0pt, align=left, text width=98mm]49        at ([shift={(\AtlasMargin,8mm)}]current page.south west) {\atlas@authorblock};50    \end{tikzpicture}51    \note{\AtlasCourseShort\ — \AtlasSessionId. Se présenter : \AtlasAuthorName, \AtlasAuthorTitleLine.}52  \end{frame}}5354% \AtlasSection{<title>}{<one-line purpose>} — numbered section divider.55\newcommand{\AtlasSection}[2]{%56  \section{#1}57  \begin{frame}[plain]58    \begin{tikzpicture}[remember picture, overlay]59      \fill[atlasPanel] (current page.south west) rectangle ([xshift=46mm]current page.north west);60      \node[anchor=east, inner sep=0pt] at ([shift={(38mm,0mm)}]current page.west)61        {\fontsize{64}{64}\selectfont\AtlasDisplayFont\color{atlasFlow}\thesection};62      \node[anchor=west, inner sep=0pt, align=left, text width=92mm] at ([shift={(56mm,0mm)}]current page.west)63        {{\AtlasSizeTiny\bfseries\color{atlasFlow}\AtlasSessionId\enspace\textbullet\enspace SECTION \thesection\par}\vskip 2mm64         {\atlas@nohyph\fontsize{21}{24.5}\selectfont\AtlasDisplayFont\color{atlasFg}#1\par}\vskip 2.4mm65         {\atlas@nohyph\AtlasSizeBody\AtlasLightFont\color{atlasMuted}#2\par}};66      \node[anchor=south east, inner sep=0pt] at ([shift={(-\AtlasMargin,5.2mm)}]current page.south east)67        {\AtlasSizeTiny\color{atlasMuted}\AtlasFooterAttribution};68    \end{tikzpicture}69  \end{frame}}7071% \AtlasRoadmap{<current step, 0 for none>}{step 1, step 2, ...} — horizontal stepper.72\NewDocumentCommand{\AtlasRoadmap}{m m}{%73  \begin{tikzpicture}74    \foreach \atlas@s [count=\atlas@i] in {#2}{%75      \pgfmathsetmacro{\atlas@x}{(\atlas@i-1)*28.4}76      \ifnum\atlas@i=#1\relax77        \node[atlas step=atlasFlow, fill=atlasFlow, text=atlasBg, minimum size=7mm, font=\AtlasSizeSmall\bfseries]78          (rm\atlas@i) at (\atlas@x mm,0) {\atlas@i};79      \else80        \node[atlas step=atlasFlow, minimum size=7mm, font=\AtlasSizeSmall\bfseries] (rm\atlas@i) at (\atlas@x mm,0) {\atlas@i};81      \fi82      \node[atlas label, text width=26mm, anchor=north, font=\AtlasSizeLabel] at ([yshift=-2mm]rm\atlas@i.south) {\atlas@s};83      \ifnum\atlas@i>1\relax84        \pgfmathtruncatemacro{\atlas@p}{\atlas@i-1}85        \draw[atlas link] (rm\atlas@p) -- (rm\atlas@i);86      \fi87    }88  \end{tikzpicture}}8990% \AtlasReferences — bibliography frame(s). Every entry is tracked in docs/source-verification.md.91\newcommand{\AtlasReferences}{%92  \begin{frame}[allowframebreaks]{Références}93    \renewcommand*{\bibfont}{\fontsize{8}{9.8}\selectfont}94    \setlength{\bibitemsep}{1.3mm}95    \printbibliography[heading=none]96  \end{frame}}9798% \AtlasClosingSlide{<closing sentence>}{<next step line>} — closing slide with full attribution.99\newcommand{\AtlasClosingSlide}[2]{%100  \begin{frame}[plain]101    \begin{tikzpicture}[remember picture, overlay]102      \atlas@motif103      \node[anchor=north west, inner sep=0pt] (logo) at ([shift={(\AtlasMargin,-8mm)}]current page.north west)104        {\tikz{\pic[scale=1.05]{atlas logo};}};105      \node[anchor=west, inner sep=0pt, align=left] at ([xshift=3mm]logo.east)106        {{\AtlasSizeSmall\AtlasDisplayFont\color{atlasFg}\AtlasCourseShort}\\[-.2mm]107         {\AtlasSizeTiny\color{atlasMuted}\AtlasSessionId\enspace\textbullet\enspace\AtlasSessionTitle}};108      \node[anchor=north west, inner sep=0pt, align=left, text width=90mm]109        at ([shift={(\AtlasMargin,-23.5mm)}]current page.north west)110        {\atlas@nohyph{\fontsize{21}{24.5}\selectfont\AtlasDisplayFont\color{atlasFg}#1\par}\vskip 2.6mm111         {\AtlasSizeBody\AtlasLightFont\color{atlasMuted}#2\par}};112      \draw[atlasFlow, line width=.85mm, line cap=butt]113        ([shift={(\AtlasMargin,26.5mm)}]current page.south west) -- ++(11mm,0);114      \node[anchor=south west, inner sep=0pt, align=left, text width=98mm]115        at ([shift={(\AtlasMargin,8mm)}]current page.south west) {\atlas@authorblock};116    \end{tikzpicture}117    \note{Remercier, rappeler le laboratoire et le quiz, annoncer la séance suivante.}118  \end{frame}}119
Files main
Menu

Theme