PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : beamer: höhe des frametitle rahmens ändern



chris1234567
30-05-2009, 23:03
Ich möchte den Rahmen des Frametitels verkleinern. Mit
\setbeamerfont{frametitle}{size=\small} konnte ich die Schriftgröße ändern. Aber wie kann ich die Höhe der grauen Box verändern in der der Frametitel (History) steht?

Das Minimalbeispiel:


\documentclass[slidestop,compress,mathserif, black, english]{beamer}
\usetheme{Copenhagen}
\usecolortheme{rose}
\useinnertheme{rectangles}
\useoutertheme[subsection=false,compress]{miniframes}

\usepackage{pgfpages}


\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}


\xdefinecolor{blue}{rgb}{0 0.21 0.43}

%\usepackage[bars]{beamerthemetree}

\setbeamercolor{title}{fg=black}

\setbeamercolor*{section in head/foot}{fg=white,bg=blue}
\setbeamercolor*{title in head/foot}{fg=green!50!black}
\setbeamercolor*{author in head/foot}{fg=white,bg=green}
\setbeamercolor*{date in head/foot}{fg=white,bg=green}
\setbeamercolor*{subsection in head/foot}{fg=white,bg=blue}
\setbeamercolor*{frametitle}{fg=black,bg=gray!25}

\setbeamerfont{frametitle}{size=\small}

\usenavigationsymbolstemplate{}

\usefoottemplate{\vbox{\tinycolouredline{gray!25}%
{\color{black}\insertshortauthor\hfill%
\insertshortinstitute}%
\tinycolouredline{blue}%
{\color{white}\insertshorttitle\hfill\insertframen umber/\inserttotalframenumber}%
}}




\setbeamercolor{mytitle}{fg=black,bg=gray!30}
\setbeamertemplate{title page}{%
\mbox{}\vfill
\centering
\mbox{\begin{beamercolorbox}[sep=20pt,wd=0.75\paperwidth,center]{mytitle}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty\else\vskip0.25em%
{\usebeamerfont{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}}\vskip1em\par
\begin{beamercolorbox}[sep=8pt,center]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,center]{institute}
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,center]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}\vskip0.5em
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
\vfill
}

\usepackage{babel}
\begin{document}



\colorlet{mystruct}{structure} % Save current structure
\colorlet{structure}{blue}

\title[Short Paper Title ]{Title of Presentation}
\subtitle{Part I: Introduction to }
\author[Author, Another]{F.~Author\inst{1} \and S.~Another\inst{2}}
\institute{\inst{1}University of Sciences}
\date{University of Somewhere\and \inst{2}Department of Theoretical Philosophy}
\date[Universities of Somewhere and Elsewhere]{University of Elsewhere}
\date[CFP 2003]{Conference on Fabulous Presentations, 2003}

\maketitle

\section{Introduction} % Bookmark information
\subsection{History} % Bookmark information
\begin{frame}[options]
\frametitle{History}
... slide contents ...
\end{frame}


\end{document}

BG C

chris1234567
05-06-2009, 08:49
Durch herumprobieren bin ich jetzt daraufgekommen, dass man mit:


\useframetitletemplate{\vbox{\tinycolouredline{gra y!25}{123}}}

den Frametitle verändern kann. Allerdings bleibt ein weißer, ungewünschter strich über der Box. Hat jemand eine Lösung wie man die Höhe der \vbox verändert und diese nach oben schieben kann? Siehe Seite 2 des Ergebnispdf!!

Anbei das gesamte Beispiel mit \useframetitletemplate


\documentclass[slidestop,compress,mathserif, black, english]{beamer}

\usetheme{Copenhagen}
\usecolortheme{rose}
\useinnertheme{rectangles}
\useoutertheme[subsection=false,compress]{miniframes}

\RequirePackage{fix-cm}
\usepackage{ae}
\usepackage{textcomp}

\usepackage{pgfpages}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{amsmath}

\usepackage{color}


\xdefinecolor{blue}{rgb}{0 0.21 0.43}

%\usepackage[bars]{beamerthemetree}

\setbeamercolor{title}{fg=black}

\setbeamercolor*{section in head/foot}{fg=white,bg=blue}
\setbeamercolor*{title in head/foot}{fg=green!50!black}
\setbeamercolor*{author in head/foot}{fg=white,bg=green}
\setbeamercolor*{date in head/foot}{fg=white,bg=green}
\setbeamercolor*{subsection in head/foot}{fg=white,bg=blue}
\setbeamercolor*{frametitle}{fg=black,bg=gray!25}

\setbeamerfont{frametitle}{size=\large}

\usenavigationsymbolstemplate{}



\useframetitletemplate{\vbox{\tinycolouredline{gra y!25}{123}}}

\setbeamercolor{mytitle}{fg=black,bg=gray!30}

\usepackage{babel}
\begin{document}



\colorlet{mystruct}{structure} % Save current structure
\colorlet{structure}{blue}

\title[Short Paper Title ]{Title of Presentation}
\subtitle{Part I: Introduction to }
\author[Author, Another]{F.~Author\inst{1} \and S.~Another\inst{2}}
\institute{\inst{1}University of Sciences}
\date{University of Somewhere\and \inst{2}Department of Theoretical Philosophy}
\date[Universities of Somewhere and Elsewhere]{University of Elsewhere}
\date[CFP 2003]{Conference on Fabulous Presentations, 2003}

\maketitle

\section{Introduction} % Bookmark information
\subsection{History} % Bookmark information
\begin{frame}[options]
\frametitle{History}

\textbf{\large{-}}
\textbf{\large{$\rightarrow$}}

%\vbox{\tinycolouredline{red}{123}}

\end{frame}


\end{document}

BG C