Search code examples
latexbeamerauthor

How to remove authors name from the sidebar in latex?


I am writing my presentation in latex (in overleaf.com). I don't want to add the authors name in the vertical bar on right side of the beamer given below,

Title Page

I am also providing the latex code of that title page, given below:

\documentclass[14pt,aspectratio=169]{beamer}
\usetheme{Marburg}
\graphicspath{{Arquivos/}}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}

\title{Image and Audio Hybrid Watermarking against Synchronization Attacks}
\author{Bhavneet Sharma (31703102)\\[\baselineskip] \small{{Supervised By}
  \and\\Prof. Dr. Mayank Dave}}
%\setbeamercovered{transparent} 
\institute{\includegraphics[width=2cm, height=1cm]{NITKKR_logo.png}
\\National Institute of Technology, Kurukshetra
}
\date{September 22, 2019} 
%\subject{} 
\begin{document}

\begin{frame}
\titlepage
\end{frame}

I the vertical bar, only title of the first page required then starts with Introduction.

Required Output

I don't know how to do so. Help in this problem for solving.


Solution

  • In beamer, you can use an alternate shorter author name (ditto for the presentation title or institution).

    \author[Short name]{Author loooong name}
    

    If doing so, the short name will be used in the side (or bottom depending on your theme) bar. So, to solve your problem, it is sufficient to declare an empty short name.

    \documentclass[14pt,aspectratio=169]{beamer}
    \usetheme{Marburg}
    \graphicspath{{Arquivos/}}
    \usepackage[utf8]{inputenc}
    \usepackage[portuguese]{babel}
    \usepackage[T1]{fontenc}
    \usepackage{amsmath}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    \usepackage{graphicx}
    
    \title{Image and Audio Hybrid Watermarking against Synchronization Attacks}
    \author[]{Bhavneet Sharma (31703102)\\[\baselineskip] \small{{Supervised By}
      \and\\Prof. Dr. Mayank Dave}}
    %\setbeamercovered{transparent} 
    \institute{%\includegraphics[width=2cm, height=1cm]{NITKKR_logo.png}\\
      National Institute of Technology, Kurukshetra
    }
    \date{September 22, 2019} 
    %\subject{} 
    \begin{document}
    
    \begin{frame}
    \titlepage
    \end{frame}
    \begin{frame}
    \section{This is section 1}
    \end{frame}
    \begin{frame}
    \section{and this is section 2}
    \titlepage
    \end{frame}
    \end{document}
    

    enter image description here