Seite 1 von 1

Beamer: \section-Befehl erweitern

Verfasst: Fr 25. Jun 2021, 01:23
von hask

Hallo,

hier ein MWE:

\documentclass[10pt,xcolor=x11names,compress,fleqn]{beamer}

\begin{document}

\begin{frame}    
\frametitle{Table of contents} \tableofcontents[hideallsubsections] \end{frame} \section{\scshape Abschnitt}
\begin{frame}
Test \end{frame}
\end{document}

Kann mir jemand sagen, wie man hinsichtlich

\section{\scshape Abschnitt}  

den \section-Befehl so erweitern kann, dass ich nur noch

\section{Abschnitt}  

zu schreiben brauche; d.h., dass \scshape also automatisch eingefügt wird?

Viele Grüße
hask


Verfasst: Fr 25. Jun 2021, 02:25
von Gast.
\documentclass[10pt,xcolor=x11names,compress,fleqn]{beamer}

\setbeamerfont{section in toc}{shape=\scshape}

\begin{document}
\begin{frame}    
\frametitle{Table of contents}
\tableofcontents[hideallsubsections]
\end{frame}

\section{Abschnitt}  
\begin{frame}    
Test
\end{frame}
\end{document}

Re: Beamer: \section-Befehl erweitern

Verfasst: Fr 25. Jun 2021, 14:21
von hask

Vielen Dank!