put number of pract session in title
[packaging-tutorial.git] / debiantutorial.sty
index 28d05f6..502ef82 100644 (file)
@@ -5,7 +5,7 @@
 \newcommand{\Frownie}{{\color{darkred}\frownie}}
 \usepackage[utf8]{inputenc}
 \usepackage{helvet}
-\usepackage[OT1]{fontenc}
+\usepackage[T1]{fontenc}
 \usepackage{xspace}
 \usepackage{verbatim}
 \usepackage{tabularx}
 \usepackage{aecompl}
 
 \newcommand{\pedp}{\NoAutoSpaceBeforeFDP}
-
-\logo{\includegraphics[viewport=274 335 360 440,width=0.5cm]{figs/openlogo-nd.pdf}}
+\pgfdeclareimage[width=0.5cm]{openlogo}{figs/openlogo-nd.pdf} 
+\logo{\pgfuseimage{openlogo}}
 \newcommand{\nospace}[1]{{\NoAutoSpaceBeforeFDP{}#1}}%
 
 \AtBeginSection[]
 {
-  \begin{frame}
-    \frametitle{Outline}
+  \begin{frame}{Outline}
     \tableofcontents[currentsection,hideallsubsections]
   \end{frame}
 }
@@ -48,3 +47,5 @@
    \addtocounter{framenumbervorappendix}{-\value{framenumber}}
    \addtocounter{framenumber}{\value{framenumbervorappendix}} 
 }
+
+\newcommand{\seprule}{\vspace*{-0.5em}\centerline{\rule{\linewidth}{0.3pt}}\vspace*{-0.5em}}