%% %% 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}