From d7561a855840f9207ee2c8148f161a2cfc72fcc3 Mon Sep 17 00:00:00 2001 From: Daneel Date: Wed, 25 Feb 2026 11:36:16 +0100 Subject: [PATCH] presentation.org: back to original H:1 + renewenvironment{frame} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit H:2 was my mistake — broke frame titles and content splitting. With H:1 (default): * = frame, ** = content inside frame. allowframebreaks auto-splits long frames (Domains I, II, III...). This is the ORIGINAL working template + only Kyndryl colors added. No other changes to layout/frame/table logic. --- templates/presentation.org | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/templates/presentation.org b/templates/presentation.org index 8500936..de7123e 100644 --- a/templates/presentation.org +++ b/templates/presentation.org @@ -4,13 +4,18 @@ #+DATE: \today #+LANGUAGE: en -#+OPTIONS: toc:nil num:nil H:2 +#+OPTIONS: toc:nil num:nil #+LATEX_CLASS: beamer #+LATEX_CLASS_OPTIONS: [aspectratio=169] #+BEAMER_THEME: Madrid +# -- allowframebreaks: auto-split long frames into multiple slides ------------- +#+LATEX_HEADER: \let\oldframe\frame +#+LATEX_HEADER: \let\endoldframe\endframe +#+LATEX_HEADER: \renewenvironment{frame}[1][]{\oldframe[allowframebreaks,#1]}{\endoldframe} + # -- Encoding, fonts ----------------------------------------------------------- #+LATEX_HEADER: \usepackage[english]{babel} #+LATEX_HEADER: \usepackage[T1]{fontenc} @@ -34,20 +39,15 @@ #+LATEX_HEADER: \setbeamercolor{item}{fg=kyndrylRed} #+LATEX_HEADER: \setbeamercolor{subitem}{fg=kyndrylRed!80} -# -- Suppress empty section title slides (H:2 generates them) ----------------- -#+LATEX_HEADER: \AtBeginSection{} -#+LATEX_HEADER: \AtBeginSubsection{} - # -- Navigation ---------------------------------------------------------------- #+LATEX_HEADER: \setbeamertemplate{navigation symbols}{} #+LATEX_HEADER: \setbeamertemplate{footline}[frame number] +#+LATEX_HEADER: \beamertemplatenavigationsymbolsempty # -- Logo on title page -------------------------------------------------------- #+LATEX_HEADER: \titlegraphic{\includegraphics[width=0.15\textwidth]{~/org/templates/logo.png}} -# -- Tabulky: adjustbox (proven working) --------------------------------------- -# config.el my/org-latex-fix-tabularx skips beamer → tables stay plain tabular -# adjustbox scales them to fit slide width +# -- Tabulky: adjustbox (puvodni fungujici reseni) ----------------------------- #+LATEX_HEADER: \usepackage{adjustbox} #+LATEX_HEADER: \usepackage{array} #+LATEX_HEADER: \usepackage{booktabs} @@ -78,7 +78,5 @@ # ------------------------------------------------------------------------------ # Obsah prezentace -# (* = sekce, ** = slidy — H:2) -# Allowframebreaks: set via org-beamer-frame-default-options in config.el -# Pro dlouhe slidy muzes pridat :BEAMER_opt: shrink per-heading +# (* = frame/slide, ** = obsah uvnitr, allowframebreaks auto-split) # ------------------------------------------------------------------------------