Commit 54c0e8c9 authored by Andreas Beckmann's avatar Andreas Beckmann

switch to \verbatiminput for full slides

parent 82f16921
...@@ -25,7 +25,7 @@ other := $(patsubst %.tex,%,$(wildcard *.tex)) ...@@ -25,7 +25,7 @@ other := $(patsubst %.tex,%,$(wildcard *.tex))
%/tutorial: src %/minimal %/minimal_handout %/tutorial: src %/minimal %/minimal_handout
@mkdir -p $(@D) @mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../tutorial/tutorial.tex cd $(@D) && $(cmd%$*) -jobname tutorial '\makeatletter\def\input@path{{../../tutorial/}}\makeatother\input{./tutorial.tex}'
define other-target define other-target
%/$1: src %/$1: src
......
\begin{frame}[plain]
\frametitle{Plain Frame}
\begin{center}
Here is my tiny text on a plain frame.
\end{center}
\end{frame}
\begin{frame}[fragile]
\frametitle{Hello World in Intercal}
\begin{verbatim}
DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #234
DO ,1 SUB #2 <- #112
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #214
PLEASE READ OUT ,1
PLEASE GIVE UP
\end{verbatim}
\end{frame}
...@@ -6,10 +6,8 @@ ...@@ -6,10 +6,8 @@
\author{Your Name} \author{Your Name}
\institute{Your Institute} \institute{Your Institute}
\date{\today} \date{\today}
\titlegraphic{ \titlegraphic{\includegraphics%
\includegraphics[ [width=\paperwidth]{placeholder}}
width=\paperwidth]{placeholder}
}
\begin{document} \begin{document}
\maketitle \maketitle
......
...@@ -6,16 +6,14 @@ ...@@ -6,16 +6,14 @@
\author{Your Name} \author{Your Name}
\institute{Your Institute} \institute{Your Institute}
\date{\today} \date{\today}
\titlegraphic{ \titlegraphic{\includegraphics%
\includegraphics[ [width=\paperwidth]{placeholder}}
width=\paperwidth]{placeholder}
}
\begin{document} \begin{document}
\maketitle \maketitle
\begin{frame} \begin{frame}
\frametitle{My first slide title} \frametitle{My first slide title}
\framesubtitle{My first slide subtitle} \framesubtitle{My first slide subtitle}
\end{frame} \end{frame}
\end{document} \end{document}
...@@ -10,6 +10,7 @@ english, ...@@ -10,6 +10,7 @@ english,
\usepackage{babel} \usepackage{babel}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{verbatim}
\title{\LaTeX{} Beamer Template} \title{\LaTeX{} Beamer Template}
\subtitle{Howto for {\tt beamer}-Slides v18.06} \subtitle{Howto for {\tt beamer}-Slides v18.06}
...@@ -30,7 +31,7 @@ english, ...@@ -30,7 +31,7 @@ english,
\makepart \makepart
\begin{frame}[label=introduction] \begin{frame}[label=introduction]
\frametitle{{\LaTeX} {\tt sty.} Files -- Version 18.06} \frametitle{{\LaTeX} {\tt .sty} Files -- Version 18.06}
\begin{itemize} \begin{itemize}
\item first version with new corporate design \item first version with new corporate design
\item tutorial is not complete yet, will be updated periodically \item tutorial is not complete yet, will be updated periodically
...@@ -106,26 +107,11 @@ english, ...@@ -106,26 +107,11 @@ english,
\section{Test Installation I} \section{Test Installation I}
\begin{frame}[fragile,label=examples] \begin{frame}[fragile,label=examples]
\frametitle{Test your Installation} \frametitle{Test your Installation}
\framesubtitle{Try to compile this minimal talk} \framesubtitle{Try to compile this minimal talk: {\tt tutorial/minimal.tex}}
\begin{columns} \begin{columns}
\begin{column}[T]{0.4\textwidth} \begin{column}[T]{0.4\textwidth}
\footnotesize \footnotesize
\begin{verbatim} \verbatiminput{./minimal}
\documentclass{beamer}
\usetheme{Juelich}
\title{My first talk with \LaTeX{}}
\subtitle{The template works!}
\author{Your Name}
\institute{Your Institute}
\date{\today}
\titlegraphic{\includegraphics%
[width=\paperwidth]{placeholder}
}
\begin{document}
\maketitle
\end{document}
\end{verbatim}
\end{column}\hfill \end{column}\hfill
\begin{column}[T]{0.4\textwidth} \begin{column}[T]{0.4\textwidth}
\setlength{\fboxsep}{0pt}% \setlength{\fboxsep}{0pt}%
...@@ -136,31 +122,11 @@ english, ...@@ -136,31 +122,11 @@ english,
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Test your Installation II} \frametitle{Test your Installation II}
\framesubtitle{Try to compile this minimal talk with handouts} \framesubtitle{Try to compile this minimal talk with handouts: {\tt tutorial/minimal\_handout.tex}}
\begin{columns} \begin{columns}
\begin{column}[T]{0.4\textwidth} \begin{column}[T]{0.4\textwidth}
\tiny \scriptsize
\begin{verbatim} \verbatiminput{./minimal_handout}
\documentclass[t,handout]{beamer}
\usetheme{Juelich}
\title{My first talk with \LaTeX{}}
\subtitle{The template works!}
\author{Your Name}
\institute{Your Institute}
\date{\today}
\titlegraphic{\includegraphics%
[width=paperwidth]{placeholder}
}
\begin{document}
\maketitle
\begin{frame}
\frametitle{My first slide title}
\framesubtitle{My first slide subtitle}
\ end{frame}
\end{document}
\end{verbatim}
\end{column} \end{column}
\begin{column}[T]{0.4\textwidth} \begin{column}[T]{0.4\textwidth}
\includegraphics[height=0.7\textheight]{./minimal_handout} \includegraphics[height=0.7\textheight]{./minimal_handout}
...@@ -177,7 +143,7 @@ english, ...@@ -177,7 +143,7 @@ english,
The following slides show how {\tt Latex-Beamer} constructs work within the The following slides show how {\tt Latex-Beamer} constructs work within the
template. template.
\begin{itemize} \begin{itemize}
\item Framebreaks %\item Framebreaks
\item Lists, numbered lists \item Lists, numbered lists
\item Plain slides, background images \item Plain slides, background images
\item Theorems, proofs \item Theorems, proofs
...@@ -219,23 +185,17 @@ english, ...@@ -219,23 +185,17 @@ english,
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Plain Frames} \frametitle{Plain Frames}
\begin{itemize} \begin{itemize}
\item The next slide shows a plain frame, even without the ``Jülich'' color \item The next slide shows a plain frame.
bars at the left-hand side.
\item To use plain frames add the \verb![plain]! parameter to your \verb!\begin{frame}! statement. \item To use plain frames add the \verb![plain]! parameter to your \verb!\begin{frame}! statement.
\end{itemize} \end{itemize}
\begin{block}{How to use plain frames} \begin{block}{How to use plain frames}
\tiny \scriptsize
\begin{verbatim} \verbatiminput{frame_plain}
\begin{frame}[plain]
\frametitle{Plain Frame}
\begin{center}
Here is my tiny text on a plain frame.
\end{center}
\ end{frame}
\end{verbatim}
\end{block} \end{block}
\end{frame} \end{frame}
%\input{frame_plain}
\begin{frame}[c,plain] \begin{frame}[c,plain]
\frametitle{Plain Frame} \frametitle{Plain Frame}
\begin{center} \begin{center}
...@@ -335,32 +295,13 @@ english, ...@@ -335,32 +295,13 @@ english,
\begin{itemize} \begin{itemize}
\item Slides containing \verb!\verb! statements must be defined \verb+fragile+ \item Slides containing \verb!\verb! statements must be defined \verb+fragile+
\end{itemize} \end{itemize}
\tiny \scriptsize
\begin{verbatim} \verbatiminput{frame_verbatim}
\begin{frame}[fragile]
\frametitle{Hello World in Intercal}
\begin{verbatim}
DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #234
DO ,1 SUB #2 <- #112
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #214
PLEASE READ OUT ,1
PLEASE GIVE UP
\Xend{verbatim} % remove X after copy & paste :-)
\ end{frame}
\end{verbatim}
\end{frame} \end{frame}
\input{frame_verbatim}
\part{Jülich Colors} \part{Jülich Colors}
\makepart \makepart
...@@ -409,7 +350,7 @@ english, ...@@ -409,7 +350,7 @@ english,
\begin{block}{Helmholtz Banner and Date in German} \begin{block}{Helmholtz Banner and Date in German}
\begin{itemize} \begin{itemize}
\item Take a look at the date and Helmholtz banner in the lower left \item Take a look at the date and Helmholtz banner in the lower left
corner and the slide name adn frame number in the middle corner and the slide name and frame number in the middle
\item This slide should show the german version \item This slide should show the german version
\item Enable options via \verb+\documentclass[english,ngerman]{beamer}+ \item Enable options via \verb+\documentclass[english,ngerman]{beamer}+
\item Enabled locally via \verb+\selectlanguage{ngerman}+ before \item Enabled locally via \verb+\selectlanguage{ngerman}+ before
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment