Newer
Older
Presentations / tau23mu_lhcb / 24_02_2014 / macros.tex
@mchrzasz mchrzasz on 31 Mar 2014 594 bytes update
  1. % This program can be redistributed and/or modified under the terms
  2. % of the GNU Public License, version 3.
  3.  
  4. % adds reference to bottom right of corner of a slide
  5. \usepackage[absolute,overlay]{textpos} % text references in slide corners
  6. \newcommand\textref[1]{%
  7. \begin{textblock*}{\paperwidth}(0pt,0.99\textheight)
  8. \raggedleft \tiny{\emph{#1}}\hspace{.5em}
  9. \end{textblock*}}
  10.  
  11. % for drawing circles around numbers
  12. % ex. \circled{1} Add some text here.
  13. \usepackage{tikz}
  14. \newcommand*\circled[1]{\tikz[baseline=(char.base)]{
  15. \node[shape=circle,draw,inner sep=2pt] (char) {#1};}}