Page LayoutCentered Title Page without Sidebar

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Thomas_l
Posts: 6
Joined: Fri Apr 19, 2013 3:13 pm

Centered Title Page without Sidebar

Post by Thomas_l »

Hi all,

I am working on a beamer presentation where i use sidebars. But I don't want to show the sidebar on the title frame and the intermediate table of content frames. So I added the plain option to these frames.

But when I looked at my first frame I noticed that the title wasn't aligned in the middle because the sidebar was suppressed but the place it took was still occupied in the frame.

Is there a way to work around this problem? (I was thinking of changing the outer theme on these slides but can't get that done).

A small example:

Code: Select all

\documentclass{beamer}
\useoutertheme[right]{sidebar}

\author{Thomas Leflere}
\title{A question on sidebars}

\AtBeginSection{
\begin{frame}[plain]
  \tableofcontents[currentsection,currentsubsection]
\end{frame}
}

\begin{document}
\begin{frame}[plain]
  \maketitle
\end{frame}

\section{section1}

\begin{frame}
  content...
\end{frame}

\section{section2}

\begin{frame}
  content...
\end{frame}

\end{document}
Regards
Thomas

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Centered Title Page without Sidebar

Post by tom »

Hi Thomas,

the answer to a similar question on TeX.SX might work.

Code: Select all

\begingroup
\makeatletter
\setlength{\hoffset}{.5\beamer@sidebarwidth}
\makeatother
\begin{frame}[plain]
    \titlepage
\end{frame}
\endgroup
Post Reply