Questions tagged [pdfcomment]

{pdfcomment] concerns the pdfcomment package for making annotations in pdf documents

Filter by
Sorted by
Tagged with
1 vote
1 answer
31 views

text insert annotation in pdfcomment

When annotating a PDF with Adobe Acrobat to suggest a new text insertion, Acrobat makes a very nice job by doing this: When using e.g. Abbyy Finereader, it denotes it by this: , not as nice but clear ...
atapaka's user avatar
  • 228
0 votes
0 answers
44 views

Conflict between package pdfcomment and the book class

I have a small file \documentclass{book} \usepackage{xcolor} \usepackage{pdfcomment} \begin{document} The \pdfmarkupcomment[markup=Highlight,color=yellow]{yellow mark}{Highlight}. \backmatter \...
Paulo Ney's user avatar
  • 2,365
1 vote
0 answers
62 views

Conflict between package pdfcomment and polyglossia under XeLaTeX [duplicate]

The following file works fine when run with the choice of "english" but not "portuguese" under XeLaTeX; \documentclass{report} \usepackage{soul} \usepackage{polyglossia} % \...
Paulo Ney's user avatar
  • 2,365
2 votes
0 answers
59 views

How to use pdfcomment within a caption?

I would like to leave comments in a PDF file, for which purpose the pdfcomment package seems to be a useful option. However, when I tried to use \pdfmarkupcomment within a caption, my comment has not ...
TobiR's user avatar
  • 574
0 votes
1 answer
38 views

issues with pdfmarkupcomment - whenever it contains another latex command

