Hot answers tagged

27

Here is a non-fancytooltips solution that supports any driver, including xelatex, allowing you to use OpenType and TrueType fonts. It makes use of the macro \tooltip[<link text colour>]{<link text>}[<tip box colour>]{<tip text>} for generating draggable boxes in the PDF display of AdobeReader. The macro for creating an inline ...


18

Note: incoming version 0.5 of ocgx package uses ocg-p package (instead of ocg.sty from documentation of Asymptote). Here is a very simple example using ocgx package and TikZ. You can click on equation to show its name if your PDF viewer is compatible with OCGs (like Adobe Reader, Foxit Reader, Evince...). (Note: this example requires two compilations.) \...


14

Package media9 is an option. This example displays latest FIFA news in a Flash-based RSS-Reader I found on the web. It is embedded in the footline of every slide in a beamer presentation. It doesn't seem to update the content, though. However, it is reloaded (with updated content) when moving to the next presentation slide (Acrobat Reader required). \...


12

I don't know if you are looking for a purely LaTeX approach. If that is what you want, then it seems Paul Gaborit's ocgx package is the way to go. But you tagged your question as acrotex which uses javascript to enable its mouseover features. The manuals of acrotex also have mouseover features. In Mouseover events in beamer: hovering on \eqref and a comment ...


10

It is possible with LaTeX to program anything you want in a pdf. You might even make your document talk (see Hello World in pdfLaTeX). Effectively though you are writing JavaScript to a file via LaTeX. However, my personal opinion is that once you start talking about presenting information in many different formats and media, you need to turn your thinking ...


7

You can use \ChoiceMenu in tabulars, use one in every cell, but use the same name, so that they build a group. You will have to change the width of the field, as the default width is \baselineskip which is zero in tabulars: \def\DefaultWidthofChoiceMenu{1em} But while it works, it is difficult to fine tune the layout, a number of things are hardcoded and ...


7

One option is to use Lua to fetch data when the file is compiled. Then, set a batch script to recompile the TeX file every 30 seconds or so, and use a pdf reader that auto-refreshes the pdf file. Here is an example (in ConTeXt) that fetches the current date and time at a specific location from a webserver, parses the returned XML file, and displays the ...


4

The minimal tooltip macro definition below uses mouse-down and up events in addition to roll-over and out for showing/hiding the tooltip. This works in Adobe Reader on my PC. Take it as a proof of concept if it works on a tablet or phone too. In case of multiline tooltips, the tip text should be put into a \parbox[b]{}{}. \documentclass{article} \usepackage{...


4

First of all, using the MacTeX distribution of TeX Live, you should set any paths in your editor to point to /Library/TeX/texbin, not to the particular folder for the distribution. This is so that subsequent updates will not require you to reset these paths. /Library/TeX/texbin will always point to the binaries of the currently selected distribution. (...


3

You can't. The value is converted to a PDF string and not typeset by TeX. Therefore the stomach of TeX is not available during the conversion. That means, assignments, definitions, non-expandable macros will not work and can even break. Scanning for the optional argument is implemented via \futurelet in LaTeX, an assignment. Therefore \futurelet would be ...


2

Your code doesn't compile, a number of your tabulars have to many cells in a row, and also you shouldn't put a table inside an adjustbox. Beside this: I would probably use an external tabular to align the boxes: \documentclass{beamer} \usepackage[english]{babel} \usetheme{Berkeley} \usepackage{microtype}% more flexibility for narrow columns \usepackage{...


2

I don't have eforms but you can certainly get the right result with hyperref alone. I can't figure out how to display the choice menu opened up as any attempt to take a screenshot either fails or escapes from the menu. However, all 3 entries display correctly. \documentclass{article} \usepackage{polyglossia} \usepackage{hyperref} \begin{document} \...


1

This is described in the source at http://ftp.snt.utwente.nl/pub/software/tex/macros/latex/contrib/eqexam/eqexam.dtx. \DescribeMacro{\examNameLabel} provides a line for the student to enter his/her name into the exam. The command \cs{examNameLabel} can be used to define the name label, the default is \texttt{Name:} Since "Name:" is typeset while \...


1

Place \eqExamName[\Ff\FfRequired]{0pt} in your preamble. This will set the length of the underbar to 0pt. The space will still be there, but I don't think there is any way to suppress that without modifying the style file directly (as it calls the same, but with a non-zero length argument). The macros used in the optional argument, \Ff, and \FfRequired, ...


1

I’m using TL with Mac since version 2009 and it’s fine :-) You can install additional packages in <You>/Library/texmf/tex/latex if you don’t find this path open a Terminal and type kpsewhich -var-value TEXMFHOME (and press Enter) this gives you the right path, if this path doesn’t exist: create it ;-) If you got a sty or cls file just copy it tho the ...


Only top voted, non community-wiki answers of a minimum length are eligible