Difference between revisions of "Presentations:thomas feLines"

From Remeis-Wiki
Jump to navigation Jump to search
Line 49: Line 49:
 
  \newcommand{\bluetext}[1]{{\color{tdblue}#1}}
 
  \newcommand{\bluetext}[1]{{\color{tdblue}#1}}
  
% define my own slides: style chosen here is plain
+
% define my own slides: style chosen here is plain
\newcommand{\tdframe}[1]{\frame[plain]{#1}}
+
\newcommand{\tdframe}[1]{\frame[plain]{#1}}
  
% define a compact itemize-environment
+
% define a compact itemize-environment
\newenvironment{itemize*}%
+
\newenvironment{itemize*}%
 
   {\begin{itemize}%
 
   {\begin{itemize}%
 
     \setlength{\itemsep}{0pt}%
 
     \setlength{\itemsep}{0pt}%
Line 60: Line 60:
  
  
% define an outlined caption with ps-tricks: text in "Caption" is surrounded by a black line.
+
% define an outlined caption with ps-tricks: text in "Caption" is surrounded by a black line.
% this is useful if you use a background image, but the title/authors should still be readable
+
% this is useful if you use a background image, but the title/authors should still be readable
\definecolor{Caption}{rgb}{0.8,0.1,0.01}
+
\definecolor{Caption}{rgb}{0.8,0.1,0.01}
\newcommand\outlineCaption[1]{\textbf{\pscharpath[linecolor=black,linewidth=.1pt,
+
\newcommand\outlineCaption[1]{\textbf{\pscharpath[linecolor=black,linewidth=.1pt,
gradangle=90,fillstyle=gradient,gradbegin=Caption,gradend=Caption,gradmidpoint=1]{#1}}}
+
gradangle=90,fillstyle=gradient,gradbegin=Caption,gradend=Caption,gradmidpoint=1]{#1}}}
</file> 
+
  
 +
===== Title Page  =====
  
===== Title Page =====
+
  {
<file>
+
  % this sets the background image. It is set only for this slide, as the whole section is enclosed
{
+
  % in brackets
% this sets the background image. It is set only for this slide, as the whole section is enclosed
+
  \usebackgroundtemplate{\includegraphics[width=\paperwidth,height=\paperheight]{agn_nasa}}
% in brackets
 
  \usebackgroundtemplate{\includegraphics[width=\paperwidth,height=\paperheight]{agn_nasa}}
 
  
 
  % start the slide
 
  % start the slide
Line 110: Line 109:
 
         }
 
         }
 
       }       
 
       }       
  }
+
  }
}
+
}
</file>
+
 
  
 +
======  Example Slide  ======
  
=====  Example Slide  ======
 
  
<file>
+
\tdframe{
\tdframe{
+
  \frametitle{Accretion Geometry: Source of hard X-rays}
  \frametitle{Accretion Geometry: Source of hard X-rays}
 
  
  
Line 154: Line 152:
 
   \end{columns}
 
   \end{columns}
  
}
+
}
</file>
 

Revision as of 13:24, 13 April 2018


Fe Lines Talk

I made this presentation in only a few days. Hence, not everything is coded very well. Nevertheless you might find some interesting features you can use for your presentation. If you've got questions: Just ask me! :-)

Header
\documentclass[usenatbib]{beamer}
% if you use the draft option (\documentclass[usenatbib,draft]{beamer}) the images
% are not included. You can safe a lot of time using this option, if you do not need
% to look at your figures.
\usepackage[latin1]{inputenc}
\usepackage{hyperref}
\usepackage{colortbl} % colored tables
\usepackage{natbib} % the bibliography is in natbib style
\usepackage{url}  % est urls with \url{...} correctly
\usepackage{amssymb} % more symbols
\usepackage{amsmath} % standard math packag
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{multicol} % allows you to create multiple columns
\usepackage{pstricks,pst-grad,pst-text}  % pstricks ...
% set your graphics path
\graphicspath{{./figs/}}
% select your favourite theme
\usetheme{Frankfurt}


Definitions/Functions
% define your own colors: 
% especially the standard green needs to be dark
\definecolor{tdgreen}{rgb}{0,0.6,0}
\definecolor{tdblue} {rgb}{.114, .157, .706 }
\definecolor{tdred} {rgb}{0.922, .086, .086 }
% for creating my title page, I define my font sizes
\newcommand\titleFontSize{\fontsize{0.65cm}{0.6cm}\selectfont}
\newcommand\authorFontSize{\fontsize{0.55cm}{0.5cm}\selectfont}
% simple commands for highlighting text in different colors
\newcommand{\greentext}[1]{{\color{tdgreen}#1}}
\newcommand{\redtext}[1]{{\color{tdred}#1}}
\newcommand{\bluetext}[1]{{\color{tdblue}#1}}
% define my own slides: style chosen here is plain
\newcommand{\tdframe}[1]{\frame[plain]{#1}}
% define a compact itemize-environment
\newenvironment{itemize*}%
 {\begin{itemize}%
   \setlength{\itemsep}{0pt}%
   \setlength{\parskip}{0pt}}%
 {\end{itemize}}


% define an outlined caption with ps-tricks: text in "Caption" is surrounded by a black line.
% this is useful if you use a background image, but the title/authors should still be readable
\definecolor{Caption}{rgb}{0.8,0.1,0.01}
\newcommand\outlineCaption[1]{\textbf{\pscharpath[linecolor=black,linewidth=.1pt,
gradangle=90,fillstyle=gradient,gradbegin=Caption,gradend=Caption,gradmidpoint=1]{#1}}}

Title Page
{
 % this sets the background image. It is set only for this slide, as the whole section is enclosed
 % in brackets
  \usebackgroundtemplate{\includegraphics[width=\paperwidth,height=\paperheight]{agn_nasa}}
% start the slide
 \tdframe{
   \centering    
   \vspace{0.5cm}
   \color{Authors}
   \bf
      {\titleFontSize \outlineCaption{Measuring the Spin of a Black Hole:}}
      {\titleFontSize \outlineCaption{Broad Iron Emission Lines}}
      
      \vspace{1cm}       
      
      {\authorFontSize\textbf{Thomas Dauser$^1$} }
      
      \vspace{0.66cm}
      
      {\tiny in collaboration with} \\
      \vspace{0.1cm}
      \small
      J.~Wilms$^1$, R.~Duro$^1$, C.~S.~Reynolds~(UMd), L.~Brenneman~(CfA),
      K.~Pottschmidt~(CRESST/UMBC/NASA-GSFC), M.~A.~Nowak(MIT),
      N.~Schartel~(ESA-ESOC), and J.~Svoboda~(CAS)
      
      \vspace{0.4cm}
      
      {\footnotesize $^1$ Dr. Karl Remeis Observatory Bamberg \& ECAP}
      
      % set the logos       
      \raisebox{-1.35cm}[0cm][0cm]{
      % logs need a white box to look good
        \colorbox{white}{
          \includegraphics[width=0.25\textwidth]{uni-erlangen.eps} \hspace{5.1cm}
          \includegraphics[width=0.2\textwidth]{ecap_logo_transparent.eps}
        }
      }       
  }
}


Example Slide
\tdframe{
  \frametitle{Accretion Geometry: Source of hard X-rays}


 \begin{columns}
   \begin{column}{0.55\textwidth}
     \includegraphics[width=\columnwidth]{diff_geo_corona}
   \end{column}
   \begin{column}{0.5\textwidth}
     \begin{alertblock}{}\textbf{Sandwich/Sphere Corona}
         {\footnotesize Comptonization from a \bluetext{hot electron
             plasma} surrounding the disk {\tiny
             \citep[][\ldots]{Haardt1993a,Dove1997a}}}
         \greentext{canonical $\alpha$-disk: $r^{-3}$} {\footnotesize
           {\tiny\citep[in AGN usually higher values observed, e.g.,
             ][]{wilms2001a}}}
     \end{alertblock} 
   \end{column}
 \end{columns}
 \vspace{0.9cm}\hrule\vspace{0.6cm}
 \begin{columns}
   \begin{column}{0.55\textwidth}
     \includegraphics[width=\columnwidth]{diff_geo_jet}
   \end{column}
   \begin{column}{0.5\textwidth}
     \begin{alertblock}{}\textbf{Jet Base Geometry}
       {\footnotesize Comptonization from the base of a jet {\tiny
           \citep[][\ldots]{Matt1992a,Markoff2005a,Miniutti2007a}}}
       \greentext{``lensing effect: steep emissivity} towards
       $r_\mathrm{ISCO}$
     \end{alertblock}
   \end{column}
 \end{columns}
}