SPB Git

Repository Public MIT Research preview

S05-F05-parcours-document-long.tex 3.2 KB 44 lines latex

1% S05-F05 — Que faire d'un document plus long que la fenêtre ? Carte des parcours.2% Idée : la fenêtre ne s'agrandit pas ; c'est la question qui dicte le parcours. Un passage précis suffit :3% on sélectionne. Il faut une vue d'ensemble : on résume par étapes, au prix de plusieurs appels et d'une4% perte possible à chaque résumé. Tout envoyer est impossible. Document et tailles FICTIFS, calculés.5% DONNÉES : S05-F05-donnees.tex, généré par demos/src/atlas_s05/exporter_donnees_figure.py.6\input{S05-F05-donnees.tex}7\begin{tikzpicture}[x=1mm, y=1mm]8  % ---------- Le document et la fenêtre, à la même échelle ----------9  \node[atlas heading, anchor=south west] at (0,46.6) {Document long};10  \node[atlas note, anchor=south west] at (0,43.4) {\AtlasFigLongTotal\ jetons, \AtlasFigLongSections\ sections};11  \AtlasContextBand{d}{(0,35.5)}{43.2}{6.5}12  \edef\bornes{\AtlasFigLongBornes}13  \foreach \b [remember=\b as \a (initially 0)] in \bornes {14    \AtlasBandSegment{d}{\a}{\b}{atlasFlow}{}15  }16  \AtlasContextBand{f}{(0,24.5)}{12}{6.5}17  \AtlasBandSegment{f}{0}{1}{atlasValid}{}18  \node[atlas note, anchor=west, align=left] at (13.5,27.75) {fenêtre : \AtlasFigLongFenetre\ jetons\\ (même échelle)};19  % ---------- Tout envoyer : impossible ----------20  \node[atlas block hazard, text width=37mm, minimum height=12.5mm, anchor=south west] (tout) at (0,2)21    {\textbf{Tout envoyer}\\ dépassement : \AtlasFigLongToutDepassement};22  \draw[atlas arrow hazard] (6,24.5) -- (6,15.6);23  \pic[atlasHazard, scale=.34] at (9.6,20) {atlas cross};24  \node[atlas note, anchor=west, text=atlasHazard] at (11.6,20) {impossible};25  % ---------- La question décide ----------26  \node[atlas gate, text width=17mm, inner sep=.2pt] (q) at (58,23) {Un passage précis suffit ?};27  \draw[atlas arrow] (43.2,38.75) -- (58,38.75) -- (q.north);28  % ---------- Oui : sélectionner ----------29  \node[atlas block flow, text width=27mm, minimum height=11mm] (sel) at (95,44) {\textbf{Sélectionner}\\ la section utile};30  \node[atlas block valid, text width=22mm, minimum height=11mm] (rs) at (128.5,44) {1 appel\\ \AtlasFigLongSelectionLus\ jetons lus};31  \draw[atlas arrow] (q.east) -- (76,23) -- (76,44) -- (sel.west);32  \node[atlas note, anchor=south east] at (75.5,44.4) {oui};33  \draw[atlas arrow valid] (sel.east) -- (rs.west);34  % ---------- Non : résumer par étapes ----------35  \node[atlas block flow, text width=27mm, minimum height=11mm] (lots) at (95,11.5) {\textbf{Résumer} chaque lot : \AtlasFigLongEtapesLots\ appels};36  \node[atlas block uncertain, text width=22mm, minimum height=11mm] (syn) at (128.5,11.5) {\textbf{Résumer les résumés} : 1 appel};37  \draw[atlas arrow] (q.east) -- (76,23) -- (76,11.5) -- (lots.west);38  \node[atlas note, anchor=north east] at (75.5,11.1) {non};39  \draw[atlas arrow] (lots.east) -- (syn.west);40  \node[atlas note, anchor=north, align=center] at (104,4.6) {\AtlasFigLongEtapesAppels\ appels, \AtlasFigLongEtapesLus\ jetons lus ; chaque résumé peut perdre un détail};41  % ---------- Lecture ----------42  \node[atlas note, anchor=west, align=left, text width=60mm] at (81,27.75) {La fenêtre ne s'agrandit pas : la question choisit le parcours.};43\end{tikzpicture}44
Files main
Menu

Theme