Questions tagged [pdfcomment]

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

Filter by
Sorted by
Tagged with
4 votes
4 answers
246 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 ...
  • 41
1 vote
1 answer
58 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 ...
  • 2,862
3 votes
1 answer
51 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 } \...
0 votes
0 answers
18 views

Putting Bookmarks on a specific point of a picture / Using pop-up windows on pictures

i'm searching for something I dont think is possible with LaTeX, based on my google research - But I got to give it a try here. The kinda ideal outcome would be this: Example: Having a picture of a ...
0 votes
0 answers
22 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 ...
1 vote
1 answer
59 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 ...
0 votes
0 answers
87 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 ...
  • 3,550
2 votes
1 answer
33 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} ...
  • 2,565
1 vote
1 answer
47 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 ...
  • 11
1 vote
1 answer
126 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 ...
2 votes
0 answers
205 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 ...
4 votes
1 answer
117 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 ...
1 vote
0 answers
79 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} \...
  • 153
0 votes
0 answers
96 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 ...
  • 1
1 vote
1 answer
304 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} ...
1 vote
0 answers
95 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 ...
0 votes
0 answers
127 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 ...
  • 4,915
1 vote
1 answer
114 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. ...
  • 1,231
2 votes
1 answer
368 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 ...
  • 3,550
3 votes
1 answer
438 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) ...
's user avatar
1 vote
1 answer
175 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: \...
  • 2,565
1 vote
1 answer
238 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 ...
  • 111
1 vote
0 answers
330 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 ...
3 votes
1 answer
666 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} ...
1 vote
0 answers
244 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 ...
  • 153
1 vote
0 answers
100 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}...
2 votes
1 answer
389 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 ...
  • 23
2 votes
0 answers
180 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{...
  • 81
2 votes
1 answer
77 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{...
  • 3,440
0 votes
0 answers
213 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 ...
1 vote
0 answers
432 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 ...
  • 123
4 votes
0 answers
353 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: ...
1 vote
0 answers
192 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 ...
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 "...
0 votes
1 answer
264 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 ...
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, ...
  • 825
0 votes
1 answer
429 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 ...
  • 14k
5 votes
2 answers
315 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[...
  • 825
2 votes
1 answer
214 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 ...
1 vote
1 answer
384 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 ...
  • 1,549
1 vote
1 answer
94 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 ...
2 votes
1 answer
110 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)...
  • 709
2 votes
1 answer
711 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{...
  • 1,717
6 votes
2 answers
609 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}{...
  • 1,717
2 votes
1 answer
77 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 ...
  • 1,717
1 vote
1 answer
1k 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 ...
  • 768
4 votes
1 answer
677 views

pdfcomment highlight doesn't work

I am using MikTex 2.9. I would like my text to be highlighted and I would like a comment to it. But my MWE below doesnot work.PLease help \documentclass{report} \usepackage{graphicx} \usepackage[...
  • 41
4 votes
2 answers
491 views

Text shifts into the header when using `fancyhdr` with `todonotes`

I am currently writing a KOMA-article document in Latex (Lyx) and discovered the following issue: In order to show comments in pdf I tried the pdfcomment package and the todonotes package. ...
  • 41
2 votes
1 answer
522 views

How to avoid hyperlinks with \usepackage[tooltip]{acro}?

I have finally managed to assign tooltips to all acronyms in my document thanks to \usepackage[tooltip]{acro}. Here is an MWE: \documentclass{article} \usepackage[tooltip]{acro} \DeclareAcronym{ABC}...
7 votes
2 answers
1k views

Comments/tips on a (non Latex) pdf including mathematical formulas

My goal : I correct copies from students that I scan to pdf. I wish I could make the annotations on the scanned copies rather than on the physical paper. Today, I have to scan the copies again to have ...