summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/skb/user-guide/slides/example-art-tex2.tex
blob: 7555a42d7655eaec61ce8f3e06d3fcac181f24b6 (plain)
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
\mode
<presentation>

\begin{frame}{An Example Article -- \TeX~code}
  \label{example:art:tex2}

  \begin{example}[loading inital text]
    \lstinputlisting[style=beamer-example,language=TeX,firstline=10,lastline=10]{\skbfileroot{examples/example}}
  \end{example}

  \begin{example}[a section called Introduction]
    \lstinputlisting[style=beamer-example,language=TeX,firstline=12,lastline=20]{\skbfileroot{examples/example}}
  \end{example}

\end{frame}


\mode
<article>

\resizebox{\textwidth}{!}{\includeslide{example:art:tex2}}
\bigskip

\mode
<all>