-
Notifications
You must be signed in to change notification settings - Fork 0
/
jlug-example.tex
38 lines (30 loc) · 967 Bytes
/
jlug-example.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\documentclass{beamer}
%\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\setmainfont{calibri.ttf}
%\usepackage{hyperref}
% +++ Load theme from subfolder +++
% thanks to 'Symbol 1'@SE:
% https://tex.stackexchange.com/questions/275600/beamer-themes-on-custom-folder/284157#284157
\makeatletter
\def\beamer@calltheme#1#2#3{%
\def\beamer@themelist{#2}
\@for\beamer@themename:=\beamer@themelist\do
{\usepackage[{#1}]{\beamer@themelocation/#3\beamer@themename}}}
\def\usefolder#1{
\def\beamer@themelocation{#1}
}
\def\beamer@themelocation{}
\usefolder{theme}
\usetheme{jlug}
% --- End: Complicated theme loading ---
\title{There shall be no ugly slides}
\date[Conference '00]{0th Conference of Conference Titles}
\author[Shortname]{Full Name \texttt{mailto:[email protected]}}
\begin{document}
https://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch
\begin{frame}
\titlepage
\end{frame}
\end{document}