Debian Codegraph @

texmf-dist/doc/latex/beamertheme-mirage/mirage-beamer-en.tex

raw
1 \documentclass[aspectratio=1610]{beamer}
2 % This can be compiled with pdflatex.
3 % Load fontspec so that you can load OTF/TTF fonts if you want to; but then you must compile with xelatex or lualatex!
4 % \usepackage{fontspec}
5
6 % beamerthemeMirage.sty v1.0 2024/04/14
7 % by LianTze Lim ([email protected])
8 % A beamer theme inspired by Zhou Shen's `Mirage' song poster
9 % \usetheme{Mirage} % Default = dark mode
10 \usetheme[light]{Mirage} % Alternative light mode
11
12 % The glowy light in the footnline
13 % \setlength{\MirageGlowRadius}{0.25ex}
14
15 % Mirage theme loads the fontawesome5 package
16
17 \title{Mirage Theme}
18 \subtitle{Inspired by the song poster of the lead single, \emph{Mirage}}
19 \author{LianTze Lim}
20 \institute{The full album \emph{Shenself} now available on all major music platforms}
21 \date{2024/10/22}
22
23 \usepackage{iftex}
24
25 % These fonts will work with pdflatex, xelatex, lualatex
26 \usepackage[lining,tabular]{carlito}
27 \usepackage{caladea}
28
29 \ifboolexpr{bool{xetex} or bool{luatex}}{
30 % Unicode-math and TTF/OTF fonts will only work with xelatex, lualatex
31 \usepackage{unicode-math}
32 % \setmathfont{STIX Two Math}
33 % \setmathfont{Erewhon Math}
34 \setmathfont{Fira Math}
35 }{% Sans math font in pdflatex:
36 \usepackage[T1]{fontenc}
37 \usepackage{newtxsf}
38 }
39
40
41 \begin{document}
42
43 \frame{\maketitle}
44
45 \section{Intro}
46 \begin{frame}
47 \frametitle{Introduction}
48
49 \begin{itemize}
50 \item Behold the mechanical dove \faDove{} flying through the air
51 \item How might its eyes be lit \faEye[regular] that it appears lifelike
52
53 \begin{enumerate}
54 \item Are digital dawns and dusks \faCloudSun{} more colourful? \faCloudMoon
55 \item Are bionic lovers \faGrinHearts{} more faithful? \faGrin*[regular]
56 \end{enumerate}
57
58 \item Push this one door open \faDoorOpen{} and there are thousands more \faDoorClosed{\small\faDoorClosed}{\footnotesize\faDoorClosed}{\scriptsize\faDoorClosed}{\tiny\faDoorClosed}
59 \end{itemize}
60
61 \end{frame}
62
63 \subsection{Lists}
64 \begin{frame}
65 \frametitle{The ancient gaze from aeons ago}
66 \begin{enumerate}
67 \item How might it discern if this moment is fantasy or real
68 \begin{enumerate}
69 \item Is man-made talent true inherent wisdom?
70 \begin{enumerate}
71 \item Do cloned bodies have souls?
72 \item Forever questioning, but ever without a conclusion
73 \end{enumerate}
74 \end{enumerate}
75 \item \alert{Can it be real}
76 \end{enumerate}
77
78 \end{frame}
79
80 \section{Blocks}
81
82 \begin{frame}[c]
83 \frametitle{The Heavenward Staircase of Wisdom is ever endless}
84 \begin{columns}
85 \begin{column}[b]{.35\textwidth}
86 \begin{pullquote}
87 Can it be real\\
88 The world is a mirage
89 \end{pullquote}
90 \end{column}
91
92 \begin{column}[t]{.65\textwidth}
93 \setbeamercolor{pullquote}{fg=MirageBlue}
94 \renewcommand{\MiragePullquoteOpen}{«}
95 \begin{pullquote}
96 Amidst barren hills of electronic fantasies\\
97 I search for oases of truth\\
98 Though as small as mayflies\\
99 I dare gaze at the galaxies
100 \end{pullquote}
101 \end{column}
102 \end{columns}
103 \end{frame}
104
105
106 % \renewcommand{\MirageFrametitlePrefix}{\faDove}
107 % \renewcommand{\MirageProofPrefix}{\faCheckSquare[regular]}
108 % \renewcommand{\MirageTheoremPrefix}{\faCogs}
109
110 \begin{frame}[allowframebreaks]{Blocks blocks blocks 123}
111
112 \begin{exampleblock}{Gosh I've no idea what I'm writing, do you?}
113 Now solve $x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}$. This should be easy, right?
114 \end{exampleblock}
115
116 \begin{alertblock}{Gosh I've no idea what I'm writing, do you?}
117 \[ x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}, \quad\therefore \alpha \neq \Omega \]
118 \end{alertblock}
119
120 \begin{block}{Gosh I've no idea what I'm writing, do you?}
121 \[ x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}, \quad\therefore \alpha \neq \Omega \]
122 \end{block}
123
124 \begin{proof}
125 As everyone can clearly see, $1+1=2$.
126 \end{proof}
127
128 \begin{theorem}
129 A wonderful thing is about to happen -- it \emph{will} eventually happen.
130 \end{theorem}
131
132 \begin{definition}
133 A wonderful thing is about to happen -- it \emph{will} eventually happen.
134 \end{definition}
135 \end{frame}
136
137
138 \end{document}