Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[xcolor=dvipsnames]{beamer}
- \usepackage[danish]{babel}
- \usepackage{amsmath}
- \usepackage{enumitem}
- \usepackage{graphics,epsfig, subfigure}
- \usepackage{fontspec}
- \usepackage{polyglossia}
- \usepackage{etoolbox}
- \mode<presentation> {
- \usetheme{CambridgeUS}
- }
- \useinnertheme{circles}
- \usefonttheme[onlymath]{serif}
- \usepackage{tikz}
- \usepackage{fancybox}
- \usetikzlibrary{decorations.pathreplacing,calc}
- \newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}
- \setbeamertemplate{blocks}[rounded][shadow=true]
- \setbeamertemplate{frametitle}[default][right]% align the frametitle to the right
- \setdefaultlanguage{english}
- \setotherlanguage[calendar=gregorian,numerals=maghrib]{arabic}
- \AtBeginEnvironment{exampleblock}{\setbeamercolor{item projected}{bg=gray}}
- \definecolor{pbblue}{HTML}{0A75A8}% color for the progress bar and the circle
- \makeatletter
- \def\progressbar@progressbar{} % the progress bar
- \newcount\progressbar@tmpcounta% auxiliary counter
- \newcount\progressbar@tmpcountb% auxiliary counter
- \newdimen\progressbar@pbht %progressbar height
- \newdimen\progressbar@pbwd %progressbar width
- \newdimen\progressbar@rcircle % radius for the circle
- \newdimen\progressbar@tmpdim % auxiliary dimension
- \progressbar@pbwd=\linewidth
- \progressbar@pbht=1pt
- \progressbar@rcircle=2.5pt
- % the progress bar
- \def\progressbar@progressbar{%
- \progressbar@tmpcounta=\insertframenumber
- \progressbar@tmpcountb=\inserttotalframenumber
- \progressbar@tmpdim=\progressbar@pbwd
- \multiply\progressbar@tmpdim by \progressbar@tmpcounta
- \divide\progressbar@tmpdim by \progressbar@tmpcountb
- \begin{tikzpicture}
- \draw[pbblue!30,line width=\progressbar@pbht]
- (0pt, 0pt) -- ++ (\progressbar@pbwd,0pt);
- \filldraw[pbblue!30] %
- (\the\dimexpr\progressbar@tmpdim-\progressbar@rcircle\relax, .5\progressbar@pbht) circle (\progressbar@rcircle);
- \node[draw=pbblue!30,text width=3.5em,align=center,inner sep=1pt,
- text=pbblue!70,anchor=east] at (0,0) {\insertframenumber/\inserttotalframenumber};
- \end{tikzpicture}%
- }
- \addtobeamertemplate{headline}{}
- {%
- \begin{beamercolorbox}[wd=\paperwidth,ht=4ex,center,dp=1ex]{white}%
- \progressbar@progressbar%
- \end{beamercolorbox}%
- }
- \makeatother
- \title[ \RL{\textbf{مسئله یادگیری }}]{ \RL{\textbf{مسئله یادگیری }}}
- \author{{\setRTL \RL{\textbf{خودم}}} }
- \institute[]
- {
- \RL{\textbf{\normalsize{ دانشگاه }}}
- \medskip
- }
- \date{ \RL{شهریور ۱۳۹۵}}
- \begin{document}
- \begin{frame}
- \frametitle{}
- \begin{block}{}
- \begin{minipage}{0.95\textwidth}
- \end{minipage}
- \end{block}
- \end{frame}
- \begin{frame}
- \frametitle{}
- \begin{block}{}
- \begin{minipage}{0.95\textwidth}
- \end{minipage}
- \end{block}
- \end{frame}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment