-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.tex
134 lines (115 loc) · 3.73 KB
/
header.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
% Default font is 11pt, which is pretty big, especially for internal
% talks Default aspect ratio is 4:3. "32", i.e. 3:2, is a compromise
% between 4:3 and 16:9
%
% Compromising on 3:2 is reasonable when you're going to show the talk
% on a projector and you don't know what kind of projector or screen it
% will be.
%
% 16:9 is best if others will be viewing it on their own devices,
% fullscreen.
%
% 4:3 is best if others will be viewing it on their own devices in a
% meeting where they want to also see the participants list/participant
% video/chat window.
%
% 3:2 is a good compromise when people will be viewing it on their own
% devices, but you don't know if they'll want to use part of the screen
% for something else or not.
%
% So 3:2 is the best default overall as of 2024. This may well change in
% the future.
%
\documentclass[aspectratio=32,10pt]{beamer}
% These together produce the same font as usual, but with copyable underscores
\usepackage[T1]{fontenc}
\usepackage{xspace}
\usepackage[absolute, overlay]{textpos}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage{array}
% Sets default width for includegraphics images
\setkeys{Gin}{width=\columnwidth}
\frenchspacing
\hypersetup{colorlinks}
\input{commands.tex}
\setbeamertemplate{navigation symbols}{}
\mode<presentation>
% default % With minimal space usage for sections
% Boadilla % With minimal space usage for sections
% Madrid % With minimal space usage for sections
% Pittsburgh % With minimal space usage for sections
% Rochester % With minimal space usage for sections
% AnnArbor % With space used at top for sections
% Antibes % With space used at top for sections
% Berlin % With space used at top for sections
% CambridgeUS % With space used at top for sections
% Copenhagen % With space used at top for sections
% Darmstadt % With space used at top for sections
% Dresden % With space used at top for sections
% Frankfurt % With space used at top for sections
% Ilmenau % With space used at top for sections
% JuanLesPins % With space used at top for sections
% Luebeck % With space used at top for sections
% Montpellier % With space used at top for sections
% Singapore % With space used at top for sections
% Szeged % With space used at top for sections
% Warsaw % With space used at top for sections
% Berkeley % With space used on right or left for sections
% Goettingen % With space used on right or left for sections
% Hannover % With space used on right or left for sections
% Malmoe % With space used on right or left for sections
% Marburg % With space used on right or left for sections
% PaloAlto % With space used on right or left for sections
% Bergen % With space used on left for ... something
\usetheme{PaloAlto}
% default
% albatross
% beaver
% beetle
% crane
% dolphin
% dove
% fly
% lily
% orchid
% rose
% seagull
% seahorse
% whale
% wolverine
\usecolortheme{default}
\setbeamersize{text margin left=2mm,text margin right=2mm}
\author{Matthew Strait}
\institute{Fermilab}
%%%%%%%%%%
% Tricks %
%%%%%%%%%%
\newcommand{\beginbackup}{
\newcounter{framenumbervorappendix}
\setcounter{framenumbervorappendix}{\value{framenumber}}
}
\newcommand{\backupend}{
\addtocounter{framenumbervorappendix}{-\value{framenumber}}
\addtocounter{framenumber}{\value{framenumbervorappendix}}
}
\newcommand{\topbit}[3]{
\title[#3]{#1}
\pdfinfo{
/Author (Matthew Strait)
/Title (#1)
}
\date{#2}
\begin{document}
\frame{
\maketitle
}
}
\usepackage{tikz}
\newcommand{\hcancel}[1]{%
\tikz[baseline=(tocancel.base)]{
\node[inner sep=0pt,outer sep=0pt] (tocancel) {#1};
\draw[black] (tocancel.west) -- (tocancel.east);
}%
}%
\setbeamertemplate{footline}[frame number]