diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-03 22:28:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-03 22:28:44 +0000 |
commit | fe044b7f6ea3e031ee8a83fc2a8e17426e93807a (patch) | |
tree | f24105c2fae1811d3b738c354e5be6981643861d /Master | |
parent | 425d190f70d19ec6642441bee5cfa3d0f044bd1e (diff) |
beamer-rl (3may19)
git-svn-id: svn://tug.org/texlive/trunk@50970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf | bin | 0 -> 124480 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex | 277 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf | bin | 0 -> 102473 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex (renamed from Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.tex) | 104 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/beamer-rl/README.txt | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.pdf | bin | 103233 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty | 72 |
7 files changed, 394 insertions, 65 deletions
diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf Binary files differnew file mode 100644 index 00000000000..31b4ff520f4 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.pdf diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex new file mode 100644 index 00000000000..367358a7b33 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-ar.tex @@ -0,0 +1,277 @@ +\documentclass{beamer} +\usepackage{hologo} % pdflatex, xelatex, lualatex logos + +\usepackage{beamer-rl} +\babelprovide[import=ar-DZ, main]{arabic} +\babelfont{sf}{Amiri} + +% Themes without Navigation Bars +%\mode<presentation>{\usetheme{default}} +%\mode<presentation>{\usetheme{boxes}} +%\mode<presentation>{\usetheme{Bergen}} +%\mode<presentation>{\usetheme{Boadilla}} +%\mode<presentation>{\usetheme{Madrid}} +%\mode<presentation>{\usetheme{AnnArbor}} +\mode<presentation>{\usetheme{CambridgeUS}} +%\mode<presentation>{\usetheme{EastLansing}} +%\mode<presentation>{\usetheme{Pittsburgh}} +%\mode<presentation>{\usetheme{Rochester}} + +% Themes with a Tree-Like Navigation Bar +%\mode<presentation>{\usetheme{Antibes}} +%\mode<presentation>{\usetheme{JuanLesPins}} +%\mode<presentation>{\usetheme{Montpellier}} + +% Themes with a Table of Contents Sidebar +%\mode<presentation>{\usetheme{Berkeley}} +%\mode<presentation>{\usetheme{PaloAlto}} +%\mode<presentation>{\usetheme{Goettingen}} +%\mode<presentation>{\usetheme{Hannover}} + +% Themes with a Mini Frame Navigation +%\mode<presentation>{\usetheme{Berlin}} +%\mode<presentation>{\usetheme{Ilmenau}} +%\mode<presentation>{\usetheme{Dresden}} +%\mode<presentation>{\usetheme{Darmstadt}} +%\mode<presentation>{\usetheme{Frankfurt}} +%\mode<presentation>{\usetheme{Singapore}} +%\mode<presentation>{\usetheme{Szeged}} + +% Themes with Section and Subsection Tables +%\mode<presentation>{\usetheme{Copenhagen}} +%\mode<presentation>{\usetheme{Luebeck}} +%\mode<presentation>{\usetheme{Malmoe}} +%\mode<presentation>{\usetheme{Warsaw}} + +\usecolortheme{spruce} + +\title{حزمة beamer-rl} + +\author{Salim Bou} + +\institute[]{% +{\color{blue} Repository: } https://github.com/seloumi/beamer-rl \par +{\color{blue} Bug tracker: } https://github.com/seloumi/beamer-rl/issues +} + +\date{\today} + +\setbeamercovered{transparent=10} +\newtheorem*{thm}{نظرية.} + +\def\cs#1{\babelsublr{\texttt{\textbackslash#1}}} + +\begin{document} + +\parskip=6pt + +\begin{frame} +\titlepage +\end{frame} + +\begin{frame} +\frametitle{\contentsname} +\tableofcontents +\end{frame} + +\section{مدخل} + +\begin{frame}[fragile] +\frametitle{مدخل} +انشاء عرض بيمر عربي (اتجاه النص من اليمين لليسار) اعتمادا على + \hologo{pdfLaTeX} أو \hologo{XeLaTeX} مازال يعترضه الكثير من المشاكل والمعوقات خاصة ما يتعلق بالألوان والروابط والتي لم يوجد لها حلولا~بعد. + +فريق \hologo{LuaTeX} +أوجد حلولا لهذه المشاكل، الشكر لهم ولـ +\textit{Javier~Bezos} +لأعماله بالحزمة +\verb|babel| وخصوصا الكتابة بالاتجاهين (\verb|bidi| writing) + +هذه الحزمة تعدل في بعض اوامر وتعليمات beamer لغرض انشاء عروض من اليمين إلى اليسار (العربية على سبيل المثال)، الحزمة تستدعي \verb|babel| مع الخيار +\verb|bidi=basic-r| + والمعالجة تتطلب استخدام +\hologo{LuaLaTeX} + +\end{frame} + +\section{كيفية استعمال الحزمة} + +\begin{frame}[fragile] +\frametitle{كيفية استعمال الحزمة} + +\selectlanguage{nil} + +\begin{verbatim} +\documentclass{beamer} +\usepackage{beamer-rl} +\babelprovide[import=ar-DZ, main]{arabic} +\babelfont{sf}{Amiri} + +\mode<presentation>{\usetheme{Warsaw}} +\begin{document} +... +\end{document} + +\end{verbatim} + +\end{frame} + +\section{أمثلة} +\subsection{الإطارات} + +\begin{frame}[fragile] +\frametitle{الإطارات} + +{\selectlanguage{nil} +\verb:\setbeamertemplate{blocks}[default]: +} + +\setbeamertemplate{blocks}[default] + + +\begin{block}{أورستد} + لاحظ هانز أورستد في 21 أبريل 1820 وهو يُعد أحد التجارب أن إبرة + البوصلة تنحرف عن اتجاهها نحو الشمال عندما كان يغلق ويفتح التيار في + دائرة كهربائية يُعدها. +\end{block} + +{\selectlanguage{nil} +\verb:\setbeamertemplate{blocks}[rounded][shadow=true]: +} + +\setbeamertemplate{blocks}[rounded][shadow=true] + +\begin{block}{أورستد} + لاحظ هانز أورستد في 21 أبريل 1820 وهو يُعد أحد التجارب أن إبرة + البوصلة تنحرف عن اتجاهها نحو الشمال عندما كان يغلق ويفتح التيار في + دائرة كهربائية يُعدها. +\end{block} + +\end{frame} + +\subsection{القوائم} + +\begin{frame}[fragile] +\frametitle{enumerate, itemize} + +\begin{enumerate} +\item فيزياء تطبيقية +\item فيزياء تجريبية +\item فيزياء نظرية +\end{enumerate} + +\setbeamertemplate{itemize item}[triangle] + +{\selectlanguage{nil} +\verb|\setbeamertemplate{itemize item}[triangle]| +} + +\begin{itemize} +\item فيزياء تطبيقية +\item فيزياء تجريبية +\item فيزياء نظرية +\end{itemize} + +\selectlanguage{nil} + +\begin{itemize} +\item first item +\item second item +\item third item +\end{itemize} + +\end{frame} + +\subsection{الروابط} + +\begin{frame} +\frametitle{الروابط} +\begin{itemize} +\item<1-> العنصر الأول. +\item<2-> العنصر الثاني. +\item<3-> العنصر الثالث. +\end{itemize} +\hyperlink{jumptosecond}{\beamerreturnbutton{الرجوع إلى الشريحة الثانية}} +\hypertarget<2>{jumptosecond}{} + +\end{frame} + + +\subsection{النظريات} + +\begin{frame} +\frametitle{النظريات} + +\framesubtitle{The proof uses \textit{reductio ad absurdum}.} +\begin{thm} +There is no largest prime number. +\end{thm} +\begin{proof} +\begin{enumerate}[<+-| alert@+>] +\item Suppose $p$ were the largest prime number. +\item Let $q$ be the product of the first $p$ numbers. +\item Then $q+1$ is not divisible by any of them. +\item But $q + 1$ is greater than $1$, thus divisible by some prime +number not in the first $p$ numbers.\qedhere +\end{enumerate} +\end{proof} + +\end{frame} + +\subsection{التكبير} + +\begin{frame}[fragile] +\frametitle{التكبير} + +\framezoom<1><2>[border=2](2cm,2cm)(2cm,2cm) +\pgfimage[height=5cm]{example-image} + +\selectlanguage{nil} + +\begin{verbatim} +\framezoom<1><2>[border=2](2cm,2cm)(2cm,2cm) +\pgfimage[height=5cm]{example-image} +\end{verbatim} +\end{frame} + +\section{بعض الملاحظات} + +\begin{frame}[fragile] +\frametitle{بعض الملاحظات} + +\begin{itemize} +\item +الحزمة + \verb:beamer-rl: تقوم بتبادل لكل من التعليمتين \cs{blacktriangleright} و \cs{blacktriangleleft} في حالة نص من اليمين لليسار + +\bigskip + +{\selectlanguage{nil} +\centering +\begin{tabular}{c|cc} +\hline + & \verb:\blacktriangleright: & \verb:\blacktriangleleft: \\ +\hline +LTR context & \blacktriangleright & \blacktriangleleft \\ +\hline +RTL context & {\selectlanguage{arabic}\blacktriangleright} & {\selectlanguage{arabic}\blacktriangleleft} \\ +\hline +\end{tabular} +\par +} + +\bigskip + + +\item +في بعض الحالات يمكن استعمال التعليمة + \cs{babelsublr} التي توفرها الحزمة \verb:bebel: +لادراج نص من اليسار لليمين (لاتيني) في وسط نص من اليمين لليسار، + على سبيل المثال في حال اردنا ادراج رسم + \verb:pspicture: ضمن نص من اليمين لليسار. +\end{itemize} + + +\end{frame} + +\end{document} diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf Binary files differnew file mode 100644 index 00000000000..4629290c753 --- /dev/null +++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.pdf diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.tex b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex index 8e061237c89..3593e937599 100644 --- a/Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.tex +++ b/Master/texmf-dist/doc/lualatex/beamer-rl/Example-of-use-en.tex @@ -1,14 +1,11 @@ -\documentclass[hyperref=unicode]{beamer} +\documentclass{beamer} \usepackage{hologo} % pdflatex, xelatex, lualatex logos -\usepackage[nil,bidi=basic-r,layout=counters]{babel} +\usepackage{beamer-rl} \babelprovide[import=ar-DZ, main]{arabic} \babelprovide[import,language=Default]{english} \babelfont{sf}{Amiri} - -\usepackage{beamer-rl} - % Themes without Navigation Bars %\mode<presentation>{\usetheme{default}} %\mode<presentation>{\usetheme{boxes}} @@ -47,9 +44,6 @@ %\mode<presentation>{\usetheme{Malmoe}} %\mode<presentation>{\usetheme{Warsaw}} - -\usepackage{tikz} - \title{The beamer-rl package} \author{Salim Bou} @@ -63,11 +57,13 @@ \date{{\selectlanguage{english} \today}} \setbeamercovered{transparent=10} -\newtheorem*{thm}{نظرية.} +\newtheorem*{prf}{Proof} \begin{document} +\parskip=6pt + \begin{frame} \titlepage \end{frame} @@ -83,8 +79,10 @@ \frametitle{Introduction} Creating beamer presentation for right to left language (like arabic) using \hologo{pdfLaTeX} or \hologo{XeLaTeX} still poses many problems due to bugs not currently resolved especially for colors and hyperlinks -The \hologo{LuaTeX} team set solutions for these issues thanks to them and to \textit{Javier Bezos} for his works on the package \verb|babel| and \verb|bidi| writing +The \hologo{LuaTeX} team set solutions for these issues thanks to them and to \textit{Javier~Bezos} for his works on the package \verb|babel| and \verb|bidi| writing +This package provides patchs of some beamer templates and commands +for right to left presentation, this package call babel with \verb|bidi=basic-r| option and require lualatex engine \end{frame} @@ -97,10 +95,9 @@ The \hologo{LuaTeX} team set solutions for these issues thanks to them and to \ \begin{verbatim} \documentclass{beamer} -\usepackage[nil,bidi=basic-r,layout=counters]{babel} +\usepackage{beamer-rl} \babelprovide[import=ar-DZ, main]{arabic} \babelfont{sf}{Amiri} -\usepackage{beamer-rl} \mode<presentation>{\usetheme{Warsaw}} \begin{document} @@ -137,43 +134,60 @@ The \hologo{LuaTeX} team set solutions for these issues thanks to them and to \ \setbeamertemplate{blocks}[rounded][shadow=true] -\begin{block}{أورستد} - لاحظ هانز أورستد في 21 أبريل 1820 وهو يُعد أحد التجارب أن إبرة - البوصلة تنحرف عن اتجاهها نحو الشمال عندما كان يغلق ويفتح التيار في - دائرة كهربائية يُعدها. +\begin{block}{Lorem} + \selectlanguage{nil} + On 21 April 1820, during a lecture, Ørsted + noticed a compass needle deflected from magnetic north when an + electric current from a battery was switched on and off. \end{block} \end{frame} -\subsection{enumerate, itemize} +\subsection{Lists} -\begin{frame} +\begin{frame}[fragile] \frametitle{enumerate, itemize} \begin{enumerate} -\item فيزياء تطبيقية -\item فيزياء تجريبية -\item فيزياء نظرية +\item first item +\item second item +\item third item \end{enumerate} +\setbeamertemplate{itemize item}[triangle] + +{\selectlanguage{nil} +\verb|\setbeamertemplate{itemize item}[triangle]| +} + \begin{itemize} -\item فيزياء تطبيقية -\item فيزياء تجريبية -\item فيزياء نظرية +\item first item +\item second item +\item third item \end{itemize} + +\selectlanguage{nil} + +\begin{itemize} +\item first item +\item second item +\item third item +\end{itemize} + + \end{frame} -\subsection{hyperlinks} +\subsection{Hyperlinks} \begin{frame} -\frametitle{hyperlinks} +\frametitle{Hyperlinks} \begin{itemize} \item<1-> First item. \item<2-> Second item. \item<3-> Third item. \end{itemize} -\hyperlink{jumptosecond}{\beamergotobutton{الرجوع إلى الشريحة الثانية}} +\hyperlink{jumptosecond}{\beamergotobutton{return to second slide}} \hypertarget<2>{jumptosecond}{} \end{frame} @@ -184,10 +198,10 @@ The \hologo{LuaTeX} team set solutions for these issues thanks to them and to \ \frametitle{Theorems} \framesubtitle{The proof uses \textit{reductio ad absurdum}.} -\begin{thm} +\begin{theorem} There is no largest prime number. -\end{thm} -\begin{proof} +\end{theorem} +\begin{prf} \begin{enumerate}[<+-| alert@+>] \item Suppose $p$ were the largest prime number. \item Let $q$ be the product of the first $p$ numbers. @@ -195,14 +209,14 @@ There is no largest prime number. \item But $q + 1$ is greater than $1$, thus divisible by some prime number not in the first $p$ numbers.\qedhere \end{enumerate} -\end{proof} +\end{prf} \end{frame} -\subsection{zooming} +\subsection{Zooming} \begin{frame}[fragile] -\frametitle{zooming} +\frametitle{Zooming} \framezoom<1><2>[border=2](2cm,2cm)(2cm,2cm) \pgfimage[height=5cm]{example-image} @@ -222,13 +236,31 @@ number not in the first $p$ numbers.\qedhere \begin{itemize} \item -The \verb:beamer-rl: package modify the definition of \verb:\blacktriangleright: so it have the same meaning as\verb:\blacktriangleleft:, if you need to use the original command you can use \verb:\blackTriangleright: +The \verb:beamer-rl: package swap the definition of \verb:\blacktriangleright: with \verb:\blacktriangleleft: in RTL context. + +\bigskip + +{\selectlanguage{nil} +\centering +\begin{tabular}{c|cc} +\hline + & \verb:\blacktriangleright: & \verb:\blacktriangleleft: \\ +\hline +LTR context & \blacktriangleright & \blacktriangleleft \\ +\hline +RTL context & {\selectlanguage{arabic}\blacktriangleright} & {\selectlanguage{arabic}\blacktriangleleft} \\ +\hline +\end{tabular} +\par +} + +\bigskip + \item In some cases you need to use \verb:\babelsublr: command from \verb:bebel: -package to insert a left to right text within your right to left text. +package to insert a left to right text within your right to left text, e.g if you need to insert a \verb:pspicture: drawing in RTL context \end{itemize} \end{frame} - \end{document} diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt b/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt index 85c4ed4557e..a262ea9250c 100644 --- a/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt +++ b/Master/texmf-dist/doc/lualatex/beamer-rl/README.txt @@ -1,5 +1,5 @@ The beamer-rl package -v1.1 +v1.2 This package provides patchs of some beamer templates and commands for right to left presentation, this package require babel with lualatex engine @@ -9,7 +9,7 @@ please use the issue tracker: <https://github.com/seloumi/beamer-rl/issues> -Current version release date: 2019/03/28 +Current version release date: 2019/04/03 ___________________ Salim Bou @@ -20,4 +20,4 @@ version 1.3c or higher (your choice). The latest version of this license is at: http://www.latex-project.org/lppl.txt This work is author-maintained (as per LPPL maintenance status) -by Salim Bou. +by Salim Bou.
\ No newline at end of file diff --git a/Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.pdf b/Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.pdf Binary files differdeleted file mode 100644 index 784d343c135..00000000000 --- a/Master/texmf-dist/doc/lualatex/beamer-rl/test-beamer-rl.pdf +++ /dev/null diff --git a/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty b/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty index 55886644c92..b476c58fb0e 100644 --- a/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty +++ b/Master/texmf-dist/tex/lualatex/beamer-rl/beamer-rl.sty @@ -1,6 +1,8 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamer-rl} -[2019/03/28 v1.1 LaTeX package to patch beamer for right to left presentation] +[2019/04/03 v1.2 LaTeX package to patch beamer for right to left presentation] + +\RequirePackage[nil,bidi=basic-r,layout=counters.lists.tabular]{babel} \def\reset@temp#1#2{\expandafter\let\csname beamer@@tmpop@#1@#2\endcsname\relax} \def\@@defbeamertemplate#1#2{\reset@temp{#1}{#2}\defbeamertemplate{#1}{#2}} @@ -10,8 +12,14 @@ \@ifstar{\@defbeamertemplate}{\@@defbeamertemplate}% } -\let\blackTriangleright\blacktriangleright -\let\blacktriangleright\blacktriangleleft +\let\old@blacktriangleright\blacktriangleright +\let\old@blacktriangleleft\blacktriangleleft + +\def\blacktriangleright{% + \ifcase\bbl@thepardir \old@blacktriangleright\else\old@blacktriangleleft\fi} +\def\blacktriangleleft{% + \ifcase\bbl@thepardir \old@blacktriangleleft\else\old@blacktriangleright\fi} + \let\oldpgfpicture\pgfpicture \let\oldendpgfpicture\endpgfpicture @@ -22,6 +30,9 @@ \let\oldpgfuseshading\pgfuseshading \def\pgfuseshading#1{\babelsublr{\oldpgfuseshading{#1}}} +\hypersetup{unicode} + + %% beamerbasebox \newdimen\bmb@dimc @@ -235,7 +246,7 @@ %% beamerbaseauxtemplates -% (sub-)section in toc: ball +% (sub-)section in toc: subsections numbered \redefbeamertemplate{subsection in toc}{subsections numbered} {\leavevmode\leftskip=2em\rlap{\hskip-2em \inserttocsectionnumber\hbox{.}\inserttocsubsectionnumber}\inserttocsubsection\par} @@ -291,26 +302,38 @@ \kern4pt% } - %% beamerbasenavigation % User Buttons \pgfdefobject{beamergotosymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}} { + \pgfpathqmoveto{1.5bp}{0.5bp} + \pgfpathqlineto{3.5bp}{2bp} + \pgfpathqlineto{1.5bp}{3.5bp} + \pgfusepathqfill +} + +\def\insertgotosymbol{% + \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt} + \pgfuseobject{\ifcase\bbl@thepardir beamergotosymbol\else beamerreturnsymbol\fi}% +\end{pgfpicture}} + +\pgfdefobject{beamerreturnsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}} +{ \pgfpathqmoveto{3.5bp}{0.5bp} \pgfpathqlineto{1.5bp}{2bp} \pgfpathqlineto{3.5bp}{3.5bp} \pgfusepathqfill } - -\def\insertgotosymbol{% - \begin{pgfpicture}{-1pt}{0pt}{4pt}{5pt} - \pgfuseobject{beamergotosymbol}% +\def\insertreturnsymbol{% + \begin{pgfpicture}{1pt}{0pt}{6pt}{5pt} + \pgfuseobject{\ifcase\bbl@thepardir beamerreturnsymbol\else beamergotosymbol\fi}% \end{pgfpicture}} -\pgfdefobject{beamerskipsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}} + +\pgfdefobject{beamerskipsymbolrl}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}} { \pgfpathqmoveto{3.5bp}{0.5bp} \pgfpathqlineto{1.5bp}{2bp} @@ -321,34 +344,32 @@ \pgfusepathqfill } -\def\insertskipsymbol{% - \begin{pgfpicture}{-1pt}{0pt}{8pt}{5pt} - \pgfuseobject{beamerskipsymbol}% -\end{pgfpicture}} - - -\pgfdefobject{beamerreturnsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{5pt}{5pt}} +\pgfdefobject{beamerskipsymbol}{\pgfpoint{0pt}{-1pt}}{\pgfpoint{7pt}{5pt}} { \pgfpathqmoveto{1.5bp}{0.5bp} \pgfpathqlineto{3.5bp}{2bp} \pgfpathqlineto{1.5bp}{3.5bp} + \pgfpathqmoveto{3.5bp}{0.5bp} + \pgfpathqlineto{5.5bp}{2bp} + \pgfpathqlineto{3.5bp}{3.5bp} \pgfusepathqfill } -\def\insertreturnsymbol{% +\def\insertskipsymbol{% \begin{pgfpicture}{-1pt}{0pt}{6pt}{5pt} - \pgfuseobject{beamerreturnsymbol}% + \pgfuseobject{\ifcase\bbl@thepardir beamerskipsymbol\else beamerskipsymbolrl\fi}% \end{pgfpicture}} +\def\beamergotobutton#1{\beamerbutton{\insertgotosymbol\ #1}} +\def\beamerreturnbutton#1{\beamerbutton{\insertreturnsymbol\ #1}} +\def\beamerskipbutton#1{\beamerbutton{\insertskipsymbol\ #1}} %% beamerbaseframesize - % % Zoom stuff % -\def\framezoom<#1><#2>{\@ifnextchar[{\beamer@framezoom<#1><#2>}{\beamer@framezoom<#1><#2>[]}} \def\beamer@framezoom<#1><#2>[#3](#4,#5)(#6,#7){% \par\nointerlineskip% \global\beamer@slidehaszoomtrue% @@ -370,6 +391,7 @@ \global\setbox\beamer@zoombox=\vbox to0pt{\unvbox\beamer@zoombox\box\@tempboxa}% }% \only<#2>{% + \pardir TLT% \@ifundefined{\beamer@labelzoomed}% {% \hypertarget{\beamer@labelzoomed}{}% @@ -413,12 +435,10 @@ \dp\@tempboxa=0pt% \setbox\beamer@framebox=\vbox to\beamer@frametextheight{{% \ifbeamer@plainframe\beamer@leftmargin=\Gm@lmargin\fi% - \let\pgfpicture\oldpgfpicture - \let\endpgfpicture\oldendpgfpicture - \textdir TLT + \pardir TLT% \begin{pgfpicture}{\beamer@leftmargin}{-\beamer@frametextheight}{\beamer@leftmargin}{0pt} \pgftext[left,top]{\box\@tempboxa} - \pgfpathrectangle{\pgfpoint{-\@tempdimb}{-\@tempdimc}}{\pgfpoint{\@tempdimb}{\@tempdimc}}% + \pgfpathrectangle{\pgfpoint{0pt}{-\@tempdimc}}{\pgfpoint{\@tempdimb}{\@tempdimc}}% \pgfusepath{clip} \begingroup \pgftransformscale{\beamer@temp} @@ -431,7 +451,7 @@ }}% \setbox\beamer@framebox=\vbox{% - \nobreak\vbox{}\nobreak\par\nobreak\beamer@entrycode\nobreak% + \nobreak\vbox{}\nobreak\par\nobreak\beamer@entrycode\nobreak% \nointerlineskip\unvbox\beamer@frametitlebox% \nobreak% \box\beamer@framebox % |