\documentclass[10pt,a5paper]{article}%
\usepackage{beamerarticle,geometry,graphicx}
\geometry{margin=10mm,includehead,headheight=15pt,headsep=5mm}%
\usepackage{fancyhdr}%
\usepackage[breaklinks]{hyperref}%
\errorcontextlines=10
%\documentclass[10pt,hyperref={implicit=true}]{beamer}

\mode<presentation>
{
  %\usetheme{Warsaw}
  \usetheme[hideothersubsections]{Goettingen}
  % or ...

  \setbeamercovered{transparent}
  % or whatever (possibly just delete it)

  %\subject{}
}
\mode<article>
{
  \renewcommand{\floatpagefraction}{0.75} % default is .5, to increase
  % density.
  \renewcommand*{\bottomfraction}{0.6} % default is 0.3
  \renewcommand*{\topfraction}{0.85} % default is 0.7
  \renewcommand*{\textfraction}{0.1} % default is 0.2
  \pagestyle{fancy}
  \fancyhf{}
  \renewcommand{\sectionmark}[1]{\markright{\thesection. #1}}
  \lhead{\nouppercase{\rightmark}}
  \rhead{\thepage}
}


\usepackage[english]{babel}
\usepackage{alltt,booktabs,array,cols,multicol,meta}

\usepackage[utf8]{inputenc}
% or whatever

\usepackage{times}
\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.

\title{LPIC Overview}
\subtitle{LPIC 102}

\author[Geoffrey Robertson]{Geoffrey Robertson
  \texttt{\footnotesize{}ge@ffrey.com} \and Nick Urbanik
  \texttt{\footnotesize{}nicku@nicku.org} and Angus Lees \texttt{\footnotesize{}gus@inodes.org}\\
  {\tiny This document Licensed under GPL---see slide~\pageref{sld:license}}%
}

\date{2005 July}

% Copyright (C) 2005 Geoffrey Robertson <ge@ffrey.com>,
%                    Nick Urbanik <nicku@nicku.org>

% You can redistribute modified or unmodified copies of this document
% provided that this copyright notice and this permission notice are
% preserved on all copies under the terms of the GNU General Public
% License as published by the Free Software Foundation--either version 2
% of the License or (at your option) any later version.

\AtBeginSubsection[]
{
  \begin{frame}<beamer>
    \frametitle{Outline}
    \footnotesize
    \begin{multicols}{2}
      \tableofcontents[currentsection,currentsubsection]
    \end{multicols}
  \end{frame}
}

% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command: 

%\beamerdefaultoverlayspecification{<+->}

\newcounter{program}
%\newcommand*{\program}[1]{\refstepcounter{program}\label{#1}\arabic{program}}
% \newcommand*{\program}[1]{%
%    \refstepcounter{program}\hypertarget{#1}{Program \texttt{#1}}%
% }
%\newcommand*{\program}[1]{\refstepcounter{program}\label{#1}\arabic{program}}
\newcommand*{\program}[1]{%
   \hypertarget{#1}{Program \texttt{#1}}%
}

\newcommand*{\linkto}[1]{\hyperlink{#1}{\texttt{#1}}}
\providecommand*{\bs}{\texttt{\char '134}} % Backslash, no break

\newcommand{\cmd}[1]{%
  \texttt{\$ \textbf{#1 \(\hookleftarrow\)}}
}

\newcommand{\rootcmd}[1]{%
  \texttt{\# \textbf{#1 \(\hookleftarrow\)}}
}

\newcommand{\opt}[1]{%
  {\bfseries\texttt{#1}}
}

