July 15, 2010
\documentclass[12pt,table]{beamer} \usepackage{hyperref} % For fancy math \usepackage{amsmath} % color theme \usetheme{psu} \usecolortheme[RGB={0,38,93}]{structure} \def\softness{0.4} \definecolor{softblue}{rgb}{\softness,\softness,1} \renewcommand{\emph}[1]{\textit{\textcolor{softblue}{#1}}} \definecolor{darkgreen}{rgb}{0.2, 0.7, 0.5} \newcommand{\paper}[1]{\textit{\textcolor{darkgreen}{#1}}} % For fancy footnotes \renewcommand{\thefootnote}{\fnsymbol{footnote}} % For fancy fonts \usepackage{mathspec} \usepackage{fontspec} \defaultfontfeatures{Scale=MatchLowercase} \setmainfont[Mapping=tex-text]{Hoefler Text} \setsansfont[Mapping=tex-text]{Candara} %\setsansfont[Mapping=tex-text]{Myriad Pro} %\setsansfont[Mapping=tex-text]{Comic Sans MS} %\setmonofont{Courier} \setmonofont{Monaco} % For fancy picture \usepackage{tikz} %\usepackage{preamble} \usepackage{xspace} \newcommand{\LLL}{Lov\'asz Local Lemma\xspace} \makeatletter \newenvironment{customitem}[2]{ \ifnum\@itemdepth >2\relax\@toodeep\else \advance\@itemdepth\@ne% \beamer@computepref\@itemdepth% \usebeamerfont{itemize/enumerate \beameritemnestingprefix body}% \usebeamercolor[fg]{itemize/enumerate \beameritemnestingprefix body}% \usebeamertemplate{itemize/enumerate \beameritemnestingprefix body begin}% \begin{list} { \usebeamertemplate{itemize \beameritemnestingprefix item} } { \leftmargin=#1 \itemindent=#2 \def\makelabel##1{% {% \hss\llap{{% \usebeamerfont*{itemize \beameritemnestingprefix item}% \usebeamercolor[fg]{itemize \beameritemnestingprefix item}##1}}% }% }% } \fi } { \end{list} \usebeamertemplate{itemize/enumerate \beameritemnestingprefix body end}% } \makeatother \begin{document} \title{A Constructive Proof of the Lov\'asz Local Lemma} \subtitle{Robin Moser, STOC 2009} \author{Youngtae Youn} \institute{CSE Dept. Penn State} \date{September 28, 2009} %%% \begin{frame} \frametitle{\LLL: Lov\'asz and Erd\H{o}s in 1975} \begin{itemize} \item What if bad events are \alert{not} independent? \begin{customitem}{1.3em}{0em} \item Bad events are \emph{mostly} independent from one another. \item Bad event are \alert{not} individually too likely to occur. \end{customitem} Still, $\Pr[\text{none of the bad events will occur}] > 0$. \item Lov\'asz Local Lemma \end{itemize} \end{frame} \end{document}
Comments Off on Beamer Nested Itemized List Indentation
no comment until now