summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstool/trial-pstool.tex
blob: 3f412245a674f07f6d52fcf0778e67fcc5d8ad2a (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
39
40
41
\pdfoutput =0\relax 

\documentclass[12pt]{memoir}
\usepackage{color}
\usepackage[cleanup={},process=all]{pstool}
\input macros.tex

\newif\ifNAT
\NATfalse
\ifNAT
\usepackage{natbib}
\else
\usepackage{biblatex}
\bibliography{xampl}
\fi

\usepackage [active,tightpage]{preview}
\pagestyle {empty}

\makeatletter 
\def \thepage {\csname @arabic\endcsname \c@page }
\setcounter {page}{2}
\@input {example.oldaux}

\begin {document}
\immediate \write \@mainaux {\@percentchar <*PSTOOLLABELS>}
\makeatother 
\centering \null \vfill 

\begin {preview}
\csname @input\endcsname {example-pstool.tex}\csname @input\endcsname {trial.tex}\color {red} \tiny \psfrag {[Mp]}{$M_\a $}\psfrag {[epb]}{\cite {article-full}}
 \includegraphics [] {trial}
\end {preview}

\vfill 

\makeatletter 
\immediate \write \@mainaux {\@percentchar </PSTOOLLABELS>}
\makeatother 
\end {document}