summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/annot-pro/examples
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2018-09-11 20:31:44 +0900
committerNorbert Preining <norbert@preining.info>2018-09-11 20:31:44 +0900
commit95922579d4877cecff689ea60e20991359dc934d (patch)
treec9103e3ab24fc33837ef2f7b02766ee21ddc4722 /texmf-dist/doc/latex/annot-pro/examples
parenta06e21410d38c53231a9a5432fc9f10715f11b88 (diff)
update annot-pro
Diffstat (limited to 'texmf-dist/doc/latex/annot-pro/examples')
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/annots.pdfbin127099 -> 113442 bytes
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/graphics/APB_Logo_Sphere.epsbin367606 -> 354751 bytes
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/graphics/AdobeDon.epsbin842658 -> 827064 bytes
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/stamps.pdfbin506259 -> 459200 bytes
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/text-markup.pdfbin0 -> 52901 bytes
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/text-markup.tex107
-rw-r--r--texmf-dist/doc/latex/annot-pro/examples/textbox.pdfbin35247 -> 48040 bytes
7 files changed, 107 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/annot-pro/examples/annots.pdf b/texmf-dist/doc/latex/annot-pro/examples/annots.pdf
index e1b6bfea..b0c43b38 100644
--- a/texmf-dist/doc/latex/annot-pro/examples/annots.pdf
+++ b/texmf-dist/doc/latex/annot-pro/examples/annots.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/annot-pro/examples/graphics/APB_Logo_Sphere.eps b/texmf-dist/doc/latex/annot-pro/examples/graphics/APB_Logo_Sphere.eps
index f6db3684..80c8438b 100644
--- a/texmf-dist/doc/latex/annot-pro/examples/graphics/APB_Logo_Sphere.eps
+++ b/texmf-dist/doc/latex/annot-pro/examples/graphics/APB_Logo_Sphere.eps
Binary files differ
diff --git a/texmf-dist/doc/latex/annot-pro/examples/graphics/AdobeDon.eps b/texmf-dist/doc/latex/annot-pro/examples/graphics/AdobeDon.eps
index d07d5a91..1f4b8ffc 100644
--- a/texmf-dist/doc/latex/annot-pro/examples/graphics/AdobeDon.eps
+++ b/texmf-dist/doc/latex/annot-pro/examples/graphics/AdobeDon.eps
Binary files differ
diff --git a/texmf-dist/doc/latex/annot-pro/examples/stamps.pdf b/texmf-dist/doc/latex/annot-pro/examples/stamps.pdf
index 44adad38..07442395 100644
--- a/texmf-dist/doc/latex/annot-pro/examples/stamps.pdf
+++ b/texmf-dist/doc/latex/annot-pro/examples/stamps.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/annot-pro/examples/text-markup.pdf b/texmf-dist/doc/latex/annot-pro/examples/text-markup.pdf
new file mode 100644
index 00000000..63584f73
--- /dev/null
+++ b/texmf-dist/doc/latex/annot-pro/examples/text-markup.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/annot-pro/examples/text-markup.tex b/texmf-dist/doc/latex/annot-pro/examples/text-markup.tex
new file mode 100644
index 00000000..e9036029
--- /dev/null
+++ b/texmf-dist/doc/latex/annot-pro/examples/text-markup.tex
@@ -0,0 +1,107 @@
+\documentclass{article}
+\usepackage[designiv,extended]{web}
+\usepackage[richtext,dblevel=1]{annot_pro}
+
+\title{text markup annotations}
+\author{D. P. Story}
+\email{dpstory@acrotex.net}
+\subject{text markup annotations}
+\keywords{highlight, underline, squiggly, strikeout, pdf annotations, AcroTeX}
+\university {Acro\TeX.NeT}
+\version{1.0}
+
+
+
+%\usepackage{lucidbry}
+
+% we increase the right margin width to accommodate a margin note
+\addtoWebWidth{.5in}
+\resetmargins{}{\incby+.5in}{}{}
+\setlength{\marginparsep}{4pt}
+
+% try uncommenting the first or second command below
+%\mlMarksOn
+%\turnSyllbCntOn
+
+\begin{textboxpara}
+\rtpara{mypara}{\it{This is italic}, whereas \bf{this is bold}, but wait, we can do
+\it{\bf{bold and italic}}. We can \sup{raise} or \sub{lower} text.
+ \br\spc\spc
+ This is a second paragraph. At your earliest convenience, go to the AcroTeX.Net web site:
+ \br\br\span{ulstyle=ul,color=0000FF}{http://www.acrotex.net} (URLs are not supported.)
+}
+\end{textboxpara}
+\setRVVContent{mypara}{mypara}
+
+\setAnnotOptions{subject={An AcroTeX Communiqu\'e},title={D. P. Story}}
+
+\parindent0pt
+\parskip4pt
+
+\begin{document}
+
+\makeinlinetitle % defined in web
+
+%\begin{center}
+% Extending \textsf{annot\_pro} to include\\
+% text markup annotations
+%\end{center}
+
+Syntax:\\
+\verb!\annotpro[type=<type>,<options>]{<content>}{<text>}!\\[3pt]
+where, \verb~type=highlight|underline|squiggly|strikeout~
+
+\textbf{Highlight:}
+ \annotpro[type=highlight]{Try to remember this, it's important}{A
+ \emph{highlight} text markup annotation: Let's extend this text to cross to
+ the next line.}
+
+\textbf{Underline:}
+ \annotpro[type=underline]{Memorize this passage}{An \emph{underline} text
+ \emph{markup} annotation: Let's extend this text to cross to the next
+ line.}
+
+\textbf{Squiggly:}
+ \annotpro[type=squiggly]{This needs revision}{An \emph{squiggly underline}
+ text markup annotation: Let's extend this text to cross to the next line.}
+
+\textbf{Strike-Out:}
+ \annotpro[type=strikeout]{Nonsense!}{An \emph{strikeout} text markup
+ annotation: Let's extend this text to cross to the next line.}
+
+% we are not breaking at an hyphenated word, too bad
+\annotpro[type=underline,crackat=37,color=blue]{Memorize this passage}{An
+\emph{underline} text \emph{markup} annotation: Let's extend this text to
+cross to the next line. We are not near a page boundary, so we must simulate
+cracking up the text markup annotation.}
+
+Here's the same example as above, but this time, we'll simulate a page break
+and use the \texttt{copycontent} option.
+
+\begingroup % make the next definition local
+\def\pb{\penalty-10 \rule{\linewidth}{.4pt}\makebox[0pt][l]{\hspace{\marginparsep}\small page break}\par\smallskip}%\turnSyllbCntOn
+\annotpro[type=underline,crackat=37,copycontent,crackinsat=\pb]{Memorize this
+ passage}{An \emph{underline} text \emph{markup} annotation: Let's extend this
+ text to cross to the next line. We are not near a page boundary, so we must simulate
+ cracking up the text markup annotation.}
+\endgroup
+
+\smallskip
+\textbf{Rich text:} We use \texttt{richtext=mypara}. \annotpro[type=squiggly]{richtext=mypara}{An \emph{squiggly underline}
+ text markup annotation: Let's extend this text to cross to the next line.}
+
+
+\smallskip
+This next example uses the \texttt{hidden} option; this will hide the comment completely
+as well as the underlining appearance. When the user presses the push button labeled `C',
+the comment becomes visible.
+
+%\textbf{Underline:}
+ \annotpro[type=underline,hidden]{Memorize this passage}{An \emph{underline}
+ text \emph{markup} annotation: Let's extend this text to cross to the next
+ line.} \pushButton[\S{S}\textSize{0}\CA{C}\TU{Press to toggle visibility of this comment}\A{\JS{% var
+ annot=this.getAnnot({nPage:this.pageNum,cName:"\currentAnnotName"});\r
+ annot.hidden=!annot.hidden;}}]{btn}{}{9bp} This button will work in
+ \textsf{Acrobat Reader} and \textsf{PDF-Exchange Viewer}.
+
+\end{document}
diff --git a/texmf-dist/doc/latex/annot-pro/examples/textbox.pdf b/texmf-dist/doc/latex/annot-pro/examples/textbox.pdf
index 92ae5db4..a3292593 100644
--- a/texmf-dist/doc/latex/annot-pro/examples/textbox.pdf
+++ b/texmf-dist/doc/latex/annot-pro/examples/textbox.pdf
Binary files differ