├── README.md ├── beamer-demo.pdf ├── beamer-demo.tex ├── makefile ├── pdfnup.sh └── style.tex /README.md: -------------------------------------------------------------------------------- 1 | beamer-theme 2 | ============ 3 | 4 | A simple customized beamer theme for presentations. -------------------------------------------------------------------------------- /beamer-demo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aecio/beamer-theme/0152aaf1af4dd2cdbbe883c4b56621ac123f7a30/beamer-demo.pdf -------------------------------------------------------------------------------- /beamer-demo.tex: -------------------------------------------------------------------------------- 1 | % $Header$ 2 | 3 | \documentclass[t,14pt,mathserif]{beamer} 4 | 5 | % This file is a solution template for: 6 | 7 | % - Talk at a conference/colloquium. 8 | % - Talk length is about 20min. 9 | % - Style is ornate. 10 | 11 | 12 | 13 | % Copyright 2004 by Till Tantau . 14 | % 15 | % In principle, this file can be redistributed and/or modified under 16 | % the terms of the GNU Public License, version 2. 17 | % 18 | % However, this file is supposed to be a template to be modified 19 | % for your own needs. For this reason, if you use this file as a 20 | % template and not specifically distribute it as part of a another 21 | % package/program, I grant the extra permission to freely copy and 22 | % modify this file as you see fit and even to delete this copyright 23 | % notice. 24 | 25 | %-----------------------------------------------------------------------------% 26 | 27 | % Includes the theme file 28 | \input{style.tex} 29 | 30 | % Uncomment one of the following lines to change the default color scheme 31 | %\setcolorschemeblue 32 | %\setcolorschemepurple 33 | %\setcolorschemegreen 34 | 35 | %-----------------------------------------------------------------------------% 36 | 37 | \usepackage[english]{babel} 38 | % or whatever 39 | 40 | \usepackage[utf8]{inputenc} 41 | % or whatever 42 | 43 | \usepackage{times} 44 | \usepackage[T1]{fontenc} 45 | % Or whatever. Note that the encoding and the font should match. If T1 46 | % does not look nice, try deleting the line with the fontenc. 47 | 48 | 49 | \title[Short Paper Title] % (optional, use only with long paper titles) 50 | {Title As It Is In the Proceedings} 51 | 52 | \subtitle 53 | {Include Only If Paper Has a Subtitle} 54 | 55 | \author[Author, Another] % (optional, use only with lots of authors) 56 | {F.~Author\inst{1} \and S.~Another\inst{2}} 57 | % - Give the names in the same order as the appear in the paper. 58 | % - Use the \inst{?} command only if the authors have different 59 | % affiliation. 60 | 61 | \institute[Universities of Somewhere and Elsewhere] % (optional, but mostly needed) 62 | { 63 | \inst{1}% 64 | Department of Computer Science\\ 65 | University of Somewhere 66 | \and 67 | \inst{2}% 68 | Department of Theoretical Philosophy\\ 69 | University of Elsewhere} 70 | % - Use the \inst command only if there are several affiliations. 71 | % - Keep it simple, no one is interested in your street address. 72 | 73 | \date[CFP 2003] % (optional, should be abbreviation of conference name) 74 | {Conference on Fabulous Presentations, 2003} 75 | % - Either use conference name or its abbreviation. 76 | % - Not really informative to the audience, more for people (including 77 | % yourself) who are reading the slides online 78 | 79 | \subject{Theoretical Computer Science} 80 | % This is only inserted into the PDF information catalog. Can be left 81 | % out. 82 | 83 | 84 | 85 | % If you have a file called "university-logo-filename.xxx", where xxx 86 | % is a graphic format that can be processed by latex or pdflatex, 87 | % resp., then you can add a logo as follows: 88 | 89 | % \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename} 90 | % \logo{\pgfuseimage{university-logo}} 91 | 92 | 93 | 94 | % Delete this, if you do not want the table of contents to pop up at 95 | % the beginning of each subsection: 96 | \AtBeginSubsection[] 97 | { 98 | \begin{frame}{Outline} 99 | \tableofcontents[currentsection,currentsubsection] 100 | \end{frame} 101 | } 102 | 103 | 104 | % If you wish to uncover everything in a step-wise fashion, uncomment 105 | % the following command: 106 | 107 | %\beamerdefaultoverlayspecification{<+->} 108 | 109 | 110 | \begin{document} 111 | 112 | \begin{frame} 113 | \titlepage 114 | \end{frame} 115 | 116 | \begin{frame}{Outline} 117 | \tableofcontents 118 | % You might wish to add the option [pausesections] 119 | \end{frame} 120 | 121 | 122 | % Structuring a talk is a difficult task and the following structure 123 | % may not be suitable. Here are some rules that apply for this 124 | % solution: 125 | 126 | % - Exactly two or three sections (other than the summary). 127 | % - At *most* three subsections per section. 128 | % - Talk about 30s to 2min per frame. So there should be between about 129 | % 15 and 30 frames, all told. 130 | 131 | % - A conference audience is likely to know very little of what you 132 | % are going to talk about. So *simplify*! 133 | % - In a 20min talk, getting the main ideas across is hard 134 | % enough. Leave out details, even if it means being less precise than 135 | % you think necessary. 136 | % - If you omit details that are vital to the proof/implementation, 137 | % just say so once. Everybody will be happy with that. 138 | 139 | \section{Motivation} 140 | 141 | \subsection{The Basic Problem That We Studied} 142 | 143 | \begin{frame}{Make Titles Informative. Use Uppercase Letters.} 144 | % - A title should summarize the slide in an understandable fashion 145 | % for anyone how does not follow everything on the slide itself. 146 | 147 | \begin{itemize} 148 | \item 149 | Use \texttt{itemize} a lot. 150 | \item 151 | Use very short sentences or short phrases. 152 | \end{itemize} 153 | \end{frame} 154 | 155 | \begin{frame}{Make Titles Informative.} 156 | 157 | You can create overlays\dots 158 | \begin{itemize} 159 | \item using the \texttt{pause} command: 160 | \begin{itemize} 161 | \item 162 | First item. 163 | \pause 164 | \item 165 | Second item. 166 | \end{itemize} 167 | \item 168 | using overlay specifications: 169 | \begin{itemize} 170 | \item<3-> 171 | First item. 172 | \item<4-> 173 | Second item. 174 | \end{itemize} 175 | \item 176 | using the general \texttt{uncover} command: 177 | \begin{itemize} 178 | \uncover<5->{\item 179 | First item.} 180 | \uncover<6->{\item 181 | Second item.} 182 | \end{itemize} 183 | \end{itemize} 184 | \end{frame} 185 | 186 | 187 | \subsection{Previous Work} 188 | 189 | \begin{frame}{Make Titles Informative.} 190 | \end{frame} 191 | 192 | \begin{frame}{Make Titles Informative.} 193 | \end{frame} 194 | 195 | 196 | 197 | \section{Our Results/Contribution} 198 | 199 | \subsection{Main Results} 200 | 201 | \begin{frame}{Make Titles Informative.} 202 | \end{frame} 203 | 204 | \begin{frame}{Make Titles Informative.} 205 | \end{frame} 206 | 207 | \begin{frame}{Make Titles Informative.} 208 | \end{frame} 209 | 210 | 211 | \subsection{Basic Ideas for Proofs/Implementation} 212 | 213 | \begin{frame}{Make Titles Informative.} 214 | \end{frame} 215 | 216 | \begin{frame}{Make Titles Informative.} 217 | \end{frame} 218 | 219 | \begin{frame}{Make Titles Informative.} 220 | \end{frame} 221 | 222 | 223 | 224 | \section*{Summary} 225 | 226 | \begin{frame}{Summary} 227 | 228 | % Keep the summary *very short*. 229 | \begin{itemize} 230 | \item 231 | The \alert{first main message} of your talk in one or two lines. 232 | \item 233 | The \alert{second main message} of your talk in one or two lines. 234 | \item 235 | Perhaps a \alert{third message}, but not more than that. 236 | \end{itemize} 237 | 238 | % The following outlook is optional. 239 | \vskip0pt plus.5fill 240 | \begin{itemize} 241 | \item 242 | Outlook 243 | \begin{itemize} 244 | \item 245 | Something you haven't solved. 246 | \item 247 | Something else you haven't solved. 248 | \end{itemize} 249 | \end{itemize} 250 | \end{frame} 251 | 252 | 253 | 254 | % All of the following is optional and typically not needed. 255 | \appendix 256 | \section*{\appendixname} 257 | \subsection*{For Further Reading} 258 | 259 | \begin{frame}[allowframebreaks] 260 | \frametitle{For Further Reading} 261 | 262 | \begin{thebibliography}{10} 263 | 264 | \beamertemplatebookbibitems 265 | % Start with overview books. 266 | 267 | \bibitem{Author1990} 268 | A.~Author. 269 | \newblock {\em Handbook of Everything}. 270 | \newblock Some Press, 1990. 271 | 272 | 273 | \beamertemplatearticlebibitems 274 | % Followed by interesting articles. Keep the list short. 275 | 276 | \bibitem{Someone2000} 277 | S.~Someone. 278 | \newblock On this and that. 279 | \newblock {\em Journal of This and That}, 2(1):50--100, 280 | 2000. 281 | \end{thebibliography} 282 | \end{frame} 283 | 284 | \end{document} 285 | 286 | -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- 1 | file=beamer-demo 2 | build: pdflatex clear 3 | pdflatex: 4 | pdflatex ${file}.tex 5 | pdflatex ${file}.tex 6 | latex: 7 | latex ${file}.tex 8 | latex ${file}.tex 9 | dvipdf ${file}.dvi 10 | bibtex: 11 | latex ${file}.tex 12 | bibtex ${file} 13 | latex ${file}.tex 14 | view: 15 | evince ${file}.pdf & 16 | aspell: 17 | aspell --encoding="utf-8" -c -t=tex --lang="en_US" ${file}.tex 18 | clear: 19 | rm -f ${file}.aux ${file}.blg ${file}.bbl ${file}.dvi ${file}.ps ${file}.log ${file}.toc ${file}.out ${file}.nav ${file}.snm ${file}.synctex.gz 20 | -------------------------------------------------------------------------------- /pdfnup.sh: -------------------------------------------------------------------------------- 1 | pdfnup --nup 2x4 --no-landscape beamer-demo.pdf 2 | -------------------------------------------------------------------------------- /style.tex: -------------------------------------------------------------------------------- 1 | % Copyright 2012 by Aécio S. R. Santos . 2 | % 3 | % In principle, this file can be redistributed and/or modified under 4 | % the terms of the GNU Public License, version 2. 5 | % 6 | % However, this file is supposed to be a template to be modified 7 | % for your own needs. For this reason, if you use this file as a 8 | % template and not specifically distribute it as part of a another 9 | % package/program, I grant the extra permission to freely copy and 10 | % modify this file as you see fit and even to delete this copyright 11 | % notice. 12 | 13 | % Redefines the font type 14 | \usepackage{helvet} 15 | \usefonttheme[onlymath]{serif} 16 | 17 | % Some useful colors 18 | \definecolor{lightblue}{rgb}{.0, .68, .84} 19 | \definecolor{black}{rgb}{0, 0, 0} 20 | \definecolor{gray}{rgb}{0.3, 0.3, 0.3} 21 | 22 | % 23 | % BLUE color scheme 24 | % 25 | \newcommand{\setcolorschemeblue}{ 26 | \definecolor{titlecolor}{rgb}{0, 0.37, 0.59} 27 | \definecolor{bulletscolor}{rgb}{.0, .68, .84} 28 | \definecolor{alertcolor}{rgb}{.0, .68, .84} 29 | } 30 | 31 | % 32 | % PURPLE color scheme 33 | % 34 | % Purple color pallete 35 | % base 0.35, 0.2, 0.55 (between h2 and h3) 36 | % h1 0.21, 0.1, 0.34 (darker) 37 | % h2 0.28, 0.2, 0.45 38 | % h3 0.44, 0.4, 0.70 39 | % h4 0.51, 0.2, 0.71 (lighter) 40 | % 41 | \newcommand{\setcolorschemepurple}{ 42 | \definecolor{titlecolor}{rgb}{0.35, 0.2, 0.55} 43 | \definecolor{bulletscolor}{rgb}{0.44, 0.4, 0.70} 44 | \definecolor{alertcolor}{rgb}{0.35, 0.2, 0.55} 45 | } 46 | 47 | % 48 | % GREEN color scheme 49 | % 50 | \newcommand{\setcolorschemegreen}{ 51 | \definecolor{titlecolor}{rgb}{0, 0.5, 0.48} 52 | \definecolor{bulletscolor}{rgb}{0.2,0.2,0.7} 53 | \definecolor{alertcolor}{rgb}{.0, .68, .84} 54 | } 55 | 56 | % Define default colors scheme 57 | \setcolorschemeblue 58 | 59 | % Define color of alert text 60 | \setbeamercolor{alerted text}{fg=alertcolor} 61 | 62 | % block environment 63 | %\setbeamertemplate{blocks}[rounded=true, shadow=true] 64 | \setbeamertemplate{blocks}[rounded][shadow=true] 65 | \setbeamercolor*{block body}{fg=black,bg=titlecolor!20!white} 66 | %\setbeamercolor*{block title}{fg=titlecolor!70!black,bg=titlecolor!40!white} 67 | \setbeamercolor*{block title}{fg=titlecolor!10!white,bg=titlecolor!75!white} 68 | %\setbeamerfont{block title}{size=\large,series=\bf} 69 | 70 | % Define font sizes 71 | \setbeamerfont{frametitle}{parent=structure,size=\Large} 72 | \setbeamerfont{framesubtitle}{parent=frametitle,size=\footnotesize} 73 | \setbeamerfont{itemize/enumerate body}{size=\fontsize{16pt}{17.6pt}} 74 | \setbeamerfont{itemize/enumerate subbody}{size=\fontsize{14pt}{15,4pt}} 75 | \setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize} 76 | 77 | % Define font sizes for bibliography 78 | \setbeamerfont{bibliography entry author}{size=\small} 79 | \setbeamerfont{bibliography entry title}{size=\small} 80 | \setbeamerfont{bibliography entry location}{size=\small} 81 | \setbeamerfont{bibliography entry note}{size=\small} 82 | 83 | % Redefine the cover title fonts to be bold 84 | %\setbeamerfont{title}{size=\Large, series=\bfseries} 85 | 86 | % Redefine cover title color 87 | \setbeamercolor{title}{fg=titlecolor} 88 | 89 | % Redefine title color 90 | \setbeamercolor{frametitle}{fg=titlecolor,size=20pt} 91 | 92 | % Uncomment to redefine bullets with round format 93 | %\useinnertheme[shadow]{rounded} 94 | %\setbeamertemplate{blocks}[rounded][shadow=\beamer@themerounded@shadow] 95 | %\setbeamertemplate{items}[ball] 96 | 97 | % Redefine table of content colors 98 | \setbeamercolor{section in toc}{fg=titlecolor} 99 | \setbeamercolor{subsection in toc}{fg=titlecolor!40!black} 100 | 101 | % Redefine bibliography colors 102 | \setbeamercolor{bibliography entry author}{fg=titlecolor!25!black} 103 | \setbeamercolor{bibliography entry title}{fg=titlecolor} 104 | \setbeamercolor{bibliography entry location}{fg=titlecolor!25!black} 105 | 106 | % Redefine bullets color 107 | \setbeamercolor*{item}{fg=bulletscolor} 108 | 109 | % Redefine spacing of left margin of bullets 110 | \setlength{\leftmargini}{1.3em} 111 | \setlength{\leftmarginii}{1em} 112 | \setlength{\leftmarginiii}{1em} 113 | 114 | % Redefine space between of items in 'itemize' enviroment 115 | \newlength{\wideitemsep} 116 | \setlength{\wideitemsep}{\itemsep} 117 | \addtolength{\wideitemsep}{0.25pt} 118 | \let\olditem\item 119 | \renewcommand{\item}{\setlength{\itemsep}{\wideitemsep}\olditem} 120 | 121 | % Redefine space before a nested itemize 122 | \makeatletter 123 | \def\@listii{\leftmargin\leftmarginii 124 | \topsep 0.9ex 125 | \parsep 0\p@ \@plus\p@ 126 | \itemsep \parsep} 127 | \makeatother 128 | 129 | 130 | % Redefine width of text area margins 131 | \setbeamersize{text margin left=1em,text margin right=1em} 132 | 133 | % Define summary items depth 134 | \setcounter{tocdepth}{2} 135 | 136 | % Redefine styles of frames' title 137 | \setbeamertemplate{frametitle} { 138 | \vspace{0.2cm} 139 | \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}% 140 | \begin{beamercolorbox}[]{frametitle} 141 | \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}% 142 | \usebeamerfont{frametitle}{% 143 | \strut\insertframetitle\strut\par% 144 | } 145 | {% 146 | \ifx\insertframesubtitle\@empty% 147 | \else 148 | \usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par 149 | \fi 150 | \vspace{-.9cm}% 151 | { 152 | \textcolor{gray} {\rule[5pt]{\linewidth}{.5pt}\vspace{-8pt}} 153 | } 154 | }% 155 | \vskip-0.5ex% 156 | \if@tempswa\else\vskip-.9cm\fi 157 | \end{beamercolorbox}% 158 | \vspace{0.2cm} 159 | } 160 | 161 | % Removes navigation bar 162 | \beamertemplatenavigationsymbolsempty 163 | 164 | % Redefine footline to show only slide number 165 | \setbeamertemplate{footline}{ 166 | \begin{beamercolorbox}[wd=1\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% 167 | %\hfill 168 | \insertframenumber{} % Only current slide number 169 | %\insertframenumber{} / \inserttotalframenumber % Current slide number and total of slides 170 | \hspace{2ex} 171 | \end{beamercolorbox} 172 | } 173 | --------------------------------------------------------------------------------