Fix #338: re.sub() flag argument at wrong position.
[docutils.git] / sandbox / rst2beamer / feature_requests / alan_isaac_slides_test01_without_beamer_visit_docinfo.tex
blob0e2f5c5877f4f155189ade1a4c81e3b0446e79af
1 % generated by Docutils <http://docutils.sourceforge.net/>
2 \documentclass[t,english]{beamer}
3 \usepackage{hyperref}
5 \definecolor{rrblitbackground}{rgb}{0.55, 0.3, 0.1}
7 \newenvironment{rtbliteral}{
9 \begin{ttfamily}
11 \color{rrblitbackground}
15 \end{ttfamily}
19 \usetheme{Warsaw}
21 \setbeameroption{hide notes}
23 \usepackage{fixltx2e} % LaTeX patches, \textsubscript
24 \usepackage{cmap} % fix search and cut-and-paste in PDF
25 \usepackage[T1]{fontenc}
26 \usepackage[latin1]{inputenc}
27 \usepackage{ifthen}
28 \usepackage{babel}
29 \usepackage{tabularx}
31 %%% Custom LaTeX preamble
32 % PDF Standard Fonts
33 \usepackage{mathptmx} % Times
34 \usepackage[scaled=.90]{helvet}
35 \usepackage{courier}
37 %%% User specified packages and stylesheets
39 %%% Fallback definitions for Docutils-specific commands
41 % providelength (provide a length variable and set default, if it is new)
42 \providecommand*{\DUprovidelength}[2]{
43 \ifthenelse{\isundefined{#1}}{\newlength{#1}\setlength{#1}{#2}}{}
46 % docinfo (width of docinfo table)
47 \DUprovidelength{\DUdocinfowidth}{0.9\textwidth}
49 % hyperlinks:
50 \ifthenelse{\isundefined{\hypersetup}}{
51 \usepackage[unicode,colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
52 \urlstyle{same} % normal text font (alternatives: tt, rm, sf)
53 }{}
54 \hypersetup{
55 pdftitle={Test 1 for Slides Writers},
56 pdfauthor={Au Thor}
59 %%% Body
60 \begin{document}
62 % Document title
63 \title{%
64 \phantomsection%
65 \label{test-1-for-slides-writers}}
66 \author{}
67 \date{}
68 \maketitle
70 % Docinfo
71 \begin{center}
72 \begin{tabularx}{\DUdocinfowidth}{lX}
73 \textbf{Author}: &
75 \textbf{Date}: &
77 \textbf{}: &
80 \end{tabularx}
81 \end{center}
82 Test 1 for Slides WritersSubtitleAu ThorJanuary 1, 2525institutionCu U
84 %___________________________________________________________________________
86 \section*{Section 1}
89 %___________________________________________________________________________
91 \subsection*{Subsection 1.1}
93 \begin{frame}[fragile]
94 \frametitle{Slide 1}
96 \begin{itemize}[<+-| alert@+>]
98 \item These slides have a title and subtitle.
100 \item There are sections and subsections.
102 \item This slide is in a section and subsection.
103 \begin{itemize}[<+-| alert@+>]
105 \item Which means all slides must be in a section
106 \emph{and} subsection! (For sectioning consistency.)
107 \end{itemize}
109 \item Not even rst2beamer currently identifies all this
110 sectioning correctly (because of the subtitle).
111 \end{itemize}
112 \end{frame}
115 %___________________________________________________________________________
117 \subsection*{Subsection 1.2}
119 \begin{frame}[fragile]
120 \frametitle{Slide 2}
123 A slide in a new subsection.
124 \end{frame}
127 %___________________________________________________________________________
129 \section*{Section 2}
132 %___________________________________________________________________________
134 \subsection*{Subsection 2.1}
136 \begin{frame}[fragile]
137 \frametitle{Slide 3}
140 A slide.
141 \end{frame}
143 \begin{frame}[fragile]
144 \frametitle{Slide 4}
147 A slide.
148 \end{frame}
151 %___________________________________________________________________________
153 \section*{Section 3}
156 %___________________________________________________________________________
158 \subsection*{Subsection 3.1}
160 \begin{frame}[fragile]
161 \frametitle{Slide 5}
164 A slide.
165 \end{frame}
167 \begin{frame}[fragile]
168 \frametitle{Slide 6}
171 A slide.
172 \end{frame}
174 \end{document}