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
0 votes
0 answers
19 views

TeXstudio stop compiling and would show Error

Error: Could not start the command: pdflatex -synctex=1 -interaction=nonstopmode "thesis".tex
0 votes
0 answers
56 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 ...
2 votes
1 answer
61 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 ...
  • 1,391
0 votes
0 answers
100 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 ...
1 vote
0 answers
97 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 ...
  • 111
2 votes
2 answers
40 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 ...
0 votes
0 answers
260 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 ...
  • 239
2 votes
0 answers
218 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 ...
0 votes
0 answers
29 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 ...
3 votes
1 answer
499 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....
  • 481
1 vote
1 answer
144 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 ...
  • 1,621
3 votes
1 answer
675 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 ...
  • 31
2 votes
0 answers
79 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 ...
  • 235
1 vote
1 answer
185 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} \...
  • 304
2 votes
1 answer
32 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 ...
  • 3,276
0 votes
0 answers
46 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
2 answers
224 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} \...
  • 335
6 votes
1 answer
727 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 ...
  • 3,035
1 vote
1 answer
563 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{...
  • 1,257
0 votes
1 answer
309 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 ...
  • 289
0 votes
1 answer
74 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 ...
  • 487
10 votes
3 answers
875 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 ...
  • 501
5 votes
1 answer
451 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 ...
  • 1,118
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 ...
  • 1,634
0 votes
0 answers
115 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
2 answers
102 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....
  • 599
19 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 ...
  • 466
5 votes
1 answer
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
0 answers
109 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
0 answers
264 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 (...
  • 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 ...
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 ...
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 ...
  • 547
3 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 ...
4 votes
1 answer
582 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 ...
  • 2,778
6 votes
1 answer
281 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,...
  • 745