Guest User

Untitled

a guest
May 24th, 2019
95
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \documentclass{beamer}
  2. \usetheme{Berkeley}
  3.  
  4. \makeatletter
  5. \setbeamertemplate{frametitle}{%
  6.     \nointerlineskip%
  7.     \vskip-\beamer@headheight%
  8.     \vbox to \beamer@headheight{%
  9.       \vfil
  10.       \leftskip=-\beamer@leftmargin%
  11.       \advance\leftskip by0.3cm%
  12.       \rightskip=-\beamer@rightmargin%
  13.       \advance\rightskip by0.3cm plus1fil%
  14.       {\usebeamercolor[fg]{frametitle}
  15.          \usebeamerfont{frametitle}\insertframetitle%
  16.           \ifbeamer@noframenumbering\else%
  17.             \hfill\insertframenumber%
  18.           \fi%
  19.           \par}% added number
  20.       {\usebeamercolor[fg]{framesubtitle}
  21.           \usebeamerfont{framesubtitle}\insertframesubtitle\par}%
  22.       \vbox{}%
  23.       \vskip-1em%
  24.       \vfil
  25.     }%
  26.   }
  27. \makeatother
  28. \begin{document}
  29. \section{A section}
  30. \begin{frame}{A frame}
  31. \end{frame}
  32.  
  33. \begin{frame}[noframenumbering]{title}
  34. appendix
  35. \end{frame}
  36. \end{document}
RAW Paste Data