Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
rutheme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
William Kuijltjes
rutheme
Commits
1f890d88
Commit
1f890d88
authored
4 years ago
by
Pedro
Browse files
Options
Downloads
Patches
Plain Diff
- Added slides numbers
parent
8ec60f3f
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+23
-0
23 additions, 0 deletions
README.md
sources/beamerouterthemeru.dtx
+41
-2
41 additions, 2 deletions
sources/beamerouterthemeru.dtx
sources/beamerthemeru.dtx
+2
-0
2 additions, 0 deletions
sources/beamerthemeru.dtx
with
66 additions
and
2 deletions
README.md
+
23
−
0
View file @
1f890d88
...
...
@@ -62,6 +62,29 @@ Ru.
Detailed information on using Ru can be found in the
[
manual
][
2
]
.
### Other commands
You can use a few commands to control some settings of the theme itself, here are a few examples:
Removes the slides numbers.
```
latex
\usetheme
[noslidenumbers]
{
ru
}
```
The slide counter also shows the total number of slides.
```
latex
\usetheme
[usetotalslideindicator]
{
ru
}
```
The slide counter has the total number of slides and is in the middle.
```
latex
\usetheme
[usetotalslideindicator,slidenumbermiddle]
{
ru
}
```
The slide counter has the total number of slides and is in the left corner.
```
latex
\usetheme
[usetotalslideindicator,slidenumberleft]
{
ru
}
```
## License
...
...
This diff is collapsed.
Click to expand it.
sources/beamerouterthemeru.dtx
+
41
−
2
View file @
1f890d88
...
...
@@ -41,7 +41,7 @@
% \subsubsection{Options}
%
% \begin{macro}{numbering}
% Adds slide numbers to the bottom
right
of each slide.
% Adds slide numbers to the bottom of each slide.
% \begin{macrocode}
\pgfkeys{
/ru/outer/numbering/.cd,
...
...
@@ -53,6 +53,20 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{numberpos}
% Adds slides numbers in the bottom right, middle or left.
% \begin{macrocode}
\pgfkeys{
/ru/outer/numberpos/.cd,
.is choice,
none/.code=\setbeamertemplate{footline}[plain],
right/.code=\setbeamertemplate{footline}[right],
left/.code=\setbeamertemplate{footline}[left],
middle/.code=\setbeamertemplate{footline}[middle],
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{progressbar}
% Adds a progress bar to the top, bottom, or frametitle of each slide.
% \begin{macrocode}
...
...
@@ -62,7 +76,6 @@
none/.code={%
\setbeamertemplate{headline}[plain]
\setbeamertemplate{frametitle}[plain]
\setbeamertemplate{footline}[plain]
},
head/.code={\pgfkeys{/ru/outer/progressbar=none}
\addtobeamertemplate{headline}{}{%
...
...
@@ -90,6 +103,7 @@
\pgfkeys{/ru/outer/.cd,
numbering=counter,
progressbar=frametitle,
numberpos=right,
}
}
% \end{macrocode}%
...
...
@@ -134,6 +148,31 @@
\usebeamertemplate*{frame numbering}
\end{beamercolorbox}%
}
\defbeamertemplate{footline}{right}{%
\begin{beamercolorbox}[wd=\textwidth, sep=1ex]{footline}%
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\hspace*{\fill}%
\usebeamertemplate*{frame numbering}
\end{beamercolorbox}%
}
\defbeamertemplate{footline}{middle}{%
\begin{beamercolorbox}[wd=\textwidth, sep=1ex]{footline}%
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\hspace*{\fill}%
\usebeamertemplate*{frame numbering}
\hspace*{\fill}%
\end{beamercolorbox}%
}
\defbeamertemplate{footline}{left}{%
\begin{beamercolorbox}[wd=\textwidth, sep=1ex]{footline}%
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\usebeamertemplate*{frame numbering}
\hspace*{\fill}%
\end{beamercolorbox}%
}
% \end{macrocode}
% \end{macro}
% \end{macro}
...
...
This diff is collapsed.
Click to expand it.
sources/beamerthemeru.dtx
+
2
−
0
View file @
1f890d88
...
...
@@ -111,6 +111,8 @@
noslidenumbers/.code=\pgfkeysalso{outer/numbering=none},
usetotalslideindicator/.code=\pgfkeysalso{outer/numbering=fraction},
nosectionslide/.code=\pgfkeysalso{inner/sectionpage=none},
slidenumbermiddle/.code=\pgfkeysalso{outer/numberpos=middle},
slidenumberleft/.code=\pgfkeysalso{outer/numberpos=left},
darkcolors/.code=\pgfkeysalso{color/background=dark},
blockbg/.code=\pgfkeysalso{color/block=fill, inner/block=fill},
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment