diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def | 162 |
1 files changed, 160 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def index 14e7b6902b5..a72c2602610 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/beamerbaseauxtemplates-xetex-bidi.def @@ -20,7 +20,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{52449} +%% \CheckSum{53104} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -37,7 +37,165 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{beamerbaseauxtemplates-xetex-bidi.def}[2022/06/01 v0.1 bidi adaptations for beamerbaseauxtemplates package for XeTeX engine] +\ProvidesFile{beamerbaseauxtemplates-xetex-bidi.def}[2022/06/06 v0.2 bidi adaptations for beamerbaseauxtemplates package for XeTeX engine] +\bidi@csundef{beamer@@tmpop@section in toc@circle} + +\bidi@csundef{beamer@@tmpop@subsection in toc@circle} + +\bidi@csundef{beamer@@tmpop@subsubsection in toc@circle} + +\defbeamertemplate{section in toc}{circle} +{\leavevmode\bidi@beamer@leftskip=2ex% + \llap{% + \usebeamerfont*{section number projected}% + \usebeamercolor{section number projected}% + \begin{pgfpicture}{-1ex}{0ex}{1ex}{2ex} + \color{bg} + \pgfpathcircle{\pgfpoint{0pt}{.75ex}}{1.2ex} + \pgfusepath{fill} + \pgftext[base]{\color{fg}\inserttocsectionnumber} + \end{pgfpicture}\kern1.25ex% + }% + \inserttocsection\par} + +\defbeamertemplate{subsection in toc}{circle} +{\leavevmode\bidi@beamer@leftskip=2em\inserttocsubsection\par} + +\defbeamertemplate{subsubsection in toc}{circle} +{\leavevmode\normalsize\usebeamerfont{subsection in + toc}\bidi@beamer@leftskip=3em\usebeamerfont{subsubsection in toc}% + \inserttocsubsubsection\par} + +\bidi@csundef{beamer@@tmpop@section in toc@square} + +\bidi@csundef{beamer@@tmpop@subsection in toc@square} + +\bidi@csundef{beamer@@tmpop@subsubsection in toc@square} + +\bidi@csundef{beamer@@tmpop@enumerate item@square} + +\bidi@csundef{beamer@@tmpop@enumerate subitem@square} + +\bidi@csundef{beamer@@tmpop@enumerate subsubitem@square} + +\bidi@csundef{beamer@@tmpop@enumerate mini template@square} + +\defbeamertemplate{section in toc}{square} +{\leavevmode\bidi@beamer@leftskip=1.75ex% + \llap{{% + \usebeamerfont*{section number projected}% + \usebeamercolor[bg]{section number projected}% + \if@RTL + \else + \vrule width2.25ex height1.85ex depth.4ex% + \hskip-2.25ex% + \fi + \hbox to2.25ex{{\hfil\color{fg}\inserttocsectionnumber\hfil}}% + \if@RTL + \hskip-2.25ex% + \vrule width2.25ex height1.85ex depth.4ex% + \fi + }}% + \kern1.25ex\inserttocsection\par} + +\defbeamertemplate{subsection in toc}{square} +{\leavevmode\bidi@beamer@leftskip=5ex\llap{{% + \usebeamercolor[bg]{subsection number projected}% + \vrule width1ex height1ex\kern1ex}}\inserttocsubsection\par} + +\defbeamertemplate{subsubsection in toc}{square} +{\leavevmode\normalsize\usebeamerfont{subsection in + toc}\bidi@beamer@leftskip=7ex\usebeamerfont{subsubsection in toc}% + \llap{{% + \usebeamercolor[bg]{subsubsection number projected}% + \vrule width0.75ex height0.75ex\kern1ex}}\inserttocsubsubsection\par} + +\defbeamertemplate{enumerate item}{square} +{ + \hbox{{% + \usebeamerfont*{item projected}% + \usebeamercolor[bg]{item projected}% + \if@RTL + \else + \vrule width2.25ex height1.85ex depth.4ex% + \hskip-2.25ex% + \fi + \hbox to2.25ex{{% + \hfil% + \color{fg}\insertenumlabel% + \hfil}}% + \if@RTL + \hskip-2.25ex% + \vrule width2.25ex height1.85ex depth.4ex% + \fi + }}% +} +[action] +{\setbeamerfont{item projected}{size=\scriptsize}} + +\defbeamertemplate{enumerate subitem}{square} +{ + \hbox{{% + \usebeamerfont*{subitem projected}% + \usebeamercolor[bg]{subitem projected}% + \if@RTL + \else + \vrule width2.25ex height1.85ex depth.4ex% + \hskip-2.25ex% + \fi + \hbox to2.25ex{{% + \hfil% + \color{fg}\insertsubenumlabel% + \hfil}}% + \if@RTL + \hskip-2.25ex% + \vrule width2.25ex height1.85ex depth.4ex% + \fi + }}% +} + +\defbeamertemplate{enumerate subsubitem}{square} +{ + \hbox{{% + \usebeamerfont*{subitem projected}% + \usebeamercolor[bg]{subsubitem projected}% + \if@RTL + \else + \vrule width2.25ex height1.85ex depth.4ex% + \hskip-2.25ex% + \fi + \hbox to2.25ex{{% + \hfil% + \color{fg}\insertsubsubenumlabel% + \hfil}}% + \if@RTL + \hskip-2.25ex% + \vrule width2.25ex height1.85ex depth.4ex% + \fi + }}% +} + +\defbeamertemplate{enumerate mini template}{square} +{ + \hbox{{% + \usebeamerfont*{\beameritemnestingprefix item projected}% + \usebeamercolor[bg]{\beameritemnestingprefix item projected}% + \if@RTL + \else + \vrule width2.25ex height1.85ex depth.4ex% + \hskip-2.25ex% + \fi + \hbox to2.25ex{{% + \hfil% + \color{fg}\insertenumlabel% + \hfil}}% + \if@RTL + \hskip-2.25ex% + \vrule width2.25ex height1.85ex depth.4ex% + \fi + }}% +} + \bidi@csundef{beamer@@tmpop@section in toc@ball} \bidi@csundef{beamer@@tmpop@subsection in toc@ball} |