Advertisement
Hirwanto

beamerthemeAir

Jan 27th, 2015
649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.08 KB | None | 0 0
  1. \usetheme{Rochester}
  2.  
  3. \RequirePackage{pgf}
  4.  
  5. \pgfdeclareimage[width=1.0\paperwidth]{air-header}{air-header}
  6.  
  7. \setbeamertemplate{blocks}[rounded][shadow=true]
  8. \setbeamercovered{transparent}
  9.  
  10. \beamer@headheight=0.13\paperwidth
  11.  
  12. \definecolor{airorange}{rgb}{.953 ,.502 ,.04}
  13. \definecolor{airdarkblue}{HTML}{064F6F}
  14. \definecolor{airlightblue}{HTML}{0099d5}
  15. \definecolor{airgray}{HTML}{686868}
  16. \definecolor{airlightgray}{HTML}{eeeeee}
  17. \definecolor{airblue}{rgb}{.13 ,.43 ,.68}
  18. \setbeamercolor*{Title bar}{fg=airdarkblue}
  19. \setbeamercolor*{Location bar}{fg=airorange,bg=airlightgray}
  20. \setbeamercolor*{frametitle}{parent=Title bar}
  21. \setbeamercolor*{block title}{bg=airlightblue,fg=white}
  22. \setbeamercolor*{block body}{bg=airlightgray,fg=airgray}
  23. \setbeamercolor*{normal text}{bg=white,fg=airgray}
  24. \setbeamercolor*{section in head/foot}{bg=airblue,fg=airdarkblue}
  25.  
  26. \usecolortheme[named=airorange]{structure}
  27.  
  28. \setbeamerfont{section in head/foot}{size=\tiny,series=\normalfont}
  29. \setbeamerfont{frametitle}{size=\Large}
  30.  
  31. %\setbeamertemplate{headline}
  32. \setbeamertemplate{frametitle}
  33. {
  34.  \vskip-0.25\beamer@headheight
  35.  \vskip-\baselineskip
  36.  \vskip-0.2cm
  37.  \hskip0.7cm\usebeamerfont*{frametitle}\insertframetitle
  38.  \vskip-0.10em
  39.  \hskip0.7cm\usebeamerfont*{framesubtitle}\insertframesubtitle
  40. }
  41.  
  42. \setbeamertemplate{headline}
  43. {
  44.  \pgfuseimage{air-header}
  45.  \vskip -1.95cm
  46.  \linethickness{0.0pt}
  47.  
  48.  \framelatex{
  49.  \begin{beamercolorbox}[wd=\paperwidth,ht=0.3\beamer@headheight]{Title bar}
  50.    \usebeamerfont{section in head/foot}%
  51.     \insertsectionnavigationhorizontal{0pt}{\hskip0.22cm}{}%
  52.   \end{beamercolorbox}}
  53.  
  54.  \framelatex{
  55.  \begin{beamercolorbox}[wd=\paperwidth,ht=0.7\beamer@headheight]{Title bar}
  56.  \end{beamercolorbox}}
  57. }
  58.  
  59. \setbeamertemplate{footline}
  60. {
  61.  \linethickness{0.25pt}
  62.  \framelatex{
  63.  \begin{beamercolorbox}[leftskip=.3cm,wd=\paperwidth,ht=0.3\beamer@headheight,sep=0.1cm]{Location bar}
  64.    \usebeamerfont{section in head/foot}%
  65.     \insertshortauthor~|~\insertshorttitle
  66.     \hfill
  67.     \insertframenumber/\inserttotalframenumber
  68.   \end{beamercolorbox}}
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement