~ubuntu-branches/ubuntu/oneiric/latex-beamer/oneiric

« back to all changes in this revision

Viewing changes to themes/outer/beamerouterthemeinfolines.sty

  • Committer: Bazaar Package Importer
  • Author(s): OHURA Makoto
  • Date: 2004-11-06 01:06:13 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041106010613-j6m2aj1cx6i2qu0l
Tags: 3.01-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/outer/beamerouterthemeinfolines.sty,v 1.8 2004/10/14 09:48:48 tantau Exp $
 
2
 
 
3
% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
 
4
%
 
5
% This program can be redistributed and/or modified under the terms
 
6
% of the GNU Public License, version 2.
 
7
 
 
8
\mode<presentation>
 
9
 
 
10
\setbeamercolor*{author in head/foot}{parent=palette tertiary}
 
11
\setbeamercolor*{title in head/foot}{parent=palette secondary}
 
12
\setbeamercolor*{date in head/foot}{parent=palette primary}
 
13
 
 
14
\setbeamercolor*{section in head/foot}{parent=palette tertiary}
 
15
\setbeamercolor*{subsection in head/foot}{parent=palette primary}
 
16
 
 
17
\defbeamertemplate*{footline}{infolines theme}
 
18
{
 
19
  \leavevmode%
 
20
  \hbox{%
 
21
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
 
22
    \usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
 
23
  \end{beamercolorbox}%
 
24
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
 
25
    \usebeamerfont{title in head/foot}\insertshorttitle
 
26
  \end{beamercolorbox}%
 
27
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
 
28
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
 
29
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
 
30
  \end{beamercolorbox}}%
 
31
  \vskip0pt%
 
32
}
 
33
 
 
34
\defbeamertemplate*{headline}{infolines theme}
 
35
{
 
36
  \leavevmode%
 
37
  \hbox{%
 
38
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
 
39
    \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
 
40
  \end{beamercolorbox}%
 
41
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{subsection in head/foot}%
 
42
    \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
 
43
  \end{beamercolorbox}}%
 
44
  \vskip0pt%
 
45
}
 
46
 
 
47
\setbeamersize{text margin left=1em,text margin right=1em}
 
48
 
 
49
\mode
 
50
<all>