diff options
author | Norbert Preining <norbert@preining.info> | 2021-10-20 03:02:56 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-10-20 03:02:56 +0000 |
commit | 97a50891a87d07d3cc327188a2b00b5c11e3c309 (patch) | |
tree | 5a7ced967e974e870980fa25e42ac2de4d5c6394 /macros/latex/contrib/media4svg/example/beamer-example.tex | |
parent | d045bcbc99b0eda65a444496d60d16ea2d063c65 (diff) |
CTAN sync 202110200302
Diffstat (limited to 'macros/latex/contrib/media4svg/example/beamer-example.tex')
-rw-r--r-- | macros/latex/contrib/media4svg/example/beamer-example.tex | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/macros/latex/contrib/media4svg/example/beamer-example.tex b/macros/latex/contrib/media4svg/example/beamer-example.tex index f5654af427..c00834d218 100644 --- a/macros/latex/contrib/media4svg/example/beamer-example.tex +++ b/macros/latex/contrib/media4svg/example/beamer-example.tex @@ -12,9 +12,7 @@ % mouse cursor autohide on idle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[totpages]{zref} -\usepackage{atbegshi} -\usepackage{tikz} -\usepgflibrary{arrows.meta} +\usepackage{fontawesome5} \setbeamertemplate{navigation symbols}{} \def\navBtnSize{9pt} \def\navBtnLnWd{1.6pt} @@ -54,30 +52,16 @@ }% \AtBeginShipoutUpperLeftForeground{% \raisebox{-\dimexpr\height+0.5ex\relax}[0pt][0pt]{\makebox[\paperwidth][r]{% - \color{structure!40!}% + \normalsize\color{structure!40!}% \ifnum\thepage>1% - \href{\jobname-\the\numexpr\thepage-1\relax.svg}{% - \tikz{ - \filldraw[black!0!] (-1pt,-\dimexpr\navBtnSize/2+1pt\relax) - rectangle (\dimexpr\navBtnSize+1pt\relax,\dimexpr\navBtnSize/2+1pt\relax); - \draw[{Straight Barb[round]}-,line width=\navBtnLnWd] (-1pt,0)--(\navBtnSize,0);}}% + \href{\jobname-\the\numexpr\thepage-1\relax.svg}{\faArrowLeft}% \else% - \textcolor{lightgray}{\tikz{ - \filldraw[black!0!] (-1pt,-\dimexpr\navBtnSize/2+1pt\relax) - rectangle (\dimexpr\navBtnSize+1pt\relax,\dimexpr\navBtnSize/2+1pt\relax); - \draw[{Straight Barb[round]}-,line width=\navBtnLnWd] (-1pt,0)--(\navBtnSize,0);}}% + \textcolor{lightgray}{\faArrowLeft}% \fi\hspace{0.5ex}% \ifnum\thepage<\ztotpages% - \href{\jobname-\the\numexpr\thepage+1\relax.svg}{% - \tikz{ - \filldraw[black!0!] (-1pt,-\dimexpr\navBtnSize/2+1pt\relax) - rectangle (\dimexpr\navBtnSize+1pt\relax,\dimexpr\navBtnSize/2+1pt\relax); - \draw[-{Straight Barb[round]},line width=\navBtnLnWd] (-1pt,0)--(\navBtnSize,0);}}% + \href{\jobname-\the\numexpr\thepage+1\relax.svg}{\faArrowRight}% \else% - \textcolor{lightgray}{\tikz{ - \filldraw[black!0!] (-1pt,-\dimexpr\navBtnSize/2+1pt\relax) - rectangle (\dimexpr\navBtnSize+1pt\relax,\dimexpr\navBtnSize/2+1pt\relax); - \draw[-{Straight Barb[round]},line width=\navBtnLnWd] (-1pt,0)--(\navBtnSize,0);}}% + \textcolor{lightgray}{\faArrowRight}% \fi% \hspace{0.5ex}% }}% |