Questions tagged [interaction]

{interaction} is about moving from one part of the document to the other by clicking on a link in the document. In LaTeX, interaction is provided by the {hyperref} package. In ConTeXt, interaction is enabled using `\setupinteraction[state=start]`. It can also refer to the mode in which you interact with TeX itself.

Filter by
Sorted by
Tagged with
3
votes
1answer
136 views

What does a number in an Undefined control sequence in TeX's prompt do?

$ latex This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=latex) restricted \write18 enabled. **\s666666 entering extended mode LaTeX2e <2017-04-15> Babel <3....
1
vote
1answer
40 views

How to create arrows which can be hidden/visible and are overlaid on the text?

In the microtype manual on page 17, they have used multiple arrows which become visible when you click on some keywords. These arrows link to a figure and some portions of main text. What packages ...
2
votes
1answer
100 views

How to hide some text until the reader clicks on it?

I'd want to create a "Guess who?". It would consist in guessing who did an action, e.g. "I love Belgian fries", and below this I'd like to put a hidden name. I know the \phantom command, but I'd also ...
2
votes
0answers
50 views

Detect and act on tampering/re-printing of PDF

Is there a way to make a LaTeX-produced PDF file appear wildly different if someone has modified it (i.e. by opening it in a PDF reader application, and using the "Print to PDF" feature)? In short, I ...
1
vote
1answer
89 views

Pass value to command / Create custom buttoms with media9

I am quite a newby when it comes to defining custom methods/macros in LaTeX. My MWE looks like that: \documentclass[12pt,a4paper]{article} \newcounter{myCounter} \setcounter{myCounter}{1} \...
2
votes
1answer
30 views

Interactively checking default hyphenations

I'm using this programme \let\\\showhyphens \documentclass{article} \usepackage[british]{babel} \begin{document} to check default hyphenations interactively by typing *\\{necessarily} &c. Is ...
0
votes
0answers
45 views

Is it possible to detect, inside a package, whether `\errorstopmode` is in effect? [duplicate]

The title says it all: can I test, inside a package or a macro, whether \errorstopmode is in effect?
2
votes
2answers
146 views

Dynamically hide and show Plots

I would like to know if it's possible to do something like this, using axis in tikzpicture: I'm currently ploting curves this way : \documentclass{article} \usepackage[latin1]{inputenc} \...
6
votes
1answer
517 views

How to embedded source code on-demand into PDF?

I wondered if its possible to embed source code of some software you are writing about into the PDF but not displayed by default. E.g. you have a long script I would be nice if the user/reader could ...
1
vote
1answer
280 views

Interactive SVG

I would like to be able to click inside a (white) box in an image like: and then jump to the description of that function. I tried: \documentclass[twoside]{book} \usepackage{float} \usepackage{...
0
votes
1answer
126 views

Open an “embedded” picture by clicking on text

Is it possible to achieve the following in Latex: Upon clicking on a specific text (e.g. a word) in a pdf, a box w/ predefined size and location opens, showing a picture1? It would be also nice if ...
0
votes
1answer
60 views

Interaction turns off footnote in table

If I use \setupinteraction in my document, my footnote in the header of my table disappears. If I turn off \setupinteraction, the footnote reappears. Is there a way to have interaction enabled and ...
10
votes
3answers
594 views

Beamer - Unhide Content at click

I am using Beamer LaTeX for a presenation. On one slide I want to interact with the audience and I want to unhide the text (A,B,C,D,E in the MWE) in the order in which the audience mentions these ...
5
votes
1answer
338 views

Can I add a button on tables that export them to .csv?

Is there any package that allow us to create a button to export a table as .csv? Is this kind of interactivity of easy coping tables possible with latex? It would be a tool for someone that take ...
4
votes
1answer
779 views

Disabling all document interactivity (for PDF/X compliance)

I am working on making my XeLaTeX-compiled PDF file compliant with PDF/X-1a:2001 standard. When I use this answer with TeXLive 2015, document validates fully (in Acrobat Pro DC). However, when I test ...
0
votes
0answers
103 views

Interactive pdf. Moving between lines

I made a quiz in LaTex for my exam, and my professor wants me to do the following. When I click on a solution of a problem in the pdf, I would get as a result the problem which is given for that ...
2
votes
2answers
85 views

ConTeXt: How to style interactive elements individually rather than globally

I want two have two links, one bold and one normal. As a MWE: \setupinteraction[state=start,style=normal] \starttext {\bf\goto{Link 1}[url(http://www.example.com)]} \goto{Link 2}[url(http://www....
14
votes
0answers
732 views

Datepicker for LaTeX fillable form

I am replicating a fillable/savable form from LiveCycle with LaTeX using \CheckBox and \TextField items. I would also like to replicate the pop-up calendar / datepicker feature. I am aware of the ...
5
votes
1answer
1k views

Interactive Beamer presentation with Clicks and Arrows

I watched a nice presentation here about atrial fibrillation with interactive features. I would like to have similar features too. Code \documentclass{beamer} \usepackage{enumerate} \usetheme{...
2
votes
0answers
98 views

Interaction with green chapter titles — right paren shows up black [closed]

I use \setupinteraction[state=start] and \setupcolors[state=start] for making the entries of the table of contents interactive, and all entries show up green. But in the backmatter a chapter title ...
1
vote
0answers
229 views

Forms and graphs

I am trying to write a document for my students to practice on quadratic functions. Using a form, the student can enter the coefficients of the quadratic functions and is then given the discriminant (...
12
votes
0answers
1k views

How can I create a show/hide button? [duplicate]

I would like to create a show/hide button that appears on a typeset PDF so that when it is clicked, the content appears. This is similar to the ideas here: Hide all but one instances of a custom ...
3
votes
0answers
3k views

Interactive PDF - Click thumbnail images to open in quicklook like window

Is it possible to create an interactive PDF where you can click a scaled down embedded image and it opens it up large in a preview like window hovering in front of the open PDF? Sort of like the PDF ...
10
votes
2answers
4k views

How to enlarge a picture on click?

I am trying to create a technical manual which contains a lot of screen-shots. Nevertheless I am looking for: Insert the pictures as thumbnails and when one clicks on them, they expand as embedded ...
3
votes
1answer
964 views

How can I make toggle buttons with images using pdflatex?

I am currently designing an interactive PDF by means of the media9 package in Latex. I have three \mediabutton buttons that I would like to treat as toggle buttons. A picture of the buttons is shown ...
3
votes
1answer
500 views

ConTeXt: How to set up interaction mode to emulate hyperref?

I have prepared a self explanatory MWE to check interaction mode for various objects in ConTeXt ver: 2013.01.10 01:04 MKIV. Evince document viewer is used for testing. Questions: How to set up ...
5
votes
1answer
231 views

Change color of links created with \in, \at, etc

By default the link color of references created with \in or \at is red. How can this color be globally changed, so that all links have the same color (e.g. blue)? \setupinteraction [state=start,...