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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
%%
%% An UIT Edition example
%%
%% 1st edition
%%
%% Example 02-04-1 on page 26.
%%
%% Copyright (C) 2012 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
%%
%% ====
% Show page(s) 1,2,3
\documentclass[size=12pt,paper=screen,mode=present,display=slidesnotes, style=simple,nopagebreaks]{exapd}
\pagestyle{empty}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
%\StartShownPreambleCommands
\usepackage{listings}
%\StopShownPreambleCommands
\begin{document}
\begin{slide}[method=file]{The \texttt{\textbackslash pause} command}
\begin{lstlisting}[basicstyle=\ttfamily\small]
$ kpsexpand '$TEXMFHOME'
/home/voss/texmf
\end{lstlisting}
\pause%
\begin{lstlisting}[basicstyle=\ttfamily\small]
$ kpsexpand '$TEXMFLOCAL'
/usr/local/texlive/2008/../texmf-local
\end{lstlisting}
\pause%
\begin{lstlisting}[basicstyle=\ttfamily\footnotesize,xrightmargin=-3cm]
$ kpsexpand '$TEXMF'
{/home/voss/.texlive2008/texmf-config,/home/voss/.texlive2008/texmf-var,
/home/voss/texmf,!!/usr/local/texlive/2008/texmf-config,
!!/usr/local/texlive/2008/texmf-var,!!/usr/local/texlive/2008/texmf,
!!/usr/local/texlive/2008/../texmf-local,!!/usr/local/texlive/2008/texmf-dist}
\end{lstlisting}
The \verb+!!+ prefix means that only the \verb+ls-R+ file is searched; otherwise
the given directory is searched recursively.
\end{slide}
\end{document}
|