TransWikia.com

How can I reduce the white space around the title and the author in beamer?

TeX - LaTeX Asked by crystal_pepsi on March 31, 2021

I am creating an academic poster in beamer, but there is way too much whitespace above the title and below the author sections.
Lots of whitespace

I added vspace to my title command, but negative values simply cut off the bottom of the title. Below is -1cm.

negative cm

documentclass[final,t, xcolor=dvipnames]{beamer}
mode<presentation>{usetheme{Berlin}}

usepackage[orientation=landscape,size=a0,scale=1,debug]{beamerposter}
usepackage{lipsum} % for dummy text
usepackage{graphicx}
usepackage{subcaption}
usepackage{tikz}
newcommandFontBody{fontsize{24pt}{28pt}selectfont}
newcommandFontHead{fontsize{32pt}{28pt}selectfont}

title[]{vspace{1cm}Huge Molecular Dynamics textit{in silico} Modelling Simulations Using Amber Software Tools}
logo{%
    makebox[1paperwidth]{%
    includegraphics[width=15cm, height=15cm, keepaspectratio]{./pictures/logo1.png}
    hfill%
    includegraphics[width=12cm, height=12cm, keepaspectratio]{./pictures/logo2.png}
    }%
}
author[]{Large textbf{Author Name}}
institute[]{Large The University of Somewhere}

begin{document}

begin{frame}[t]
maketitle
begin{columns}[T]
begin{column}{.3linewidth}

FontHead
begin{block}{textbf{Background}}

One Answer

Okay so I managed to solve this with a little vspace{} experimentation

For the title

I deleted all commands from the title line and added a setbeamerfont variable (as suggested by Campa above). Then I added a vspace{} command after the initial frame command (I assume this moved the whole frame upwards, eliminating the top whitespace.

setbeamerfont{title}{size=Huge}
begin{document}
begin{frame}[t]vsapce{-6cm}
maketitle

For the columns

For each column, I added a /vspace command on the begin column line. I had to do this for each column. Using the command at the beginning of the columns block didn't seem to work. E.g.)

begin{columns}[T]
begin{column}{.3linewidth}vspace{-6cm}

Hopefully this helps anyone having similar issues.

Correct answer by crystal_pepsi on March 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP