Commit 027f7d07235eb003376791f8ae9217a7da477dc0

Authored by Jordi Inglada
0 parents
Exists in master

Creation

beamerthemeCesbio.sty 0 โ†’ 100644
  1 +++ a/beamerthemeCesbio.sty
... ... @@ -0,0 +1,52 @@
  1 +% Copyright 2019 by Jordi Inglada
  2 +%
  3 +% This file may be distributed and/or modified
  4 +%
  5 +% 1. under the LaTeX Project Public License and/or
  6 +% 2. under the GNU Public License.
  7 +%
  8 +
  9 +
  10 +\mode<presentation>
  11 +
  12 +\setbeamertemplate{frametitle}[default][right]
  13 +\useinnertheme{circles}
  14 +
  15 +\definecolor{CESBIOgreen}{RGB}{34,146,15}
  16 +% Approximate match for Michigan State University; official colour appears too dark
  17 +
  18 +\setbeamercolor{alerted text}{fg=CESBIOgreen!80!white}
  19 +\setbeamercolor*{palette primary}{fg=CESBIOgreen!60!black,bg=white!85!CESBIOgreen}
  20 +\setbeamercolor*{palette secondary}{fg=CESBIOgreen!70!black,bg=white!60!CESBIOgreen}
  21 +\setbeamercolor*{palette tertiary}{bg=CESBIOgreen!80!black,fg=white!50!CESBIOgreen}
  22 +\setbeamercolor*{palette quaternary}{fg=CESBIOgreen,bg=white!20!CESBIOgreen}
  23 +
  24 +\setbeamercolor*{sidebar}{fg=CESBIOgreen,bg=CESBIOgreen!75!white}
  25 +
  26 +\setbeamercolor*{palette sidebar primary}{fg=CESBIOgreen!10!black}
  27 +\setbeamercolor*{palette sidebar secondary}{fg=white}
  28 +\setbeamercolor*{palette sidebar tertiary}{fg=CESBIOgreen!50!black}
  29 +\setbeamercolor*{palette sidebar quaternary}{fg=white!10!CESBIOgreen}
  30 +
  31 +\setbeamercolor*{titlelike}{parent=palette primary}
  32 +\setbeamercolor{frametitle}{bg=white!90!CESBIOgreen}
  33 +\setbeamercolor{frametitle right}{bg=white!60!CESBIOgreen}
  34 +
  35 +\setbeamercolor*{separation line}{}
  36 +\setbeamercolor*{fine separation line}{}
  37 +\setbeamercolor{block body}{parent=normal text,use=block title,bg=red!0,fg=}
  38 +\setbeamercolor{block title}{fg=CESBIOgreen!60!black}
  39 +
  40 +\setbeamercolor{itemize item}{fg=CESBIOgreen}
  41 +\setbeamercolor{item projected}{bg=CESBIOgreen,fg=CESBIOgreen!30!white}
  42 +
  43 +\usepackage{hyperref}
  44 +\hypersetup{linkcolor=CESBIOgreen!60!black, colorlinks=true}
  45 +
  46 +\setbeamercolor{caption name}{fg=CESBIOgreen!60!black}
  47 +
  48 +\institute{\includegraphics[width=1.5cm]{logo_cesbio_transp.pdf}}
  49 +\setbeamertemplate{footline}{\leavevmode\hbox{\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,left]{author in head/foot} \usebeamerfont{author in head/foot}\insertshortinstitute~~\shortauthor \end{beamercolorbox} \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot} \usebeamerfont{title in head/foot}\shorttitle \end{beamercolorbox} \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}\insertframenumber{} \hspace*{2ex} \end{beamercolorbox}}\vskip0pt}
  50 +
  51 +\mode
  52 +<all>
... ...
example.tex 0 โ†’ 100644
  1 +++ a/example.tex
