summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/fldigigal/examples/fdg_min.tex
blob: 1c5e6ba59c7142e01d75b643b51f26d01720c591 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
\documentclass{article}
\usepackage[showembeds]{graphicxsp}
\usepackage{eforms}
\usepackage{rmannot}
\usepackage{fldigigal}

\definePath{\pathToSource}{%
    C:/Users/Public/Documents/My TeX Files/tex/%
        latex/aeb/aebpro/fldigigal/examples}
\definePath{\digisOnline}{%
    http://www.math.uakron.edu/~dpstory/photos/pa_demo}
\definePath{\digisLocal}{\pathToSource/digis}

\fdgXmlList[showcount]{myDigis}
{%
    \image{path=\digisOnline/Chrysanthemum.jpg,
        caption=Jürgen\'s Chrysanthemum,online}
    \image{path=\digisOnline/Desert.jpg,caption=Desert,online}
    \image{path=\digisOnline/Hydrangeas.jpg,caption=Hydrangeas,online}
    \image{path=\digisOnline/Jellyfish.jpg,caption=Jellyfish,online}
    \image{path=\digisOnline/Koala.jpg,caption=Koala,online}
    \image{path=\digisOnline/Lighthouse.jpg,caption=Lighthouse,online}
    \image{path=\digisOnline/Penguins.jpg,caption=Penguins,online}
    \image{path=\digisOnline/Tulips.jpg,caption=Tulips,online}
}

\parindent=0pt\parskip6pt\pagestyle{empty}

\begin{document}

This file shows the minimal requirement for the \textsf{fldigigal}
package: The \textsf{xkeyval} and \textsf{rmannot} packages are required by the
package; the \textsf{rmannot} package requires, in turn, the \textsf{graphicxsp} and \textsf{eforms}
packages.

The preamble says,
\begin{verbatim}
    \documentclass{article}
    \usepackage[showembeds]{graphicxsp}
    \usepackage{eforms}
    \usepackage{rmannot}
    \usepackage{fldigigal}
\end{verbatim}
Actually, this can be shortened to read
\begin{verbatim}
    \documentclass{article}
    \usepackage[showembeds]{graphicxsp}
    \usepackage{eforms}
%    \usepackage{rmannot} % <- rmannot may be removed
    \usepackage{fldigigal}
\end{verbatim}
because the \textsf{rmannot} package is input by \textsf{fldigigal}.

Here is the Flash Digital Gallery.
\begin{center}
\resizebox{\linewidth}{!}
{%
    \fgRmAnnot[galleryopts={gallery=vthumbs1,captionalign=center},
        posternote={Flash Digital Gallery},enabled=pageopen
    ]{myDigis}
}
\end{center}
\end{document}