├── sjtu.png ├── example.png ├── slides.pdf ├── sjtu-logo.png ├── sjtu-logo-en.png ├── .gitignore ├── README.md ├── LICENSE └── slides.tex /sjtu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SizheWei/SJTU-LaTeX-Template/HEAD/sjtu.png -------------------------------------------------------------------------------- /example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SizheWei/SJTU-LaTeX-Template/HEAD/example.png -------------------------------------------------------------------------------- /slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SizheWei/SJTU-LaTeX-Template/HEAD/slides.pdf -------------------------------------------------------------------------------- /sjtu-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SizheWei/SJTU-LaTeX-Template/HEAD/sjtu-logo.png -------------------------------------------------------------------------------- /sjtu-logo-en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SizheWei/SJTU-LaTeX-Template/HEAD/sjtu-logo-en.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | *.aux 3 | *.fdb_latexmk 4 | *.fls 5 | *.log 6 | *.nav 7 | *.out 8 | *.snm 9 | *.gz 10 | *.toc 11 | 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 交大主题LaTeX幻灯片模版 2 | # SJTU Slides LaTeX Templates 3 | 4 | ## Description 5 | This is a latex template for the convenience of students from Shanghai Jiao Tong University to prepare for their presentation slides. SJTU color themes are added, with support from different layout themes. 6 | 7 | Although it comes with a default setting, it's thoroughly explained in the file how to further customize the template according to your own flavour. 8 | 9 | An example file of how the theme looks like is also attached. Please see below for an example of the title page. 10 | 11 | ![Title Page](/example.png) 12 | 13 | ## Acknowledgement 14 | The code for this project is based on [this person's related work](https://github.com/theflyingwolves). 15 | 16 | Thanks to [Shanghai Jiaotong University Visual Identity System](http://vi.sjtu.edu.cn/) which provided school badge, school logo and color specification. -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Sizhe Wei 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /slides.tex: -------------------------------------------------------------------------------- 1 | % Copyright 2019 by SizheWei . 2 | 3 | \documentclass[xcolor=dvipsnames]{beamer} 4 | % these codes for chinese characters input, if you meet problems with these codes, you can feel free to comment them, or you can try to change your build method to "xelatex" 5 | \documentclass[xcolor=dvipsnames]{beamer} 6 | \usepackage{xeCJK} 7 | 8 | % For convenience, some of the topics are listed here for users to use. 9 | 10 | %\usetheme{AnnArbor} 11 | %\usetheme{Antibes} 12 | %\usetheme{Bergen} 13 | % \usetheme{Berkeley} 14 | %\usetheme{Berlin} 15 | %\usetheme{Boadilla} 16 | % \usetheme{boxes} 17 | \usetheme{CambridgeUS} 18 | %\usetheme{Copenhagen} 19 | %\usetheme{Darmstadt} 20 | % \usetheme{default} 21 | %\usetheme{Frankfurt} 22 | %\usetheme{Goettingen} 23 | %\usetheme{Hannover} 24 | % \usetheme{Ilmenau} 25 | % \usetheme{JuanLesPins} 26 | % \usetheme{Luebeck} 27 | %\usetheme{Madrid} 28 | % \usetheme{Malmoe} 29 | %\usetheme{Marburg} 30 | % \usetheme{Montpellier} 31 | % \usetheme{PaloAlto} 32 | % \usetheme{Pittsburgh} 33 | % \usetheme{Rochester} 34 | % \usetheme{Singapore} 35 | % \usetheme{Szeged} 36 | % \usetheme{Warsaw} 37 | 38 | \definecolor{sjtu-red}{RGB}{184,45,40} 39 | \definecolor{sjtu-white}{RGB}{255,255,255} 40 | \definecolor{sjtu-blue}{RGB}{21,65,146} 41 | \definecolor{sjtu-black}{RGB}{0,0,0} 42 | 43 | % Uncomment the following code to get the color gradient on the slide (Decaying from sjtu-red to sjtu-white). 44 | 45 | % \useoutertheme{shadow} 46 | % \usepackage{tikz} 47 | % \usetikzlibrary{shadings} 48 | % \colorlet{titleleft}{sjtu-red} 49 | % \colorlet{titleright}{sjtu-red!45!sjtu-white} 50 | % \makeatletter 51 | % \pgfdeclarehorizontalshading[titleleft,titleright]{beamer@frametitleshade}{\paperheight}{% 52 | % color(0pt)=(titleleft); 53 | % color(\paperwidth)=(titleright)} 54 | % \makeatother 55 | 56 | % End of gradient slide title effect. 57 | 58 | \setbeamercolor{section in head/foot}{bg=sjtu-blue, fg=sjtu-white} 59 | \setbeamercolor{subsection in head/foot}{bg=sjtu-blue, fg=sjtu-white} 60 | \setbeamercolor{frametitle}{bg=sjtu-red, fg=sjtu-black} 61 | \setbeamercolor{title}{bg=sjtu-red, fg=sjtu-white} 62 | \setbeamercolor{alerted text}{fg=sjtu-red} 63 | \setbeamercolor{block title}{fg=sjtu-blue} 64 | \setbeamercolor{block body}{fg=sjtu-black} 65 | 66 | \setbeamertemplate{theorems}[numbered] 67 | \setbeamertemplate{propositions}[numbered] 68 | 69 | \setbeamertemplate{bibliography item}{\insertbiblabel} 70 | 71 | \setbeamertemplate{title page}[default][colsep=-4bp,rounded=true, shadow=true] 72 | 73 | \title{Title of the presentation} 74 | 75 | \subtitle{Sub-title} 76 | 77 | % You can uncommit one of this code block to change 78 | % from one-author's mode to muli-author's mode which is 79 | % displayed in the title page. 80 | % \author{Authors' name} 81 | % \institute[Shanghai Jiao Tong University] % (optional, but mostly needed) 82 | % { 83 | % School of Electronic Information and Electrical Engineering\\ 84 | % Shanghai Jiao Tong University 85 | % } 86 | 87 | \author[author] 88 | {author1\inst{1} \and author2\inst{2}} 89 | 90 | \institute[SJTU] % (optional) 91 | { 92 | \inst{1}% 93 | Department of Electric Engineering\\ 94 | Shanghai Jiao Tong University 95 | \and 96 | \inst{2} % 97 | Department of Computer Science\\ 98 | Shanghai Jiao Tong University 99 | } 100 | 101 | \titlegraphic{ 102 | % Uncomment the other code line below to change the logo from English version to Chinese. 103 | % \includegraphics[width=4.4cm]{sjtu-logo} 104 | \includegraphics[width=4cm]{sjtu-logo-en} 105 | } 106 | 107 | \date{A Very Large Conference, 23 Jul 2019} 108 | 109 | % Uncomment this, if you want the table of contents to pop up at the beginning of each subsection: 110 | 111 | \AtBeginSubsection[] 112 | { 113 | \begin{frame}{Outline} 114 | \tableofcontents[currentsection,currentsubsection] 115 | \end{frame} 116 | } 117 | 118 | % End of the table-content part 119 | 120 | \begin{document} 121 | 122 | \begin{frame} 123 | \titlepage 124 | \end{frame} 125 | 126 | \logo{\includegraphics[height=1cm]{sjtu.png}} 127 | 128 | \begin{frame}{Outline} 129 | \tableofcontents 130 | \end{frame} 131 | 132 | \section{First Main Section} 133 | 134 | \subsection{First Subsection} 135 | \begin{frame}{First Slide Title}{Optional Subtitle} 136 | \begin{itemize} 137 | \item { 138 | My first point. 139 | } 140 | \item { 141 | My second point. 142 | } 143 | \end{itemize} 144 | \end{frame} 145 | 146 | \subsection{Second Subsection} 147 | % You can reveal the parts of a slide one at a time 148 | % with the \pause command: 149 | \begin{frame}{Second Slide Title} 150 | \begin{itemize} 151 | \item { 152 | First item. 153 | \pause % The slide will pause after showing the first item 154 | There is a later instruction! 155 | \pause 156 | % Have you seen the difference? 157 | % \pause 158 | } 159 | % You can also specify when the content should appear 160 | % by using : 161 | \item<3-> Second item. 162 | \item<4> Third item. This one will disappear soon. 163 | % or you can use the \uncover command to reveal general 164 | % content (not just \items): 165 | \item<5-> { 166 | Fourth item. \uncover<6->{Extra text in the fifth item.} 167 | } 168 | \end{itemize} 169 | \end{frame} 170 | 171 | \section{Second Main Section} 172 | 173 | \subsection{Second Subsection} 174 | \begin{frame}{Main Theorem} 175 | \begin{theorem} 176 | Theorem Statements. Example for citation \cite{Author1990}. 177 | \end{theorem} 178 | 179 | \begin{proof} 180 | Proof of the theorem goes here. 181 | \end{proof} 182 | \end{frame} 183 | 184 | % Placing a * after \section means it will not show in the 185 | % outline or table of contents. 186 | \section*{Summary} 187 | 188 | \begin{frame}{Summary} 189 | \begin{itemize} 190 | \item 191 | The \alert{first main message} of your talk in one or two lines. 192 | \item 193 | The \alert{second main message} of your talk in one or two lines. 194 | \item 195 | Perhaps a \alert{third message}, but not more than that. 196 | \end{itemize} 197 | 198 | \begin{itemize} 199 | \item 200 | Outlook 201 | \begin{itemize} 202 | \item 203 | Something you haven't solved. 204 | \item 205 | Something else you haven't solved. 206 | \end{itemize} 207 | \end{itemize} 208 | \end{frame} 209 | 210 | % Bibliography section. Use \bibitem to add more bibliography items. 211 | \section*{Bibliography} 212 | \begin{frame}{Bibliography} 213 | \begin{thebibliography}{10} 214 | 215 | \bibitem{Author1990} 216 | A.~Author. 217 | \newblock {\em Handbook of Everything}. 218 | \newblock Some Press, 1990. 219 | 220 | \bibitem{Someone2000} 221 | S.~Someone. 222 | \newblock On this and that. 223 | \newblock {\em Journal of This and That}, 2(1):50--100, 224 | 2000. 225 | 226 | \end{thebibliography} 227 | \end{frame} 228 | 229 | \end{document} --------------------------------------------------------------------------------