• No results found

Fantytooltips demo

N/A
N/A
Protected

Academic year: 2021

Share "Fantytooltips demo"

Copied!
13
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Fantytooltips demo

Robert Maˇr´ık

(2)

Content

Introduction

Math text example

(3)

What can you find in this file?

I Demo (math fiction) which shows how the cooperation between preview and fancytooltips package can be used to insert popup previews for equations, theorems and definitions into a presentation – see for example Figure1 (move the mouse to the blue mark).

(4)

Demo: Definitions

Definition 2.1 (Excellent number[

1

, citation only for testing])

Let n be positive integer. The number n is said to be excellent, if the last digit of the number α defined by the relation

α = n2+ Z 2π

0

sin x dx (1)

equals 1.

(Note that from (1) it follows that α is integer, see2.)

Definition 2.2 (Happy number)

Let n be positive integer. The number n is said to be happy, if the last digit of the number n equals 1.

Citations are also extracted. See [2,4,3, 5]. You have to insert emtpy line after each \bibitem command. Ordinarytooltipsandanimations

(5)

Demo: Example and comments

Example 2.3

The number 1 is both happy and excellent. The number 129 is excellent but not happy. This follows immediately from the Definitions2.1and2.2.

Fancytooltips comment

(6)

Demo: A picture

x f (x )

Figure : Sine curve

(7)

Demo: Newton–Leibniz theorem

Theorem 2.4

Let f (x ) be integrable in the sense of Riemann on [a, b]. Let F (x ) be a function continuous on [a, b] which is an antiderivative of the function f on the interval (a, b). Then

Z b a

f (x )dx = [F (x )]ba = F (b) − F (a)

(8)

Demo: Integral term equals zero

Remark 1

It is easy to see that

Z 2π 0

sin x dx = 0. (2)

Really, direct computation based on Newton-Leibniz Theorem2.4shows Z 2π

0

sin x dx = [cos x ]2π0 = cos(2π) − cos 0 = 0.

(9)

Demo: Main result

Theorem 2.5 (Characterization of excellent numbers)

The positive integer n isexcellentif and only if the last digit of the number n is either 1 or 9.

Fancytooltips comment

Since we used\label{def:excellent-number}in the Definition2.1, we can insert a tooltip to the word excellent by using

(10)

Demo: Corollary

Theorem 2.6 (Relationship between happy and excellent

numbers)

Eachhappynumber isexcellent.

Fancytooltips comment

The “happy” tooltip is created by

\tooltip*{happy}{def:happy-number}. The starred version causes that the active button is not attached to the text, but is attached to the mark. The “excellent” tooltip is created by

(11)

How it works

I We compile the presentation in an ordinary way to get correct labels and references.

I We compile the presentation with preview package and extract displayed equations, theorems, definitions and floats (tables and figures).

I We create a new document which contains those parts extracted in the previous step, which have a label inside.

(12)

That’s all.

(13)

K. Nowak, A remark on . . . , Opuscula Math. 26 (2004), 25–31. R. Stuchlik, Perturbations of . . . , J. Math. Anal. Appl. 23 (19986), 4–44.

O. Stuchlik, Half-linear oscillation criteria: Perturbation in term involving derivative, Nonlinear Anal. 73 (2010), 3756–3766. T. Topas, Half-linear Differential Equations, North-Holland Mathematics Studies 202, Elsevier, 2005.

Referenties

GERELATEERDE DOCUMENTEN

houdendendheid in zijn publieke optreden zou hij iets moeten Iaten varen. Indien hij zijn emoties meer zou blootgeven en mensen inzicht hood in zijn drijfveren, dan

Process mining can enhance the implementation of Robotic Process Automation by increasing process understanding, checking process quality, evaluating the impact of implementation,

mental, physical and social wellbeing of the separate groups of younger and older people can benefit from digital games. ● Less is known about the possibility and ways in which

• You must not create a unit name that coincides with a prefix of existing (built-in or created) units or any keywords that could be used in calc expressions (such as plus, fil,

Aliquam venenatis magna lectus, vitae viverra lacus placerat sit amet. Curabitur libero metus, semper et sem eget, fermentum

For long section headings to wrap around within the TOC, we need to take the hyperref option linktocpage, unless pdflatex or xelatex are used.. 1.1 Now is the time for all good men

Decorations left, top center, top right, top left, middle center, middle right, middle left, bottom center, bottom right, bottom

Costa Rica’s cooperative Banco Popular and of Communal Development (or BPDC) illustrates a viable and desirable alternative to the average private bank.. While not without its