diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-13 23:45:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-13 23:45:28 +0000 |
commit | 58348ea17b62f4a62100c2ff09825a2c4ade46fb (patch) | |
tree | 9e78e543c2f439582510ce4058626d26a34d383f /Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex | |
parent | e572bd73edca41c8e3641ed601afa67ec7706bf4 (diff) |
pdfcomment (13dec10)
git-svn-id: svn://tug.org/texlive/trunk@20724 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex b/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex index 2fbb729d9f2..11f3d391f2f 100644 --- a/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex +++ b/Master/texmf-dist/doc/latex/pdfcomment/example_xelatex.tex @@ -13,18 +13,26 @@ \usepackage{lipsum} \usepackage[svgnames,rgb]{xcolor} \usepackage{tikz} -\usepackage{amssymb,amsmath,array,bm} +\usepackage{amsmath,array,bm} \usepackage[absolute]{textpos} \usepackage[subject={Top1},author={Ã…nsgar Lund},version=1]{pdfcomment} \setmainfont[Mapping=tex-text]{Bergamo} \begin{document} \fontspec[SmallCapsFont={BergamoSmc},]{Bergamo} +\defineavatar{Joe}{author=Joe,color=yellow} +\defineavatar{Bob}{author=Bob,color=green} \definecolor{myblue}{rgb}{0.045,0.278,0.643} \colorlet{myorange}{red!30!yellow} -A\pdfcomment[subject={Top2},author={Daisy Duck},color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{This is a comment.} little Test! \pdfcomment[color=myblue,icon=Note,open=true,hspace=100pt]{This is another comment.} test the hspace!% +\pdfcommentsetup{date=D:20101211153723+01'00',timezone=+01'00'} +A\pdfcomment[subject={Top2},author={Daisy Duck},color={0.234 0.867 0.211},voffset=8pt,opacity=0.5]{This is a comment.} little Test! \pdfcomment[color=myblue,icon=Note,open=true,hspace=100pt]{This is another comment.} +% works with pdflatex only! +%\pdfreply[id=2,avatar=Joe,replyto=1,date=D:20101211161247+01'00']{This is a reply to a comment} +%\pdfreply[id=3,avatar=Bob,replyto=2,date=D:20101212095321+01'00']{Of course, you can reply %to a reply} +%\pdfreply[id=4,avatar=Bob,replyto=1,date=D:20101212095512+01'00']{Just another reply} +test the hspace!% \defineavatar{CaptainJack}{color=myorange,author={Captain Jack}}% \definestyle{MyStar}{icon=Star,opacity=0.7,voffset=12pt}% -\pdfcomment[avatar=CaptainJack,style=MyStar]{It's enough now!} +\pdfcomment[avatar=CaptainJack,style=MyStar,date={}]{It's enough now!} \pdffreetextcomment[avatar=CaptainJack,subject={Top2},height=3cm,type=freetext,width=4.5cm,voffset=-4.8cm,hoffset=-2.7cm,opacity=0.5,justification=right]{This is also a comment, but it's a FreeText annotation! Your, Captain Jack} \pdflinecomment[avatar=CaptainJack,subject={Top2},type=line,opacity=1,line={100 680 250 680},color=green,icolor=blue,caption=top,linebegin={/ROpenArrow},lineend={/OpenArrow},linewidth=2bp,captionhoffset=-5pt,captionvoffset=15pt]{This is a Line comment!} \pdffreetextcomment[avatar=CaptainJack,subject={Top2},height=1.8cm,width=5.8cm,voffset=-7.2cm,hoffset=-1.2cm,opacity=1.0,justification=right,type=typewriter,font=Harrington,fontsize=18pt,fontcolor=CornflowerBlue]{This is a typewriter FreeText annotation!} |