Sepp
09-09-2009, 19:24
Liebe Latex-Kollegen,
die Kopfzeile einer Präsentation soll horizontal schattiert sein (ähnlich der sidebar). Wie bekommt man das hin?
Sepp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[c,11pt,xcolor=dvipsnames]{beamer}
\usepackage[ansinew,latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{graphicx,color,hyperref}
\usepackage[accumulated]{beamerseminar}
\usepackage{beamerthemeclassic}
\usepackage{pstricks}
\usepackage{pgf}
\usepackage{pdfpages}
\usepackage[absolute,overlay]{textpos}
\usetheme[hideothersubsections, width=2.3cm]{Berkeley}
\setbeamercovered{transparent}
\usefonttheme{structuresmallcapsserif}
\usecolortheme[named={blue}]{structure}
\useoutertheme{sidebar}
\useinnertheme{rounded}
\usebeamercolor{normal text}
\title[]{\LARGE{Muster}}
\subtitle{Muster\\ \vspace{.6cm}2009}
\date{}
\setbeamerfont{title}{shape=\itshape,family=\rmfam ily}
\setbeamercolor{title}{fg=black!80,bg=white!20}
\setbeamercolor{frametitle}{fg=white, bg=blue} % modify upper line
\setbeamerfont{frametitle}{shape=\itshape, size=\Large}
%\setbeamersize{sidebar width left=2.2cm}
\setbeamersize{sidebar width description=4cm}
\setbeamersize{text margin left=1cm}
\setbeamertemplate{sidebar canvas left}[vertical shading]
[top=blue!0, middle=blue!28, bottom=blue!85] % schattiert
\setbeamertemplate{sidebar canvas left}[insertsectionhead]
\setbeamercolor{section in sidebar}{fg=white,bg=blue}
\setbeamercolor{subsection in sidebar}{fg=white,bg=blue}
\setbeamerfont{subsection in sidebar}{size=\tiny} %delete
\beamertemplatenavigationsymbolsempty
\pgfdeclareimage[interpolate=true,width=2.3cm,height=45pt]{mylogo}{logo}
\logo{\pgfuseimage{mylogo}}
\setbeamertemplate{footline}
{ \leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.666666\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}Muster%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.267334\paperwidth,ht=2.25ex,dp=1ex,center]{date in head/foot}%
\usebeamerfont{date in head/foot}\today%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.09\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\insertframenumber{}/\inserttotalframenumber\hspace*{6.2ex} %
\end{beamercolorbox}%
}%
\vskip0pt%
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Musterbeispiele}
\begin{frame}
\frametitle{Muster}
Muster
\end{frame}
\end{document}
die Kopfzeile einer Präsentation soll horizontal schattiert sein (ähnlich der sidebar). Wie bekommt man das hin?
Sepp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[c,11pt,xcolor=dvipsnames]{beamer}
\usepackage[ansinew,latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{graphicx,color,hyperref}
\usepackage[accumulated]{beamerseminar}
\usepackage{beamerthemeclassic}
\usepackage{pstricks}
\usepackage{pgf}
\usepackage{pdfpages}
\usepackage[absolute,overlay]{textpos}
\usetheme[hideothersubsections, width=2.3cm]{Berkeley}
\setbeamercovered{transparent}
\usefonttheme{structuresmallcapsserif}
\usecolortheme[named={blue}]{structure}
\useoutertheme{sidebar}
\useinnertheme{rounded}
\usebeamercolor{normal text}
\title[]{\LARGE{Muster}}
\subtitle{Muster\\ \vspace{.6cm}2009}
\date{}
\setbeamerfont{title}{shape=\itshape,family=\rmfam ily}
\setbeamercolor{title}{fg=black!80,bg=white!20}
\setbeamercolor{frametitle}{fg=white, bg=blue} % modify upper line
\setbeamerfont{frametitle}{shape=\itshape, size=\Large}
%\setbeamersize{sidebar width left=2.2cm}
\setbeamersize{sidebar width description=4cm}
\setbeamersize{text margin left=1cm}
\setbeamertemplate{sidebar canvas left}[vertical shading]
[top=blue!0, middle=blue!28, bottom=blue!85] % schattiert
\setbeamertemplate{sidebar canvas left}[insertsectionhead]
\setbeamercolor{section in sidebar}{fg=white,bg=blue}
\setbeamercolor{subsection in sidebar}{fg=white,bg=blue}
\setbeamerfont{subsection in sidebar}{size=\tiny} %delete
\beamertemplatenavigationsymbolsempty
\pgfdeclareimage[interpolate=true,width=2.3cm,height=45pt]{mylogo}{logo}
\logo{\pgfuseimage{mylogo}}
\setbeamertemplate{footline}
{ \leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.666666\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}Muster%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.267334\paperwidth,ht=2.25ex,dp=1ex,center]{date in head/foot}%
\usebeamerfont{date in head/foot}\today%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.09\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\insertframenumber{}/\inserttotalframenumber\hspace*{6.2ex} %
\end{beamercolorbox}%
}%
\vskip0pt%
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Musterbeispiele}
\begin{frame}
\frametitle{Muster}
Muster
\end{frame}
\end{document}