I'm try to customize a beamer theme with some additional text and logos. I added some pictures already and everything looks fine. Now I want to add a three line text in the head of a presentation. I changed my outer theme and added a beamercolorbox. I want to have something like:
some text ============
some other text = LOGO =
and again some text ============
I added a beamercolorbox with the logo. Now I have some issues with the multiline text. If I do something like:
\begin{beamercolortext}[<options>]{<color>}
line 1 \\
line 2 \\
line 3
\end{beamercolorbox}
I will just get a text in one line which looks like line 1 , line 2 , line 3. If I replace the \\ by \newline then I will get three lines. The problem is that I can't change the spacing. If I do \vspace{} then I shift the whole text and the space between the two lines doesn't change.
Is there a better way to add this three lines, maybe something beside beamercolorbox?
EDIT
Well. I using the beamercolorbox in a definition of an outer theme.
\defbeamertemplate*{headline}{split theme}
{%
\leavevmode%
\@tempdimb=10.7ex%
%\@tempdimb=2.4375ex%
\ifnum\beamer@subsectionmax<\beamer@sectionmax%
\multiply\@tempdimb by\beamer@sectionmax%
\else%
\multiply\@tempdimb by\beamer@subsectionmax%
\fi%
\ifdim\@tempdimb>0pt%
\advance\@tempdimb by 0ex%
%\advance\@tempdimb by 1.125ex%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb,left]{section in head/foot}%
\hspace{1em}\vspace{0.7ex}\pgfuseimage{tu-logo}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb,right]{section in head/foot}%
\begin{beamercolorbox}[wd=.2\paperwidth,ht=\@tempdimb,right]{title}
test \\
test \\
test
\end{beamercolorbox}
\vspace{0.7ex}\pgfuseimage{iwm-logo}\hspace{1em}
\end{beamercolorbox}
\fi%
}
It's close to what is defined in the Warsaw theme. Please don't take the definition of spaces to serious. It's just an example and I wanted to make it work before I define all the spaces. My result for the following code will give me something like -- in the top right corner:
\raggedleftafter start ofbeamercolorboxwould help. – Schweinebacke Nov 17 '11 at 11:49\raggedlefthave the same effect as\newline. It's still without any spacing. Do you know how to add additional spacing? – PateToni Nov 17 '11 at 11:54