summaryrefslogtreecommitdiff
path: root/support/pdfrack/testFiles/withInclude.tex
blob: ce23d9615bf3a5d21ba8120d17b41fd2194ea6a0 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
\documentclass{article}
\usepackage{pdfrack}
\usepackage{verbatim}
\usepackage{amsfonts}

\newcommand{\Rset}{\mathbb{R}}
\newcommand{\Fset}{\mathcal{F}}
\newcommand{\Gset}{\mathcal{G}}

\title{Test and example of the handling of included file}


\begin{document}

\maketitle

\section{Example}

A figure in the document itself.

\begin{figure}[htbp]
  \centering
  \psfrag{f:R2R}{$f: \Rset \mapsto \Rset$}
  \pdfrackincludegraphics[width=.3\linewidth]{fR2R}
  \caption{The figure in the document master file}
  \label{fig:indoc}
\end{figure}

\input aSubFile.tex


\clearpage
\subsection{Code of the example}

\verbatiminput{withInclude.tex}


\end{document}