Advertisement
Guest User

extra-setup.tex

a guest
Aug 31st, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. \setbeamertemplate{itemize item}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths --}}
  2. \setbeamertemplate{itemize subitem}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths >}}
  3. \setbeamertemplate{itemize subsubitem}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths -}}
  4. \setbeamercovered{transparent}
  5.  
  6. \newcommand{\dataenvs}{\mathbb{D}}
  7. \newcommand{\naturals}{\mathbb{N}}
  8. \newcommand{\integers}{\mathbb{Z}}
  9. \newcommand{\booleans}{\mathbb{B}}
  10. \newcommand{\defiff}{\stackrel{\text{def}}{\iff}}
  11. \newcommand{\defeq}{\stackrel{\text{def}}{=}}
  12. \newcommand{\isassigned}{\colonequals}
  13. \newcommand{\colonequalscolon}{\ensuremath{\mathrel{\ratio\colonsep=\colonsep\ratio}}}
  14. \newcommand{\exchange}{\colonequalscolon}
  15.  
  16. \newcommand{\algorithmicdeclare}{{\bf declare}}
  17. \newcommand{\algorithmicrelease}{{\bf release}}
  18. \renewcommand{\algorithmicendwhile}{{\bf od}}
  19. \newcommand{\algorithmicnull}{{\bf null}}
  20. \newcommand{\algorithmiccall}{{\bf call}}
  21. %\newcommand{\algorithmicfalse}{{\bf false}}
  22. %\newcommand{\algorithmictrue}{{\bf true}}
  23. \newcommand{\algorithmicseq}{{\textbf{;}}}
  24. \newcommand{\algorithmiccdeclare}{\algorithmicdeclare\space}
  25. \newcommand{\algorithmiccrelease}{\algorithmicrelease\space}
  26. \newcommand{\algorithmiccnull}{\algorithmicnull\space}
  27. \newcommand{\algorithmicccall}{\algorithmiccall\space}
  28. \newcommand{\algorithmiccseq}{\ensuremath{\mathrel{\algorithmicseq}}}
  29.  
  30. \makeatletter
  31. \newcommand{\DECLARE}{\ALC@it\algorithmiccdeclare{}}
  32. \newcommand{\RELEASE}{\ALC@it\algorithmiccrelease{}}
  33. \makeatother
  34. \let\NULL \algorithmiccnull
  35. \let\SEQ \algorithmiccseq
  36. \let\CALL \algorithmicccall
  37.  
  38. \newcommand{\cons}{\ensuremath{\mathrel{:}}}
  39. \newcommand{\append}{\ensuremath{\mathrel{\&}}}
  40. \newcommand{\textmath}[1]{\text{\it #1}}
  41.  
  42. \newenvironment{Condition}{\{\,}{\,\}\;}
  43. \newenvironment{Pseudocode}{\begin{algorithmic}}{\end{algorithmic}}
  44. \newcommand{\hoareTriple}[3]{\(\{\,#1\,\}\)\;#2\;\(\{\,#3\,\}\)}
  45. \newcommand{\hoareTripleMM}[3]{\{\,#1\,\}\;#2\;\{\,#3\,\}}
  46. \newcommand{\hoareCondition}[1]{\(\{\,#1\,\}\)}
  47. \newcommand{\substitute}[2]{[\nicefrac{#1}{#2}]}
  48.  
  49. \newcommand{\bigforall}{\mathop{\vphantom{\sum}\mathchoice
  50. {\vcenter{\hbox{\huge$\stdforall$}}}
  51. {\vcenter{\hbox{\Large$\stdforall$}}}{\stdforall}{\stdforall}}\displaylimits}
  52. \newcommand{\appendop}{\mathop{\vphantom{\sum}\mathchoice
  53. {\vcenter{\hbox{\huge$\&$}}}
  54. {\vcenter{\hbox{\Large$\&$}}}{\&}{\&}}\displaylimits}
  55. \newcommand{\perm}{\mathbin{\vcenter{\hbox{\Large\(\pi\)}}}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement