Guten Morgen,
ich versuche meine BeamerVorlage anzupassen. Ich habe folgendes definiert:
Code:
\setbeamertemplate{frametitle}
{%
\parbox{0.71\textwidth}{%
        \insertframetitle%
}\hfill
	\parbox{0.27\textwidth}{%
		\vspace{-3pt}\fcolorbox{white}{white}{\pgfuseimage{logo}}}\\[-0.08em]
	{\usebeamercolor{foot middle}%
		\hspace{-28.5pt}\rule[5pt]{0.8\paperwidth}{0.6pt}}%\par\vspace{1.5ex}
}
Das funktioniert auch, gibt aber Probleme sobald ich eine Folie ohne Überschrift habe, dann wird auch das Logo und die Linie nicht angezeigt. Daher dachte ich mir folgendes:
Code:
\setbeamertemplate{frametitle}
{%
	\parbox{0.71\textwidth}{%
      \ifx\insertframetitle\@empty%
        \strut\par%
      \else
        \insertframetitle%
      \fi}\hfill%%
%
	\parbox{0.27\textwidth}{%
		\vspace{-3pt}\fcolorbox{white}{white}{\pgfuseimage{university-logo}}}\\[-0.08em]
	{\usebeamercolor{foot middle}%
		\hspace{-28.5pt}\rule[5pt]{0.8\paperwidth}{0.6pt}}%\par\vspace{1.5ex}
}
Leider hat das Null Effekt, und Seiten ohne frametitle haben immer noch kein Logo.
Hat jemand eine Idee wie ich das hinbekomme?
Vielen Dank im Voraus
xiix