von bloodworks » Mi 11. Nov 2009, 11:22
Hi ich habe mir mal das outertheme angepasst. Das ist nicht so schwierig wies sich anhört. Musst nur schauen, dass du die ratios nicht veränderst.
Du findest die unter Unix in /usr/local/texlive/2008/texmf-dist/tex/latex/beamer/themes/outer
wenn Texlive.
Nimmst du dir eins raus, löscht den eintrag der Seitenzahl, speicherst das unter einem anderen!!! Namen und lässt Texhash drüberlaufen. nichts leichter als das. Musst das ganze noch manuell einbinden aber der machst du ja sowieso.
Ich mach mal das Beispiel mit Insfolines:
% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/outer/beamerouterthemeinfolines.sty,v 1.9 2007/01/28 20:48:30 tantau Exp $ %%%%% unbedingt hier den neuen Namen eintragen
\mode<presentation>
\setbeamercolor*{author in head/foot}{parent=palette tertiary}
\setbeamercolor*{title in head/foot}{parent=palette secondary}
\setbeamercolor*{date in head/foot}{parent=palette primary}
\setbeamercolor*{section in head/foot}{parent=palette tertiary}
\setbeamercolor*{subsection in head/foot}{parent=palette primary}
\defbeamertemplate*{footline}{infolines theme} %% neuer name auch hier
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} %%%%\inserttotalframenumber rausnehmen und wohlfühlen. %%%%%%%
\end{beamercolorbox}}%
\vskip0pt%
}
\defbeamertemplate*{headline}{infolines theme} %%% Name!
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
\usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{subsection in head/foot}%
\usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
\end{beamercolorbox}}%
\vskip0pt%
}
\setbeamersize{text margin left=1em,text margin right=1em}
\mode
<all>
Hi ich habe mir mal das outertheme angepasst. Das ist nicht so schwierig wies sich anhört. Musst nur schauen, dass du die ratios nicht veränderst.
Du findest die unter Unix in /usr/local/texlive/2008/texmf-dist/tex/latex/beamer/themes/outer
wenn Texlive.
Nimmst du dir eins raus, löscht den eintrag der Seitenzahl, speicherst das unter einem anderen!!! Namen und lässt Texhash drüberlaufen. nichts leichter als das. Musst das ganze noch manuell einbinden aber der machst du ja sowieso.
Ich mach mal das Beispiel mit Insfolines:
[code]% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/outer/beamerouterthemeinfolines.sty,v 1.9 2007/01/28 20:48:30 tantau Exp $ %%%%% unbedingt hier den neuen Namen eintragen
\mode<presentation>
\setbeamercolor*{author in head/foot}{parent=palette tertiary}
\setbeamercolor*{title in head/foot}{parent=palette secondary}
\setbeamercolor*{date in head/foot}{parent=palette primary}
\setbeamercolor*{section in head/foot}{parent=palette tertiary}
\setbeamercolor*{subsection in head/foot}{parent=palette primary}
\defbeamertemplate*{footline}{infolines theme} %% neuer name auch hier
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex} %%%%\inserttotalframenumber rausnehmen und wohlfühlen. %%%%%%%
\end{beamercolorbox}}%
\vskip0pt%
}
\defbeamertemplate*{headline}{infolines theme} %%% Name!
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
\usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{subsection in head/foot}%
\usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
\end{beamercolorbox}}%
\vskip0pt%
}
\setbeamersize{text margin left=1em,text margin right=1em}
\mode
<all>
[/code]