-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathonline.tex
34 lines (25 loc) · 1.12 KB
/
online.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\documentclass[english,UKenglish]{article}
\usepackage[noamsthm]{beamerarticle}
\usepackage{comment}
\usepackage[pdfborder={0 0 0}]{hyperref}
% ----------------------------------------------------------------------
% New commands for online mode
% ----------------------------------------------------------------------
\newcommand{\tutornote}[1]{} % Gobble timing notes
\newtheorem{Example}{\translate{Example}}
\excludecomment{exercise}
\newenvironment<>{example}
{\begin{Example}\nobreak\mbox{}\nobreak}
{\end{Example}}
\setbeamertemplate{alerted text begin}{}
\setbeamertemplate{alerted text end}{}
% ----------------------------------------------------------------------
% Tikz and TeX4ht work together with the correct driver, but the
% text in nodes needs to be simplified a bit
\newcommand*{\pgfsysdriver}{pgfsys-tex4ht.def}
\renewcommand{\shortstack}[1]{\begingroup\def\\{ }#1\endgroup}
% At the same time, there is no sense in resizing graphics
\AtBeginDocument{\renewcommand{\resizebox}[3]{#3}}
% Using formatting in frame titles is a problem, so this is disabled
\AtBeginDocument{\renewcommand{\pkg}[1]{#1}}
\input{training}