├── movie.mp4 ├── logo_hbrs.png ├── presentation.pdf ├── README.txt ├── beamertheme_hbrs_v1.sty ├── presentation.tex └── LICENSE /movie.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/karlkirschner/latex_presentation_hbrs/main/movie.mp4 -------------------------------------------------------------------------------- /logo_hbrs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/karlkirschner/latex_presentation_hbrs/main/logo_hbrs.png -------------------------------------------------------------------------------- /presentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/karlkirschner/latex_presentation_hbrs/main/presentation.pdf -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | Example template for creating slides using Latex and its beamer class. 2 | 3 | Color scheme and logo is for the 4 | 5 | University of Applied Sciences Bonn-Rhein-Sieg 6 | Grantham-Allee 20 7 | 53757 Sankt Augustin 8 | Germany 9 | 10 | Content: 11 | 1. presentation.tex - Latex file for creating slides 12 | 2. beamertheme_hbrs_v1.sty - style file for defining slide format 13 | 3. logo_hbrs.png - example image file 14 | 4. movie.mp4 - a small movie file 15 | 16 | Note: all files need to be within the same directory to compile. 17 | 18 | Suggestions / Comments: 19 | karl.kirschner @ h-brs.de 20 | -------------------------------------------------------------------------------- /beamertheme_hbrs_v1.sty: -------------------------------------------------------------------------------- 1 | \setbeamersize{text margin left=1em, text margin right=1em} 2 | 3 | \useoutertheme{infolines} 4 | \useinnertheme{rectangles} 5 | \usefonttheme{professionalfonts} 6 | 7 | %\setbeamercolor{mini frame}{bg=black,,fg=red,parent=section in head/foot} 8 | 9 | \setbeamercolor{title}{parent=normal text} 10 | \setbeamercolor{block title}{use=structure,fg=black,bg=structure.fg!20!bg} 11 | \setbeamercolor{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg} 12 | \setbeamercolor{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg} 13 | \setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg} 14 | \setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!50!bg} 15 | \setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg} 16 | 17 | \setbeamercolor{navigation symbols dimmed}{fg=red!80!black} 18 | \setbeamercolor{navigation symbols}{fg=red!80!black} 19 | 20 | \definecolor{HBRS}{RGB}{0,157,224} 21 | \definecolor{grey}{RGB}{105,105,105} 22 | \definecolor{silver}{cmyk}{0.4,0.27,0.27,0} 23 | \newcommand{\optionalcolor}{white} 24 | 25 | %% Citing Sources - allows you to \credit{several lines of Latex code} 26 | \newcommand{\credit}[1]{{\leavevmode\color{grey}\scriptsize #1}} 27 | 28 | %% Top Line 29 | \newbox\myline 30 | \setbox\myline=\hbox{\textcolor{HBRS}{\hskip7.2mm\rule{123mm}{2.0pt}}} 31 | \wd\myline=0pt 32 | 33 | %% Bottom Line 34 | \newbox\mythickline 35 | \setbox\mythickline=\hbox{\textcolor{HBRS}{\hskip2.5mm\rule{123mm}{2.0pt}}} 36 | \wd\mythickline=0pt 37 | 38 | %% Itemize 39 | \newcommand{\bwn}[1]{\scalebox{0.75}{\colorbox{HBRS}{\textcolor{white}{#1}}}} 40 | \newcommand{\bwns}[1]{\scalebox{0.75}{\colorbox{silver}{\textcolor{white}{#1}}}} 41 | \setbeamercolor{itemize item}{fg=HBRS,bg=white} 42 | \setbeamercolor{itemize subitem}{fg=silver,bg=white} 43 | \setbeamercolor{itemize subsubitem}{fg=silver,bg=white} 44 | 45 | %% Enumerate 46 | \setbeamercolor{enumerate items}{fg=HBRS,bg=white} 47 | \setbeamercolor{enumerate item}{fg=HBRS,bg=white} 48 | \setbeamertemplate{enumerate item}{\bwn{\insertenumlabel}}% 49 | \setbeamertemplate{enumerate subitem}{\bwns{\insertsubenumlabel}}% 50 | \setbeamertemplate{enumerate subsubitem}{\bwns{\insertsubsubenumlabel}}% 51 | 52 | \setbeamercolor{description item}{fg=HBRS,bg=white} 53 | 54 | \newbox\logo 55 | \newbox\bottomlogo 56 | \setbox\bottomlogo=\hbox{\includegraphics[width=27mm]{logo_hbrs.png}} 57 | 58 | \setbeamertemplate{frametitle} 59 | {% 60 | \Large \textcolor{black}{\insertframetitle} 61 | \hfill 62 | \hspace{0cm}\mbox{}\\[-2mm]% 63 | \mbox{}\hspace{-1cm} 64 | \usebox\myline 65 | } 66 | 67 | %% Navigation bar at top 68 | \setbeamercolor{navigationbar}{bg=black,fg=white} 69 | \setbeamercolor{navigationbar}{bg=HBRS,fg=white} 70 | \setbeamertemplate{headline} 71 | 72 | \setbeamertemplate{footline} 73 | {% 74 | \newbox{\obox} 75 | \setbox\obox=\hbox{\textcolor{\optionalcolor}{\raisebox{1pt}{\ o}}} 76 | \wd\obox=0pt 77 | \dp\obox=0pt 78 | \ht\obox=0pt 79 | \usebox\obox 80 | \renewcommand{\optionalcolor}{white} 81 | \begin{beamercolorbox}{black} 82 | \noindent\usebox\mythickline 83 | \vskip5pt 84 | \hspace{2.3mm} 85 | \parbox{2.9cm}{%[t] 86 | %\includegraphics[width=20mm]{logo_hbrs.pdf} 87 | } 88 | %\insertframenumber /\inserttotalframenumber 89 | \hfill 90 | \mytitlefoot 91 | \hfill 92 | \parbox{2.9cm}{%[t] 93 | \usebox\bottomlogo 94 | } 95 | \hspace{3pt}\mbox{} 96 | \vskip5pt 97 | \end{beamercolorbox}% 98 | } 99 | \setbeamertemplate{navigation symbols}{} 100 | -------------------------------------------------------------------------------- /presentation.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt,vertical]{beamer} 2 | \usepackage[utf8]{inputenc} 3 | \usepackage[english]{babel} 4 | \usepackage{balance} 5 | \usepackage{microtype} 6 | \usepackage{booktabs, threeparttable} 7 | \usepackage{color} 8 | \usepackage{multimedia} 9 | 10 | \usetheme{_hbrs_v1} %% read beamertheme_hbrs_v1.sty 11 | 12 | \newcommand{\mytitlefoot}{\footnotesize Presentation Title} 13 | \title{ \textcolor{HBRS}{\Huge\textbf{Title of Your\\ \vspace{1cm} Presentation}} } 14 | 15 | \author{YOUR NAME} 16 | \date{Date} 17 | 18 | \begin{document} 19 | 20 | \frame{\titlepage} 21 | 22 | \begin{frame}{\small \textbf{SLIDE 1}} 23 | 24 | \begin{itemize} 25 | \item \Huge $\backslash$Huge 26 | \item \huge $\backslash$huge 27 | \item \LARGE $\backslash$LARGE 28 | \item \Large $\backslash$Large 29 | \item \large $\backslash$large 30 | \item \normalsize $\backslash$normalsize 31 | \item \small $\backslash$small 32 | \item \footnotesize $\backslash$footnotesize 33 | \item \scriptsize $\backslash$scriptsize 34 | \item \tiny $\backslash$tiny 35 | \end{itemize} 36 | 37 | \end{frame} 38 | 39 | 40 | \begin{frame}{\small \textbf{SLIDE 2}} 41 | \centering 42 | 43 | Customized horizontal lines (from beamertheme\_hbrs\_v1.sty): 44 | \lhline 45 | \mhline 46 | \shline 47 | 48 | \vfill 49 | 50 | The following is for vertical alignment of two images: 51 | \lhline 52 | \includegraphics[valign=m, width=3.0cm]{logo_hbrs}\hspace{1cm} 53 | \includegraphics[valign=m, width=5.0cm]{logo_hbrs} 54 | %% Altnerative approach: 55 | % $\vcenter{\hbox{\includegraphics[height=0.7cm]{logo_hbrs}}}$\hspace{1cm} 56 | % $\vcenter{\hbox{\includegraphics[height=1.2cm]{logo_hbrs}}}$ 57 | \lhline 58 | 59 | \vfill 60 | \includegraphics[width=0.5\textwidth]{logo_hbrs} 61 | \end{frame} 62 | 63 | \begin{frame}[fragile]{\small \textbf{Example - Docker (one possible approach)}} 64 | \small 65 | 66 | \vfill 67 | Example of a \textbf{\textcolor{HBRS}{environment.yml}} adding code to your presentation. 68 | %\tiny 69 | \begin{lstlisting} 70 | name: compchem_students 71 | channels: 72 | - defaults 73 | dependencies: 74 | - ipykernel 75 | - <@\textcolor{red}{matplotlib}@> 76 | - <@\textcolor{red}{openmm}@> 77 | # - <@\textcolor{red}{ambertools}@> 78 | # - pip 79 | prefix: /mnt/sdc1/miniconda3/envs/compchem_students 80 | \end{lstlisting} 81 | \end{frame} 82 | 83 | \begin{frame}{\small \textbf{SLIDE 3}} 84 | \transfade 85 | \small 86 | \begin{columns} 87 | 88 | \begin{column}[t]{0.4\textwidth} 89 | \begin{itemize} 90 | \item Test 1 91 | \item Test 2 92 | \item Test 3 93 | \item Test 4 94 | \end{itemize} 95 | \end{column} 96 | 97 | \begin{column}[t]{0.4\textwidth} 98 | \begin{enumerate} 99 | \item \textcolor{red}{Example 1} 100 | \item \textcolor{HBRS}{Example 2} 101 | \item \textcolor{orange}{Example 3} 102 | \item Example 4 103 | \end{enumerate} 104 | \end{column} 105 | 106 | \end{columns} 107 | \vfill 108 | \lhline 109 | \LARGE 110 | TEXT 111 | \vfill 112 | 113 | \credit{Source:\\ 114 | a) something} 115 | 116 | \end{frame} 117 | 118 | \begin{frame}{\small \textbf{Example - Student Install of a VM Image}} 119 | \center 120 | The following may not appear in TexMaker, but it should show up when the presentation PDF is opened using a PDF viewer (e.g. okular): 121 | \vfill 122 | \movie[width=8.5cm, height=5.0cm, poster, showcontrols=true]{}{movie_example.mp4} 123 | \end{frame} 124 | 125 | \begin{frame}{\small \textbf{SLIDE 4}} 126 | \transfade 127 | A slide that includes a transion to it. 128 | 129 | And includes an MP4 movie (requires \textcolor{HBRS}{multimedia} package) 130 | 131 | \bigskip 132 | \centering 133 | \movie[width=3.5cm, height=3.3cm, poster, showcontrols=true]{}{./movie.mp4} 134 | 135 | \end{frame} 136 | 137 | 138 | %% slide transitions (added after \begin{frame} line - see example above) 139 | %% Infor and source: https://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf 140 | 141 | % \transblindshorizontal : Show the slide as if horizontal blinds were pulled away. 142 | % \transblindsvertical : Show the slide as if vertical blinds were pulled away. 143 | % \transboxin : Show the slide by moving to the center from all four sides. 144 | % \transboxout : Show the slide by showing more and more of a rectangular area that is centered on the slide center 145 | % \transcover : Show the slide by covering the content that was shown before 146 | % \transdissolve : Slowly dissolve what was shown before 147 | % \transfade : Show the slide by slowly fading what was shown before. 148 | % \transfly : Show the slide by letting the new content fly in before removing the old slide. 149 | % \transglitter : Glitter sweeps in specified direction 150 | % \transpush : Show the slide by pushing what was shown before off the screen using the new content. 151 | % \transreplace : Replace the previous slide directly (default behaviour). 152 | % \transsplitverticalin : Show the slide by sweeping two vertical lines from the sides inward. 153 | % \transsplitverticalout : Show the slide by sweeping two vertical lines from the center outward. 154 | % \transsplithorizontalin : Show the slide by sweeping two horizontal lines from the sides inward. 155 | % \transsplithorizontalout : Show the slide by sweeping two horizontal lines from the center outward. 156 | % \transwipe : Sweeps single line in specified direction 157 | % \transduration{2} : Show slide specified number of seconds 158 | 159 | \end{document} -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Legal Code 2 | 3 | CC0 1.0 Universal 4 | 5 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE 6 | LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN 7 | ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 8 | INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES 9 | REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS 10 | PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 11 | THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED 12 | HEREUNDER. 13 | 14 | Statement of Purpose 15 | 16 | The laws of most jurisdictions throughout the world automatically confer 17 | exclusive Copyright and Related Rights (defined below) upon the creator 18 | and subsequent owner(s) (each and all, an "owner") of an original work of 19 | authorship and/or a database (each, a "Work"). 20 | 21 | Certain owners wish to permanently relinquish those rights to a Work for 22 | the purpose of contributing to a commons of creative, cultural and 23 | scientific works ("Commons") that the public can reliably and without fear 24 | of later claims of infringement build upon, modify, incorporate in other 25 | works, reuse and redistribute as freely as possible in any form whatsoever 26 | and for any purposes, including without limitation commercial purposes. 27 | These owners may contribute to the Commons to promote the ideal of a free 28 | culture and the further production of creative, cultural and scientific 29 | works, or to gain reputation or greater distribution for their Work in 30 | part through the use and efforts of others. 31 | 32 | For these and/or other purposes and motivations, and without any 33 | expectation of additional consideration or compensation, the person 34 | associating CC0 with a Work (the "Affirmer"), to the extent that he or she 35 | is an owner of Copyright and Related Rights in the Work, voluntarily 36 | elects to apply CC0 to the Work and publicly distribute the Work under its 37 | terms, with knowledge of his or her Copyright and Related Rights in the 38 | Work and the meaning and intended legal effect of CC0 on those rights. 39 | 40 | 1. Copyright and Related Rights. A Work made available under CC0 may be 41 | protected by copyright and related or neighboring rights ("Copyright and 42 | Related Rights"). Copyright and Related Rights include, but are not 43 | limited to, the following: 44 | 45 | i. the right to reproduce, adapt, distribute, perform, display, 46 | communicate, and translate a Work; 47 | ii. moral rights retained by the original author(s) and/or performer(s); 48 | iii. publicity and privacy rights pertaining to a person's image or 49 | likeness depicted in a Work; 50 | iv. rights protecting against unfair competition in regards to a Work, 51 | subject to the limitations in paragraph 4(a), below; 52 | v. rights protecting the extraction, dissemination, use and reuse of data 53 | in a Work; 54 | vi. database rights (such as those arising under Directive 96/9/EC of the 55 | European Parliament and of the Council of 11 March 1996 on the legal 56 | protection of databases, and under any national implementation 57 | thereof, including any amended or successor version of such 58 | directive); and 59 | vii. other similar, equivalent or corresponding rights throughout the 60 | world based on applicable law or treaty, and any national 61 | implementations thereof. 62 | 63 | 2. Waiver. To the greatest extent permitted by, but not in contravention 64 | of, applicable law, Affirmer hereby overtly, fully, permanently, 65 | irrevocably and unconditionally waives, abandons, and surrenders all of 66 | Affirmer's Copyright and Related Rights and associated claims and causes 67 | of action, whether now known or unknown (including existing as well as 68 | future claims and causes of action), in the Work (i) in all territories 69 | worldwide, (ii) for the maximum duration provided by applicable law or 70 | treaty (including future time extensions), (iii) in any current or future 71 | medium and for any number of copies, and (iv) for any purpose whatsoever, 72 | including without limitation commercial, advertising or promotional 73 | purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each 74 | member of the public at large and to the detriment of Affirmer's heirs and 75 | successors, fully intending that such Waiver shall not be subject to 76 | revocation, rescission, cancellation, termination, or any other legal or 77 | equitable action to disrupt the quiet enjoyment of the Work by the public 78 | as contemplated by Affirmer's express Statement of Purpose. 79 | 80 | 3. Public License Fallback. Should any part of the Waiver for any reason 81 | be judged legally invalid or ineffective under applicable law, then the 82 | Waiver shall be preserved to the maximum extent permitted taking into 83 | account Affirmer's express Statement of Purpose. In addition, to the 84 | extent the Waiver is so judged Affirmer hereby grants to each affected 85 | person a royalty-free, non transferable, non sublicensable, non exclusive, 86 | irrevocable and unconditional license to exercise Affirmer's Copyright and 87 | Related Rights in the Work (i) in all territories worldwide, (ii) for the 88 | maximum duration provided by applicable law or treaty (including future 89 | time extensions), (iii) in any current or future medium and for any number 90 | of copies, and (iv) for any purpose whatsoever, including without 91 | limitation commercial, advertising or promotional purposes (the 92 | "License"). The License shall be deemed effective as of the date CC0 was 93 | applied by Affirmer to the Work. Should any part of the License for any 94 | reason be judged legally invalid or ineffective under applicable law, such 95 | partial invalidity or ineffectiveness shall not invalidate the remainder 96 | of the License, and in such case Affirmer hereby affirms that he or she 97 | will not (i) exercise any of his or her remaining Copyright and Related 98 | Rights in the Work or (ii) assert any associated claims and causes of 99 | action with respect to the Work, in either case contrary to Affirmer's 100 | express Statement of Purpose. 101 | 102 | 4. Limitations and Disclaimers. 103 | 104 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 105 | surrendered, licensed or otherwise affected by this document. 106 | b. Affirmer offers the Work as-is and makes no representations or 107 | warranties of any kind concerning the Work, express, implied, 108 | statutory or otherwise, including without limitation warranties of 109 | title, merchantability, fitness for a particular purpose, non 110 | infringement, or the absence of latent or other defects, accuracy, or 111 | the present or absence of errors, whether or not discoverable, all to 112 | the greatest extent permissible under applicable law. 113 | c. Affirmer disclaims responsibility for clearing rights of other persons 114 | that may apply to the Work or any use thereof, including without 115 | limitation any person's Copyright and Related Rights in the Work. 116 | Further, Affirmer disclaims responsibility for obtaining any necessary 117 | consents, permissions or other rights required for any use of the 118 | Work. 119 | d. Affirmer understands and acknowledges that Creative Commons is not a 120 | party to this document and has no duty or obligation with respect to 121 | this CC0 or use of the Work. 122 | --------------------------------------------------------------------------------