├── README.md ├── bar169.tex ├── beamerthemeBar169.sty ├── beamerthemeSimple.sty ├── content.tex ├── examples ├── bar169 │ ├── bar169_bluegreen.pdf │ ├── bar169_brown.pdf │ ├── bar169_green.pdf │ └── bar169_red.pdf └── simple │ ├── simple-metropolis.pdf │ ├── simple_math_RGB455698.pdf │ ├── simple_miniframes_bluegreen.pdf │ ├── simple_miniframes_green.pdf │ ├── simple_split_brown.pdf │ ├── simple_tree_bluegreen.pdf │ └── simple_tree_red.pdf ├── global.tex ├── imgs ├── Berlin_beaver.jpg ├── bar169_red.jpg ├── metropolis.jpg ├── miniframes1.PNG ├── miniframes2.PNG ├── pythagorean.jpg ├── sidebar.PNG ├── simple_bluegreen.jpg ├── simple_metropolis.jpg ├── simple_tree_metropolis.jpg ├── split.PNG └── tree.PNG ├── pkgs.tex └── simple.tex /README.md: -------------------------------------------------------------------------------- 1 | # BeamerTheme 2 | 3 | ## Introduction 4 | 5 | The value of this project is as follows 6 | 7 | - A beamer theme focusing on simple color and clear navigation. 8 | - The color and navigation can be changed easily. And I will talk about the tricks to set them up. 9 | - A content tex file to test the beauty of other themes. 10 | 11 | The code has passed with pdflatex and Xelatex. 12 | 13 | ## Demos 14 | 15 | Here, I will show two main kinds of output with different aspect ratio(ratio of width to height). You can change the theme color and the way of navigation conveniently. See more [examples](examples) here. 16 | 17 | ![simple](imgs/simple_bluegreen.jpg) 18 | 19 | [simple source](simple.tex) 20 | 21 | ![sidebar16:9](imgs/bar169_red.jpg) 22 | 23 | [sidebar source](bar169.tex) 24 | 25 | ## Usage 26 | 27 | The main file is `beamerthemeSimple.sty`. Make sure it is in the same folder as your tex file(Or [global path](https://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te/214080)). You can use it just like other themes. 28 | 29 | ```latex 30 | \usetheme{Simple} 31 | ``` 32 | 33 | Here is a complete example to use it. 34 | 35 | ```latex 36 | \documentclass{beamer} 37 | \usepackage[english]{babel} 38 | 39 | % customize your own color and navigation 40 | \usetheme[RGB={12 72 66}]{Simple} % color 41 | \useoutertheme{tree} % navigation 42 | 43 | \author{Your Name} 44 | \title{Your title} 45 | \date{November 29th, 2018} 46 | 47 | \begin{document} 48 | \frame[plain]{\titlepage} 49 | \section{Introduction} 50 | \begin{frame} 51 | \frametitle{Latex and Beamer} 52 | LaTeX is a high-quality typesetting system; 53 | it includes features designed for the production of 54 | technical and scientific documentation. 55 | \end{frame} 56 | \end{document} 57 | ``` 58 | 59 | You can change the color and the way of navigation as you like. I will talk about the two topics in detail. 60 | 61 | ## Color 62 | 63 | There will be only one unified color in the slides with this theme. You can change the overall color by setting RGB. 64 | 65 | ```latex 66 | \usetheme[RGB={12 72 66}]{Simple} 67 | ``` 68 | 69 | Or HEX 70 | 71 | ```latex 72 | \usetheme[HTML=A30000]{Simple} 73 | ``` 74 | 75 | Here are some colors that I like. You can see the output in [examples](examples). 76 | 77 | ``` 78 | HTML=096148 % green 79 | RGB={12 72 66} % bluegreen 80 | HTML=8D742A % brown 81 | RGB={163 0 0} % red 82 | ``` 83 | You can search for beautiful colors [here](http://nipponcolors.com). 84 | 85 | Or just generate three RGB values randomly by heart. You may find the output is surprisingly beautiful if the three value are all below 100. 86 | 87 | ## Navigation 88 | 89 | For a long-time presentation, a suitable navigation is necessary. I selected four ways of navigation with different advantages.(**Focus on the top of each slide next.**) 90 | 91 | ### 1. split 92 | 93 | All sections and subsections for the current section are displayed on the top of each page. It contains a lot of information. But it will become too fat if there are too many sections. Maybe deviding the presentation into several parts with command `\part` will help. 94 | 95 | ![split](imgs/split.PNG) 96 | 97 | Load this navigation by 98 | 99 | ``` 100 | \useoutertheme{split} 101 | ``` 102 | 103 | ### 2. tree 104 | 105 | It is concise for only displaying the current section and subsection. It's recommended when the structure of this presentation is clear itself. 106 | 107 | ![tree](imgs/tree.PNG) 108 | 109 | Load this navigation by 110 | 111 | ``` 112 | \useoutertheme{tree} 113 | ``` 114 | 115 | ### 3. miniframes 116 | 117 | This navigation displays all sections and the current subsection. More importantly, the navigation bullets can show the progress of each subsection. 118 | 119 | ![miniframes1](imgs/miniframes1.PNG) 120 | 121 | Load this navigation by 122 | 123 | ``` 124 | \useoutertheme{miniframes} 125 | ``` 126 | 127 | However, the bullets placed in two lines may confuse those who have never used it. Therefore, I recommend to use this when there are no subsections so that the bullets will be placed in one line. Or you can set to make the navigation bullets only work for section. 128 | 129 | ``` 130 | \documentclass[compress]{beamer} 131 | \useoutertheme[subsection=false]{miniframes} 132 | ``` 133 | 134 | ![miniframes1](imgs/miniframes2.PNG) 135 | 136 | Another point to note is that the outertheme **miniframes and Xelatex are not compatible**. So you need to use pdflatex to achieve this effect. 137 | 138 | ### 4. sidebar 139 | 140 | It will display all sections and subsections on the right bar and contains most information comparing with ways before. But it is not proper if there are too many topics to display. 141 | 142 | ![sidebar](imgs/sidebar.PNG) 143 | 144 | Here is the usage of this theme which is kind of different from before. 145 | 146 | ``` 147 | \documentclass[aspectratio=169]{beamer} 148 | \usepackage[english]{babel} 149 | \usetheme[RGB={12 72 66}]{Bar169} 150 | 151 | \author{Your Name} 152 | \title{Your Title} 153 | \date{November 29th, 2018} 154 | 155 | \begin{document} 156 | \frame[plain]{\titlepage} 157 | \section{Introduction} 158 | 159 | \begin{frame} 160 | \frametitle{Latex and Beamer} 161 | LaTeX is a high-quality typesetting system; 162 | it includes features designed for the production of 163 | technical and scientific documentation. 164 | \end{frame} 165 | \end{document} 166 | ``` 167 | 168 | Several points to pay attention to 169 | 170 | - Specify the ratio at the beginning `aspectratio=169`. 171 | - Use theme `Bar169` rather than `Simple`. 172 | - Don't need to specify the outertheme. 173 | 174 | Other things are the same. You can change the color in the same way. 175 | 176 | ## Test other themes 177 | 178 | The `content.tex` contents many elements and enough sections to test what a theme looks like. 179 | 180 | ### Built-in themes 181 | 182 | Build a `test.tex` file in this folder and fill in the code below. 183 | ``` 184 | \documentclass{beamer} 185 | \usetheme{Berlin} 186 | \usecolortheme{beaver} 187 | \input{pkgs.tex} 188 | \author{Your Name} 189 | \title{Beamer Theme} 190 | 191 | \begin{document} 192 | \input{content.tex} 193 | \end{document} 194 | ``` 195 | You will get 196 | 197 | ![Berlin-beaver](imgs/Berlin_beaver.jpg) 198 | 199 | ### Download themes 200 | 201 | For example, we test [this theme](https://github.com/matze/mtheme) 202 | 203 | ``` 204 | \documentclass{beamer} 205 | \usetheme{metropolis} 206 | \input{pkgs.tex} 207 | \author{Your Name} 208 | \title{Beamer Theme} 209 | 210 | \begin{document} 211 | \input{content.tex} 212 | \end{document} 213 | ``` 214 | 215 | You will get 216 | 217 | ![metropolis](imgs/metropolis.jpg) 218 | 219 | I have to say that it is quite beautiful! But without navigation, it may be more appropriate to be used when having a short presentation. 220 | 221 | However, you can achieve most of this effect by changing my 'simple' theme. 222 | 223 | ![simple-metropolis](imgs/simple_metropolis.jpg) 224 | 225 | ------------------ 226 | 227 | **Besides, it is more flexible to add the navigation.** 228 | 229 | ![simple-tree-metropolis](imgs/simple_tree_metropolis.jpg) -------------------------------------------------------------------------------- /bar169.tex: -------------------------------------------------------------------------------- 1 | \documentclass[aspectratio=169]{beamer} 2 | \input{pkgs.tex} 3 | \input{global.tex} 4 | \usetheme{Bar169} 5 | 6 | \begin{document} 7 | \input{content.tex} 8 | \end{document} -------------------------------------------------------------------------------- /beamerthemeBar169.sty: -------------------------------------------------------------------------------- 1 | % Copyright 2018 by Zhibo Wang 2 | % 3 | % This file may be distributed and/or modified 4 | % under the LaTeX Project Public License 5 | 6 | 7 | \definecolor{beamer@simple@color}{RGB}{163 0 0} % bluegreen 8 | \DeclareOptionBeamer{gray}{\definecolor{beamer@simple@color}{gray}{#1}} 9 | \DeclareOptionBeamer{rgb}{\definecolor{beamer@simple@color}{rgb}{#1}} 10 | \DeclareOptionBeamer{RGB}[{12 72 0}]{\definecolor{beamer@simple@color}{RGB}{#1}} 11 | \DeclareOptionBeamer{HTML}{\definecolor{beamer@simple@color}{HTML}{#1}} 12 | \DeclareOptionBeamer{cmyk}{\definecolor{beamer@simple@color}{cmyk}{#1}} 13 | \DeclareOptionBeamer{cmy}{\definecolor{beamer@simple@color}{cmy}{#1}} 14 | \DeclareOptionBeamer{named}{\definecolor{beamer@simple@color}{named}{#1}} 15 | \DeclareOptionBeamer{hsb}{\definecolor{beamer@simple@color}{hsb}{#1}} 16 | \ProcessOptionsBeamer 17 | 18 | % sidebar 19 | % on the right 20 | \useoutertheme[width=5\baselineskip,right]{sidebar} 21 | % delete title and author 22 | % \makeatletter 23 | \setbeamertemplate{sidebar right}{\insertverticalnavigation{\beamer@sidebarwidth}} 24 | % \makeatother 25 | % fontsize 26 | \setbeamerfont{section in sidebar}{size=\scriptsize} 27 | \setbeamerfont{subsection in sidebar}{size=\scriptsize} 28 | % margin 29 | \setbeamersize{sidebar width right=3cm} 30 | \setbeamersize{sidebar width left=2cm} 31 | 32 | 33 | 34 | % footline 35 | % delete navigation below 36 | \setbeamertemplate{navigation symbols}{} 37 | % define footline 38 | % \makeatother 39 | \setbeamertemplate{footline} 40 | { 41 | \leavevmode% 42 | \hbox{% 43 | \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% 44 | \usebeamerfont{author in head/foot}\insertshortauthor 45 | \end{beamercolorbox} 46 | 47 | \begin{beamercolorbox}[wd=.6\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% 48 | \usebeamerfont{title in head/foot}\insertshorttitle\hspace*{13em} 49 | \insertframenumber{} / \inserttotalframenumber\hspace*{0ex} 50 | \end{beamercolorbox}} 51 | 52 | \vskip0pt% 53 | } 54 | % \makeatletter 55 | % footline color 56 | \setbeamercolor{author in head/foot}{fg=black, bg=mygrey!5!white} 57 | \setbeamercolor{title in head/foot}{fg=black, bg=mygrey!5!white} 58 | 59 | % item settings 60 | \setbeamertemplate{itemize item}{$\color{beamer@simple@color}\bullet$} 61 | \setbeamertemplate{itemize subitem}{$\color{beamer@simple@color}\bullet$} 62 | \setbeamertemplate{enumerate items}[square] 63 | \setbeamertemplate{section in toc}[sections numbered] 64 | \setbeamertemplate{subsection in toc}[square] 65 | 66 | 67 | % color definition 68 | \definecolor{mygrey}{rgb}{0.52, 0.52, 0.51} 69 | 70 | \setbeamercolor{structure}{fg=beamer@simple@color, bg=mygrey!10!white} 71 | \setbeamercolor{frametitle}{fg=beamer@simple@color, bg=white} 72 | \setbeamercolor{block title}{bg=mygrey!14!white} 73 | \setbeamercolor{block body}{fg=black,bg=mygrey!10!white} 74 | \setbeamercolor{block body alerted}{bg=white} 75 | \setbeamercolor{block title alerted}{fg=beamer@simple@color,bg=white} 76 | \setbeamerfont{block title alerted}{series=\mdseries} 77 | \setbeamercolor{alerted text}{fg=beamer@simple@color} 78 | \setbeamerfont{alerted text}{series=\bfseries} 79 | \hypersetup{colorlinks,linkcolor=,urlcolor=beamer@simple@color!80!white} 80 | \usefonttheme[onlymath]{serif} -------------------------------------------------------------------------------- /beamerthemeSimple.sty: -------------------------------------------------------------------------------- 1 | % Copyright 2018 by Zhibo Wang 2 | % 3 | % This file may be distributed and/or modified 4 | % under the LaTeX Project Public License 5 | 6 | 7 | \definecolor{beamer@simple@color}{RGB}{12 72 66} % bluegreen 8 | \DeclareOptionBeamer{gray}{\definecolor{beamer@simple@color}{gray}{#1}} 9 | \DeclareOptionBeamer{rgb}{\definecolor{beamer@simple@color}{rgb}{#1}} 10 | \DeclareOptionBeamer{RGB}[{12 72 0}]{\definecolor{beamer@simple@color}{RGB}{#1}} 11 | \DeclareOptionBeamer{HTML}{\definecolor{beamer@simple@color}{HTML}{#1}} 12 | \DeclareOptionBeamer{cmyk}{\definecolor{beamer@simple@color}{cmyk}{#1}} 13 | \DeclareOptionBeamer{cmy}{\definecolor{beamer@simple@color}{cmy}{#1}} 14 | \DeclareOptionBeamer{named}{\definecolor{beamer@simple@color}{named}{#1}} 15 | \DeclareOptionBeamer{hsb}{\definecolor{beamer@simple@color}{hsb}{#1}} 16 | \ProcessOptionsBeamer 17 | 18 | % footline 19 | % delete navigation below 20 | \setbeamertemplate{navigation symbols}{} 21 | % define footline 22 | % \makeatother 23 | \setbeamertemplate{footline} 24 | { 25 | \leavevmode% 26 | \hbox{% 27 | \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% 28 | \usebeamerfont{author in head/foot}\insertshortauthor 29 | \end{beamercolorbox} 30 | 31 | \begin{beamercolorbox}[wd=.6\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% 32 | \usebeamerfont{title in head/foot}\insertshorttitle\hspace*{13em} 33 | \insertframenumber{} / \inserttotalframenumber\hspace*{0ex} 34 | \end{beamercolorbox}} 35 | 36 | \vskip0pt% 37 | } 38 | % \makeatletter 39 | % footline color 40 | \setbeamercolor{author in head/foot}{fg=black, bg=mygrey!5!white} 41 | \setbeamercolor{title in head/foot}{fg=black, bg=mygrey!5!white} 42 | 43 | % item settings 44 | \setbeamertemplate{itemize item}{$\color{beamer@simple@color}\bullet$} 45 | \setbeamertemplate{itemize subitem}{$\color{beamer@simple@color}\bullet$} 46 | \setbeamertemplate{enumerate items}[square] 47 | \setbeamertemplate{section in toc}[sections numbered] 48 | \setbeamertemplate{subsection in toc}[square] 49 | 50 | 51 | 52 | % color definition 53 | \definecolor{mygrey}{rgb}{0.52, 0.52, 0.51} 54 | 55 | \setbeamercolor{structure}{fg=beamer@simple@color, bg=mygrey!10!white} 56 | \setbeamercolor{frametitle}{fg=beamer@simple@color, bg=white} 57 | \setbeamercolor{block title}{bg=mygrey!14!white} 58 | \setbeamercolor{block body}{fg=black,bg=mygrey!10!white} 59 | \setbeamercolor{block body alerted}{bg=white} 60 | \setbeamercolor{block title alerted}{fg=beamer@simple@color,bg=white} 61 | \setbeamercolor{alerted text}{fg=beamer@simple@color} 62 | \setbeamerfont{block title alerted}{series=\mdseries} 63 | \setbeamerfont{alerted text}{series=\bfseries} 64 | \hypersetup{colorlinks,linkcolor=,urlcolor=beamer@simple@color!80!white} 65 | \usefonttheme[onlymath]{serif} 66 | % \setbeamerfont{frametitle}{series=\bfseries} 67 | % \setbeamerfont{block title}{series=\bfseries} 68 | % \setbeamerfont{title}{series=\bfseries} 69 | % \setbeamertemplate{frametitle}{\insertframetitle\par\vskip-8pt\hrulefill} % add line under frametitle 70 | 71 | % % metropolis 72 | % % \definecolor{beamer@simple@color}{RGB}{35 54 58} 73 | % % no outer theme 74 | % \setbeamerfont{frametitle}{series=\bfseries} 75 | % \setbeamercolor{frametitle}{fg=white, bg=beamer@simple@color} 76 | % \setbeamerfont{block title}{series=\bfseries} 77 | % \setbeamerfont{block title alerted}{series=\bfseries} 78 | % \definecolor{alertcol}{RGB}{232 133 52} 79 | % \setbeamercolor{block title alerted}{fg=alertcol,bg=white} 80 | % \setbeamerfont{alerted text}{series=\mdseries} 81 | % \setbeamercolor{alerted text}{fg=alertcol} 82 | % \setbeamercolor{block title}{bg=mygrey!25!white} 83 | % \setbeamercolor{block body}{fg=black,bg=mygrey!13!white} 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /content.tex: -------------------------------------------------------------------------------- 1 | \frame[plain]{\titlepage} 2 | \frame{\frametitle{Outline}\tableofcontents} 3 | 4 | \section{Introduction} 5 | 6 | \begin{frame} 7 | \frametitle{Latex and Beamer} 8 | 9 | LaTeX is a high-quality typesetting system; 10 | it includes features designed for the production of 11 | technical and scientific documentation. 12 | 13 | \vspace{0.4cm} 14 | 15 | \pause 16 | 17 | Beamer is a LaTeX class to create powerful, 18 | flexible and nice-looking presentations and slides. 19 | 20 | The beamer class is focussed on producing (on-screen) presentations, 21 | along with support material such as handouts and speaker notes. 22 | 23 | \end{frame} 24 | 25 | \section{Beamer Basic} 26 | \subsection{Hightlight} 27 | 28 | \begin{frame} 29 | \frametitle{Block and Alert} 30 | 31 | \begin{block}{Pythagorean theorem} 32 | \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0.6pt} 33 | $$a^2 + b^2 = c^2$$ 34 | % \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0.1pt} 35 | where c represents the length of the hypotenuse and 36 | a and b the lengths of the triangle's other two sides. 37 | \end{block} 38 | 39 | \begin{alertblock}{Remark} 40 | \begin{itemize} 41 | \item the environment above is \alert{block} 42 | \item the environment here is \alert{alertblock} 43 | \end{itemize} 44 | \end{alertblock} 45 | 46 | \end{frame} 47 | 48 | \begin{frame} 49 | \frametitle{Proof} 50 | 51 | \begin{block}{Pythagorean theorem} 52 | \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0.1pt} 53 | $$a^2 + b^2 = c^2$$ 54 | % \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0.2pt} 55 | \end{block} 56 | 57 | \vspace{0.4cm} 58 | 59 | \begin{proof} 60 | \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0pt} 61 | \begin{align*} 62 | &3^2 + 4^2 = 5^2\\ 63 | &5^2 + 12^2 = 13^2 64 | \end{align*} 65 | % \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0pt} 66 | \end{proof} 67 | \end{frame} 68 | 69 | \subsection{Other Environments} 70 | 71 | \begin{frame}{Algorithm} 72 | \scriptsize 73 | \begin{algorithm}[H] 74 | \KwData{this text} 75 | \KwResult{how to write algorithm with \LaTeX2e } 76 | initialization\; 77 | \While{not at end of this document}{ 78 | read current\; 79 | \eIf{understand}{ 80 | go to next section\; 81 | current section becomes this one\; 82 | }{ 83 | go back to the beginning of current section\; 84 | } 85 | } 86 | \caption{How to write algorithms 87 | (copied from \href{https://en.wikibooks.org/wiki/LaTeX/Algorithms}{here})} 88 | \end{algorithm} 89 | \end{frame} 90 | 91 | \begin{frame}[fragile] 92 | \frametitle{An Algorithm For Finding Primes Numbers.} 93 | \scriptsize 94 | \begin{verbatim} 95 | int main (void) 96 | { 97 | std::vector is_prime (100, true); 98 | for (int i = 2; i < 100; i++) 99 | if (is_prime[i]) 100 | { 101 | std::cout << i << " "; 102 | for (int j = i; j < 100; is_prime [j] = false, j+=i); 103 | } 104 | return 0; 105 | } 106 | \end{verbatim} 107 | 108 | \vspace{-0.7cm} 109 | 110 | \begin{uncoverenv} 111 | Note the use of \verb|\alert|. 112 | \end{uncoverenv} 113 | \end{frame} 114 | 115 | \begin{frame}{More} 116 | More environments such as 117 | 118 | \begin{itemize} 119 | \item Definition 120 | \item lemma 121 | \item corollary 122 | \item example 123 | \end{itemize} 124 | \end{frame} 125 | 126 | \section{Beamer More} 127 | 128 | \subsection{Split Screen} 129 | 130 | \begin{frame}{Minipage} 131 | \begin{minipage}{0.5\linewidth} 132 | \begin{figure}[h] 133 | \includegraphics[width=\textwidth]{imgs/pythagorean.jpg} 134 | \end{figure} 135 | \end{minipage}% 136 | \hfill 137 | \begin{minipage}{0.4\linewidth} 138 | \begin{enumerate} 139 | \item item 140 | \item another 141 | \item more 142 | \begin{itemize} 143 | \item first 144 | \item second 145 | \item third 146 | \end{itemize} 147 | \end{enumerate} 148 | \end{minipage} 149 | \end{frame} 150 | 151 | \begin{frame}{Columns} 152 | \begin{columns} 153 | \column{0.5\textwidth} 154 | This is a text in first column. 155 | $$E=mc^2$$ 156 | \begin{itemize} 157 | \item First item 158 | \item Second item 159 | \end{itemize} 160 | 161 | \column{0.5\textwidth} 162 | \begin{block}{first block} 163 | columns achieves splitting the screen 164 | \end{block} 165 | \begin{block}{second block} 166 | stack block in columns 167 | \end{block} 168 | 169 | \end{columns} 170 | \end{frame} 171 | 172 | \subsection{Table} 173 | 174 | \begin{frame}{Create Tables} 175 | \begin{center} 176 | \begin{table}[!t] 177 | % \caption{Three line} 178 | % \label{table_time} 179 | \begin{tabular}{ccc} 180 | \toprule 181 | first&second&third\\ 182 | \midrule 183 | 1 & 2 & 3 \\ 184 | 4 & 5 & 6 \\ 185 | 7 & 8 & 9 \\ 186 | \bottomrule 187 | \end{tabular} 188 | \end{table} 189 | \end{center} 190 | \end{frame} 191 | 192 | \subsection{Math} 193 | 194 | \begin{frame}{Equation1} 195 | A matrix in text must be set smaller: 196 | $\bigl(\begin{smallmatrix} 197 | a&b \\ c&d 198 | \end{smallmatrix} \bigr)$ 199 | to not increase leading in a portion of text. 200 | 201 | \[ f(n) = 202 | \begin{cases} 203 | n/2 & \quad \text{if } n \text{ is even}\\ 204 | -(n+1)/2 & \quad \text{if } n \text{ is odd} 205 | \end{cases} 206 | \] 207 | 208 | $$50 apples \times 100 apples = lots of apples^2$$ 209 | \end{frame} 210 | 211 | \begin{frame}{Equation2} 212 | $$\sum_{\substack{04\right)$$ 216 | 217 | $$( a ), [ b ], \{ c \}, | d |, \| e \|, 218 | \langle f \rangle, \lfloor g \rfloor, 219 | \lceil h \rceil, \ulcorner i \urcorner$$ 220 | \end{frame} 221 | 222 | \begin{frame}{Equation3} 223 | $$Q(\alpha)=\alpha_i\alpha_jy_iy_j(x_i\cdot x_j)$$ 224 | 225 | $$Q(\alpha)=\alpha^i\alpha^jy^{(i)}y^{(j)}(x^i\cdot x^j)$$ 226 | 227 | $$\Gamma=\beta+\alpha+\gamma+\rho$$ 228 | \end{frame} 229 | 230 | 231 | 232 | \section{Conclusion} 233 | 234 | \begin{frame}{End} 235 | The last page. 236 | \end{frame} -------------------------------------------------------------------------------- /examples/bar169/bar169_bluegreen.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/bar169/bar169_bluegreen.pdf -------------------------------------------------------------------------------- /examples/bar169/bar169_brown.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/bar169/bar169_brown.pdf -------------------------------------------------------------------------------- /examples/bar169/bar169_green.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/bar169/bar169_green.pdf -------------------------------------------------------------------------------- /examples/bar169/bar169_red.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/bar169/bar169_red.pdf -------------------------------------------------------------------------------- /examples/simple/simple-metropolis.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple-metropolis.pdf -------------------------------------------------------------------------------- /examples/simple/simple_math_RGB455698.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple_math_RGB455698.pdf -------------------------------------------------------------------------------- /examples/simple/simple_miniframes_bluegreen.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple_miniframes_bluegreen.pdf -------------------------------------------------------------------------------- /examples/simple/simple_miniframes_green.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple_miniframes_green.pdf -------------------------------------------------------------------------------- /examples/simple/simple_split_brown.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple_split_brown.pdf -------------------------------------------------------------------------------- /examples/simple/simple_tree_bluegreen.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple_tree_bluegreen.pdf -------------------------------------------------------------------------------- /examples/simple/simple_tree_red.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/examples/simple/simple_tree_red.pdf -------------------------------------------------------------------------------- /global.tex: -------------------------------------------------------------------------------- 1 | \author{Zhibo Wang} 2 | \title{Beamer Theme} 3 | \date{November 26th, 2018} 4 | 5 | \AtBeginSection[]{ 6 | \frame{\frametitle{Outline}\tableofcontents[currentsection, 7 | subsectionstyle=show/show/shaded]} 8 | } -------------------------------------------------------------------------------- /imgs/Berlin_beaver.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/Berlin_beaver.jpg -------------------------------------------------------------------------------- /imgs/bar169_red.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/bar169_red.jpg -------------------------------------------------------------------------------- /imgs/metropolis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/metropolis.jpg -------------------------------------------------------------------------------- /imgs/miniframes1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/miniframes1.PNG -------------------------------------------------------------------------------- /imgs/miniframes2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/miniframes2.PNG -------------------------------------------------------------------------------- /imgs/pythagorean.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/pythagorean.jpg -------------------------------------------------------------------------------- /imgs/sidebar.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/sidebar.PNG -------------------------------------------------------------------------------- /imgs/simple_bluegreen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/simple_bluegreen.jpg -------------------------------------------------------------------------------- /imgs/simple_metropolis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/simple_metropolis.jpg -------------------------------------------------------------------------------- /imgs/simple_tree_metropolis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/simple_tree_metropolis.jpg -------------------------------------------------------------------------------- /imgs/split.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/split.PNG -------------------------------------------------------------------------------- /imgs/tree.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zbowang/BeamerTheme/989d7110e136210b2488b8871b35979f441209a1/imgs/tree.PNG -------------------------------------------------------------------------------- /pkgs.tex: -------------------------------------------------------------------------------- 1 | \usepackage[english]{babel} 2 | \usepackage{fancyhdr} % header footer 3 | \usepackage{graphicx} % figure 4 | \usepackage{algorithm2e} 5 | \usepackage{booktabs} 6 | \usepackage{xcolor} 7 | \usepackage{bookmark} 8 | -------------------------------------------------------------------------------- /simple.tex: -------------------------------------------------------------------------------- 1 | \documentclass{beamer} 2 | \input{pkgs.tex} 3 | \input{global.tex} 4 | 5 | \usetheme{Simple} 6 | \useoutertheme{tree} 7 | 8 | \begin{document} 9 | \input{content.tex} 10 | \end{document} --------------------------------------------------------------------------------