Debian Codegraph @

texmf-dist/doc/latex/sim-os-menus/sim-os-menus-doc.tex

raw
1 % !TeX TXS-program:compile = txs:///pdflatex
2
3 \documentclass[11pt,a4paper]{ltxdoc}
4 \usepackage[forest]{sim-os-menus}
5 \usepackage{graphicx}
6 \usepackage{fancyvrb}
7 \usepackage{fancyhdr}
8 \usepackage{hyperref}
9 \fancyhf{}
10 \renewcommand{\headrulewidth}{0pt}
11 %\rhead{\sffamily\small\affloetalab[Legende]}
12 \lfoot{\sffamily\small [sim-os-menus]}
13 \rfoot{\sffamily\small - \thepage{} -}
14 %\rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}}
15 \usepackage{hologo}
16 \providecommand\tikzlogo{Ti\textit{k}Z}
17 \providecommand\TeXLive{\TeX{}Live\xspace}
18 \providecommand\PSTricks{\textsf{PSTricks}\xspace}
19 \let\pstricks\PSTricks
20 \let\TikZ\tikzlogo
21
22 \urlstyle{same}
23 \hypersetup{pdfborder=0 0 0}
24 \usepackage[margin=2cm]{geometry}
25 \setlength{\parindent}{0pt}
26 \def\TPversion{0.1.9}
27 \def\TPdate{04/08/2025}
28 \usepackage{soul}
29 \sethlcolor{lightgray!25}
30 \NewDocumentCommand\MontreCode{ m }{%
31 \hl{\vphantom{\texttt{pf}}\texttt{#1}}%
32 }
33
34 \begin{document}
35
36 \pagestyle{fancy}
37
38 \thispagestyle{empty}
39
40 \begin{center}
41 \begin{minipage}{0.88\linewidth}
42 \begin{tcolorbox}[colframe=yellow,colback=yellow!15]
43 \begin{center}
44 \begin{tabular}{c}
45 {\Huge \texttt{sim-os-menus}}\\
46 \\
47 {\LARGE Simulate 'windows', 'terminal' or} \\
48 {\LARGE 'context menu' like in an OS.} \\
49 \\
50 {\small \texttt{Version \TPversion{} -- \TPdate}}
51 \end{tabular}
52 \end{center}
53 \end{tcolorbox}
54 \end{minipage}
55 \end{center}
56
57 \begin{center}
58 \begin{tabular}{c}
59 \texttt{Cédric Pierquet}\\
60 {\ttfamily c pierquet -- at -- outlook . fr}\\
61 \texttt{\url{https://github.com/cpierquet/latex-packages/tree/main/sim-os-menus}} \\
62 \end{tabular}
63 \end{center}
64
65 \hrule
66
67 \vfill
68
69 \begin{tcolorbox}[colframe=lightgray,colback=lightgray!5]
70 \ContextMenu[Font=\sffamily,ListSeps={1,3/1/4/1/},ListOffsets={1,2,1,0}]{%
71 Menu1(>),Menu2,Menu3(>)(*),Menu4 §
72 SubMenuA(>),SubMenuB(>)(*) §
73 SubSubMenu1,SubSubMenu2,SubSubMenu3(>)(*),SubSubMenu4,SubSubMenu5(>) §
74 SSSSMa,SSSSMa(>)(*),SSSSMc §
75 OK(*),KO
76 }
77 \end{tcolorbox}
78
79 \begin{tcolorbox}[colframe=lightgray,colback=lightgray!5]
80 \begin{TermUnix}[Width=12cm,Align=center]{}
81 test@DESKTOP:~$ ping -c 2 ctan.org
82 PING ctan.org (5.35.249.60) 56(84) bytes of data.
83 \end{TermUnix}
84 \end{tcolorbox}
85
86 \begin{tcolorbox}[colframe=lightgray,colback=lightgray!5]
87 \begin{IMGViewer}[Width=12cm]{}
88 \includegraphics[width=5cm]{example-image-b}
89 \end{IMGViewer}
90 \end{tcolorbox}
91
92 \begin{tcolorbox}[colframe=lightgray,colback=lightgray!5]
93 \begin{TermMac}[Width=14cm,Align=flush left]{}
94 [test@server]$ ping -c 2 ctan.org
95 PING ctan.org (5.35.249.60) 56(84) bytes of data.
96 \end{TermMac}
97 \end{tcolorbox}
98
99 \vfill~
100
101 \pagebreak
102
103 \phantomsection
104
105 \hypertarget{matoc}{}
106
107 \tableofcontents
108
109 \vspace*{5mm}
110
111 \hrule
112
113 \vspace*{5mm}
114
115 \section{Introduction}
116
117 \subsection{Description}
118
119 With this package you can create context menu, or terminal, or doc viewer, like in an OS.
120
121 Global styles are mostly fixed, but some customizations are possible.
122
123 \subsection{Loading}
124
125 To load the package, simply use:
126
127 \begin{quote}
128 \begin{verbatim}
129 \usepackage{sim-os-menus}
130 \end{verbatim}
131 \end{quote}
132
133 The package loads the packages:
134
135 \begin{itemize}
136 \item \MontreCode{tikz} (with \MontreCode{calc,positioning}), \MontreCode{pgf}, \MontreCode{pgffor};
137 \item \MontreCode{calc}, \MontreCode{fontawesome5};
138 \item \MontreCode{simplekv}, \MontreCode{xintexpr}, \MontreCode{listofitems}, \MontreCode{xstring};
139 \item \MontreCode{settobox}, \MontreCode{tabularray};
140 \item \MontreCode{tcolorbox} (with \MontreCode{breakable,fitting,skins,listings,listingsutf8,hooks}).
141 \end{itemize}
142
143 For \MontreCode{fontawesome5} or \MontreCode{fontawesome6} and \MontreCode{fontawesome7} :
144
145 \begin{quote}
146 \begin{verbatim}
147 \usepackage{sim-os-menus} %fa5, default
148 \usepackage[fa6]{sim-os-menus} %with fa6
149 \usepackage[fa7]{sim-os-menus} %with fa7
150 \usepackage[nofa]{sim-os-menus} %w/o fa, but needs to be loaded anyway
151 \end{verbatim}
152 \end{quote}
153
154 \vfill
155
156 \subsection{History}
157
158 \begin{quote}
159 \begin{verbatim}
160 0.1.9: Compatibility with fa5/6/7 + option [forest]
161 0.1.7: Bugfix (compatibity with twemoji)
162 0.1.6: Bugfix + pre-compatibity with fa5/fa6
163 0.1.4: Mastodon or BlueSky posts 'like'
164 0.1.3: Fofders/Files like in explorer
165 0.1.2: Script editor viewer 'like'
166 0.1.1: French version of the commands
167 0.1.0: Initial version
168 \end{verbatim}
169 \end{quote}
170
171 \pagebreak
172
173 \section{The macros}
174
175 \subsection{Context menu}
176
177 I order to create a context menu, the command is:
178
179 \begin{quote}
180 \begin{verbatim}
181 %----contextual menu
182 \ContextMenu[keys]{list of items}<tikz options>
183 \end{verbatim}
184 \end{quote}
185
186 Optional keys, between \MontreCode{[...]} are:
187
188 \begin{itemize}
189 \item \MontreCode{ColBack}: background color;
190 \item \MontreCode{ColHL}: = highlight color;
191 \item \MontreCode{Rounded}: boolean for rounded corners (\MontreCode{true} by default);
192 \item \MontreCode{Font}: font for the items (\MontreCode{\textbackslash normalsize\textbackslash normalfont} by default);
193 \item \MontreCode{ColItems}: color(s) for the items (\MontreCode{black} by default);
194 \item \MontreCode{MarginV}: vertical margin of the lines (\MontreCode{6pt} by default);
195 \item \MontreCode{MarginH}: horizontal margin of the lines (\MontreCode{12pt} by default);
196 \item \MontreCode{Arrow}: character for the arrow (\MontreCode{\textbackslash faCaretRight} by default);
197 \item \MontreCode{ListSeps}: list for the possible sep lines (empty or for all the levels !);
198 \item \MontreCode{ListIcons}: list for the possible icons (empty or for all the levels/items !);
199 \item \MontreCode{ListOffsets}: list for the possible vertical offset of levels (from 2, \ldots !) (empty or for all the sub-levels !);
200 \item \MontreCode{Icons}: boolean for icons (\MontreCode{false} by default);
201 \item \MontreCode{Bar}: boolean for small vertical bar with icons (\MontreCode{true} by default);
202 \item \MontreCode{Space}: horizontal space between levels (\MontreCode{-0.125} by default).
203 \end{itemize}
204
205 \medskip
206
207 The mandatory argument, between \MontreCode{\{...\}}, is given as:
208
209 \smallskip
210
211 \hfill\MontreCode{item1A,item1B,... § item2A,itemp2B,... § ...}\hfill~
212
213 \begin{itemize}
214 \item if an item ends with \MontreCode{(*)}, this is the beginning of the next level (\underline{only one} by level !);
215 \item if an item ends with \MontreCode{(>)} (\underline{before} optional \MontreCode{(*)}), an arrow is written at the end of the line.
216 \end{itemize}
217
218 A correct usage of the syntax is necessary for the code !
219
220 \vspace{5mm}
221
222 A few tips, due to \MontreCode{ListIcons}, \MontreCode{ListOffsets} and \MontreCode{ListSeps} keys, which are \textit{sensitive}:
223
224 \begin{itemize}
225 \item \MontreCode{ListIcons} must have the same number of elements than the number of levels/items (with possible empty items);
226 \item \MontreCode{ListSeps} must have the same number of elements than the number of levels (with possible empty items);
227 \item \MontreCode{ListOffsets} must have the same number of elements than the numbers of sub-levels (with 0 si no offset !).
228 \end{itemize}
229
230 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
231 %default style
232 \ContextMenu{Item1A(>),Item1B,Item1C(>)(*),Item1D § Item2A(*),Item2B(>),Item2C}
233 \end{tcblisting}
234
235 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
236 %custom style
237 \ContextMenu[Rounded=false,ColBack=yellow,ColHL=teal,%
238 ListSeps={1,3/2},ColItems={black/white},Icons,Space=0,%
239 ListIcons={\faCut,\faIcon[regular]{copy},\faCopy,\faPaste / \faNotEqual}]
240 {Item1A(>)(*),Item1B,Item1C(>),Item1D § Item2A(*),Item2B(>),Item2C}
241 \end{tcblisting}
242
243 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
244 \ContextMenu[Font=\sffamily,ListSeps={1,3/1/4/1/},ListOffsets={1,2,1,0}]{%
245 Menu1(>),Menu2,Menu3(>)(*),Menu4 §
246 SubMenuA(>),SubMenuB(>)(*) §
247 SubSubMenu1,SubSubMenu2,SubSubMenu3(>)(*),SubSubMenu4,SubSubMenu5(>) §
248 SSSSMa,SSSSMa(>)(*),SSSSMc §
249 OK(*),KO
250 }
251 \end{tcblisting}
252
253 \pagebreak
254
255 \subsection{Terminal}
256
257 In order to create a terminal (Win/UNiX/Mac), environments are:
258
259 \begin{quote}
260 \begin{verbatim}
261 %----Windows like terminal
262 \begin{TermWin}[keys]{tcbox options}
263 ...
264 \end{TermWin}
265
266 %----UNiX like terminal
267 \begin{TermUnix}[keys]{tcbox options}
268 ...
269 \end{TermUnix}
270
271 %----OSX like terminal
272 \begin{TermMac}[keys]{tcbox options}
273 ...
274 \end{TermMac}
275 \end{verbatim}
276 \end{quote}
277
278 Optional keys, between \MontreCode{[...]} are:
279
280 \begin{itemize}
281 \item \MontreCode{Title}: title of the terminal (\MontreCode{Terminal Win/UNiX/Mac} by default);
282 \item \MontreCode{Align}: horizontal alignment of the box (\MontreCode{center} by default);
283 \item \MontreCode{Width}: width of the box (\MontreCode{\textbackslash linewidth} by default).
284 \end{itemize}
285
286 \medskip
287
288 The mandatory argument, between \MontreCode{\{...\}}, are options to give to the tcbox.
289
290 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
291 \begin{TermWin}{}
292 Microsoft Windows [version 10.0.22000.493]
293 (c) Microsoft Corporation. Tous droits réservés.
294 C:\Users\test>ping ctan.org
295 Envoi d'une requête 'ping' sur ctan.org [5.35.249.60] avec 32 octets de données:
296 Réponse de 5.35.249.60: octets=32 temps=35 ms TTL=51
297 Réponse de 5.35.249.60: octets=32 temps=37 ms TTL=51
298 Réponse de 5.35.249.60: octets=32 temps=35 ms TTL=51
299 Réponse de 5.35.249.60: octets=32 temps=39 ms TTL=51
300 Statistiques Ping pour 5.35.249.60:
301 Paquets: envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
302 Durée approximative des boucles en millisecondes:
303 Minimum = 35ms, Maximum = 39ms, Moyenne = 36ms
304 \end{TermWin}
305 \end{tcblisting}
306
307 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
308 \begin{TermUnix}[Align=flush right]{hbox}
309 test@DESKTOP:~$ ping -c 2 ctan.org
310 PING ctan.org (5.35.249.60) 56(84) bytes of data.
311 \end{TermUnix}
312 \end{tcblisting}
313
314 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
315 \begin{TermMac}[Width=14cm,Align=flush left]{}
316 [test@server]$ ping -c 2 ctan.org
317 PING ctan.org (5.35.249.60) 56(84) bytes of data.
318 \end{TermMac}
319 \end{tcblisting}
320
321 \pagebreak
322
323 \subsection{Viewers}
324
325 In order to create a 'fake' viewer (for \textsf{pdf} or \textsf{img}), environments are:
326
327 \begin{quote}
328 \begin{verbatim}
329 %----PDF Viewer like
330 \begin{PDFViewer}[keys]{tcbox options}
331 ....
332 \end{PDFViewer}
333
334 %----Image Viewer like
335 \begin{IMGViewer}[keys]{tcbox options}
336 ....
337 \end{IMGViewer}
338
339 %----Script editor like
340 \begin{PYViewer}[keys]{tcbox options}
341 ....
342 \end{PYViewer}
343 \end{verbatim}
344 \end{quote}
345
346 Optional keys, between \MontreCode{[...]} are:
347
348 \begin{itemize}
349 \item \MontreCode{Title}: title of the viewer;
350 \item \MontreCode{Align}: horizontal alignment of the box (\MontreCode{center} by default);
351 \item \MontreCode{Width}: width of the box (\MontreCode{\textbackslash linewidth} by default);
352 \item \MontreCode{Halign}: horizontal alignment fot the content (\MontreCode{left} by default);
353 \item \MontreCode{Icons}: boolean for the icons (\MontreCode{true} by default).
354 \end{itemize}
355
356 \medskip
357
358 The mandatory argument, between \MontreCode{\{...\}}, are options to give to the tcbox.
359
360 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
361 \begin{PDFViewer}{hbox}
362 \fbox{\includegraphics[page=35,width=6cm]{ProfLycee-doc.pdf}}%
363 \fbox{\includegraphics[page=36,width=6cm]{ProfLycee-doc.pdf}}
364 \end{PDFViewer}
365 \end{tcblisting}
366
367 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
368 \begin{PDFViewer}[Width=14cm,Icons=false]{}
369 \fbox{\includegraphics[page=65,width=4.75cm]{ProfLycee-doc.pdf}}
370 \end{PDFViewer}
371 \end{tcblisting}
372
373 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
374 \begin{IMGViewer}[Icons=false]{hbox}
375 \includegraphics[width=5cm]{example-image-b}
376 \end{IMGViewer}
377 \end{tcblisting}
378
379 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
380 \begin{IMGViewer}[Width=12cm]{}
381 \includegraphics[width=3cm]{example-image}
382 \end{IMGViewer}
383 \end{tcblisting}
384
385 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
386 %with listings, or piton, for example
387 \begin{PYViewer}[width=12cm]{}
388 \begin{lstlisting}%
389 [
390 language=python,basicstyle=\ttfamily\small,
391 keywordstyle=\color{green!50!black},tabsize=4,
392 keywordstyle={[2]\color{magenta}},
393 numbers=left,numbersep=3mm,xleftmargin=5mm,
394 aboveskip=0pt,belowskip=0pt,
395 numberstyle=\footnotesize\ttfamily\color{gray}
396 ]
397 nterms = int(input("Entrez un nombre: "))
398
399 n1 = 0
400 n2 = 1
401
402 print("\n la suite Fibonacci est: ")
403 print(n1, ",", n2, end=", ")
404
405 for i in range(2, nterms):
406 suivant = n1 + n2
407 print(suivant, end=", ")
408
409 n1 = n2
410 n2 = suivant
411 \end{lstlisting}
412 \end{PYViewer}
413 \end{tcblisting}
414
415 \pagebreak
416
417 \subsection{Folders/files as in explorer}
418
419 The \MontreCode{forest} package, with his library \MontreCode{edges}, can present foldertrees.
420
421 \begin{quote}
422 \begin{verbatim}
423 %\usepackage[forest,...]{sim-os-menus}
424 \begin{ForestDirTree}[keys]{forest options}
425 [folder,FTdir
426 [subfolder1,FTdir]
427 [subfolder2,FTdir
428 [file1,FTfile]
429 [file2,FTfile]
430 ...
431 ]
432 ...
433 ]
434 \end{ForestDirTree}
435 \end{verbatim}
436 \end{quote}
437
438 Available \textsf{keys}, betweeen \MontreCode{[...]}, are:
439
440 \begin{itemize}
441 \item \MontreCode{font}: font of texts;
442 \item \MontreCode{coliconfolder}: \MontreCode{gray} by default;
443 \item \MontreCode{coliconfile}: \MontreCode{gray} by default;
444 \item \MontreCode{iconfolders}: boolean for folder icons;
445 \item \MontreCode{iconfiles}: boolean for file icons;
446 \item \MontreCode{vsep}: vertical space between items (\MontreCode{0.15em} by default);
447 \item \MontreCode{iconfolder}: icon for folder;
448 \item \MontreCode{iconfile}: icone for file.
449 \end{itemize}
450
451 \medskip
452
453 \textsf{Folders} need to be given within \MontreCode{<folder\_name>,FTdir}.
454
455 \textsf{Files} need to be given within \MontreCode{<file\_name>,FTfile}.
456
457 \medskip
458
459 Mandatory argument, between \MontreCode{\{...\}}, corresponds to \textsf{forest} specific commands.
460
461 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
462 \begin{ForestDirTree}{}
463 [folder,FTdir
464 [subfolder1,FTdir]
465 [subfolder2,FTdir
466 [file1,FTfile]
467 [file2,FTfile]
468 ]
469 [file3,FTfile]
470 ]
471 \end{ForestDirTree}
472 \end{tcblisting}
473
474 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
475 \begin{ForestDirTree}%
476 [font=\sffamily,coliconfolder=yellow!50!pink,iconfiles,coliconfile=teal,vsep=0.5em]%
477 {}
478 [folder,FTdir
479 [subfolder1,FTdir]
480 [subfolder2,FTdir
481 [file1,FTfile]
482 [file2,FTfile]
483 ]
484 [file3,FTfile]
485 ]
486 \end{ForestDirTree}
487 \end{tcblisting}
488
489 Styles are global, but can be locally defined.
490
491 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
492 \tikzset{FTedge/.style={thick,->,densely dashed,red,>=latex}}
493 \begin{ForestDirTree}%
494 [font=\sffamily,coliconfolder=yellow!50!pink,iconfiles,coliconfile=teal,vsep=0.5em]%
495 {l sep=2em}
496 [folder,FTdir
497 [subfolder1,FTdir]
498 [subfolder2,FTdir
499 [file1,FTfile]
500 [file2,FTfile]
501 ]
502 [file3,FTfile]
503 ]
504 \end{ForestDirTree}
505 \end{tcblisting}
506
507 \pagebreak
508
509 \subsection{Posts as in Mastodon or BlueSky}
510
511 It's possible to present posts as in Mastodon or BlueSky.
512
513 \begin{quote}
514 \begin{verbatim}
515 \begin{MastodonPost}[options]<tcolorbox keys>
516 ...
517 \end{MastodonPost}
518
519 \begin{BlueSkyPost}[options]<tcolorbox keys>
520 ...
521 \end{BlueSkyPost}
522 \end{verbatim}
523 \end{quote}
524
525 Available \textsf{keys}, betweeen \MontreCode{[...]}, are:
526
527 \begin{itemize}
528 \item \MontreCode{width}: width of box;
529 \item \MontreCode{avatar}: image of the avatar (square if possible !);
530 \item \MontreCode{name}: pseudo of the account
531 \item \MontreCode{account}: account name;
532 \item \MontreCode{time}: time of post;
533 \item \MontreCode{counters}: counters for views/likes/shares;
534 \item \MontreCode{font}: font fir main text;
535 \item \MontreCode{colbg}: background color of box.
536 \end{itemize}
537
538 Headers and footers are given by following macros, and can be redefined if necessary !
539
540 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5,listing only}
541 \newcommand\mastodonheader{%
542 \begin{tblr}{width=\linewidth,colspec={Q[c,m]X[m,l]Q[m,l]},
543 colsep=0pt,cells={font=\scriptsize\sffamily}}
544 $\vcenter{\hbox{\includegraphics[height=4ex]{\mastodonaccountavatar}}}$& {\hspace*{1.25ex}\mastodonaccountname \\ \hspace*{1.25ex}\color{darkgray}{\mastodonaccountadress}} & \color{darkgray}{\faGlobeAmericas~\mastodontime} \\
545 \end{tblr}\par\medskip
546 }
547
548 \newcommand\blueskyheader{%
549 {\scriptsize\sffamily\textbf{\mastodonaccountname}~
550 \textcolor{darkgray}{\mastodonaccountadress~
551 \textperiodcentered~\mastodontime}}\par\medskip
552 }
553
554 \newcommand\mastodonfooter{%
555 \textcolor{darkgray}{\scriptsize\scalebox{-1}[1]{\faShare}~\mastodonnumbers[1] \hfill \faRetweet~\mastodonnumbers[2] \hfill \faStar[regular]~\mastodonnumbers[3] \hfill \faBookmark[regular] \hfill \faEllipsisH}
556 }
557
558 \newcommand\blueskyfooter{%
559 \textcolor{darkgray}{\scriptsize\faComment*[regular]~\mastodonnumbers[1] \hfill \faRetweet~\mastodonnumbers[2] \hfill \faHeart[regular]~\mastodonnumbers[3] \hfill \faEllipsisH \hfill~}
560 }
561 \end{tcblisting}
562
563 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
564 \begin{MastodonPost}
565 \textbf{TeX}, stylized within the system as \TeX, is a typesetting program which was designed and written by computer scientist and Stanford University professor Donald Knuth and first released in 1978. The term now refers to the system of extensions – which includes software programs called TeX engines, sets of TeX macros, and packages which provide extra typesetting functionality – built around the original TeX language. \TeX\ is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems.
566
567 \medskip
568
569 \url{https://www.latex-project.org}
570 \end{MastodonPost}
571 \end{tcblisting}
572
573 \begin{tcblisting}{colframe=lightgray,colback=lightgray!5}
574 \begin{BlueSkyPost}[width=12cm,account={\symbol{64}TeX.bluesky.social}]
575 \textbf{TeX}, stylized within the system as \TeX, is a typesetting program which was designed and written by computer scientist and Stanford University professor Donald Knuth and first released in 1978. The term now refers to the system of extensions – which includes software programs called TeX engines, sets of TeX macros, and packages which provide extra typesetting functionality – built around the original TeX language. \TeX\ is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems.
576
577 \smallskip
578
579 \hfill\includegraphics[width=0.667\linewidth]{example-image-16x9.pdf}\hfill~
580
581 \smallskip
582
583 \url{https://www.latex-project.org}
584 \end{BlueSkyPost}
585 \end{tcblisting}
586
587 \end{document}