From eb1e57b548fe4471327faecf2d08759fb64b83da Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Sun, 10 Nov 2024 10:31:17 +0100 Subject: [PATCH] feat(article): headings for latex and drawback subsection --- content/tips/presenting.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/content/tips/presenting.md b/content/tips/presenting.md index 706220e..6823181 100644 --- a/content/tips/presenting.md +++ b/content/tips/presenting.md @@ -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 blog’s [RSS feed], you will be notified of future updates. -# Making slides +# Making Slides For slide making, I prefer using tools that separate the content from the actual design. I’m thus not using fancy WYSIWYG tools for that. If you are not interested in that, you can already skip to the [presenting slides] section. -## LaTeX beamer +## LaTeX Beamer As explained in the [typst article], I’m mostly using [LaTeX] to produce/typeset documents, and presentations are not an exception. For this purpose I’m using [beamer]. -For this purpose, my [vim setup for LaTeX] proved to be pretty useful, even -though the backward search is not very accurate with beamer slides. +For this purpose, my [vim setup for LaTeX] proved to be pretty useful, +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] 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 neat illustrations such as [tikzpingus]. +### Customisation + It is also quite easy to customise slides with beamer. For instance, with [metropolis], from its [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} ``` +### Drawbacks + +However, LaTeX starts to slow down quickly, especially with a lot of [TikZ] +drawings… On documents, it’s 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