diff options
author | Karl Berry <karl@freefriends.org> | 2007-02-22 19:55:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-02-22 19:55:16 +0000 |
commit | 2f5894cda3e5c9c65f3a7c15097ccab670381247 (patch) | |
tree | 53c749decfdbb74760a33b4861a93d3cc0562458 /Master/texmf-dist/doc/latex/fancytooltips | |
parent | 7144b710518294eb640d7f28ff4ff08b656fd35d (diff) |
new latex package fancytooltips, 19feb07
git-svn-id: svn://tug.org/texlive/trunk@3982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/fancytooltips')
17 files changed, 1102 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/fancytooltips/README b/Master/texmf-dist/doc/latex/fancytooltips/README new file mode 100644 index 00000000000..74b696c6c5a --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/README @@ -0,0 +1,9 @@ +The fancytooltips package has been inspired by cooltooltips +package. In contrast to cooltooltips, fancytooltips allows to +include tooltips which contain arbitrary TeX material or a series of +TeX materials (aminated graphics) from an external PDF file. The demo +files example.pdf and example-min.pdf. To see the tooltips, you have +to open these files in Adobe Reader. The links and JavaScripts are +inserted using eforms.sty package from acroTeX bundle. The TeX file +can be processed by pdflatex or latex + dvips + distiller + Adobe +Acrobat. diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex new file mode 100644 index 00000000000..e29da914575 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/blackpanel.tex @@ -0,0 +1,26 @@ +\definecolor{panelbackground}{rgb}{0,0,0} +\definecolor{stara}{rgb}{.992, .96187, .902} +\definecolor{svetlehneda}{rgb}{0.93, 0.73, 0.49} +\definecolor{svetlehnedaB}{rgb}{0.92, 0.87, 0.79} +\definecolor{vybledlazluta}{rgb}{0.97,0.87,0.52} +\backgroundcolor{vybledlazluta} +\backgroundcolor{svetlehnedaB} +\edef\restoreAtCatcode{\noexpand\catcode64 =\the\catcode64 }% + + +\makeatletter +\long\def\contentsline#1#2#3#4{\def\@@cHead{#1}% + \ifx\@@cHead\@@secHead\stepcounter{NUM}% + \ifnum\thepanel@section=\theNUM% + {\definecolor{panelbackground}{gray}{0}% + \definecolor{fgcolor}{rgb}{1,0,0}% + \hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}% + }\par\vskip1truept% + \else + {\definecolor{panelbackground}{gray}{0}%% + \definecolor{fgcolor}{gray}{0.5}% + \hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}% + }\par\vskip1truept% + \fi\fi} + +\restoreAtCatcode diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf Binary files differnew file mode 100644 index 00000000000..aa676e6bb0a --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex new file mode 100644 index 00000000000..e25741d0ce1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example-min.tex @@ -0,0 +1,36 @@ +\documentclass{article} + +\usepackage[a5paper,landscape]{geometry} + +\usepackage{color} +\usepackage[pdftex]{eforms} +\usepackage[filename=tooltipy]{fancytooltips} + +\pagestyle{headings}\markright{Heading\hfill \frametip} + +\begin{document} + +\parindent 0 pt + +\begin{itemize} +\item The blue text is active button. If you move mouse to this button + with Shift key down or if you press this button, tooltip appears. Is + you move your mouse out or if you close the page, the tooltip + disappears. +\item The first links are tooltips, the third one is animated tooltip. + have a fun +\end{itemize} + + This is definition of \tooltip{rank}{hodnost}. bla bla bla. + + + This is definition of \tooltip{derivative}{derivace}. + +This is a geometric \tooltipanim{idea}{3}{27} which is behind the +definition of derivative. + + +\newpage +page 2 \TooltipHidden + +\end{document} diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf Binary files differnew file mode 100644 index 00000000000..e9fafae7606 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex new file mode 100644 index 00000000000..098c0e77770 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/example.tex @@ -0,0 +1,138 @@ +\documentclass{article} + +\usepackage[screen,panelright]{pdfscreen} + +\usepackage[pdftex]{eforms} + +\usepackage[filename=tooltipy]{fancytooltips} + +% \buttontipwidth=3in +% \buttontipheight=3in +% \def\delayinterval{50} +% \def\TooltipExtratext{} +% \definecolor{tooltipcolor}{rgb}{1,0,0} + +\panelwidth=0.73in +\setlength\buttonwidth{.9\panelwidth} +\setlength\smallbuttonwidth{.45\panelwidth} +\addtolength{\smallbuttonwidth}{-1.2pt} + +\margins{0.1in}{0.1in}{0.1in}{0.1in} +\urlid{www.mendelu.cz/user/marik} +\screensize{4in}{5.2in} +\definecolor{buttonbackground}{gray}{.6} +\definecolor{buttonshadow}{gray}{.2} +\emblema{logomu.pdf} + +% \definecolor{panelbackground}{rgb}{1,1,0.9} +\definecolor{lightyellow}{rgb}{1,1,0.9} +\backgroundcolor{lightyellow} +\makeatletter + +%%% uprava panelu tak abych do praveho horniho rohu kazde stranky +%%% vpasoval tlacitko s animacemi. Bude se jmenovat porad stejne, ale +%%% zda se ze to nevadi. +%%% +%%% This is a trick which puts \frametip on every page + +\def\@@logo#1{% + \hfill\frametip \\%%%%% tady je to tlacitko + \global\setbox0=\hbox{ + \includegraphics{#1}}% + \ifdim\ht0>\wd0% + \includegraphics[height=0.9\hsize]{#1}% + \else% + \ifdim\wd0>\ht0% + \includegraphics[width=0.9\hsize]{#1}% + \else% + \ifdim\wd0=\ht0%% + \includegraphics[width=0.9\hsize]{#1}% + \fi\fi\fi +} + + +\def\panel{% + \begin{minipage}[t][\paperheight][c]{\panelwidth}% + \normalsfcodes% + \centering% + %\null + \vspace*{3pt}%\vfill% + \ifx\@emblema\@empty\relax\else% + \@@logo{\@emblema}\par\vfill\fi% + \ifx\logoB\undefined\else\logoB\fi + \if@paneltoc% + \@panel@toc\par\vfill\else\relax\fi% + \color{blue}% + \NavigationPanel% + \par%\vfill + %\null + \vspace*{1pt}% + \end{minipage}% +} + + +%%% odstaranim polozku Contents z panelu +%%% we remove the contents from panel + +\def\NavigationPanel{\normalsfcodes% + \href{\@urlid}{\addButton{\buttonwidth}{\@Panelhomepagename}}\\ \pfill + \Acrobatmenu{Print}{\addButton{\buttonwidth}{Print}}\\\pfill + \Acrobatmenu{FirstPage}{\addButton{\buttonwidth}{\FBlack\@Paneltitlepagename}}\\\pfill + \Acrobatmenu{FirstPage}{\addButton{\smallbuttonwidth}{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace*{-2pt} + \Acrobatmenu{LastPage}{\addButton{\smallbuttonwidth}{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\\\pfill + \Acrobatmenu{PrevPage}{\addButton{\smallbuttonwidth}{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace*{-2pt} + \Acrobatmenu{NextPage}{\addButton{\smallbuttonwidth}{\LBlack\scalebox{.8}[1.4]{\rtl}}}\\\pfill + \Acrobatmenu{GoToPage}{\addButton{\buttonwidth}{\@Panelpagename\space + \textcolor{red}{\thepage}\space\@Panelofname\space + \textcolor{red}{\ScreenLastPage}}}\\\pfill + \Acrobatmenu{GoBack}{\addButton{\buttonwidth}{\@Panelgobackname}}\\\pfill + \Acrobatmenu{FullScreen}{\addButton{\buttonwidth}{\@Panelfullscreenname}}\\\pfill + \Acrobatmenu{Close}{\addButton{\buttonwidth}{\@Panelclosename}}\\\pfill + \Acrobatmenu{Quit}{\addButton{\buttonwidth}{\@Panelquitname}}\\ +} + +\makeatother + + +\let\rmdefault\sfdefault + + +\usepackage{amsmath} +\usepackage[shadein]{shadethm} + +\newshadetheorem{definice}{Definice} + +\usepackage{graphicx} + +\begin{document} + + +\parindent 0 pt + +\begin{itemize} +\item The blue text is active button. If you move mouse to this button + with Shift key down or if you press this button, tooltip appears. Is + you move your mouse out or if you close the page, the tooltip + disappears. +\item The first links are tooltips, the third one is animated tooltip. + have a fun +\end{itemize} +\begin{definice} + This is definition of \tooltip{rank}{hodnost}. bla bla bla. +\end{definice} + + +\begin{definice} + This is definition of \tooltip{derivative}{derivace}. +\end{definice} + +This is a geometric \tooltipanim{idea}{3}{27} which is behind the definition of derivative. + +\newpage +Page 2 + +Here we speak more about \tooltip{rank}{hodnost} +\newpage +Page 3 +\TooltipHidden +\end{document} diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex new file mode 100644 index 00000000000..ba438bfb5b7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/fancytips.tex @@ -0,0 +1,2 @@ +\tooltipname{derivace}{1} +\tooltipname{hodnost}{2} diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf Binary files differnew file mode 100644 index 00000000000..1f67464d89e --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/logomu.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg b/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg new file mode 100644 index 00000000000..c2f6e86497d --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/pdfscreen.cfg @@ -0,0 +1,42 @@ +\def\@@logo#1{% + \global\setbox0=\hbox{\includegraphics{#1}}% + \ifdim\ht0>\wd0% + \includegraphics[height=0.9\hsize]{#1}% + \else% + \ifdim\wd0>\ht0% + \includegraphics[width=0.9\hsize]{#1}% + \else% + \ifdim\wd0=\ht0%% + \includegraphics[width=0.9\hsize]{#1}% + \fi\fi\fi +} + +\def\panel{% + \begin{minipage}[t][\paperheight][c]{\panelwidth}% + \normalsfcodes% + \centering% + %\null + \vspace*{3pt}%\vfill% + \ifx\@emblema\@empty\relax\else% + \@@logo{\@emblema}\par\vfill\fi% + \ifx\logoB\undefined\else\logoB\fi + \if@paneltoc% + \@panel@toc\par\vfill\else\relax\fi% + \color{blue}% + \NavigationPanel% + \par%\vfill + %\null + \vspace*{1pt}% + \end{minipage}% +} + +\def\pfill{\vskip 0.5pt} +\emblema{logo-bc.jpg} +\urlid{www.mendelu.cz/user/marik} + +\hypersetup{pdfpagemode=Window, pdfnewwindow=true, pdfmenubar=true,% + pdftoolbar=true,colorlinks, pdfwindowui=true, + pdfpagemode=UseOutlines} + +\input blackpanel +\endinput diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf Binary files differnew file mode 100644 index 00000000000..b4f69baa0f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tecna2.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf Binary files differnew file mode 100644 index 00000000000..0b1009d2759 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex new file mode 100644 index 00000000000..3fff46ebb60 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/examples/tooltipy.tex @@ -0,0 +1,75 @@ +\documentclass{article} +% \usepackage[czech]{babel} +% \usepackage[IL2]{fontenc} + +\usepackage[createtips]{fancytooltips} + +\usepackage{fancybox} +\parindent 0 pt + +\usepackage{color} +\definecolor{gray}{rgb}{0.8, 0.8, 0.8} +\definecolor{lightblue}{rgb}{0.7, 0.7, 1} +\definecolor{lightgreen}{rgb}{0.7, 1, 0.7} + +\usepackage{multido,graphicx} +\usepackage[papersize={5in,5in},margin=1pt]{geometry} +\long\def\stranka#1#2{ + \begin{flushright} +\fboxsep 0 pt +\color{red} +\shadowbox{{\fboxsep 4pt\colorbox{yellow} + {\begin{minipage}{0.5\linewidth} + \color{black}#2 + \end{minipage}}}} + \end{flushright} +\keytip{#1} + \newpage +} + +\def\definice#1{ + \begin{center} + \colorbox{gray}{\begin{minipage}{0.9\linewidth} #1 + \end{minipage}} + \end{center} +} +\def\vyuziti#1{ + \begin{center} + \colorbox{lightblue}{\begin{minipage}{0.9\linewidth} #1 + \end{minipage}} + \end{center} +} +\def\vypocet#1{ + \begin{center} + \colorbox{lightgreen}{\begin{minipage}{0.9\linewidth} #1 + \end{minipage}} + \end{center} +} + + +\begin{document} + +\stranka{derivace}{ \definice{The \textbf{derivative} is the limit + $$\lim_{h\to0}\frac{f(x+h)-f(x)}h,$$ if this limit exists as a finite number.} \vyuziti{ The derivative + has important applications in physics as a rate of change and as a + linear approximation.} \vypocet{The derivative can be evaluated + using appropriate formulas}} + +\stranka{hodnost}{ \definice{\textbf{Rank} is a maximal number of linearly independent rows in a matrix.} +\vyuziti{Rank can be used to prove or disprove linear independence of vectors and it also appears in the Frobenius Theorem.} +\vypocet{To find the rank of a matrix, you have to convert this matrix into row echelon form.}} + + + +\def\obrazek#1{ + \begin{flushright} + \color{red} + \fboxsep 0 pt{\shadowbox{{\color{black}\includegraphics[width=0.8\hsize, + page=#1,viewport= 0 57 350 230,clip]{tecna2.pdf}}}} + \end{flushright} +\newpage} + + +\multido{\i=1+1}{25}{\obrazek{\i}} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf Binary files differnew file mode 100644 index 00000000000..6ab1af60d9c --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltips.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps new file mode 100644 index 00000000000..8e70df560d8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.eps @@ -0,0 +1,553 @@ +%!PS-Adobe-3.0 +%%Creator: xpdf/pdftops 3.00 +%%LanguageLevel: 2 +%%DocumentSuppliedResources: (atend) +%%DocumentMedia: plain 316 214 0 () () +%%BoundingBox: 0 0 316 214 +%%Pages: 1 +%%EndComments +%%BeginDefaults +%%PageMedia: plain +%%EndDefaults +%%BeginProlog +%%BeginResource: procset xpdf 3.00 0 +/xpdf 75 dict def xpdf begin +% PDF special state +/pdfDictSize 15 def +/pdfSetup { + 3 1 roll 2 array astore + /setpagedevice where { + pop 3 dict begin + /PageSize exch def + /ImagingBBox null def + /Policies 1 dict dup begin /PageSize 3 def end def + { /Duplex true def } if + currentdict end setpagedevice + } { + pop pop + } ifelse +} def +/pdfStartPage { + pdfDictSize dict begin + /pdfFillCS [] def + /pdfFillXform {} def + /pdfStrokeCS [] def + /pdfStrokeXform {} def + /pdfFill [0] def + /pdfStroke [0] def + /pdfFillOP false def + /pdfStrokeOP false def + /pdfLastFill false def + /pdfLastStroke false def + /pdfTextMat [1 0 0 1 0 0] def + /pdfFontSize 0 def + /pdfCharSpacing 0 def + /pdfTextRender 0 def + /pdfTextRise 0 def + /pdfWordSpacing 0 def + /pdfHorizScaling 1 def + /pdfTextClipPath [] def +} def +/pdfEndPage { end } def +% PDF color state +/cs { /pdfFillXform exch def dup /pdfFillCS exch def + setcolorspace } def +/CS { /pdfStrokeXform exch def dup /pdfStrokeCS exch def + setcolorspace } def +/sc { pdfLastFill not { pdfFillCS setcolorspace } if + dup /pdfFill exch def aload pop pdfFillXform setcolor + /pdfLastFill true def /pdfLastStroke false def } def +/SC { pdfLastStroke not { pdfStrokeCS setcolorspace } if + dup /pdfStroke exch def aload pop pdfStrokeXform setcolor + /pdfLastStroke true def /pdfLastFill false def } def +/op { /pdfFillOP exch def + pdfLastFill { pdfFillOP setoverprint } if } def +/OP { /pdfStrokeOP exch def + pdfLastStroke { pdfStrokeOP setoverprint } if } def +/fCol { + pdfLastFill not { + pdfFillCS setcolorspace + pdfFill aload pop pdfFillXform setcolor + pdfFillOP setoverprint + /pdfLastFill true def /pdfLastStroke false def + } if +} def +/sCol { + pdfLastStroke not { + pdfStrokeCS setcolorspace + pdfStroke aload pop pdfStrokeXform setcolor + pdfStrokeOP setoverprint + /pdfLastStroke true def /pdfLastFill false def + } if +} def +% build a font +/pdfMakeFont { + 4 3 roll findfont + 4 2 roll matrix scale makefont + dup length dict begin + { 1 index /FID ne { def } { pop pop } ifelse } forall + /Encoding exch def + currentdict + end + definefont pop +} def +/pdfMakeFont16 { + exch findfont + dup length dict begin + { 1 index /FID ne { def } { pop pop } ifelse } forall + /WMode exch def + currentdict + end + definefont pop +} def +% graphics state operators +/q { gsave pdfDictSize dict begin } def +/Q { + end grestore + /pdfLastFill where { + pop + pdfLastFill { + pdfFillOP setoverprint + } { + pdfStrokeOP setoverprint + } ifelse + } if +} def +/cm { concat } def +/d { setdash } def +/i { setflat } def +/j { setlinejoin } def +/J { setlinecap } def +/M { setmiterlimit } def +/w { setlinewidth } def +% path segment operators +/m { moveto } def +/l { lineto } def +/c { curveto } def +/re { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto + neg 0 rlineto closepath } def +/h { closepath } def +% path painting operators +/S { sCol stroke } def +/Sf { fCol stroke } def +/f { fCol fill } def +/f* { fCol eofill } def +% clipping operators +/W { clip newpath } def +/W* { eoclip newpath } def +% text state operators +/Tc { /pdfCharSpacing exch def } def +/Tf { dup /pdfFontSize exch def + dup pdfHorizScaling mul exch matrix scale + pdfTextMat matrix concatmatrix dup 4 0 put dup 5 0 put + exch findfont exch makefont setfont } def +/Tr { /pdfTextRender exch def } def +/Ts { /pdfTextRise exch def } def +/Tw { /pdfWordSpacing exch def } def +/Tz { /pdfHorizScaling exch def } def +% text positioning operators +/Td { pdfTextMat transform moveto } def +/Tm { /pdfTextMat exch def } def +% text string operators +/cshow where { + pop + /cshow2 { + dup { + pop pop + 1 string dup 0 3 index put 3 index exec + } exch cshow + pop pop + } def +}{ + /cshow2 { + currentfont /FontType get 0 eq { + 0 2 2 index length 1 sub { + 2 copy get exch 1 add 2 index exch get + 2 copy exch 256 mul add + 2 string dup 0 6 5 roll put dup 1 5 4 roll put + 3 index exec + } for + } { + dup { + 1 string dup 0 3 index put 3 index exec + } forall + } ifelse + pop pop + } def +} ifelse +/awcp { + exch { + false charpath + 5 index 5 index rmoveto + 6 index eq { 7 index 7 index rmoveto } if + } exch cshow2 + 6 {pop} repeat +} def +/Tj { + fCol + 1 index stringwidth pdfTextMat idtransform pop + sub 1 index length dup 0 ne { div } { pop pop 0 } ifelse + pdfWordSpacing pdfHorizScaling mul 0 pdfTextMat dtransform 32 + 4 3 roll pdfCharSpacing pdfHorizScaling mul add 0 + pdfTextMat dtransform + 6 5 roll Tj1 +} def +/Tj16 { + fCol + 2 index stringwidth pdfTextMat idtransform pop + sub exch div + pdfWordSpacing pdfHorizScaling mul 0 pdfTextMat dtransform 32 + 4 3 roll pdfCharSpacing pdfHorizScaling mul add 0 + pdfTextMat dtransform + 6 5 roll Tj1 +} def +/Tj16V { + fCol + 2 index stringwidth pdfTextMat idtransform exch pop + sub exch div + 0 pdfWordSpacing pdfTextMat dtransform 32 + 4 3 roll pdfCharSpacing add 0 exch + pdfTextMat dtransform + 6 5 roll Tj1 +} def +/Tj1 { + 0 pdfTextRise pdfTextMat dtransform rmoveto + currentpoint 8 2 roll + pdfTextRender 1 and 0 eq { + 6 copy awidthshow + } if + pdfTextRender 3 and dup 1 eq exch 2 eq or { + 7 index 7 index moveto + 6 copy + currentfont /FontType get 3 eq { fCol } { sCol } ifelse + false awcp currentpoint stroke moveto + } if + pdfTextRender 4 and 0 ne { + 8 6 roll moveto + false awcp + /pdfTextClipPath [ pdfTextClipPath aload pop + {/moveto cvx} + {/lineto cvx} + {/curveto cvx} + {/closepath cvx} + pathforall ] def + currentpoint newpath moveto + } { + 8 {pop} repeat + } ifelse + 0 pdfTextRise neg pdfTextMat dtransform rmoveto +} def +/TJm { pdfFontSize 0.001 mul mul neg 0 + pdfTextMat dtransform rmoveto } def +/TJmV { pdfFontSize 0.001 mul mul neg 0 exch + pdfTextMat dtransform rmoveto } def +/Tclip { pdfTextClipPath cvx exec clip newpath + /pdfTextClipPath [] def } def +% Level 2 image operators +/pdfImBuf 100 string def +/pdfIm { + image + { currentfile pdfImBuf readline + not { pop exit } if + (%-EOD-) eq { exit } if } loop +} def +/pdfImM { + fCol imagemask + { currentfile pdfImBuf readline + not { pop exit } if + (%-EOD-) eq { exit } if } loop +} def +/pdfImClip { + gsave + 0 2 4 index length 1 sub { + dup 4 index exch 2 copy + get 5 index div put + 1 add 3 index exch 2 copy + get 3 index div put + } for + pop pop rectclip +} def +/pdfImClipEnd { grestore } def +% shading operators +/colordelta { + false 0 1 3 index length 1 sub { + dup 4 index exch get 3 index 3 2 roll get sub abs 0.004 gt { + pop true + } if + } for + exch pop exch pop +} def +/funcCol { func n array astore } def +/funcSH { + dup 0 eq { + true + } { + dup 6 eq { + false + } { + 4 index 4 index funcCol dup + 6 index 4 index funcCol dup + 3 1 roll colordelta 3 1 roll + 5 index 5 index funcCol dup + 3 1 roll colordelta 3 1 roll + 6 index 8 index funcCol dup + 3 1 roll colordelta 3 1 roll + colordelta or or or + } ifelse + } ifelse + { + 1 add + 4 index 3 index add 0.5 mul exch 4 index 3 index add 0.5 mul exch + 6 index 6 index 4 index 4 index 4 index funcSH + 2 index 6 index 6 index 4 index 4 index funcSH + 6 index 2 index 4 index 6 index 4 index funcSH + 5 3 roll 3 2 roll funcSH pop pop + } { + pop 3 index 2 index add 0.5 mul 3 index 2 index add 0.5 mul + funcCol sc + dup 4 index exch mat transform m + 3 index 3 index mat transform l + 1 index 3 index mat transform l + mat transform l pop pop h f* + } ifelse +} def +/axialCol { + dup 0 lt { + pop t0 + } { + dup 1 gt { + pop t1 + } { + dt mul t0 add + } ifelse + } ifelse + func n array astore +} def +/axialSH { + dup 0 eq { + true + } { + dup 8 eq { + false + } { + 2 index axialCol 2 index axialCol colordelta + } ifelse + } ifelse + { + 1 add 3 1 roll 2 copy add 0.5 mul + dup 4 3 roll exch 4 index axialSH + exch 3 2 roll axialSH + } { + pop 2 copy add 0.5 mul axialCol sc + exch dup dx mul x0 add exch dy mul y0 add + 3 2 roll dup dx mul x0 add exch dy mul y0 add + dx abs dy abs ge { + 2 copy yMin sub dy mul dx div add yMin m + yMax sub dy mul dx div add yMax l + 2 copy yMax sub dy mul dx div add yMax l + yMin sub dy mul dx div add yMin l + h f* + } { + exch 2 copy xMin sub dx mul dy div add xMin exch m + xMax sub dx mul dy div add xMax exch l + exch 2 copy xMax sub dx mul dy div add xMax exch l + xMin sub dx mul dy div add xMin exch l + h f* + } ifelse + } ifelse +} def +/radialCol { + dup t0 lt { + pop t0 + } { + dup t1 gt { + pop t1 + } if + } ifelse + func n array astore +} def +/radialSH { + dup 0 eq { + true + } { + dup 8 eq { + false + } { + 2 index dt mul t0 add radialCol + 2 index dt mul t0 add radialCol colordelta + } ifelse + } ifelse + { + 1 add 3 1 roll 2 copy add 0.5 mul + dup 4 3 roll exch 4 index radialSH + exch 3 2 roll radialSH + } { + pop 2 copy add 0.5 mul dt mul t0 add axialCol sc + exch dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + 0 360 arc h + dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add + 0 360 arc h f* + } ifelse +} def +end +%%EndResource +%%EndProlog +%%BeginSetup +xpdf begin +316 214 false pdfSetup +%%EndSetup +%%Page: 1 1 +%%BeginPageSetup +%%PageOrientation: Portrait +pdfStartPage +0 0 316 214 re W +%%EndPageSetup +[] 0 d +1 i +0 j +0 J +10 M +1 w +/DeviceGray {} cs +[0] sc +/DeviceGray {} CS +[0] SC +false op +false OP +q +[0.8 0 0 -0.8 0 214] cm +q +[1 0 0 1 0 0] cm +q +[1 0 0 1 -149.5 -286.737] cm +q +/DeviceRGB {} cs +[0 0.396072 1] sc +543.75 391.425 m +543.75 449.212 462.55 496.112 362.5 496.112 c +262.45 496.112 181.25 449.212 181.25 391.425 c +181.25 333.637 262.45 286.737 362.5 286.737 c +462.55 286.737 543.75 333.637 543.75 391.425 c +h +f +Q +q +/DeviceRGB {} cs +[0 0.396072 1] sc +209.375 449.237 m +171.875 567.987 150 549.237 150 549.237 c +150 549.237 232.766 548.636 268.75 478.277 c +f* +Q +q +[1.13967 0 0 0.877444 0 0] cm +q +/DeviceRGB {} cs +[1 0 0] sc +235.969 462.75 m +207.561 462.75 l +207.561 458.894 l +207.561 454.592 208.427 450.789 210.158 447.484 c +211.889 444.126 215.535 439.877 221.096 434.736 c +226.132 430.172 l +229.123 427.444 231.3 424.873 232.664 422.46 c +234.08 420.047 234.788 417.633 234.788 415.22 c +234.788 411.548 233.529 408.689 231.011 406.643 c +228.493 404.544 224.978 403.495 220.467 403.495 c +216.217 403.495 211.627 404.387 206.695 406.171 c +201.764 407.902 196.623 410.499 191.272 413.961 c +191.272 389.252 l +197.62 387.049 203.417 385.422 208.663 384.373 c +213.909 383.324 218.971 382.799 223.85 382.799 c +236.651 382.799 246.409 385.422 253.124 390.668 c +259.839 395.862 263.196 403.469 263.196 413.489 c +263.196 418.63 262.173 423.247 260.127 427.339 c +258.081 431.378 254.592 435.733 249.661 440.401 c +244.625 444.887 l +241.057 448.14 238.723 450.763 237.621 452.756 c +236.52 454.697 235.969 456.848 235.969 459.209 c +235.969 462.75 l +207.561 474.396 m +235.969 474.396 l +235.969 502.411 l +207.561 502.411 l +207.561 474.396 l +f +Q +q +/DeviceRGB {} cs +[1 0 0] sc +329.455 462.75 m +301.047 462.75 l +301.047 458.894 l +301.047 454.592 301.912 450.789 303.644 447.484 c +305.375 444.126 309.021 439.877 314.582 434.736 c +319.618 430.172 l +322.608 427.444 324.786 424.873 326.15 422.46 c +327.566 420.047 328.274 417.633 328.274 415.22 c +328.274 411.548 327.015 408.689 324.497 406.643 c +321.979 404.544 318.464 403.495 313.952 403.495 c +309.703 403.495 305.113 404.387 300.181 406.171 c +295.25 407.902 290.109 410.499 284.758 413.961 c +284.758 389.252 l +291.105 387.049 296.902 385.422 302.149 384.373 c +307.395 383.324 312.457 382.799 317.336 382.799 c +330.137 382.799 339.894 385.422 346.609 390.668 c +353.324 395.862 356.682 403.469 356.682 413.489 c +356.682 418.63 355.659 423.247 353.613 427.339 c +351.567 431.378 348.078 435.733 343.147 440.401 c +338.111 444.887 l +334.543 448.14 332.209 450.763 331.107 452.756 c +330.005 454.697 329.455 456.848 329.455 459.209 c +329.455 462.75 l +301.047 474.396 m +329.455 474.396 l +329.455 502.411 l +301.047 502.411 l +301.047 474.396 l +f +Q +q +/DeviceRGB {} cs +[1 0 0] sc +422.94 462.75 m +394.533 462.75 l +394.533 458.894 l +394.533 454.592 395.398 450.789 397.13 447.484 c +398.861 444.126 402.507 439.877 408.068 434.736 c +413.104 430.172 l +416.094 427.444 418.271 424.873 419.635 422.46 c +421.052 420.047 421.76 417.633 421.76 415.22 c +421.76 411.548 420.501 408.689 417.983 406.643 c +415.465 404.544 411.95 403.495 407.438 403.495 c +403.189 403.495 398.598 404.387 393.667 406.171 c +388.736 407.902 383.595 410.499 378.244 413.961 c +378.244 389.252 l +384.591 387.049 390.388 385.422 395.634 384.373 c +400.88 383.324 405.943 382.799 410.822 382.799 c +423.622 382.799 433.38 385.422 440.095 390.668 c +446.81 395.862 450.168 403.469 450.168 413.489 c +450.168 418.63 449.145 423.247 447.099 427.339 c +445.053 431.378 441.564 435.733 436.633 440.401 c +431.597 444.887 l +428.029 448.14 425.695 450.763 424.593 452.756 c +423.491 454.697 422.94 456.848 422.94 459.209 c +422.94 462.75 l +394.533 474.396 m +422.94 474.396 l +422.94 502.411 l +394.533 502.411 l +394.533 474.396 l +f +Q +Q +Q +Q +Q +showpage +%%PageTrailer +pdfEndPage +%%Trailer +end +%%DocumentSuppliedResources: +%%EOF diff --git a/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf new file mode 100644 index 00000000000..367156ff3e7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/fancytooltipsmark.pdf @@ -0,0 +1,192 @@ +%PDF-1.4 +%Âéî¡ +3 0 obj +<< + /Type /Catalog + /Pages 2 0 R +>> +endobj +4 0 obj +<< + /Type /Page + /Parent 2 0 R + /MediaBox [ 0 0 316 214 ] + /Resources 5 0 R + /Contents 6 0 R +>> +endobj +6 0 obj +<< + /Length 7 0 R +>> +stream +0.8 0 0 -0.8 0 214 cm +q +1 0 0 1 0 0 cm +q +1 0 0 1 -149.5 -286.7372 cm +q +0 0.39607844 1 rg +543.75 391.42468262 m +543.75 449.21218262 462.55 496.11218262 362.5 496.11218262 c +262.45 496.11218262 181.25 449.21218262 181.25 391.42468262 c +181.25 333.63718262 262.45 286.73718262 362.5 286.73718262 c +462.55 286.73718262 543.75 333.63718262 543.75 391.42468262 c +h +f +Q +q +0 0.39607844 1 rg +209.375 449.23718 m +171.875 567.98718 150 549.23718 150 549.23718 c +150 549.23718 232.7665 548.63597 268.75 478.27747 c +f* +Q +q +1.139674 0 0 0.877444 0 0 cm +q +1 0 0 rg +235.96879771 462.74996036 m +207.56106761 462.74996036 l +207.56106761 458.89406348 l +207.56104023 454.59229437 208.42664886 450.78886247 210.15789612 447.48375638 c +211.88908342 444.12629901 215.53513193 439.87694751 221.09605259 434.73568913 c +226.13232607 430.17156629 l +229.1225645 427.44365979 231.29970138 424.87306444 232.66374324 422.45977253 c +234.08014125 420.04664052 234.7883665 417.63342855 234.78842111 415.2201294 c +234.7883665 411.54793752 233.52929939 408.68880595 231.011216 406.64272613 c +228.49303094 404.54437671 224.97813526 403.49515412 220.4665184 403.49505521 c +216.21712661 403.49515412 211.62677777 404.38699333 206.69545811 406.17057549 c +201.7640854 407.90188901 196.6228947 410.49871493 191.27187058 413.96106103 c +191.27187058 389.25184427 l +197.61965616 387.04858999 203.41661099 385.42229497 208.66275243 384.37295434 c +213.90883691 383.32384978 218.97133592 382.79923849 223.85026465 382.79911888 c +236.6507366 382.79923849 246.40850671 385.42229497 253.12360425 390.66829619 c +259.83855589 395.86205976 263.19606818 403.46892356 263.1961512 413.48891039 c +263.19606818 418.63019002 262.17307616 423.24676942 260.12717205 427.33866246 c +258.08110805 431.37824451 254.59244293 435.73251827 249.66116623 440.4014968 c +244.62489275 444.88692787 l +241.05747149 448.13957543 238.72295122 450.76263191 237.62132494 452.75610518 c +236.51958377 454.69721663 235.96874191 456.84812294 235.96879771 459.20883057 c +235.96879771 462.74996036 l +207.56106761 474.39634278 m +235.96879771 474.39634278 l +235.96879771 502.41061401 l +207.56106761 502.41061401 l +207.56106761 474.39634278 l +f +Q +q +1 0 0 rg +329.45462229 462.74996036 m +301.0468922 462.74996036 l +301.0468922 458.89406348 l +301.04686481 454.59229437 301.91247345 450.78886247 303.64372071 447.48375638 c +305.374908 444.12629901 309.02095651 439.87694751 314.58187717 434.73568913 c +319.61815065 430.17156629 l +322.60838908 427.44365979 324.78552596 424.87306444 326.14956782 422.45977253 c +327.56596583 420.04664052 328.27419108 417.63342855 328.27424569 415.2201294 c +328.27419108 411.54793752 327.01512397 408.68880595 324.49704058 406.64272613 c +321.97885553 404.54437671 318.46395984 403.49515412 313.95234299 403.49505521 c +309.7029512 403.49515412 305.11260236 404.38699333 300.18128269 406.17057549 c +295.24990999 407.90188901 290.10871929 410.49871493 284.75769516 413.96106103 c +284.75769516 389.25184427 l +291.10548075 387.04858999 296.90243557 385.42229497 302.14857702 384.37295434 c +307.39466149 383.32384978 312.4571605 382.79923849 317.33608923 382.79911888 c +330.13656118 382.79923849 339.89433129 385.42229497 346.60942883 390.66829619 c +353.32438047 395.86205976 356.68189277 403.46892356 356.68197579 413.48891039 c +356.68189277 418.63019002 355.65890074 423.24676942 353.61299664 427.33866246 c +351.56693263 431.37824451 348.07826751 435.73251827 343.14699081 440.4014968 c +338.11071733 444.88692787 l +334.54329607 448.13957543 332.2087758 450.76263191 331.10714953 452.75610518 c +330.00540836 454.69721663 329.4545665 456.84812294 329.45462229 459.20883057 c +329.45462229 462.74996036 l +301.0468922 474.39634278 m +329.45462229 474.39634278 l +329.45462229 502.41061401 l +301.0468922 502.41061401 l +301.0468922 474.39634278 l +f +Q +q +1 0 0 rg +422.94044688 462.74996036 m +394.53271678 462.74996036 l +394.53271678 458.89406348 l +394.5326894 454.59229437 395.39829803 450.78886247 397.12954529 447.48375638 c +398.86073259 444.12629901 402.5067811 439.87694751 408.06770176 434.73568913 c +413.10397524 430.17156629 l +416.09421367 427.44365979 418.27135055 424.87306444 419.63539241 422.45977253 c +421.05179042 420.04664052 421.76001567 417.63342855 421.76007028 415.2201294 c +421.76001567 411.54793752 420.50094856 408.68880595 417.98286517 406.64272613 c +415.46468011 404.54437671 411.94978443 403.49515412 407.43816757 403.49505521 c +403.18877578 403.49515412 398.59842694 404.38699333 393.66710728 406.17057549 c +388.73573457 407.90188901 383.59454387 410.49871493 378.24351975 413.96106103 c +378.24351975 389.25184427 l +384.59130533 387.04858999 390.38826016 385.42229497 395.6344016 384.37295434 c +400.88048608 383.32384978 405.94298509 382.79923849 410.82191382 382.79911888 c +423.62238577 382.79923849 433.38015588 385.42229497 440.09525342 390.66829619 c +446.81020506 395.86205976 450.16771735 403.46892356 450.16780037 413.48891039 c +450.16771735 418.63019002 449.14472533 423.24676942 447.09882122 427.33866246 c +445.05275722 431.37824451 441.5640921 435.73251827 436.6328154 440.4014968 c +431.59654192 444.88692787 l +428.02912066 448.13957543 425.69460039 450.76263191 424.59297411 452.75610518 c +423.49123294 454.69721663 422.94039108 456.84812294 422.94044688 459.20883057 c +422.94044688 462.74996036 l +394.53271678 474.39634278 m +422.94044688 474.39634278 l +422.94044688 502.41061401 l +394.53271678 502.41061401 l +394.53271678 474.39634278 l +f +Q +Q +Q +Q +endstream +endobj +7 0 obj +5406 +endobj +5 0 obj +<< + /ProcSet [/PDF /Text /ImageB /ImageC /ImageI] +>> +endobj +1 0 obj +<< + /Title(otazniky.pdf) + /Author(Robert Marik) + /Creator(www.inkscape.org) + /Producer(Inkscape inkscape 0.44.1) + /CreationDate(D:20070215231922Z) +>> +endobj +2 0 obj +<< + /Type /Pages + /Count 1 + /Kids [ + 4 0 R + ] +>> +endobj +xref +0 8 +0000000000 65535 f +0000005733 00000 n +0000005903 00000 n +0000000015 00000 n +0000000068 00000 n +0000005664 00000 n +0000000184 00000 n +0000005644 00000 n +trailer +<< + /Size 7 + /Root 3 0 R + /Info 1 0 R +>> +startxref +5974 +%%EOF diff --git a/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf b/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf Binary files differnew file mode 100644 index 00000000000..feb1643ce5e --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/tip.pdf diff --git a/Master/texmf-dist/doc/latex/fancytooltips/tip.tex b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex new file mode 100644 index 00000000000..8df3daa088b --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancytooltips/tip.tex @@ -0,0 +1,29 @@ +\documentclass{article} +\usepackage[papersize={2cm,2cm},margin=1pt]{geometry} +\usepackage{color} +\definecolor{yellow}{rgb}{1,1,0.9} +\def\cislo#1{ + \begin{flushright} + \fcolorbox{red}{yellow}{ + \begin{minipage}{0.3\linewidth} + \LARGE #1 + \end{minipage}} + \end{flushright} +\newpage +} +\begin{document} +\begin{flushright} + \fcolorbox{red}{yellow}{{\begin{minipage}{0.8\linewidth} + Einstein:\\[4pt] + $E=mc^2$ + \end{minipage}}} +\end{flushright} +\newpage + \cislo{1} + \cislo{2} + \cislo{3} + \cislo{4} + \cislo{5} + \cislo{6} + +\end{document} |