# How to insert space in the short title and slide number in the footline of beamer?

I am using Warsaw theme. There is no space in the short title and slide number in the footline of my beamer presentation.

This is my MWE:

\documentclass{beamer}
\mode<presentation>{\usetheme{Warsaw}}
%% preamble
\title[]{\sc}

\makeatletter
\setbeamertemplate{footline}{%
\leavevmode%
\end{beamercolorbox}%
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\begin{document}
\begin{frame}
Hello World!
\end{frame}
\end{document}

• The \title[]{\sc} doesn't look complete... – Dr. Manuel Kuehner Mar 19 '17 at 20:41

Commands that just print a text normally make the following space(s) disappear (see Space after LaTeX commands for example).

In order to prevent this you can use (1) \command{} (2) \command\ (space after \) or (3) use the xspace package (if you create your own commands). The list is not complete I guess.

## Short Solution

\insertshorttitle{}


## Complete Code

\documentclass{beamer}
\mode<presentation>{\usetheme{Warsaw}}
%% preamble
\title[Short Title]{Long Title}

\makeatletter
\setbeamertemplate{footline}{%
\leavevmode%
\end{beamercolorbox}%
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\begin{document}
\begin{frame}
Hello World!
\end{frame}
\end{document}


## Output

• Great! It helps – Qwerty Mar 19 '17 at 20:46