3

My slides have a particular PDF background and I would like to force slide-titles to appear in a particular place on each slide without a blue box underneath them. I want the \frametitle{} command to place my title in white text, flush right, at the top right of my slide with no surrounding box or anything. Is this possible? More generally, is it possible to get LaTeX/beamer to draw textboxes (with line/fill options) in specific places on slides?

  • Is there a particular theme you'd want to start from? Are you using any headlines or similar features? – Mike Renfro Nov 7 '11 at 0:37
  • I'm just using the default theme. – Clinton Boys Nov 7 '11 at 0:40
3

enter image description here

Since I don't have your background, I'm opting for red text instead of white. Depending on what you really want, you may want to adjust the font and right margin.

\documentclass{beamer}
\usetheme{default}
\setbeamersize{text margin right=0pt} % Beamer manual, section 8.3
\setbeamercolor{frametitle}{fg=red} % Beamer manual, section 16.3
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamertemplate{frametitle}
{
\hfill\insertframetitle
}
\begin{document}
\begin{frame}
\frametitle{This is the frame title}
Here's some more content. Here's some more content. Here's some more content.
\end{frame}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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