presentation.org: fix empty separators + tables fit slides

- H:2: ** headings = frames, * headings = sections (logical grouping)
- AtBeginSection{}/AtBeginSubsection{}: suppress empty section title slides
- shrink=15: auto-scale overflowing content up to 15%
- Tables: adjustbox max totalheight=0.72 textheight (fits slide)
- config.el tabularx filter skips beamer → plain tabular + adjustbox works
This commit is contained in:
2026-02-25 11:16:32 +01:00
parent 9417775ccc
commit 539a8e0fa8

View File

@@ -2,7 +2,7 @@
#+DATE: \today
#+LANGUAGE: en
#+OPTIONS: toc:nil num:nil H:1
#+OPTIONS: toc:nil num:nil H:2
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [aspectratio=169]
@@ -38,12 +38,14 @@
# -- Navigation: remove symbols -----------------------------------------------
#+LATEX_HEADER: \setbeamertemplate{navigation symbols}{}
# -- Frame overflow: auto-shrink content that doesn't fit ---------------------
# shrink=5: auto-scale down up to 5% when content overflows
# allowframebreaks: split long frames across multiple slides
# -- Suppress empty section title slides (H:2 generates them by default) ------
#+LATEX_HEADER: \AtBeginSection{}
#+LATEX_HEADER: \AtBeginSubsection{}
# -- Frame overflow: auto-shrink + split when content doesn't fit -------------
#+LATEX_HEADER: \let\oldframe\frame
#+LATEX_HEADER: \let\endoldframe\endframe
#+LATEX_HEADER: \renewenvironment{frame}[1][]{\oldframe[allowframebreaks,shrink=5,#1]}{\endoldframe}
#+LATEX_HEADER: \renewenvironment{frame}[1][]{\oldframe[allowframebreaks,shrink=15,#1]}{\endoldframe}
#+LATEX_HEADER: \setbeamertemplate{frametitle continuation}{}
# -- Logo on title page --------------------------------------------------------
@@ -70,10 +72,10 @@
#+LATEX_HEADER: \let\orgoldtabular\tabular
#+LATEX_HEADER: \let\orgendoldtabular\endtabular
#+LATEX_HEADER: \renewenvironment{tabular}[1]{%
#+LATEX_HEADER: \begin{adjustbox}{max width=0.97\linewidth,max totalheight=0.75\textheight,center}%
#+LATEX_HEADER: \scriptsize%
#+LATEX_HEADER: \setlength{\tabcolsep}{3pt}%
#+LATEX_HEADER: \renewcommand{\arraystretch}{1.1}%
#+LATEX_HEADER: \begin{adjustbox}{max width=\linewidth,max totalheight=0.72\textheight,center}%
#+LATEX_HEADER: \small%
#+LATEX_HEADER: \setlength{\tabcolsep}{4pt}%
#+LATEX_HEADER: \renewcommand{\arraystretch}{1.15}%
#+LATEX_HEADER: \orgoldtabular{#1}%
#+LATEX_HEADER: }{%
#+LATEX_HEADER: \orgendoldtabular%