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.

Possible Duplicates:
Absolute positioning in beamer
Put variable text at a fixed location on every beamer slide.
How can I position an image in an arbitrary position in beamer?

I would like to know how to add text to the corner of one of my beamer slides. I would like this text to be just above the infoline at the the bottom right of the slide. I've looked into trying to use the TikZ package, but this package seems unnecessarily complex for my purposes. Can anyone help? I am using XeLaTeX.

share|improve this question

marked as duplicate by Werner, diabonas, Martin Scharrer Oct 28 '11 at 17:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. –  doncherry Oct 28 '11 at 17:24
1  
Duplicate of Absolute positioning in beamer and LaTeX, How can I position an image in an arbitrary position in beamer? and/or Put variable text at a fixed location on every beamer slide.. I think this question should be closed, please state the existing threads don't fully answer your question. –  Martin Scharrer Oct 28 '11 at 17:31
add comment

1 Answer 1

up vote 4 down vote accepted

The textpos package could be an option; in the following example, the command \FrameText puts its argument ragged right, at the bottom right of the frame; change the settings according to your needs:

\documentclass{beamer}
\usepackage[absolute,overlay]{textpos}
\usetheme{Warsaw}
\useoutertheme{infolines}

\setbeamertemplate{navigation symbols}{}

\newcommand\FrameText[1]{%
  \begin{textblock*}{\paperwidth}(0pt,\textheight)
    \raggedright #1\hspace{.5em}
  \end{textblock*}}

\begin{document}

\begin{frame}{Test frame}
\FrameText{Some text}
\end{frame}

\begin{frame}{Test frame}
\FrameText{Some text for frame two}
\end{frame}

\end{document}
share|improve this answer
    
Thank you, this solution is great. Since this method uses absolute positioning, I have to adjust every slide if the length of this text changes. Is there a way to somehow right justify so that the text essentially starts against the right edge of the slide and then extends leftward? This would allow variable size text fields to all be right justified. –  dr.bunsen Oct 28 '11 at 17:21
    
\begin{textblock*}{\textwidth}(0pt,\textheight)\raggedleft Some loooooong text \end{textblock*} -- note that this puts the text slightly further left than Gonzalo's initial answer. –  doncherry Oct 28 '11 at 17:28
    
@dr.bunsen: see my updated answer. –  Gonzalo Medina Oct 28 '11 at 17:33
    
@Gonzalo: Remember we try to avoid duplicate material. :-) tex.stackexchange.com/questions/14688/… –  Martin Scharrer Oct 28 '11 at 17:34
    
@GonzaloMedina: You don't have to on my account. –  Martin Scharrer Oct 28 '11 at 17:41
show 2 more comments

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