Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to write director name in line with author name in a beamer like:

\author{Made by:\\Author name}
\director{Directed by:\\Director name}

but if I try to define director:

\def\director#1{\def\Director{#1}}\director{Director's Name}

Then it writes on the top of the first frame. Any suggestions?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

You can adopt an approach based on columns environment:

\documentclass{beamer}
\usepackage[T1]{fontenc}

\usetheme{CambridgeUS}
\title{My title}
\institute{My institute}
\author[Author name]{Made by:\\Author name} %<= used the short author name [] for the footline
\newcommand{\director}{Directed by:\\Director name}

% re-definition of the title page
\setbeamertemplate{title page}{
\centering
\begin{beamercolorbox}[rounded=true,shadow=true,sep=8pt,center]{title}
\inserttitle \par
\end{beamercolorbox}
\vfill
\begin{beamercolorbox}[leftskip=8cm,center,wd=0.7\textwidth]{author}
\begin{columns}[T]
\begin{column}{.49\textwidth}%
\centering
\insertauthor
\end{column}
\begin{column}{.49\textwidth}%
\centering
\director
\end{column}
\end{columns}
\end{beamercolorbox}
\vfill
\usebeamerfont{institute}\insertinstitute \par
\vfill
\centering
\insertdate\par
\vfill
}

\begin{document}
\begin{frame}
\titlepage
\end{frame}

\begin{frame}{Title}
example text
\end{frame}
\end{document}

which gives you:

enter image description here

enter image description here

Notice that I adopted the short name for the author to not display in the footline the string Made by:.

share|improve this answer
    
thanks, it solved my problem –  Peter May 31 '12 at 10:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.