summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pst-exa/pst-exa-doc.tex
blob: 235b34850735c132dd85fd0778d4400b4118b322 (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
42
\documentclass[pagesize=auto, fontsize=14pt, DIV=9, parskip=half]{scrartcl}
\usepackage{fixltx2e}
\usepackage{etex}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage{hyperref}

\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
\newcommand*{\pkg}[1]{\textsf{#1}}
\newcommand*{\env}[1]{\texttt{#1}}
\def\PS{PostScript}
\addtokomafont{title}{\rmfamily}

\title{The \pkg{pst-exa} package\thanks{This manual corresponds to \pkg{pst-exa.sty}~v0.05, dated~2014/09/24.}}
\author{Herbert Voß\thanks{\mail{hvoss@tug.org}}}
\date{\today}


\begin{document}

\maketitle

The package \pkg{pst-exa} was created to realize examples with printed code and output
side by side or on top of each other. The package looks in the image directory for the source
code of the examples and inserts only the code between the environment \env{document},
which is the sequence \verb+\begin{document} ... \end{document}+.

The package provides the environment \env{PSTexample} with the optional
arguments. For more information read the documentation of \texttt{pst2pdf}.

Using \pkg{pst-exa} makes only sense together with the Perl script \texttt{pst2pdf}, which
allows the use of Postscript code and running the document in \textsc{pdf} mode.

\nocite{*}
\bibliographystyle{plain}
\bibliography{\jobname}


\end{document}