Debian Codegraph @

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

raw
1 \documentclass{beamer}
2
3 \usepackage[size=a3,orientation=portrait,scale=1.4]{beamerposter}
4
5 % (Mirage theme already loads fontawesome5)
6 % \usetheme{Mirage}
7 \usetheme[light]{Mirage}
8
9 \usepackage{iftex}
10
11 % These fonts will work with pdflatex, xelatex, lualatex
12 \usepackage[lining,tabular]{carlito}
13 \usepackage{caladea}
14
15 \ifboolexpr{bool{xetex} or bool{luatex}}{
16 % Unicode-math and TTF/OTF fonts will only work with xelatex, lualatex
17 \usepackage{unicode-math}
18 % \setmathfont{STIX Two Math}
19 % \setmathfont{Erewhon Math}
20 \setmathfont{Fira Math}
21 }{% Sans math font in pdflatex:
22 \usepackage[T1]{fontenc}
23 \usepackage{newtxsf}
24 }
25
26
27 % beamer slides -> poster = some adjustments needed
28 \setbeamerfont{headline}{size=\huge}
29 \setbeamerfont{footline}{size=\large}
30 \setbeamercolor{bibliography item}{fg=block body.fg}
31 \setbeamercolor{bibliography entry author}{fg=block body.fg}
32 \setbeamercolor{bibliography entry title}{fg=block body.fg}
33 \setbeamercolor{bibliography entry location}{fg=block body.fg}
34 \setbeamercolor{bibliography entry note}{fg=block body.fg}
35 \setlength{\MirageGlowRadius}{0.5ex}
36
37 % _slightly_ more prominent colours for the headline... but not so much
38 \makeatletter
39 \ifMirage@light
40 \setbeamercolor{section in head/foot}{fg=structure!80!MirageGray0}
41 \setbeamercolor{page number in head/foot}{fg=structure!80!MirageGray0}
42 \else
43 \setbeamercolor{section in head/foot}{fg=structure!90}
44 \setbeamercolor{page number in head/foot}{fg=structure!90}
45 \fi
46 \makeatother
47 \setbeamerfont{title}{size=\Huge}
48 \setbeamerfont{author}{size=\large}
49 % might need some extra vertical space when using [t]
50 \addtobeamertemplate{headline}{}{\vspace*{1ex}}
51
52 % yes I've sinned by abusing and re-defining \insertnavigation to quickly
53 % insert the title and author in the headline...
54 \renewcommand*{\insertnavigation}[1]{\centering\vspace*{-1ex}%
55 {\usebeamerfont{title}%
56 \insertshorttitle[width=0.95\hsize,respectlinebreaks,center]\par}%
57 \vspace*{0.5ex}%
58 {\usebeamerfont{author}%
59 \insertshortauthor[width=0.95\hsize,respectlinebreaks,center]\par}%
60 }
61
62
63 % adjust itemize/enumerate list indents if necessary
64 \setlength{\leftmarginii}{1.75em}
65 \setlength{\leftmarginiii}{2.5em}
66
67 \usepackage{graphicx}
68 \usepackage[style=numeric,natbib]{biblatex}
69 \addbibresource{sample-refs.bib}
70
71
72 \title{Using the Mirage theme for posters}
73 \author{John Doe, Jane Smith and A.~N.~Other }
74 \renewcommand{\MirageFootlineContents}{Dept of XX, Uni of YY, other information as appropriate}
75
76 \begin{document}
77
78 \begin{frame}
79
80 \begin{columns}[T]
81 \column{.47\textwidth}
82 \begin{block}{Introduction}
83
84 \begin{itemize}
85 \item Behold the mechanical dove \faDove{} flying through the air
86 \item How might its eyes be lit \faEye[regular] that it appears lifelike
87
88 \begin{enumerate}
89 \item Are digital dawns and dusks \faCloudSun{} more colourful? \faCloudMoon
90 \item Are bionic lovers \faGrinHearts{} more faithful? \faGrin*[regular]
91 \end{enumerate}
92
93 \item Push this one door open \faDoorOpen{} and there are thousands more \faDoorClosed{\small\faDoorClosed}{\footnotesize\faDoorClosed}{\scriptsize\faDoorClosed}{\tiny\faDoorClosed}
94 \end{itemize}
95
96 \end{block}
97
98 \begin{block}{The ancient gaze from aeons ago}
99 \begin{enumerate}
100 \item How might it discern if this moment is fantasy or real
101 \begin{enumerate}
102 \item Is man-made talent true inherent wisdom?
103 \begin{enumerate}
104 \item Do cloned bodies have souls?
105 \item Forever questioning, but ever without a conclusion
106 \end{enumerate}
107 \end{enumerate}
108 \item \alert{Can it be real}
109 \end{enumerate}
110 \end{block}
111
112 \begin{pullquote}
113 Can it be real\\
114 The world is a mirage
115 \end{pullquote}
116
117 \bigskip
118
119 \setbeamercolor{pullquote}{fg=MirageBlue}
120 \renewcommand{\MiragePullquoteOpen}{«}
121 \begin{pullquote}
122 Amidst barren hills of electronic fantasies\\
123 I search for oases of truth\\
124 Though as small as mayflies\\
125 I dare gaze at the galaxies
126 \end{pullquote}
127
128 \column{.47\textwidth}
129 \begin{exampleblock}{Gosh I've no idea what I'm writing, do you?}
130 Now solve $x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}$. This should be easy, right?
131 \end{exampleblock}
132
133 \begin{alertblock}{Gosh I've no idea what I'm writing, do you?}
134 \[ x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}, \quad\therefore \alpha \neq \Omega \]
135 \end{alertblock}
136
137 \begin{block}{Gosh I've no idea what I'm writing, do you?}
138 \[ x = \frac{-b \pm \sqrt{b^2 -4ac}}{2a}, \quad\therefore \alpha \neq \Omega \]
139 \end{block}
140
141 \begin{proof}
142 As everyone can clearly see, $1+1=2$.
143 \end{proof}
144
145 \begin{theorem}
146 A wonderful thing is about to happen -- it \emph{will} eventually happen.
147 \end{theorem}
148
149 \begin{definition}
150 A wonderful thing is about to happen -- it \emph{will} eventually happen.
151 \end{definition}
152
153 \end{columns}
154
155 \begin{block}{Superior Images and False Horizons \citep{Mirage-Greenler1980,AtmRefrac-Hyperphysics}}
156 \begin{center}\includegraphics[width=0.95\hsize]{miragesup.png}\end{center}
157 A superior image can be produced when warm air exists over cold water. Again, using the pattern from Greenler, the vertical scale and the curvature are greatly exaggerated to show the effect. Such images are often seen at great distances in the arctic region when the air is significantly warmer than the water. Since the geometry of the mirage images depends on the details of the temperature contour, a great variety of mirage images can be formed.
158
159 Source: \url{http://hyperphysics.phy-astr.gsu.edu/hbase/atmos/mirage.html}
160 \end{block}
161
162 \vfill
163
164 \begin{block}{\refname}
165 \renewcommand*{\bibfont}{\small}
166 \addtolength{\bibitemsep}{-0.5ex}
167 \setlength{\biblabelsep}{0.25em}
168 \printbibliography[heading=none]
169 \end{block}
170
171 \end{frame}
172 \end{document}