From 81bc38c8527ecd9fae3c51a5373c913d7097ac29 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 12 May 2024 10:09:49 +0200 Subject: Attempts to fix location of elements on the title page. --- Hannah-More-Prace-drobna.tex | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'Hannah-More-Prace-drobna.tex') diff --git a/Hannah-More-Prace-drobna.tex b/Hannah-More-Prace-drobna.tex index 39fab58..7dc1ae0 100644 --- a/Hannah-More-Prace-drobna.tex +++ b/Hannah-More-Prace-drobna.tex @@ -17,20 +17,31 @@ \begin{document} \begingroup -\setbeamertemplate{background canvas}% -{% - \includegraphics[width=\paperwidth,height=\paperheight]{front-page.pdf} -} +\setbeamertemplate{background canvas}{% + \includegraphics[width=\paperwidth,height=\paperheight]{front-page-bg.jpg}} + + \setbeamercolor{normal text}{fg=black} + \setbeamercolor{title}{fg=black} + \setbeamercolor{author}{fg=white} + \setbeamercolor{date}{fg=white} + +% \setbeamertemplate{author}{default}[1][]{% +% \usebeamerfont{author}\insertauthor +% } +% +% \setbeamertemplate{date}{default}[1][]{% +% \usebeamerfont{date}\insertdate +% } \setbeamertemplate{title page}{ -% \vfill -% \begingroup -% \setbeamercolor{normal text}{fg=black} -% \centering -% \usebeamertemplate{title} -% \vskip1em\par -% \usebeamertemplate{author}\hfill\usebeamertemplate{date} -% \endgroup + \vskip0.25\paperheight\par + \begin{center} + \usebeamertemplate{title} + \end{center} + \vskip1em\par + \begin{flushleft} + \usebeamertemplate{author}\hfill\usebeamertemplate{date} + \end{flushleft} } \begin{frame}[plain] \titlepage -- cgit