Skip to main content

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
2 votes
2 answers
147 views

Make interactive icons in pdf in article

I really want in my book pdf file (article) on each page at the bottom to have interactive icons like in beamer. Namely: go to the next page, to the previous one, go to the next/previous section/...
Vitaly's user avatar
  • 23
4 votes
2 answers
421 views

How to Create an Interactive Diagram with TikZ

I'm trying to create an interactive diagram, much like the one used in the EPUBs sold by Go Books: What I mean by "interactive" is that the user controls when things are triggered. For ...
psygo's user avatar
  • 438
3 votes
1 answer
100 views

Cross-referencing Issue in ConTeXt

Perhaps this is a silly question, but I’m learning to use ConTeXt and I haven’t been able to get \reference, \goto, \in, and \at to work as I want. The problem is that, when I have a \reference and ...
Jonathan C's user avatar
0 votes
0 answers
183 views

Interactive button in PDF using LaTex?

Multilingual documents in overleaf Using this thread I've created a bilingual document where a simple command changes the language that is rendered. I now have to recompile the document to change ...
webServer's user avatar
2 votes
1 answer
332 views

Change image/plot by clicking link/button?

I have a series of images I want to make interactive. As an example let us say I have three images: a cat, a dog and a mouse. I want have all three in a single figure in my document, but not shown ...
The V's user avatar
  • 1,401
0 votes
0 answers
284 views

Interactive barplot in latex

How can I implement an interactive bar chart in latex, specifically in overleaf ? In R I can use the plotly library, and in latex what library can I use and how can I implement it? If you select the ...
Darlyn LC's user avatar
2 votes
0 answers
590 views

Document with bright and dark modes that the user can switch between

I would like to have an option to switch to "dark mode" in my pdf, say, using a button in the document. Using the xcolor and pagecolor packages, I can change the background color and/or text ...
AfterMath's user avatar
  • 141
2 votes
2 answers
52 views

interaction between wrapfig, amsmath and macro `\smash` in header of first page - help debug

In the MWE below, a pdflatex compilation (texlive 2020 and 2021) gives an error of type Extra \else. The problem disappears when I add an extra group around the \smash (e.g. {\smash{TTT}}) or if I ...
Matteo Gamboz's user avatar
0 votes
0 answers
438 views

Interactive (Rotable) PDF with 3D Plot

Using (say) Matlab, it's very simple to create 3D surface plots. Is it possible to embed them into LaTeX such that the resulting PDF is interactive and one can rotate the figure and look at it from ...
Alex's user avatar
  • 219
2 votes
0 answers
320 views

LaTeX to html pages with interactive features

My search has brought to several questions with a similar gist to mine, but I could not find a satisfying ansewr to my specific needs. In addition, these threads were quite old and maybe things have ...
Ophir Averbuch's user avatar
0 votes
0 answers
34 views

Is it possible to embed one (or more) translations into a .PDF that is interactively accessible?

Specifically for my Curriculum Vitae I find myself regularly creating it twice: Once in my native language, and a second time in English. I therefore have two .PDFs with the exact same layout, just ...
Robert Tausig's user avatar
3 votes
1 answer
649 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....
潇洒张's user avatar
  • 491
1 vote
1 answer
200 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 ...
Damitr's user avatar
  • 2,025
3 votes
1 answer
1k 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 ...
VaSaV's user avatar
  • 31
2 votes
0 answers
111 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 ...
Cloud's user avatar
  • 235
1 vote
1 answer
226 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} \...
JoN's user avatar
  • 354
2 votes
1 answer
33 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 ...
Toothrot's user avatar
  • 3,356
0 votes
0 answers
48 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?
Michael Palmer's user avatar
2 votes
2 answers
285 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} \...
joseldsm's user avatar
  • 335
6 votes
1 answer
1k 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 ...
math's user avatar
  • 3,185
1 vote
1 answer
737 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{...
albert's user avatar
  • 1,337
0 votes
1 answer
426 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 ...
jaam's user avatar
  • 299
0 votes
1 answer
80 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 ...
pdoak's user avatar
  • 497
10 votes
3 answers
1k 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 ...
Martin's user avatar
  • 417
5 votes
1 answer
481 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 ...
Vitor Abella's user avatar
  • 1,178
4 votes
1 answer
1k 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 ...
Rafal's user avatar
  • 1,714
0 votes
0 answers
119 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 ...
zermelovac's user avatar
2 votes
2 answers
106 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....
dreamlax's user avatar
  • 619
20 votes
1 answer
1k 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 ...
Benjamin's user avatar
  • 496
5 votes
1 answer
2k 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{...
Léo Léopold Hertz 준영's user avatar
2 votes
0 answers
110 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 ...
Rob Heusdens's user avatar
1 vote
0 answers
268 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 (...
Taladris's user avatar
  • 328
12 votes
0 answers
2k 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 ...
Abe Schulte's user avatar
3 votes
0 answers
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 ...
David Caliri's user avatar
10 votes
2 answers
5k 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 ...
slackmart's user avatar
  • 567
4 votes
1 answer
1k 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 ...
Wynand Winterbach's user avatar
4 votes
1 answer
607 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 ...
devendra's user avatar
  • 2,828
6 votes
1 answer
299 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,...
hiddenbit's user avatar
  • 755