summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Hannah-More-Prace-drobna.tex31
1 files changed, 15 insertions, 16 deletions
diff --git a/Hannah-More-Prace-drobna.tex b/Hannah-More-Prace-drobna.tex
index 7dc1ae0..fedf422 100644
--- a/Hannah-More-Prace-drobna.tex
+++ b/Hannah-More-Prace-drobna.tex
@@ -10,7 +10,7 @@
\tikz\node[opacity=0.66] {\includegraphics[width=\paperwidth,height=\paperheight]{background.png}};
}
-\title{Just Like A Woman}
+\title{We Can Be Heroes}
\author{Matěj Cepl}
\date{June 9th}
@@ -25,24 +25,23 @@
\setbeamercolor{author}{fg=white}
\setbeamercolor{date}{fg=white}
-% \setbeamertemplate{author}{default}[1][]{%
-% \usebeamerfont{author}\insertauthor
-% }
-%
-% \setbeamertemplate{date}{default}[1][]{%
-% \usebeamerfont{date}\insertdate
-% }
+% trick taken from https://topanswers.xyz/tex?q=1989
+\tikzset{
+ use page relative coordinates/.style={
+ shift={(current page.south west)},
+ x={(current page.south east)},
+ y={(current page.north west)}
+ },
+}
\setbeamertemplate{title page}{
- \vskip0.25\paperheight\par
- \begin{center}
- \usebeamertemplate{title}
- \end{center}
- \vskip1em\par
- \begin{flushleft}
- \usebeamertemplate{author}\hfill\usebeamertemplate{date}
- \end{flushleft}
+ \begin{tikzpicture}[remember picture,overlay,use page relative coordinates]
+ \node[text width=3cm] at (0.43,0.38) {\centering\usebeamercolor[fg]{title}\usebeamerfont{title}\inserttitle\par};
+ \node[text width=3cm] at (0.15,0.15) {\usebeamercolor[fg]{date}\usebeamerfont{date}\insertdate\par};
+ \node[text width=3cm] at (0.7,0.15) {\usebeamercolor[fg]{author}\usebeamerfont{date}\insertauthor\par};
+ \end{tikzpicture}
}
+
\begin{frame}[plain]
\titlepage
\end{frame}