... ... @@ -0,0 +1,188 @@
  1 +% Copyright 2019 by Jordi Inglada
  2 +%
  3 +% This file may be distributed and/or modified
  4 +%
  5 +% 1. under the LaTeX Project Public License and/or
  6 +% 2. under the GNU Public License.
  7 +%
  8 +
  9 +\documentclass[8pt]{beamer}
  10 +\usetheme{Cesbio}
  11 +\setbeamertemplate{navigation symbols}{}
  12 +\usepackage[french]{babel}
  13 +\usepackage[utf8]{inputenc}
  14 +\usepackage[T1]{fontenc}
  15 +\usepackage{graphicx}
  16 +
  17 +
  18 +
  19 +% The short title appears at the bottom of every slide, the full title is only on the title page
  20 +\title{Full Title of the Talk}
  21 +\newcommand{\shorttitle}{Short title}
  22 +
  23 +\author{John Smith}
  24 +\newcommand{\shortauthor}{J. Smith}
  25 +
  26 +\date{\today} % Date, can be changed to a custom date
  27 +
  28 +\begin{document}
  29 +
  30 +\begin{frame}
  31 +\titlepage % Print the title page as the first slide
  32 +\end{frame}
  33 +
  34 +\begin{frame}
  35 +\frametitle{Overview} % Table of contents slide, comment this block out to remove it
  36 +\tableofcontents % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
  37 +\end{frame}
  38 +
  39 +%----------------------------------------------------------------------------------------
  40 +% PRESENTATION SLIDES
  41 +%----------------------------------------------------------------------------------------
  42 +
  43 +%------------------------------------------------
  44 +\section{First Section} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
  45 +%------------------------------------------------
  46 +
  47 +\subsection{Subsection Example} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks
  48 +
  49 +\begin{frame}
  50 +\frametitle{Paragraphs of Text}
  51 +Sed iaculis dapibus gravida. Morbi sed tortor erat, nec interdum arcu. Sed id lorem lectus. Quisque viverra augue id sem ornare non aliquam nibh tristique. Aenean in ligula nisl. Nulla sed tellus ipsum. Donec vestibulum ligula non lorem vulputate fermentum accumsan neque mollis.\\~\\
  52 +
  53 +Sed diam enim, sagittis nec condimentum sit amet, ullamcorper sit amet libero. Aliquam vel dui orci, a porta odio. Nullam id suscipit ipsum. Aenean lobortis commodo sem, ut commodo leo gravida vitae. Pellentesque vehicula ante iaculis arcu pretium rutrum eget sit amet purus. Integer ornare nulla quis neque ultrices lobortis. Vestibulum ultrices tincidunt libero, quis commodo erat ullamcorper id.
  54 +\end{frame}
  55 +
  56 +%------------------------------------------------
  57 +
  58 +\begin{frame}
  59 +\frametitle{Bullet Points}
  60 +\begin{itemize}
  61 +\item Lorem ipsum dolor sit amet, consectetur adipiscing elit
  62 +\item Aliquam blandit faucibus nisi, sit amet dapibus enim tempus eu
  63 +\item Nulla commodo, erat quis gravida posuere, elit lacus lobortis est, quis porttitor odio mauris at libero
  64 +\item Nam cursus est eget velit posuere pellentesque
  65 +\item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida
  66 +\end{itemize}
  67 +\end{frame}
  68 +
  69 +%------------------------------------------------
  70 +
  71 +\begin{frame}
  72 +\frametitle{Blocks of Highlighted Text}
  73 +\begin{block}{Block 1}
  74 +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.
  75 +\end{block}
  76 +
  77 +\begin{block}{Block 2}
  78 +Pellentesque sed tellus purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum quis magna at risus dictum tempor eu vitae velit.
  79 +\end{block}
  80 +
  81 +\begin{block}{Block 3}
  82 +Suspendisse tincidunt sagittis gravida. Curabitur condimentum, enim sed venenatis rutrum, ipsum neque consectetur orci, sed blandit justo nisi ac lacus.
  83 +\end{block}
  84 +\end{frame}
  85 +
  86 +%------------------------------------------------
  87 +
  88 +\begin{frame}
  89 +\frametitle{Multiple Columns}
  90 +\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment
  91 +
  92 +\column{.45\textwidth} % Left column and width
  93 +\textbf{Heading}
  94 +\begin{enumerate}
  95 +\item Statement
  96 +\item Explanation
  97 +\item Example
  98 +\end{enumerate}
  99 +
  100 +\column{.5\textwidth} % Right column and width
  101 +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.
  102 +
  103 +\end{columns}
  104 +\end{frame}
  105 +
  106 +%------------------------------------------------
  107 +\section{Second Section}
  108 +%------------------------------------------------
  109 +
  110 +\begin{frame}
  111 +\frametitle{Table}
  112 +\begin{table}
  113 +\begin{tabular}{l l l}
  114 +\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\\
  115 +Treatment 1 & 0.0003262 & 0.562 \\
  116 +Treatment 2 & 0.0015681 & 0.910 \\
  117 +Treatment 3 & 0.0009271 & 0.296 \\
  118 +\end{tabular}
  119 +\caption{Table caption}
  120 +\end{table}
  121 +\end{frame}
  122 +
  123 +%------------------------------------------------
  124 +
  125 +\begin{frame}
  126 +\frametitle{Theorem}
  127 +\begin{theorem}[Mass--energy equivalence]
  128 +$E = mc^2$
  129 +\end{theorem}
  130 +\end{frame}
  131 +
  132 +%------------------------------------------------
  133 +
  134 +\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
  135 +\frametitle{Verbatim}
  136 +\begin{example}[Theorem Slide Code]
  137 +\begin{verbatim}
  138 +\begin{frame}
  139 +\frametitle{Theorem}
  140 +\begin{theorem}[Mass--energy equivalence]
  141 +$E = mc^2$
  142 +\end{theorem}
  143 +\end{frame}\end{verbatim}
  144 +\end{example}
  145 +\end{frame}
  146 +
  147 +%------------------------------------------------
  148 +
  149 +\begin{frame}
  150 +\frametitle{Figure}
  151 +Uncomment the code on this slide to include your own image from the same directory as the template .TeX file.
  152 +%\begin{figure}
  153 +%\includegraphics[width=0.8\linewidth]{test}
  154 +%\end{figure}
  155 +\end{frame}
  156 +
  157 +%------------------------------------------------
  158 +
  159 +\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
  160 +\frametitle{Citation}
  161 +An example of the \verb|\cite| command to cite within the presentation:\\~
  162 +
  163 +This statement requires citation \cite{p1}.
  164 +\end{frame}
  165 +
  166 +%------------------------------------------------
  167 +
  168 +\begin{frame}
  169 +\frametitle{References}
  170 +\footnotesize{
  171 +\begin{thebibliography}{99} % Beamer does not support BibTeX so references must be inserted manually as below
  172 +\bibitem[Smith, 2012]{p1} John Smith (2012)
  173 +\newblock Title of the publication
  174 +\newblock \emph{Journal Name} 12(3), 45 -- 678.
  175 +\end{thebibliography}
  176 +}
  177 +\end{frame}
  178 +
  179 +%------------------------------------------------
  180 +
  181 +\begin{frame}
  182 +\Huge{\centerline{The End}}
  183 +\end{frame}
  184 +
  185 +%----------------------------------------------------------------------------------------
  186 +
  187 +\end{document}
  188 +
... ...
logo_cesbio_transp.pdf 0 โ†’ 100644
No preview for this file type