I have the same problem listed here:
Reduce fontsize beamer sidebar
Except the given answer there does not work. Thanks to the rules here at Stack Exchange, I am not allowed to post any comments asking the person who posted the answer there to clarify their example.
I am using the following settings in my beamer:
\usetheme[left]{Marburg}
\setbeamerfont{section in sidebar}{size=\fontsize{2}{4}\selectfont}
\setbeamerfont{subsection in sidebar}{size=\fontsize{2}{4}\selectfont}
\setbeamerfont{section in sidebar shaded}{size=\fontsize{2}{2}\selectfont}
With the intention being to reduce the font size of the sections and subsections listed in the sidebar. However, these commands do not do anything. Is there an explanation or example of how they are supposed to be used in order to adjust the font size?
This also has no effect:
\setbeamerfont{section in sidebar}{size=\tiny}
maybe the default font size is already tiny
?
edit: Minimum working example
\documentclass[8pt]{beamer}
\usetheme[left]{Marburg} % width=
\setbeamerfont{section in sidebar}{size=\fontsize{2}{4}\selectfont}
\setbeamerfont{subsection in sidebar}{size=\fontsize{2}{4}\selectfont}
\setbeamerfont{section in sidebar shaded}{size=\fontsize{2}{2}\selectfont}
\begin{document}
\section{Section 1}
\subsection{Subsection 1}
\begin{frame}{}
test
\end{frame}
\end{document}
tiny
is the default value, which you can look up inbeamerfontthemedefault.sty
, I guess your commands are right, bigger fonts seems to work. But could you please make your code compilable with\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
.tiny
is already pretty small, do you think your sections will be readable if you go for smaller font? If its a problem to fit them in the sidebar, you could always give a short version for the sidebar\section[short version]{long version}
tiny
font size is larger than needed. I wanted the sidebar to function more like a file-tree, so I need space for many entries. Maybe even showing only subsections for the current section, and listing the subsections in 2 columns, if possible. For now smaller text size would be a good start. I can make it larger e.g.\fontsize{20}
, but nothing less than 1 or 2 seems to have an effect.\usetheme[left,width=8cm]{Marburg}
adjusts the width nicely. So its the vertical space that needs management.LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available. size <5> substituted on input line 15.