summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/annot-pro/examples/stamps.tex
blob: 08c0173024106720a57c487cab47305d2d84dfab (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
\documentclass[12pt]{article}
\usepackage[forpaper]{web}
%\usepackage{graphicx}
\usepackage[scandoc]{annot_pro}
\usepackage{array}

\setAnnotOptions{subject={annot\_pro by AcroTeX},title={D.P. Story}}
\useFullWidthForPaper

\parindent0pt\parskip6pt

%\previewtrue

\def\stampW{1in}
\def\stampH{30pt}
\def\resizeW{1in}

\newcommand{\showStamp}[2]{#1&#2&\annotpro[type=stamp,name=#1,readonly,widthTo=\resizeW]{Stamp Name: #1}}
%\newcommand{\showStamp}[2]{#1&#2&\resizebox{\resizeW}{!}{\annotpro[type=stamp,name=#1,readonly,widthTo=\resizeW]{Stamp Name: #1}}}

\begin{document}

The application will insert the largest possible stamp, while
preserving the aspect ratio. The stamp is centered in the bounding
box.

The following stamps are shipped with Acrobat in recent years.

\setlength{\extrarowheight}{15pt}

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{Standard.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{Approved}{Approved}\\\showStamp{AsIs}{As Is}\\\showStamp{Confidential}{Confidential}\\\showStamp{Departmental}{Departmental}\\\showStamp{Draft}{Draft}\\\showStamp{Experimental}{Experimental}\\\showStamp{Expired}{Expired}\\\showStamp{Final}{Final}\\\showStamp{ForComment}{For Comment}\\\showStamp{ForPublicRelease}{For Public Release}\\\showStamp{NotApproved}{Not Approved}\\\showStamp{NotForPublicRelease}{Not For Public Release}\\\showStamp{Sold}{Sold}\\\showStamp{TopSecret}{Top Secret}
\end{tabular}
\end{center}

\setlength{\extrarowheight}{18pt}

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{StandardBusiness.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{SBApproved}{Approved}\\\showStamp{SBCompleted}{Completed}\\\showStamp{SBConfidential}{Confidential}\\\showStamp{SBDraft}{Draft}\\\showStamp{SBFinal}{Final}\\\showStamp{SBForComment}{For Comment}\\\showStamp{SBForPublicRelease}{For Public Release}\\\showStamp{SBInformationOnly}{Information Only}\\\showStamp{SBNotApproved}{Not Approved}\\\showStamp{SBNotForPublicRelease}{Not For Public Release}\\\showStamp{SBPreliminaryResults}{Preliminary Results}\\\showStamp{SBVoid}{Void}
\end{tabular}
\end{center}


\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{SignHere.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{SBRejected}{Rejected}\\\showStamp{SHAccepted}{Accepted}\\\showStamp{SHInitialHere}{Initial Here}\\\showStamp{SHSignHere}{Sign Here}\\\showStamp{SHWitness}{Witness}
\end{tabular}
\end{center}

\newpage

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{Dynamic.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{\#DApproved}{Approved}\\\showStamp{\#DConfidential}{Confidential}\\\showStamp{\#DReceived}{Received}\\\showStamp{\#DReviewed}{Reviewed}\\\showStamp{\#DRevised}{Revised}
\end{tabular}
\end{center}


Each stamp in the above table has a name that begins with the \texttt{\#} character. When using
\textsf{annot\_pro}, use \verb!\#! instead of \texttt{\#}, like so,
\verb!name=\#DApproved!.

\newpage

The following three sets were at one time shipped with Acrobat, you may not have some of these.

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{Pointers.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{PointersBogus}{Bogus}\\\showStamp{PointersBug}{Bug}\\\showStamp{PointersDOA}{DOA}\\\showStamp{PointersFYEO}{For Your Eyes Only}\\\showStamp{PointersFix}{Fix}\\\showStamp{PointersNuke}{Nuke This}\\\showStamp{PointersOptimize}{Optimize}\\\showStamp{PointersRedFlag}{Red Flag}\\\showStamp{PointersValidate}{Validate}\\\showStamp{PointersWarning}{Warning}\\\showStamp{PointersWhen}{When?}
\end{tabular}
\end{center}

\def\resizeW{.5in}

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{Faces.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{FacesEcstatic}{Ecstatic}\\\showStamp{FacesElectric}{Electric}\\\showStamp{FacesGrumpy}{Grumpy}\\\showStamp{FacesHappy}{Happy}\\\showStamp{FacesHurt}{Hurt}\\\showStamp{FacesNeutral}{Neutral}\\\showStamp{FacesSmirk}{Smirk}\\\showStamp{FacesSurprised}{Surprised}\\\showStamp{FacesWorried}{Worried}\\\showStamp{FacesWow}{Wow}\\\showStamp{FacesZippy}{Zippy}
\end{tabular}
\end{center}

\def\resizeW{1in}

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{Words.pdf}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{WordsAGenuineFind}{A Genuine Find}\\\showStamp{WordsBigSavings}{Big Savings!}\\\showStamp{WordsDeals}{Deals}\\\showStamp{WordsHappyBirthday}{Happy Birthday}\\\showStamp{WordsHot}{Hot}\\\showStamp{WordsLookWhatsNew}{Look What's New}\\\showStamp{WordsNeato}{Neato!}\\\showStamp{WordsTheBestJustGotBetter}{The Best Just Got Better}
\end{tabular}
\end{center}

\def\resizeW{.5in}

\begin{center}
\begin{tabular}{>{\ttfamily}lll}
\multicolumn{3}{>{\Large}c}{CompareMarkers.pdf (Acrobat DC)}\\
\multicolumn{1}{l}{Name (value of \texttt{name} key)} & UI name & Stamp appearance \\
\showStamp{CompareMarkerAdd}{Marker Add}\\
\showStamp{CompareMarkerRemove}{Marker Remove}\\
\showStamp{CompareMarkerChange}{Marker Change}
\end{tabular}
\end{center}

Annot: \annotpro[type=stamp,name=\#AST,widthTo=2in,rotate=45]{Annot\_pro rocks!}


\end{document}


\showStamp{CompareMarkerAdd}{Marker Add}
\showStamp{CompareMarkerRemove}{Marker Remove}
\showStamp{CompareMarkerChange}{Marker Change}

tightVNC
\begin{tooltip}[optional args]{arg1}{arg2}
\begin{equation} \label{eq1}
x=y
\end{equation}
\end{tooltip}

typeset document ...
text...
x=y             (1)
more text....
more...

Recall equation (1) (tool tip)