Kenotom beamer presentation style and template
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

625 lines
19 KiB

  1. %
  2. % beamerthemeKenotom.sty
  3. %
  4. % A beamer style file to use in a kenotom presentation
  5. %
  6. % note: Requires compilation with XeLaTeX or LuaLaTeX
  7. %
  8. % author: Christos Choutouridis <c.choutouridis@kenotom.com>
  9. %
  10. \NeedsTeXFormat{LaTeX2e}
  11. \ProvidesPackage{beamerthemeKenotom}[2023/03/27 Kenotom beamer theme]
  12. % Requirements
  13. % =====================================================
  14. \RequirePackage{xcolor}
  15. \RequirePackage{fontspec}
  16. \RequirePackage{tikz}
  17. \RequirePackage{graphicx}
  18. \RequirePackage{ifthen}
  19. \RequirePackage[absolute,overlay]{textpos}
  20. % Options
  21. % =====================================================
  22. % key-value: theme: {classic(default), light, dark}
  23. \DeclareOptionBeamer{theme}{\def\beamer@kenotom@theme{#1}}
  24. % key-value: background: {none(default), ribbon}
  25. \DeclareOptionBeamer{background}{\def\beamer@kenotom@background{#1}}
  26. % key-value: title: {normal(default), small, large}
  27. \DeclareOptionBeamer{title}{\def\beamer@kenotom@title{#1}}
  28. % Option: navigation
  29. \DeclareOptionBeamer{nonavigation}{\def\beamer@kenotom@nonavigation{}}
  30. % Option: fancy
  31. \DeclareOptionBeamer{fancy}{\def\beamer@kenotom@fancy{}}
  32. % Set default options
  33. \ExecuteOptionsBeamer{theme=classic}
  34. \ExecuteOptionsBeamer{background=none}
  35. \ExecuteOptionsBeamer{title=normal}
  36. \ProcessOptionsBeamer
  37. %\ProcessOptions\relax
  38. % Colors
  39. % =====================================================
  40. % Define some colors
  41. \definecolor{KenotomGreenLight}{RGB}{127,213,201}
  42. \definecolor{KenotomGreen}{RGB}{57,174,157}
  43. \definecolor{KenotomGreenDark}{RGB}{39,103,96}
  44. \definecolor{KenotomGreenGreyLight}{RGB}{203,217,217}
  45. \definecolor{KenotomGreenGrey}{RGB}{67,91,92}
  46. \definecolor{KenotomGreenGreyDark}{RGB}{13,34,39}
  47. \definecolor{KenotomGreyLight}{RGB}{215,216,216}
  48. \definecolor{KenotomGrey}{RGB}{154,155,157}
  49. \definecolor{KenotomGreyDark1}{RGB}{108,108,108}
  50. \definecolor{KenotomGreyDark2}{RGB}{92,96,98}
  51. \definecolor{KenotomLightBlue1}{RGB}{207,226,234}
  52. \definecolor{KenotomLightBlue2}{RGB}{232,241,245}
  53. \definecolor{KenotomBlack}{RGB}{0,0,0}
  54. \definecolor{KenotomWhite}{RGB}{255,255,255}
  55. % Local commands
  56. % =====================================================
  57. \newcommand{\Vfill}{\vskip0pt plus 1filll}
  58. % Define a string equality test
  59. \newcommand{\isequal}[2]{ \pdf@strcmp{#1}{#2} }
  60. \newcommand{\SetItemize}[1]{%
  61. \setbeamertemplate{itemize item}{\small{#1}}
  62. \setbeamertemplate{itemize subitem}{\scriptsize{#1}}
  63. \setbeamertemplate{itemize subsubitem}{\tiny{#1}}
  64. }
  65. \newcommand{\SetGraphItemize}[2]{
  66. \setbeamertemplate{itemize item}{\small\includegraphics[height=#1]{#2}}
  67. \setbeamertemplate{itemize subitem}{\scriptsize\includegraphics[height=#1]{#2}}
  68. \setbeamertemplate{itemize subsubitem}{\tiny\includegraphics[height=#1]{#2}}
  69. }
  70. % [1]: Banner image
  71. \newcommand{\SetBackgroundPlain}[1]{%
  72. \setbeamertemplate{background}{%
  73. \begin{tikzpicture}[overlay,remember picture]
  74. % Banner
  75. \node[anchor=east, inner sep=0pt, yshift=-0.06\paperheight] at (current page.north east) {%
  76. \includegraphics[width=0.2\paperwidth]{#1}
  77. };%
  78. \end{tikzpicture}%
  79. }
  80. }
  81. % [1]: [social]:
  82. % {2}: Banner image
  83. % {3}: background image
  84. % {4}: y-offset
  85. % {5}: Opacity
  86. \newcommand{\SetBackgroundImage}[5][noSocial]{%
  87. \setbeamertemplate{background}{%
  88. \begin{tikzpicture}[overlay,remember picture]
  89. % Banner
  90. \node[anchor=east, inner sep=0pt, yshift=-0.06\paperheight] at (current page.north east) {%
  91. \includegraphics[width=0.2\paperwidth]{#2}
  92. };%
  93. % Image
  94. \node[anchor=center, inner sep=0pt, yshift=#4\paperheight, opacity=#5] at (current page.center) {%
  95. \includegraphics[width=\paperwidth]{#3}
  96. };%
  97. % Social links
  98. \ifnum \isequal{#1}{social}=0
  99. \node[anchor=west, inner sep=0pt, xshift=0.05\paperwidth, yshift=-0.06\paperheight] at (current page.north west) {%
  100. \includegraphics[width=0.03\paperwidth]{img/Social.png}
  101. };%
  102. \fi
  103. \end{tikzpicture}%
  104. }
  105. }
  106. \newcommand{\BeginCountingFrames}{%
  107. \addtobeamertemplate{navigation symbols}{}{%
  108. \hspace{2em} \usebeamerfont{footline} \texttt{ \scriptsize{\insertframenumber/\inserttotalframenumber}}
  109. }
  110. \setcounter{framenumber}{0}
  111. }
  112. %
  113. % [1]: Color
  114. % [2]: Text
  115. %\newcommand{\InsertBackgroundToText}[2]{%
  116. %% \colorbox{#1}{%
  117. %% \parbox{\dimexpr\textwidth-2\fboxsep\relax}{#2}
  118. % \colorbox{#1}{#2}
  119. %
  120. % }
  121. %}
  122. %
  123. % Theme
  124. % =====================================================
  125. \ifnum \isequal{\beamer@kenotom@theme}{dark}=0
  126. \colorlet{BackgroundCanvasColor}{KenotomGreenGreyDark}
  127. % Titles
  128. \colorlet{TitleColor}{KenotomGreyLight}
  129. \colorlet{TitleColorFancy}{KenotomWhite}
  130. \colorlet{TitleColorAux}{KenotomGreenLight}
  131. \colorlet{SectionTitleColor}{KenotomGreenLight}
  132. \colorlet{FrameTitleColor}{KenotomGreenLight}
  133. \colorlet{BlockTitleColor}{KenotomGreenLight}
  134. \colorlet{ShadeColor}{KenotomGreyDark1}
  135. % Text and structure
  136. \colorlet{TextColor}{KenotomGreenGreyLight}
  137. \colorlet{StructureColor}{KenotomGreenLight}
  138. % Graphic colors
  139. \colorlet{SectionFrameOpacityColor}{KenotomGreenGreyDark}
  140. \colorlet{GraphicBoxColor}{KenotomGreyDark1}
  141. \colorlet{GraphicTitleCircleColor}{KenotomGreen}
  142. \colorlet{GraphicSectionCircleColor}{KenotomGreyDark1}
  143. \colorlet{GraphicSectionLineColor}{KenotomGreenLight}
  144. \colorlet{GraphicHighlightColor}{KenotomWhite}
  145. % Navigation
  146. \colorlet{NavigationColor}{KenotomGreen}
  147. \colorlet{NavigationColorFancy}{KenotomGreen}
  148. \colorlet{NavigationArrowsColor}{KenotomGreyLight}
  149. \colorlet{NavigationArrowsColorFancy}{KenotomGreyLight}
  150. % Tables
  151. \colorlet{TableCaptionColor}{KenotomGreyDark1}
  152. \colorlet{TableCaptionTextColor}{KenotomWhite}
  153. \colorlet{TableRowColor1}{KenotomLightBlue1}
  154. \colorlet{TableRowColor2}{KenotomLightBlue2}
  155. \else \ifnum \isequal{\beamer@kenotom@theme}{light}=0
  156. \colorlet{BackgroundCanvasColor}{KenotomWhite}
  157. % Titles
  158. \colorlet{TitleColor}{KenotomGrey}
  159. \colorlet{TitleColorFancy}{KenotomWhite}
  160. \colorlet{TitleColorAux}{KenotomGreen}
  161. \colorlet{SectionTitleColor}{KenotomWhite!90!KenotomGreenLight}
  162. \colorlet{FrameTitleColor}{KenotomGrey}
  163. \colorlet{BlockTitleColor}{KenotomGrey}
  164. \colorlet{ShadeColor}{KenotomGrey}
  165. % Text and structure
  166. \colorlet{TextColor}{KenotomGrey}
  167. \colorlet{StructureColor}{KenotomGreen}
  168. % Graphic colors
  169. \colorlet{SectionFrameOpacityColor}{KenotomGreen}
  170. \colorlet{GraphicBoxColor}{KenotomGreyDark1}
  171. \colorlet{GraphicTitleCircleColor}{KenotomGreen}
  172. \colorlet{GraphicSectionCircleColor}{KenotomGreyDark1}
  173. \colorlet{GraphicSectionLineColor}{KenotomGreenLight}
  174. \colorlet{GraphicHighlightColor}{KenotomWhite}
  175. % Navigation
  176. \colorlet{NavigationColor}{KenotomGreen}
  177. \colorlet{NavigationColorFancy}{KenotomWhite}
  178. \colorlet{NavigationArrowsColor}{KenotomGrey}
  179. \colorlet{NavigationArrowsColorFancy}{KenotomWhite}
  180. % Tables
  181. \colorlet{TableCaptionColor}{KenotomGrey}
  182. \colorlet{TableCaptionTextColor}{KenotomWhite}
  183. \colorlet{TableRowColor1}{KenotomLightBlue1}
  184. \colorlet{TableRowColor2}{KenotomLightBlue2}
  185. \else % clasic
  186. \colorlet{BackgroundCanvasColor}{KenotomWhite}
  187. % Titles
  188. \colorlet{TitleColor}{KenotomGreyDark1}
  189. \colorlet{TitleColorFancy}{KenotomWhite}
  190. \colorlet{TitleColorAux}{KenotomGreen}
  191. \colorlet{SectionTitleColor}{KenotomWhite!90!KenotomGreenLight}
  192. \colorlet{TitleColorFancy}{KenotomWhite}
  193. \colorlet{FrameTitleColor}{KenotomGreyDark2}
  194. \colorlet{BlockTitleColor}{KenotomGreyDark2}
  195. \colorlet{ShadeColor}{KenotomGrey}
  196. % Text and structure
  197. \colorlet{TextColor}{KenotomGreyDark1}
  198. \colorlet{StructureColor}{KenotomGreen}
  199. % Graphic colors
  200. \colorlet{SectionFrameOpacityColor}{KenotomGreen}
  201. \colorlet{GraphicBoxColor}{KenotomGreyDark1}
  202. \colorlet{GraphicTitleCircleColor}{KenotomGreen}
  203. \colorlet{GraphicSectionCircleColor}{KenotomGreyDark1}
  204. \colorlet{GraphicSectionLineColor}{KenotomGreenLight}
  205. \colorlet{GraphicHighlightColor}{KenotomWhite}
  206. % Navigation
  207. \colorlet{NavigationColor}{KenotomGreen}
  208. \colorlet{NavigationColorFancy}{KenotomWhite}
  209. \colorlet{NavigationArrowsColor}{KenotomGreyDark1}
  210. \colorlet{NavigationArrowsColorFancy}{KenotomWhite}
  211. % Tables
  212. \colorlet{TableCaptionColor}{KenotomGreyDark1}
  213. \colorlet{TableCaptionTextColor}{KenotomWhite}
  214. \colorlet{TableRowColor1}{KenotomLightBlue1}
  215. \colorlet{TableRowColor2}{KenotomLightBlue2}
  216. \fi\fi
  217. % Apply theme colors
  218. \setbeamercolor{background canvas}{bg=BackgroundCanvasColor}
  219. \setbeamercolor{title}{fg=TitleColor}
  220. \setbeamercolor{subtitle}{fg=TitleColor}
  221. \setbeamercolor{frametitle}{fg=FrameTitleColor}
  222. \setbeamercolor{section title}{fg=FrameTitleColor}
  223. \setbeamercolor{subsection title}{fg=FrameTitleColor}
  224. \setbeamercolor{block title}{fg=BlockTitleColor}
  225. \setbeamercolor{normal text}{fg=TextColor}
  226. \setbeamercolor{structure}{fg=StructureColor}
  227. \setbeamercolor{navigation symbols}{fg=NavigationColor, bg=NavigationArrowsColor}
  228. %
  229. % Layout and global settings
  230. % =====================================================
  231. \newcommand{\SideMargin}{2em}
  232. % Frame layout
  233. \setbeamersize{
  234. text margin left=\SideMargin,
  235. text margin right=\SideMargin
  236. }
  237. \setlength{\leftmargini}{1.25em}
  238. \setlength{\leftmarginii}{1em}
  239. \setlength{\leftmarginiii}{1em}
  240. \addtobeamertemplate{footnote}{}{\vspace{2ex}}
  241. % Default background (We overwrite it temporary inside kenotom frame environments)
  242. \ifnum \isequal{\beamer@kenotom@background}{ribbon}=0
  243. \SetBackgroundImage{img/BannerLogoLink.png}{img/Ribbon.png}{0.04}{0.15}
  244. \else %None
  245. \SetBackgroundPlain{img/BannerLogoLink.png}
  246. \fi%
  247. % Fonts
  248. \setromanfont{Georgia}
  249. \setsansfont[Scale=MatchLowercase]{Open Sans}
  250. % General
  251. \ifdefined \beamer@kenotom@nonavigation
  252. \setbeamertemplate{navigation symbols}{}
  253. \else
  254. \setbeamertemplate{navigation symbols}{%
  255. \insertslidenavigationsymbol %Inserts the slide navigation symbols
  256. \insertframenavigationsymbol % Inserts the frame navigation symbol.
  257. \insertsubsectionnavigationsymbol % Inserts the subsection navigation symbol.
  258. \insertsectionnavigationsymbol % Inserts the section navigation symbol.
  259. \insertdocnavigationsymbol % Inserts the presentation navigation symbol and (if necessary) the appendix navigation symbol.
  260. \insertbackfindforwardnavigationsymbol %Inserts a back, a find, and a forward navigation symbol.
  261. }
  262. \fi
  263. \setbeamertemplate{caption}[numbered]
  264. % Default itemize symbols (We overwrite them with kenotom environments)
  265. \SetItemize{\textbullet}
  266. % Content style
  267. % =====================================================
  268. \newcommand{\TitleSize}{\Huge}
  269. \newcommand{\SectionSize}{\Large}
  270. \ifnum \isequal{\beamer@kenotom@title}{small}=0
  271. \newcommand{\FrameTitleSize}{\large}
  272. \else\ifnum \isequal{\beamer@kenotom@title}{normal}=0
  273. \newcommand{\FrameTitleSize}{\Large}
  274. \else\ifnum \isequal{\beamer@kenotom@title}{large}=0
  275. \newcommand{\FrameTitleSize}{\huge}
  276. \else % default = normal
  277. \newcommand{\FrameTitleSize}{\Large}
  278. \fi\fi\fi%
  279. \newcommand{\AuthorSize}{\Large}
  280. \newcommand{\InstituteSize}{\normalsize}
  281. \newcommand{\ContactInfoSize}{\normalize}
  282. \newcommand{\FancyTitleSize}{\LARGE}
  283. \newcommand{\FancyTitleFontStyle}[1]{\textbf{#1}}
  284. %\newcommand{\FancyDateSize}{\normalize}
  285. %\newcommand{\FancyDateFontStyle}[1]{\textrm{#1}}
  286. \newcommand{\FancySectionSize}{\LARGE}
  287. \newcommand{\FancySectionFontStyle}[1]{\textbf{#1}}
  288. % Title page style
  289. \setbeamertemplate{title page}[default][left]
  290. \setbeamerfont{title}{family=\rmfamily,size=\TitleSize}
  291. \setbeamerfont{author}{size=\AuthorSize}
  292. \setbeamerfont{institute}{size=\InstituteSize}
  293. \renewcommand{\maketitle}{%
  294. \ifdefined \beamer@kenotom@fancy
  295. \TitleFrameFancy
  296. \else {% once
  297. \SetBackgroundImage{img/BannerLink.png}{img/Ribbon.png}{0.04}{0.4}
  298. \begin{frame}
  299. \titlepage
  300. \end{frame}
  301. } \fi
  302. }
  303. % footline
  304. %\setbeamertemplate{navigation symbols}{}
  305. %\setbeamertemplate{footlline}{\hfill \insertnavigation{0.3\textwidth}}
  306. % Frame title style
  307. \setbeamerfont{frametitle}{family=\rmfamily,size=\FrameTitleSize,series=\bfseries}
  308. \setbeamertemplate{frametitle}{
  309. \vskip0.05\paperheight
  310. \insertframetitle
  311. }
  312. %\setbeamerfont{section title}{size=\LARGE,series=\bfseries}
  313. %\setbeamerfont{subsection title}{size=\Large,series=\bfseries}
  314. % Block style
  315. \setbeamerfont{block title}{family=\rmfamily,size=\large}
  316. % Table style
  317. %\renewcommand{\arraystretch}{1.2}
  318. %\newcommand{\tableheadrow}{\rowcolor{TableCaptionColor}}
  319. %\newcommand{\tableheadcol}[1]{{\bfseries\color{TableCaptionTextColor}#1}}
  320. %\rowcolors{2}{TableRowColor1}{TableRowColor2}
  321. % Section frames
  322. \AtBeginSection[]{%
  323. \ifdefined \beamer@kenotom@fancy
  324. \SectionFrameFancy
  325. \fi
  326. }
  327. %\AtBeginEnvironment{tabular}{\color{black}}
  328. \newcommand{\InsertFancyTitle}{%
  329. \FancyTitleSize
  330. \textcolor{TitleColorFancy}{\FancyTitleFontStyle{\inserttitle}}
  331. }
  332. \newcommand{\InsertFancySection}{%
  333. \FancySectionSize
  334. \textcolor{SectionTitleColor}{
  335. \ifnum \thesection<10
  336. \FancySectionFontStyle{0\thesection} \\
  337. \else
  338. \FancySectionFontStyle{\thesection} \\
  339. \fi
  340. \FancySectionFontStyle{\insertsection}
  341. }
  342. }
  343. \newcommand{\InsertFancyDate}{%
  344. \textcolor{TitleColorFancy}{\insertdate}
  345. }
  346. \newcommand{\InsertAuthorEmail}{%
  347. \AuthorEmail
  348. }
  349. \newcommand{\InsertAddress}{%
  350. \textcolor{StructureColor}{\Address}
  351. }
  352. \newcommand{\InsertTelephone}{%
  353. \textcolor{StructureColor}{\Telephone}
  354. }
  355. % Kenotom environments
  356. % =====================================================
  357. % Kenotom CoverFrame
  358. \newcommand{\TitleFrameFancy}{ {% once
  359. \SetBackgroundImage[social]{img/BannerLink.png}{img/Ribbon.png}{0.12}{0.1}
  360. \setbeamercolor{navigation symbols}{fg=NavigationColor, bg=NavigationArrowsColorFancy}
  361. \addtobeamertemplate{background}{}{%
  362. \begin{tikzpicture}[overlay,remember picture]
  363. % Logo w=4.46/13.333 (in)
  364. \node[anchor=center, inner sep=0pt, yshift=0.275\paperheight] at (current page.center) {%
  365. \ifnum \isequal{\beamer@kenotom@theme}{dark}=0
  366. \includegraphics[width=0.3345\paperwidth]{img/LogoWhite.png}
  367. \else
  368. \includegraphics[width=0.3345\paperwidth]{img/Logo.png}
  369. \fi
  370. };%
  371. % Car
  372. \node[anchor=north, inner sep=0pt, yshift=0.08\paperheight] at (current page.center) {%
  373. \includegraphics[width=\paperwidth, keepaspectratio]{img/CarCover.jpg}
  374. };%
  375. % Title box
  376. \fill[GraphicBoxColor, yshift=0.03\paperwidth, rounded corners=0.0088\paperwidth, opacity=0.95]
  377. (0.21\paperwidth, -0.42\paperheight) rectangle ++(0.64\paperwidth, -0.06\paperwidth);
  378. % Title circles
  379. \fill[GraphicHighlightColor, opacity=0.35]
  380. (0.21\paperwidth, -0.42\paperheight) circle (0.06\paperwidth);
  381. \fill[GraphicTitleCircleColor]
  382. (0.21\paperwidth, -0.42\paperheight) circle (0.05\paperwidth);
  383. % Cube
  384. \node[anchor=center] at (0.21\paperwidth, -0.42\paperheight) {%
  385. \includegraphics[width=0.05\paperwidth, keepaspectratio]{img/Cube.png}
  386. };
  387. \end{tikzpicture}
  388. }
  389. \begin{frame}
  390. \setlength{\TPHorizModule}{\paperwidth}
  391. \setlength{\TPVertModule}{\paperheight}
  392. % hsize:
  393. % 0.58 = {BoxLength=7.697}/{TotlaLength=13.333}
  394. % hpos: 0.56
  395. % (1.6/2)/13.333 in = 0.06\paperwidth
  396. % 0.5+0.06 = 0.56
  397. % vpos: 0.42
  398. % 0.42 = 0.5 - 0.08
  399. \begin{textblock}{0.58}[0.5,0.5](0.56,0.42)
  400. \centering
  401. \InsertFancyTitle
  402. \end{textblock}
  403. % Date @ bottom right
  404. \begin{textblock}{0.5}[1,1](0.95,0.95)
  405. \begin{flushright}
  406. \InsertFancyDate
  407. \end{flushright}
  408. \end{textblock}
  409. \end{frame}
  410. }
  411. }
  412. % [nosubsections]
  413. % {1} : Outline Text Grey
  414. % {2} : Outline Text Green
  415. \newcommand{\OutlineFrameFancy}[3][subsections]{ {% once
  416. \SetBackgroundImage{img/BannerLink.png}{img/Ribbon.png}{0.04}{0.1}
  417. \begin{frame}
  418. \begin{columns}
  419. \begin{column}{0.6\textwidth}
  420. \setlength{\TPHorizModule}{\textwidth}
  421. \setlength{\TPVertModule}{\textheight}
  422. \begin{textblock}{1}[0.5,0.5](0.55,0.35)
  423. \centering
  424. \huge \textbf {\textcolor{KenotomGrey}{#2} \textcolor{KenotomGreen}{#3}}
  425. \end{textblock}
  426. \end{column}
  427. \begin{column}{0.4\textwidth}
  428. \vspace{0.2\textheight}
  429. \ifnum \isequal{#1}{nosubsections}=0
  430. \setcounter{tocdepth}{1}
  431. \fi
  432. \tableofcontents
  433. \Vfill
  434. \end{column}
  435. \end{columns}
  436. \end{frame}
  437. }
  438. }
  439. \newcommand{\OutlineFrame}[3][subsections]{%
  440. \ifdefined \beamer@kenotom@fancy
  441. \OutlineFrameFancy[#1]{#2}{#3}
  442. \else
  443. \begin{frame}{#2 #3}
  444. \vspace{0.2\textheight}
  445. \ifnum \isequal{#1}{nosubsections}=0
  446. \setcounter{tocdepth}{1}
  447. \fi
  448. \tableofcontents
  449. \Vfill
  450. \end{frame}
  451. \fi
  452. }
  453. \newcommand{\SectionFrameFancy}{ {% once
  454. \SetBackgroundImage{img/nothing.png}{img/SectionBackground.jpg}{0}{1.0}
  455. \setbeamercolor{navigation symbols}{fg=NavigationColorFancy, bg=NavigationArrowsColorFancy}
  456. \addtobeamertemplate{background}{}{%
  457. \begin{tikzpicture}[overlay,remember picture]
  458. % Rectangular fill
  459. \fill[SectionFrameOpacityColor, opacity=0.95]
  460. (current page.south east) rectangle (0.3075\paperwidth, \paperheight);
  461. % Circle fill
  462. \fill[GraphicBoxColor, opacity=0.98]
  463. (0.3075\paperwidth, -0.5\paperheight) circle (0.1537\paperwidth);
  464. % Border lines
  465. \draw[color=GraphicSectionLineColor, line width=0.8mm]
  466. (0.3075\paperwidth, -0.5\paperheight) circle (0.17\paperwidth);
  467. \draw[color=GraphicSectionLineColor, line width=0.8mm]
  468. (0.4775\paperwidth, -0.5\paperheight) -- (0.9\paperwidth, -0.5\paperheight);
  469. \fill[GraphicSectionLineColor, opacity=0.95]
  470. (0.9\paperwidth, -0.5\paperheight) circle (1.2mm);
  471. % City
  472. \node[anchor=center] at (0.3075\paperwidth, -0.5\paperheight) {%
  473. \includegraphics[width=0.1945\paperwidth]{img/City.png}
  474. };
  475. \end{tikzpicture}
  476. }
  477. \begin{frame}
  478. \setlength{\TPHorizModule}{\paperwidth}
  479. \setlength{\TPVertModule}{\paperheight}
  480. % hsize:
  481. % 0.4 = {AvailableLength}/{TotlaLength}
  482. % hpos: 0.9
  483. % // The line in svg ends @12in
  484. % 0.9 = {LineEnds}/{TotalLength} = 12/13.333
  485. % vpos: 0.475
  486. % // 0.025 above center
  487. % 0.475 = 0.5 - 0.025
  488. \begin{textblock}{0.4}[1,1](0.9,0.475)
  489. \begin{flushright}
  490. \InsertFancySection
  491. \end{flushright}
  492. \end{textblock}
  493. \end{frame}
  494. }
  495. }
  496. \newcommand{\BackFrame}{ {% once
  497. \SetBackgroundImage[social]{img/BannerThankYou.png}{img/Ribbon.png}{0.04}{0.4}
  498. \addtobeamertemplate{background}{}{%
  499. \begin{tikzpicture}[overlay,remember picture]
  500. \node[anchor=center, inner sep=0pt, yshift=0.04\paperheight] at (current page.center) {%
  501. \includegraphics[width=\paperwidth]{img/LogoDetails.png}
  502. };%
  503. % h=2.232/7.5 ~= 0.3
  504. \shade[top color=BackgroundCanvasColor, bottom color=ShadeColor, opacity=0.5]
  505. (0, -0.7\paperheight) rectangle (current page.south east);
  506. \end{tikzpicture}
  507. }
  508. \begin{frame}
  509. \Vfill
  510. \insertauthor \\
  511. \InsertAuthorEmail \\
  512. \InsertAddress \\
  513. \InsertTelephone
  514. \vspace{0.125\paperheight}
  515. \end{frame}
  516. }
  517. }
  518. \newenvironment{tickmarks}{%
  519. \SetGraphItemize{1.6ex}{img/Tickmark.png}
  520. \begin{itemize}
  521. }{%
  522. \end{itemize}
  523. }
  524. \newenvironment{bullets}{%
  525. \SetGraphItemize{1.3em}{img/Bullet.png}
  526. \begin{itemize}
  527. }{%
  528. \end{itemize}
  529. }