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.

This question already has an answer here:

I have an image, I want to write its source in a very small font size on the last possible line of the slide, ignoring the available space after image

\section{SCS}
\subsection{SCS}
\begin{frame}
  \frametitle{Simple Client-Server}
  \begin{center}
    \includegraphics[scale=0.3]{scs}
  \end{center}
  source of image :write this text at the bottom of the slide (not footnote)
\end{frame}
share|improve this question

marked as duplicate by Herbert, Martin Schröder, Claudio Fiandrino, zeroth, mafp Mar 13 '13 at 10:24

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.

add comment

2 Answers

up vote 6 down vote accepted

This is a common problem in beamer, with the typical solution being given by a fixed-height minipage:

enter image description here

\documentclass{beamer}% http://ctan.org/pkg/beamer
\begin{document}
\section{SCS}
\subsection{SCS}
\begin{frame}
  \frametitle{Simple Client-Server}
  \begin{minipage}[t][.8\textheight]{\textwidth}
    \begin{center}
      \rule{150pt}{100pt}%\includegraphics[scale=0.3]{scs}
    \end{center}

    \vfill

    source of image :write this text at the bottom of the slide (not footnote)
  \end{minipage}
\end{frame}
\end{document}

In the above MWE, the frame body is set in a box (or minipage) of (seemingly arbitrary) height equivalent to .8\textheight. This fixed height allows the use of \vfill to push content to the bottom.

share|improve this answer
add comment

The following solution works works without employing a minipage:

\documentclass{beamer}% http://ctan.org/pkg/beamer

\newcommand{\btVFill}{\vskip0pt plus 1filll}

\begin{document}
\section{SCS}
\subsection{SCS}
\begin{frame}
  \frametitle{Simple Client-Server}
  \bigskip
  \rule{150pt}{100pt}%\includegraphics[scale=0.3]{scs}
  \btVFill

  source of image :write this text at the bottom of the slide (not footnote)
\end{frame}
\end{document}

enter image description here

You can also equally distribute the available space by employing the \btVFill command multiple times; the bottom line can be lifted a bit by adding some vertical space (such as \smallskip) after it:

\documentclass{beamer}% http://ctan.org/pkg/beamer

\newcommand{\btVFill}{\vskip0pt plus 1filll}

\begin{document}
\section{SCS}
\subsection{SCS}
\begin{frame}
  \frametitle{Simple Client-Server}
  \bigskip
  \rule{150pt}{100pt}%\includegraphics[scale=0.3]{scs}
  \btVFill
  a comment in the middle
  \btVFill

  source of image :write this text at the bottom of the slide (not footnote)
  \smallskip
\end{frame}
\end{document}

enter image description here

share|improve this answer
    
Can you explain the btVFill command? –  Manuel Kuehner Oct 4 '13 at 13:14
1  
@ManuelKuehner: \vskip0pt plus 1filll is TeX syntax to insert a stretchable vertical skip with a minimum of 0pt, but stretchable to "infinite value". So TeX will stretch the vertical skip as much as possible (depending on the following content), which here gives the intended result to skip to the bottom of the slide. The details of stretchable skips are pretty well explained in this answer from JLDiaz. –  Daniel Oct 6 '13 at 21:43
add comment

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