I have been having issues with pdfcomment package. Specifically with \pdfmarkupcomment This works fine: \pdfmarkupcomment{text}{comment} This does not work: \pdfmarkupcomment{text with \qty{1}{\...
atapaka's user avatar
  • 228
4 votes
4 answers
338 views

pdflatex: conflict between pdfcomment and soul

Here's the MWE: \documentclass{article} \usepackage{soul} \usepackage{pdfcomment} \begin{document} \section*{\hl{Fine}} \section{\hl{Error}} \end{document} which gives the following error ...
ThomasS's user avatar
  • 61
1 vote
1 answer
109 views

Put file contents as PDF comment (respecting UTF-8)

I want to have file contents rendered as comment in a PDF file. I decided for pdfcomment, which works. pdfcomment requires newlines being typeset as \textCR\textLF. Which leas me to the following ...
koppor's user avatar
  • 3,112
3 votes
1 answer
61 views

biblatex: pdftooltip for et al

I failed to get a pdftooltip for the et al part of remaining author using biblatex \newcommand\pprintnames[3]{ \printnames[#1][#2]{#3} } \cs_generate_variant:Nn \exp_args:Nnne { Nnee } \...
broucari's user avatar
0 votes
0 answers
26 views

Fix repeated comment due to change line in \pdfmarkupcomment

MWE: \documentclass{article} \usepackage{xcolor} \usepackage[author={anon}]{pdfcomment} \begin{document} \pdfmarkupcomment[markup=Highlight,color=green]{Lorem ipsum dolor sit amet, consectetur ...
Muhammad Yasirroni's user avatar
1 vote
1 answer
86 views

pdftooltip over gls entry prevents the first use from working

I've added a tool-tip to show the acronyms long entry with the pdfcomment and glossaries package. However, with the tool-tip enabled, the first glossary appearance does not show. I though the issue ...
likethevegetable's user avatar
0 votes
0 answers
193 views

insert tooltips into PDF documents using LuaLaTeX – a popup window with equation appears if the mouse hovers on equation reference

I want to improve pdf readibility in following way. I know that pdfcomments and fancytooltips packages are available, but I can't imagine whether it is possible following action. I wish to insert ...
JardaFait's user avatar
  • 3,836
2 votes
1 answer
42 views

How to break line in #3 of \pdfcomment

My question is as the title suggests. \documentclass{article} \usepackage{pdfcomment,xcolor} \begin{document} \pdfmarkupcomment[markup=Underline,color=blue!1,timezone=+08’00’] {Department} ...
lyl's user avatar
  • 2,677
1 vote
1 answer
67 views

Incompatiblity between pdfcomment options and MNRAS sections

The following minimal example does not compile: \documentclass{mnras} \usepackage{pdfcomment} \begin{document} \section{\pdfcomment[color={1.0 0 0}]{title}} \end{document} That is, pdflatex shows ...
JCGoran's user avatar
  • 11
1 vote
1 answer
212 views

\pdfmarkupcomment in standalone

\documentclass{standalone} \usepackage{xcolor} \usepackage{pdfcomment} \begin{document} \pdfmarkupcomment[color=red,markup=StrikeOut]{A little Test!}{Why is this repeated? This is a StrikeOut markup ...
user239572's user avatar
3 votes
0 answers
340 views

hyperlink + pdftooltip: content to show tooltip with mouse hover, and be a clickable hyperlink simultaenously

I would like to have some hyperlinked content also show a tooltip when the mouse is hovered. Simple use case: when referencing say Section 1, the tooltip could display the section name Introduction To ...
likethevegetable's user avatar
4 votes
1 answer
203 views

pdfcomment tooltip for acronyms - expansion confusion

I am attempting to place tooltips over acronyms to show the long-form. My command \ac works for acronyms with plain text descriptions. The problem I run into is that if the acronyms contain other ...
likethevegetable's user avatar
1 vote
0 answers
108 views

pdfcomment with LuaLaTeX

It seems, \pdftooltip (pdfcomment) does not work with LuaLaTeX, at least, this does not seem to work: \documentclass{article} \usepackage{pdfcomment} \usepackage{xcolor} \begin{document} \...
sivizius's user avatar
  • 153
1 vote
0 answers
145 views

Citation inside pdfcomment gives back BibTex key

For my thesis, I am trying to add tooltips or PDF annotations to my citations, so that you don't have to go to the bibliography to check the entry. So what I want to do is add the information of the ...
HanS.'s user avatar
  • 11
1 vote
1 answer
416 views

change pdfcomment text box color and border in latex

I want to change the textbox colour from ugly yellow to something else. Does anyone know how to do it? And is it possible to get rid of the black border lines? Example code: \documentclass{article} ...
Jonas Striaukas's user avatar
1 vote
0 answers
117 views

Is there a way to automate the adding of tooltips for glossary items?

As per the questions - I have a large glossary, and where I use \glssymbol{...} I would like a tool-tip to be automatically added for that symbol instance, i.e., I do not want to have to pre-define ...
David Poxon's user avatar
0 votes
0 answers
166 views

Can I use pdftooltip from pdfcomment for a tikz ocgx2 switch

I am using ocgx2 to toggle the visibility of elements in a complex tikz graph. Additionally, I want to explain what happens when someone clicks on a switch in a pdf tooltip. However, I am struggling ...
Hotschke's user avatar
  • 5,170
1 vote
1 answer
137 views

\pdftooltip command does not support table environments

Welcome to TeX StackExchange I will try to get the alt-text output through this package \usepackage{pdfcomment} \pdftooltip command for the following environments like Figures, Equations and Tables. ...
CS Kumar's user avatar
  • 1,253
2 votes
1 answer
413 views

Conflict between package pdfcomment and polyglossia during compilation by LuaLatex

I would like to prepare a bilingual document and at the same time I would like to be able adding pdf comments by pdfcomment. Compilation by the command lualatex test.tex gets stuck when the library ...
JardaFait's user avatar
  • 3,836
3 votes
1 answer
582 views

How can I change the shape of Tooltip box?

I am using the easiest way of tooltip code that posted in this answer by @AlexG. it works very well but in long tooltips, it doesn't break the lines in output (as shown in the following screen shot) ...
user avatar
1 vote
1 answer
218 views

\pdfmarkupcomment does not work in page header

I find that \pdfmarkupcomment(from package pdfcomment) works well in main text body, but does not work in page header. What causes this problem and how to make it work in header? Here is the MWE: \...
lyl's user avatar
  • 2,677
1 vote
1 answer
278 views

Pdfcomment stopped working; icons still appear in pdf, text not showing up

UPDATE: This seems to have to do with the pdfreaders on my mac/mac settings. When I read the same files on readers on my Windows pc, the content does show up I use the 'pdfcomment' package in latex ...
daaronr's user avatar
  • 111
1 vote
0 answers
454 views

Highlighting text that spans multiple lines with \pdfmarkupcomment from pdfcomment package makes multiple PDF comments

I am using the \pdfmarkupcomment command from the pdfcomment package to highlight and comment on sections of a paper. When the highlighted text spans multiple lines, the final PDF has separate ...
RobotRaven's user avatar
3 votes
1 answer
774 views

How to add an image tooltip annotation in hidden mode using the LaTeX pdfcomment module?

Using the pdfcomment package to create an interactive tooltip when hovering over an image can be created with: \usepackage{pdfcomment} \pdftooltip{\includegraphics{img.png}}{This is the ALT text} ...
user173052's user avatar
2 votes
0 answers
297 views

Showing pdfcomment for acronym from glossaries while using hyperref in memoir class

I'm trying to display in tooltips (using pdfcomment) the meaning of acronyms (using glossaries) in a memoir based class (similar to this question). To do that I created a newcommand named \glstip (see ...
Isma's user avatar
  • 163
8 votes
2 answers
242 views

Adding reply to annotation using pdfcomment

I recently discovered the pdfcomment package to annotate my latex-generated PDF files. Here is a minimum working example of what I have been doing: \documentclass{article} \usepackage[utf8]{inputenc} \...
TheodorBecker's user avatar
2 votes
1 answer
450 views

How Does One Add a Tool Tip to a Tikz-Shape Diagram?

The Problem I am trying to add a tool tip to a flowchart PDF I am making using the Tikz library so that ideally it displays when one hovers over the flowchart box. However, I don't know how to make ...
Merwin's user avatar
  • 23
2 votes
0 answers
184 views

pdfcomment math style [duplicate]

I'm making a presentation and want to insert a comment, like a pop up comment, which contains some equations in math style. For example: \documentclass{beamer} \usepackage{pdfcomment} \begin{...
John's user avatar
  • 81
2 votes
1 answer
81 views

pdfcomment and polyglossia incompatibility?

I would like to use the pdfcomment package to make some annotations to a pdf. It seems to conflict with polyglossia: \documentclass{memoir} \usepackage{xcolor,pdfcomment,polyglossia} \setmainlanguage{...
muk.li's user avatar
  • 3,560
0 votes
0 answers
252 views

pdftooltip of pdfcomment package doesn't work in landscape mode

I try to use the \pdftooltip{} of the pdfcomment package in a document in landscape mode. The mouseover works in normal mode, but fails in landscape mode. In landscape mode onley the first character ...
rdatasculptor's user avatar
1 vote
0 answers
511 views

Glossaries and pdfcomment - Tooltip on symbols

I would like to have a tooltip appear, when I hover the mouse over a glossaries symbol, so the entry's description appears in the tooltip. I am using glossaries v4.33 and pdfcomment v2.4. However the ...
Nick's user avatar
  • 123
4 votes
0 answers
418 views

A problem with using fancytooltips package

I'm trying to use fancytooltips package to create comments/tips that include mathematical formulas (I use MikTeX 2.9). I acted according to the directions of this guide Mouseover events in beamer: ...
user155457's user avatar
1 vote
0 answers
194 views

resolving bibliography references in pdfcomment tooltips [duplicate]

I would like to include some bib references as tooltips in my beamer slides. (I do NOT want a tooltip to appear for every \cite{}.) I have started to use pdfcomment for tooltips as it seemed the ...
Colin Rowat's user avatar
0 votes
0 answers
72 views

A moveable/copyable icon to give the user a link

The hyperref package allows to put a link within the stream of the text. The PDFcomment allow to create "floating" stickynotes that can be copied and moved around in a page. Is it possible to have a "...
user1771398's user avatar
0 votes
1 answer
301 views

How the pdfcomment package produces nice copyable moveable pdf annotations and why it cannot be a Latex maths formula

Unsuccessful with a global question Annotation on a pdf : copyable, moveable, and including LaTeX maths and Comments/tips on a (non Latex) pdf including mathematical formulas, I come back with very ...
user1771398's user avatar
3 votes
1 answer
1k views

Strange side effect between amsmath, hyperref and cleveref

This issue seems rather exotic, but I encountered it in a medium-sized document, and it took me a while to indentify which particular combination of packages was responsible. When I load amsmath, ...
winkmal's user avatar
  • 845
0 votes
1 answer
454 views

Workaround for pdfcomment not working lualatex

This is a very localized issue affecting Fedora 25 users with texlive.x86_64 6:2016-30.20160520.fc25 I have a one year old document that after upgrading Fedora 25 doesn't compile anymore. I ...
alfC's user avatar
  • 14.2k
5 votes
2 answers
358 views

Date format changed by loading pdfcomment package

It seems by loading the pdfcomment package, the date format is implicitly changed to YYYY-MM-DD. Consider the following MWE: \documentclass[12pt]{scrartcl} \usepackage[american]{babel} \usepackage[...
winkmal's user avatar
  • 845
2 votes
1 answer
221 views

using pdfcomment within pgfplots for displaying pop up information about plotted points

Given a graphic done with pgfplots displaying a number of points (see example below) I would like to associate a pop up displaying a list of integer values (with 7 integers values in my example) when ...
Nicolas Beldiceanu's user avatar
1 vote
1 answer
462 views

Trying to use pdfcomment’s \pdfmarkupcomment with acro

I’ve been trying to use \pdfmarkupcomment from the pdfcomment package as the tooltip-cmd for the acro package. However, I’m getting an error and don’t quite understand where it’s coming from. The ...
Socob's user avatar
  • 1,661
1 vote
1 answer
110 views

pdfcomment within command swallowing last character of argument

Hey fellow TeXnicians, I've been having some trouble integrating pdfcomment with a custom command that I've written. No matter how simple the command, it seems that pdfcomment swallows the last ...
Daniel P. Shannon's user avatar
2 votes
1 answer
117 views

Do tooltips use javascript? Might that be a problem?

I am writing my CV in LaTeX and thought it'd be fun to add a little Easter Egg when hovering over LaTeX: That was created with package pdfcomment. However, I've seen some comments (for example, here)...
Wasabi's user avatar
  • 739
2 votes
1 answer
764 views

How to replace blank lines by newline character?

I would like to replace blank lines in a command by the newline character \textCR. For example: \documentclass{article} \usepackage{pdfcomment} \mypdfcomment[2][]{\pdfcomment[#1]{#2}} \begin{...
Daniel's user avatar
  • 1,777
6 votes
2 answers
717 views

How to enforce minimal height in pdfmarkupcomment?

Consider the following example: \documentclass{article} \usepackage{pdfcomment} \begin{document} \pdfmarkupcomment[markup=Highlight]{aa}{Highlight} \pdfmarkupcomment[markup=Highlight]{AA}{...
Daniel's user avatar
  • 1,777
2 votes
1 answer
87 views

Why does pdfcomment gobble space between words?

With the following the space between "one" and "two" is gobbled. \documentclass{article} \usepackage{pdfcomment} \begin{document} one \pdfcomment{comment}two \end{document} Why is that? Is it a ...
Daniel's user avatar
  • 1,777
1 vote
1 answer
2k views

Adding comments with pdfcomment without affecting the document

If you use a pdf-viewer to add comments to a pdf document, you do not modify the typesetting - of course. I would like to have the same behaviour using a command of the pdfcomment package (or other ...
Tobias's user avatar
  • 888