I'm trying to create my own beamer theme based on this answer. My data till now:
beamerthemetexsx.sty
%beamerthemetexsx.sty
\mode<presentation>
% Requirement
\RequirePackage{tikz}
\RequirePackage{xcolor}
%Colour
\definecolor{aublue}{HTML}{0A1439}
% Settings
\useinnertheme{texsx}
\useoutertheme{texsx}
\usecolortheme{texsx}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\mode<all>
beamercolorthemetexsx.sty
%beamercolorthemetexsx.sty
\mode<presentation>
% Settings
\setbeamercolor*{title page header}{fg=white}
\setbeamercolor*{author}{fg=white}
\setbeamercolor*{date}{fg=white}
\setbeamercolor*{item}{fg=orange}
% Items
\setbeamertemplate{items}[square]
\setbeamertemplate{sections/subsections in toc}[square]
\mode
<all>
beamerouterthemetexsx.sty
%beamerouterthemetexsx.sty
\mode<presentation>
\setbeamertemplate{background}{
\begin{tikzpicture}
\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=aublue] (0,0.75) rectangle (\the\paperwidth, 8);
\ifnum\thepage>1\relax%
\fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fi
\end{tikzpicture}
}
% Title page
\defbeamertemplate*{title page}{texsx}[1][]
{
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,sep=8pt,#1]{title page header}
\usebeamerfont{title}\inserttitle\par%
\end{beamercolorbox}%
\vskip0.75cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{author}
\usebeamerfont{author}\insertauthor%
\end{beamercolorbox}
\vskip0.2cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{date}
\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
\vfill
}
\mode
<all>
beamerinnerthemetexsx.sty
%beamerinnerthemetexsx.sty
\mode<presentation>
% Frame title
\defbeamertemplate*{frametitle}{texsx}[1][]
{
\vskip1cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\begin{tikzpicture}
\useasboundingbox[fill=white](0,0) rectangle(\the\paperwidth,1.2);
\fill[aublue] (0,0) rectangle(\the\paperwidth,1.5);
\ifx\insertframesubtitle\@empty%
{\node[anchor=west, white,font=\large] at (3.2,0.61){\insertframetitle};}
\else%
{\node[anchor= west, white,font=\large] at (3.2,0.81){\insertframetitle};%
\node[anchor= west, white,font=\small] at (3.2,0.41){\insertframesubtitle};}
\fi
\end{tikzpicture}
\end{beamercolorbox}
}
\mode<all>
texsx-example.tex
%texsx-example.tex
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\title{There Is No Largest Prime Number}
\date[ISPN ’80]{27th International Symposium of Prime Numbers}
\author[Euclid]{Euclid of Alexandria \texttt{euclid@alexandria.edu}}
\usetheme{texsx}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\frametitle{There Is No Largest Prime Number}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
\begin{theorem}
There is no largest prime number. \end{theorem}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q+1$ is not divisible by any of them.
\item<1-> But $q + 1$ is greater than $1$, thus divisible by some prime
number not in the first $p$ numbers.
\end{enumerate}
\end{frame}
\begin{frame}{A longer title}
\begin{itemize}
\item one
\item two
\end{itemize}
\end{frame}
\end{document}
Problems
1. Outer
A picture says more than thousand words:
I would like to place the university logo (looks like a square) at point 1, the title in big at point 2 and the name of my university at point 3. I've tried a lot, but it seems like all information just wants to be in the blue field. I don't know how to fix that.
2. Inner
Next image:
I would like to move the titleframe a little more upwards (there should still be some white space). In the white space over the titleframe, I would love to have the name of my university in black, next the name of the authors in grey (all seperated by | ) at point (1).
Second, I would love to place my university logo (from the title frame) at point 2.
More Clarification
I've tried the best I can. If I get a little help, I will try more (since it's just two problems going again and again).
Thank you very much in advance!
Best Answer
The following example should in principal display everything you mentioned. I redefined some of your elements, but now the positioning is very flexible. So if you want the frametitle a little bit further up, just play around with its coordinates.
[caution notice: all the coordinates are just to roughly fit our design, you might want to finetune them]