diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-03 23:36:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-03 23:36:50 +0000 |
commit | 7334c1b476e2b804dc4a935b8209954429c9dc80 (patch) | |
tree | 1593fd2182cda406544b5a75521d50af765c34f9 /Master/texmf-dist | |
parent | 33351fa0ab6b4d044cc5b29d4ed4f0fc1540631a (diff) |
bxdpx-beamer (29apr13)
git-svn-id: svn://tug.org/texlive/trunk@30220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
5 files changed, 155 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bxdpx-beamer/LICENSE b/Master/texmf-dist/doc/latex/bxdpx-beamer/LICENSE new file mode 100644 index 00000000000..4acbc245013 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bxdpx-beamer/LICENSE @@ -0,0 +1,27 @@ +$BK\%=%U%H%&%'%"$O(B MIT $B%i%$%;%s%9$N2<$GG[I[$5$l$^$9!#(B +$BCx:n8"$O:n<T$G$"$k!VH,EP(B $B?rG7!JJLL>(B ZR$B!K!W$KB0$7$^$9!#(B +$B$^$?K\%=%U%H%&%'%"$OL5J]>Z$G$9!#(B + +This software is distributed under the MIT License. + +The MIT License + +Copyright (c) 2013 Takayuki YATO (aka. "ZR") + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Master/texmf-dist/doc/latex/bxdpx-beamer/README b/Master/texmf-dist/doc/latex/bxdpx-beamer/README new file mode 100644 index 00000000000..e90f288cf3c --- /dev/null +++ b/Master/texmf-dist/doc/latex/bxdpx-beamer/README @@ -0,0 +1,31 @@ +bxdpx-beamer Package +==================== + +LaTeX: to fix some problems in use of Beamer with dvipdfmx
+ +This packges makes the two types of links work: + - Navigation symbols + - \framezoom'd regions + +### Installation + + - `*.sty` → $TEXMF/tex/latex/bxdpx-beamer + +### Usage + +Load this package as usual in the preamble of Beamer documents: + + \documentclass[dvipdfmx]{beamer} + \usepackage{bxdpx-beamer} + +This package does not provide any user commands. + +Revision History +---------------- + + * Version 0.2 <2013/02/27> + - The first public version. + +-------------------- +Takayuki YATO (aka. "ZR") +http://zrbabbler.sp.land.to/ diff --git a/Master/texmf-dist/doc/latex/bxdpx-beamer/sample/test-framezoom.tex b/Master/texmf-dist/doc/latex/bxdpx-beamer/sample/test-framezoom.tex new file mode 100644 index 00000000000..6ed62896750 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bxdpx-beamer/sample/test-framezoom.tex @@ -0,0 +1,16 @@ +\documentclass[17pt,dvipdfmx]{beamer} +\usepackage{type1cm} +\usetheme{Warsaw} +\usepackage{bxdpx-beamer} +\begin{document} + +\begin{frame}{Zoooooooom!} +\hypersetup{linkbordercolor={0 0.5 0.1}} +\framezoom<1><2>[border=2](0pt,20pt)(32pt,24pt)% +\framezoom<1><3>[border=2](50pt,28pt)(40pt,30pt)% +\framezoom<1><4>[border=2](100pt,22pt)(18pt,18pt)% +\strut\par +Blah blah blah!!? +\end{frame} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/bxdpx-beamer/sample/test-navisymbol.tex b/Master/texmf-dist/doc/latex/bxdpx-beamer/sample/test-navisymbol.tex new file mode 100644 index 00000000000..e196174d593 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bxdpx-beamer/sample/test-navisymbol.tex @@ -0,0 +1,24 @@ +\documentclass[17pt]{beamer} % dvipdfmx needed
+\usetheme{Warsaw}
+\usepackage{bxdpx-beamer}
+% These settings make navigation symbols rendered in black.
+%\setbeamercolor{navigation symbols dimmed}{fg=black} +%\setbeamercolor{navigation symbols}{fg=black} +% This makes all links have a border.
+%\hypersetup{pdfborder={0 0 1},allbordercolors={0 0.5 0}} +\begin{document}
+
+\section{Important but Meaningless}
+\begin{frame}{First}
+This slide \pause is \alert{meaningless}.
+\end{frame}
+\begin{frame}{Second}
+This slide \pause is also \alert{meaningless}.
+\end{frame}
+
+\section{Meaningless but Important}
+\begin{frame}{Third}
+This is yet another \alert{meaningless} slide.
+\end{frame}
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty b/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty new file mode 100644 index 00000000000..8a427c20b14 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bxdpx-beamer/bxdpx-beamer.sty @@ -0,0 +1,57 @@ +% bxdpx-beamer.sty +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{bxdpx-beamer}[2013/02/27 v0.2] +\def\bxqbd@pkgname{bxdpx-beamer} +% environment check +\@ifclassloaded{beamer}{}{%else + \PackageError\bxqbd@pkgname{Beamer is not in use}% + {Package loading is aborted.}% + \endinput} +% if not in presentation mode, then abort silently +\mode<presentation>{\let\bxqbd@tempa=t } +\ifx t\bxqbd@tempa\else +\expandafter\endinput\fi\relax +% if PGF driver is not dvipdfmx/xetex, then abort silently +\let\bxqbd@tempa=f +\def\bxqbd@tempb{pgfsys-dvipdfmx.def} +\ifx\pgfsysdriver\bxqbd@tempb \let\bxqbd@tempa=t \fi +\def\bxqbd@tempb{pgfsys-xetex.def} +\ifx\pgfsysdriver\bxqbd@tempb \let\bxqbd@tempa=t \fi +\ifx t\bxqbd@tempa\else +\expandafter\endinput\fi\relax +% if ec-lmr10 is not available, then abort with warning +\IfFileExists{t1lmr.fd}{}{%else + \PackageWarning\bxqbd@pkgname + {Some links are still out of order, since the\MessageBreak + hackery cannot be applied in absence of the \MessageBreak + LM Roman font}% + \endinput} +%--------------------------------------- +% \bxqbd@enghost +\newbox\bxqbd@ghost +\font\bxqbd@font=ec-lmr10 at 1.1613pt % 10*0.5/4.3055 +\setbox\bxqbd@ghost\hbox{\bxqbd@font\char23} +\def\bxqbd@enghost#1{% + \begingroup + \setbox\@tempboxa\hbox{#1}% + \lower\dp\@tempboxa\copy\bxqbd@ghost + \copy\@tempboxa + \@tempdima\ht\@tempboxa \advance\@tempdima\ht\bxqbd@ghost + \raise\@tempdima\copy\bxqbd@ghost + \endgroup} +% patch to \beamer@linkspace +\let\bxqbd@linkspace\beamer@linkspace +\def\beamer@linkspace#1{% + \bxqbd@enghost{\bxqbd@linkspace{#1}}} +% patch to \hyperlink +\let\bxqbd@hyperlink\hyperlink +\def\bxqbd@labelzoomed{\beamer@labelzoomed} +\def\hyperlink#1#2{% + \def\bxqbd@tempa{#1}% + \ifx\bxqbd@tempa\bxqbd@labelzoomed \expandafter\@firstoftwo + \else \expandafter\@secondoftwo \fi + {\bxqbd@hyperlink{#1}{\bxqbd@enghost{#2}}}% + {\bxqbd@hyperlink{#1}{#2}}} +%--------------------------------------- all done +\endinput +%% EOF |