[Commits] [svn:einsteintoolkit] Workshop_Summer_2013/ (Rev. 4)
rhaas at tapir.caltech.edu
rhaas at tapir.caltech.edu
Tue Jul 23 13:33:36 CDT 2013
User: rhaas
Date: 2013/07/23 01:33 PM
Added:
/
preamble.tex
Log:
add style setting file from spring workshop
File Changes:
Directory: /
============
File [added]: preamble.tex
Delta lines: +74 -0
===================================================================
--- preamble.tex (rev 0)
+++ preamble.tex 2013-07-23 18:33:36 UTC (rev 4)
@@ -0,0 +1,74 @@
+\documentclass[xcolor=usenames,xcolor=dvipsnames]{beamer}
+
+\usepackage[utf8]{inputenc}
+\usepackage{beamerthemesplit}
+\usepackage{url}
+\usepackage{hyperref}
+\usepackage{tikz}
+\usepackage{alltt}
+
+\usetheme{Madrid}
+\definecolor{cactusgreen}{RGB}{132,186,75}
+\graphicspath{{../pics/}}
+
+\newcommand{\ilshell}[1]{\colorbox{lightgray}{\small{\texttt{#1}}}}
+\newcommand{\shell}[1]{\hspace{1cm}\colorbox{lightgray}{\small{\texttt{#1}}}}
+
+\hyphenation{Cac-tus-Ein-stein Schwarz-schild vacuum in-fra-struc-ture}
+
+% \logo{\includegraphics[height=1cm]{pics/cactuslogo.png}}
+
+% We want to use the infolines outer theme because it uses so less space, but
+% it also tries to print an institution (which we do not have) and the slide
+% numbers (which we might not want to show). Therefore, we here redefine the
+% footline ourselfes - mostly a copy & paste from
+% /usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemeinfolines.sty
+\defbeamertemplate*{footline}{infolines theme without institution and slide numbers}
+{
+ \leavevmode%
+ \hbox{%
+ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
+ \usebeamerfont{author in head/foot}\insertshortauthor
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
+ \usebeamerfont{title in head/foot}\insertshorttitle
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{date in head/foot}%
+ \usebeamerfont{date in head/foot}\insertshortdate{}
+ \end{beamercolorbox}}%
+ \vskip0pt%
+}
+
+% For some reason this is not displayed by default. This is just a copy & paste
+% from the same file as the footline
+\defbeamertemplate*{headline}{infolines theme with sections/subsections}
+{
+ \leavevmode%
+ \hbox{%
+ \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
+ \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex}
+ \end{beamercolorbox}%
+ \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,left]{subsection in head/foot}%
+ \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead
+ \end{beamercolorbox}}%
+ \vskip0pt%
+}
+
+\newcommand{\abspic}[4]
+ {\vspace{ #2\paperheight}\hspace{ #3\paperwidth}\includegraphics[height=#4\paperheight]{#1}\\
+ \vspace{-#2\paperheight}\vspace{-#4\paperheight}\vspace{-0.0038\paperheight}}
+
+% Make a todo comment stand out visually
+\newcommand{\todo}[1]{{~\textbf{\color{red}[TODO: #1]}}}
+
+\newcommand{\tg}{\tilde\gamma}
+\newcommand{\tG}{\tilde\Gamma}
+\newcommand{\tA}{\tilde A}
+\newcommand{\tK}{\tilde K}
+\newcommand{\lb}{{\cal L}_\beta}
+\newcommand{\dt}{(\partial_t - {\cal L}_\beta)\;}
+\newcommand{\tr}{\mbox{tr}}
+\newcommand{\lbt}[4]{\beta^{#4}\partial_{#4}#1_{#2#3}+#1_{#2#4}\partial_{#3}\beta^{#4}+#1_{#3#4}\partial_{#2}\beta^{#4}-\frac{2}{3}#1_{#2#3}\partial_{#4}\beta^{#4}}
+
+\newlength{\vs}
+
More information about the Commits
mailing list