Questions tagged [ocgx2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
70 views

ocgx2, xparse, expl3: splitting comma separated OCMD/OCGs lists of arguments for references automation

On an applicative level, this question follows a previous one about quizzes (MCQs) with OCGs. But it seems (I suspect) that the issue might come from expansion concept and/or LaTeX3 syntax on how to ...
3
votes
1answer
155 views

ocgx2: verify and reset of Multiple Choice Questions with OCGs

EDIT: The original question was unclear, not well-posed, posted too early and too much verbose. After having some rest and digging more in deep the issue, I am now able to answer by myself to almost ...
3
votes
1answer
55 views

How to add a particular object to an `ocg` list

This is an addendum of a previous question: How to put a box and use columns to separate arrows. Please consider this MWE (adapted from a nice answer of that question): \documentclass{article} \...
4
votes
1answer
161 views

Creating a lot of checkbox'es to make visible/invisible arrows using `tikzpicture` environment

I have this MWE, taken from marmot's nice answer: \documentclass{article} \usepackage[margin=0in,footskip=0in,paperwidth=60cm,paperheight=29cm]{geometry} \usepackage[english]{babel} \usepackage[utf8]{...
3
votes
2answers
96 views

Is there a bug with the `switch ocg with mark on` key of the ocgx and ocgx2 packages?

Indeed, with this key, visibility does not work properly. I quote the manual: /tikz/switch ocg with mark on={<ocg reference»}{<OCGs list> } These styles transform the current path or ...
2
votes
1answer
71 views

Scalebox not working properly inside hyperlinks when using ocgx2 package

I am using hyperlink text formatted with graphicx' \scalebox command with independent factors for horizontal and vertical scaling. When formatting is applied inside hyperref's hyperlinks, the text in ...
1
vote
2answers
79 views

Problem with using glossaries-extra with ocgcolorlinks option of the ocgx2 package and scalebox-based glsabbrvsmfont/glsnamefont commands

The following example causes problem: \documentclass{article} \usepackage[colorlinks,linkcolor=blue]{hyperref} \usepackage[ocgcolorlinks]{ocgx2} \usepackage[record,acronym,shortcuts=ac]{glossaries-...
4
votes
2answers
231 views

TikZ: Is it possible to use ocgx or ocgx2 with scaling?

To get a handout, I drew polygons on A4 paper arranged in landscape mode. In order to create an interactive slide show with beamer associated with these documents, I had to reduce the dimensions with ...
4
votes
1answer
238 views

Multiple choice questions linked to solutions using Optional Content Groups (OCG)

I am setting up some practice tests for an aptitude exam my son will undertake for entry to university. Many example questions are available. Hard copy books publish the questions at the front of the ...
4
votes
1answer
177 views

Is there a way to modify the mouse with ocgx2?

I wrote a transparency with Beamer containing a timed itemize list (overlay) and an OCG layer. When the mouse is not above the OCG link called "circle", it has the following form: When the mouse is ...