I am trying to create a customized title page with latex beamer. However there seem to be some margins I cannot get rid of.
\documentclass[t,aspectratio=169]{beamer}
\usepackage{tikz}
\defbeamertemplate*{title page}{customized}[1][]{
\begin{tikzpicture}
\draw[draw] (0,0) rectangle (16,1);
\end{tikzpicture}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}
I expected the box to be in the top left corner. I tried already with negative vspace
which worked to move the box further top, but I do not know which is the correct value. I also could not use vspace and hspace together.
Best Answer
To remove the margins, you could align your rectangle to the corners of the page:
And with automatic width of the box: