标签:
latex注释 |
分类: 宏包使用 |
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
我们知道acrobat等软件可以对pdf文件进行处理,比如加注释,删除文字等,这里我们看看如何用latex来实现添加注释如下图便是演示效果:
首先,我们可以使用cooltooltips来实现,代码如下:
\documentclass{article}
\usepackage{cooltooltips}
\usepackage{graphicx}
\usepackage{color}
\usepackage{hyperref}
\def\cool{\texttt{cool}}
\begin{document}
The \cool\ package enables a document to contain hyperlinks that
pop
up a brief tooltip when the mouse moves over them and also open
a
small window containing additional text.
pdf\LaTeX\@.
less cool when viewed under older versions of
Acrobat~($<7.0$) or the
current version of xpdf~(3.00) because they don't pop up the
extra,
small window.
\cooltooltip[0 0 1]{Example}{This is an example of a cool
tooltip.
Pretty cool, eh?}{http://www.ctan.org/}{Visit CTAN
on the Web}{This text\strut}
%
is an example of a cool tooltip (assuming
you're viewing this document with a sufficiently capable
\textsc{pdf}
reader).
Then, click on the link.
configured it should launch a Web browser and send it to the
\textsc{ctan} home page.
\end{document}
选自:http://tex.stackexchange.com/questions/9796/how-to-add-todo-notes
其次,更为全面的功能,比如添加附件,注释样式多样等等可以使用pdfcomment宏包来实现:
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfcomment
演示图: