diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-11 00:44:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-11 00:44:51 +0000 |
commit | 7a4867398aac7e40c1ebf080c02bcd8b8f2f64b1 (patch) | |
tree | e2367ef9a449608927346f75bd10f3b437cce8c9 /Master/texmf-dist/doc/latex/pdfcomment/example.tex | |
parent | 0c0cbb6bdf8cafc26e784fc01c5554c79b92af50 (diff) |
pdfcomment 1.6 (15aug10)
git-svn-id: svn://tug.org/texlive/trunk@19651 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pdfcomment/example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pdfcomment/example.tex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfcomment/example.tex b/Master/texmf-dist/doc/latex/pdfcomment/example.tex index e09ed746063..c0fdbb09b06 100644 --- a/Master/texmf-dist/doc/latex/pdfcomment/example.tex +++ b/Master/texmf-dist/doc/latex/pdfcomment/example.tex @@ -9,6 +9,7 @@ \usepackage[svgnames,rgb]{xcolor} \usepackage[absolute]{textpos} \usepackage{tikz} +\usepackage{amssymb,amsmath,array,bm} \usepackage[subject={Top1},author={\AA{}nsgar Lund}]{pdfcomment} \begin{document} \definecolor{myblue}{rgb}{0.045,0.278,0.643} @@ -97,4 +98,23 @@ eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.}{T \begin{pdfsidelinecomment}[avatar=CaptainJack,subject={sideline},opacity=1,color=red,icolor=yellow,caption=inline,linebegin={/Butt},lineend={/Square},linewidth=3bp,linesep=1cm]{ ! Delete ! } \lipsum[2-6] \end{pdfsidelinecomment} + +\vspace{2cm} +\definestyle{mathpopup}{author={},subject={},color=NavajoWhite,markup=Highlight} +\[ +\begin{array}{c>{\displaystyle}c} + \text{Bernoulli Trials} & + \pdfmarkupcomment[style=mathpopup]{P(E)}{Probability of event E: Get exactly k heads in n coin flips.}% + = + \pdfmarkupcomment[style=mathpopup]{\dbinom{n}{k}}{Number of ways to get exactly k heads in n coin flips}% + {\pdfmarkupcomment[style=mathpopup]{p}{Probability of getting heads in one flip}% +}^{% + \pdfmarkupcomment[style=mathpopup,mathstyle=\scriptstyle]{k}{Number of heads} + }% + \pdfmarkupcomment[style=mathpopup]{(1-p)}{Probability of getting tails in one flip}^{% + \pdfmarkupcomment[style=mathpopup,mathstyle=\scriptstyle]{n-k}{Number of tails}% + }% +\end{array} +\] + \end{document}
\ No newline at end of file |