Commit 3f05fb34 authored by Daniel Stolpmann's avatar Daniel Stolpmann
Browse files

Merge branch 'fix_agenda_line_break_indent' into 'master'

Fix line break indent in agenda for long sections

See merge request !44
parents 0b7b923d e5ca6d63
Pipeline #162623 passed with stage
in 1 minute and 43 seconds
......@@ -4,6 +4,10 @@
\usebeamertemplate{content_frame_background}
}
% compare https://tex.stackexchange.com/questions/105910/correct-indented-sections-in-beamers-toc
\defbeamertemplate{section in toc}{sections numbered alligned}[1][]{
\leavevmode\parbox[t]{1em}{\raggedleft\inserttocsectionnumber.} \parbox[t]{\textwidth}{\inserttocsection}\par
}
\defbeamertemplate*{content_frame_background}{tuhh}[1][]{
\setbeamertemplate{background}{
......
......@@ -133,6 +133,8 @@
{}
% Agendaframe definition
\setbeamertemplate{section in toc}[sections numbered alligned]
\makeatletter
\define@key{beamerframe}{agenda}[true]{%
\setbeamertemplate{content_frame}{\usebeamertemplate{agenda_frame}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment