feat(article): headings for latex and drawback subsection

This commit is contained in:
Fabrice Mouhartem 2024-11-10 10:31:17 +01:00
parent 386fb7dff6
commit eb1e57b548
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7

View File

@ -23,20 +23,23 @@ This page may be updated, for instance if I start using [typst] for slide
making. If you have subscribed to this blogs [RSS feed], you will be notified making. If you have subscribed to this blogs [RSS feed], you will be notified
of future updates. of future updates.
# Making slides # Making Slides
For slide making, I prefer using tools that separate the content from the actual For slide making, I prefer using tools that separate the content from the actual
design. Im thus not using fancy WYSIWYG tools for that. If you are not design. Im thus not using fancy WYSIWYG tools for that. If you are not
interested in that, you can already skip to the [presenting slides] section. interested in that, you can already skip to the [presenting slides] section.
## LaTeX beamer ## LaTeX Beamer
As explained in the [typst article], Im mostly using [LaTeX] to produce/typeset As explained in the [typst article], Im mostly using [LaTeX] to produce/typeset
documents, and presentations are not an exception. For this purpose Im using documents, and presentations are not an exception. For this purpose Im using
[beamer]. [beamer].
For this purpose, my [vim setup for LaTeX] proved to be pretty useful, even For this purpose, my [vim setup for LaTeX] proved to be pretty useful,
though the backward search is not very accurate with beamer slides. especially with the “on save compilation”. However, the backward search is not
very accurate with beamer slides.
### Overlays and Graphics
The main advantage, besides my familiarity with [LaTeX], lays in the [overlay] The main advantage, besides my familiarity with [LaTeX], lays in the [overlay]
system in beamer, that is quite powerful and provides a very precise way to system in beamer, that is quite powerful and provides a very precise way to
@ -73,6 +76,8 @@ Resulting in:
Moreover, you have access to the whole latex ecosystem, especially those for Moreover, you have access to the whole latex ecosystem, especially those for
neat illustrations such as [tikzpingus]. neat illustrations such as [tikzpingus].
### Customisation
It is also quite easy to customise slides with beamer. For instance, with It is also quite easy to customise slides with beamer. For instance, with
[metropolis], from its [metropolis], from its
[documentation](https://ctan.tetaneutral.net/macros/latex/contrib/beamer-contrib/themes/metropolis/doc/metropolistheme.pdf), [documentation](https://ctan.tetaneutral.net/macros/latex/contrib/beamer-contrib/themes/metropolis/doc/metropolistheme.pdf),
@ -85,6 +90,15 @@ For instance, if I want to have the alert text in orange:
\setbeamercolor[alerted text]{fg=orange} \setbeamercolor[alerted text]{fg=orange}
``` ```
### Drawbacks
However, LaTeX starts to slow down quickly, especially with a lot of [TikZ]
drawings… On documents, its not really an issue as it is possible to cache the
drawings with the `externalize` tikz library. However, when mixing overlays and
TikZ, it starts to [need some
tweaks](https://tex.stackexchange.com/questions/78955/use-tikz-external-feature-with-beamer-only).
I never included them in my workflow as they make TikZ drawings more complicated
than they are.
## reveal.js ## reveal.js