summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/digicap-pro/examples/basic/digicap-embed.tex
blob: 40e397588d5f7d3593476550572bf4158d230147 (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
64
65
66
67
68
69
70
71
\documentclass{article}
\usepackage[%
    web={tight,extended,usesf,usetemplates},
    uselayers,eforms,graphicxsp={showembeds},aebxmp
]{aeb_pro}
\usepackage{digicap-pro}


\margins{.5in}{.5in}{24pt}{.5in}    % left,right,top, bottom
\screensize{6in}{6in}               % height, width

%
% embed cliff lee using \embedEPS of the graphicxsp package
%
\embedEPS[transparencyGroup]{clifflee}{./digis/IiFUCdIQ}


\DeclareDocInfo
{
    title=The DigiCap Pro Package\texorpdfstring{\\[1ex]}{: }Demo of Embedding,
    author=D. P. Story,
    university=Acro\negthinspace\TeX.Net,
    email=dpstory@acrotex.net,
    subject=Test file for the DigiCap Pro package,
    keywords={Captioning, opacity, layers, roll-over},
    talksite=\url{http://www.acrotex.net},
    talkdate={\today},
    copyrightStatus=True,
    copyrightNotice={Copyright (C) \the\year, D. P. Story},
    copyrightInfoURL=http://www.acrotex.net
}
\nocopyright
\talkdateLabel{Published:}


\newcommand{\cs}[1]{\texttt{\char`\\#1}}

\pagestyle{empty}

\parskip6pt
\parindent0pt

\begin{document}

\maketitle

The following example appears in the \textsf{digicap\_man}, and shows how to embed a
picture using \textsf{graphicxsp}, then reference it in the \cs{digiCap} command.

\begin{center}
\digiCap[inclgraphicx={name=clifflee,width=.75\linewidth},vcaption=b,
    hcaption=c,outerboxsep=0pt]{./digis/IiFUCdIQ}[borderwidth=0bp,
    fboxsep=10bp,bordercolor=nocolor,bgop=.7]{\parskip6pt\bfseries
    \makebox[\linewidth]{\textcolor{red}{Lee ices A's win
    streak with an eight-inning gem}}\\\relax\footnotesize
    Lee ices A's win streak with an eight-inning gem Cliff Lee retired
    14 straight in a 7-1 Indians win over the A's on Sunday. Grady
    Sizemore had three RBIs as Cleveland halted its three-game skid.}\\[1ex]
%
\digiCap*[inclgraphicx={name=clifflee,width=.75\linewidth},vcaption=c,hcaption=l,outerboxsep=0pt]
    {./digis/IiFUCdIQ}[borderwidth=4bp,fboxsep=10bp,
    bordercolor=blue,bgop=.7]{\parskip6pt\bfseries
    \makebox[\linewidth]{\textcolor{webblue}{Lee ices A's win
    streak with an eight-inning gem}}\\\relax\footnotesize
    Lee ices A's win streak with an eight-inning gem Cliff Lee retired
    14 straight in a 7-1 Indians win over the A's on Sunday. Grady
    Sizemore had three RBIs as Cleveland halted its three-game skid.}%
\end{center}
The file size of this file is about 56K.

\end{document}