From b3a0b9360aa95784834f265c3cbea88a0d5661d1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 9 Mar 2022 21:11:26 +0000 Subject: beamertheme-focus (9mar22) git-svn-id: svn://tug.org/texlive/trunk@62551 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/beamertheme-focus/CHANGELOG.md | 2 +- .../doc/latex/beamertheme-focus/README.md | 3 ++- .../doc/latex/beamertheme-focus/focus-demo.pdf | Bin 274695 -> 42671 bytes .../doc/latex/beamertheme-focus/focus-demo.tex | 13 ++++++++----- .../beamertheme-focus/focus-demo/demo-typeset.jpg | Bin 48354 -> 45868 bytes .../beamertheme-focus/beamerouterthemefocus.sty | 2 +- .../latex/beamertheme-focus/beamerthemefocus.sty | 14 ++++++++++---- 7 files changed, 22 insertions(+), 12 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/CHANGELOG.md b/Master/texmf-dist/doc/latex/beamertheme-focus/CHANGELOG.md index 187f8a43cd3..d3ae57ada47 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/CHANGELOG.md @@ -1 +1 @@ -Fix frame numbering on frames when both `noframenumbering` and `allowframebreaks` options are used. +Use Fira font also for math. diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/README.md b/Master/texmf-dist/doc/latex/beamertheme-focus/README.md index 2e6f3c2d04a..a131b97bb89 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/README.md +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/README.md @@ -1,4 +1,4 @@ -# Focus v3.2.0 +# Focus v3.3.0 A presentation theme for LaTeX Beamer that aims at a clean and minimalist design, so to minimize distractions and put the focus directly on the content. @@ -117,5 +117,6 @@ additions and modifications (in alphabetical order): - [max](https://github.com/imntl) - [MonsieurPi](https://github.com/MonsieurPi) - [SFr682k](https://github.com/SFr682k) +- [Zortaniac](https://github.com/Zortaniac) A more detailed contribution list is found [here](https://github.com/elauksap/focus-beamertheme/graphs/contributors). diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.pdf b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.pdf index 83f1c44e307..6a81ce1763f 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.pdf and b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex index c696f525f69..616b1765b73 100644 --- a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex +++ b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo.tex @@ -1,3 +1,6 @@ +% !TeX TS-program = xelatex +% !BIB TS-program = bibtex + % Full instructions available at: % https://github.com/elauksap/focus-beamertheme @@ -41,14 +44,15 @@ \end{frame} \begin{frame}{Typesetting and Math} - The packages \texttt{inputenc} and \texttt{FiraSans}\footnote{\url{https://fonts.google.com/specimen/Fira+Sans}}\textsuperscript{,}\footnote{\url{http://mozilla.github.io/Fira/}} are used to properly set the main fonts. + The packages \texttt{fontenc} and \texttt{FiraSans}\footnote{\url{https://fonts.google.com/specimen/Fira+Sans}}\textsuperscript{,}\footnote{\url{http://mozilla.github.io/Fira/}} are used to properly set the main fonts. \vfill This theme provides styling commands to typeset \emph{emphasized}, \alert{alerted}, \textbf{bold}, \textcolor{example}{example text}, \dots \vfill \texttt{FiraSans} also provides support for mathematical symbols: - \begin{equation*} - e^{i\pi} + 1 = 0. - \end{equation*} + \begin{align*} + e^{i\pi} + 1 & = 0, \\ + \int_{-\infty}^\infty e^{-x^2}\,\mathrm{d}x & = \sqrt{\pi}. + \end{align*} \end{frame} \section{Section 2} @@ -138,7 +142,6 @@ \end{frame} \begin{frame}{Backup frame} - \usebeamercolor[fg]{normal text} This is a backup frame, useful to include additional material for questions from the audience. \vfill The package \texttt{appendixnumberbeamer} is used not to number appendix frames. diff --git a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo/demo-typeset.jpg b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo/demo-typeset.jpg index fe8629e8a79..fdd037fc98b 100644 Binary files a/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo/demo-typeset.jpg and b/Master/texmf-dist/doc/latex/beamertheme-focus/focus-demo/demo-typeset.jpg differ diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty index edd9ca40d52..f61fec95855 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty @@ -278,7 +278,7 @@ % Enable noframenumbering option. \define@key{beamerframe}{noframenumbering}[true]{% - \setbeamertemplate{footline}[none]% + \setbeamertemplate{footline}[noframenumbering]% \setlength{\focus@pbar@height}{0cm}% \focus@calculatefootheight% } diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty index 195d850f452..9bd962a9c77 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty @@ -19,7 +19,7 @@ % along with beamerthemefocus. If not, see . \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemefocus}[2022/02/21 v3.2.0 Focus Beamer theme] +\ProvidesPackage{beamerthemefocus}[2022/03/09 v3.3.0 Focus Beamer theme] \mode @@ -44,11 +44,17 @@ \if@focus@loadfirafonts \RequirePackage[T1]{fontenc} - \PassOptionsToPackage{type1}{FiraSans} - \PassOptionsToPackage{type1}{FiraMono} - + \PassOptionsToPackage{sfdefault}{FiraSans} \RequirePackage{FiraSans} + \RequirePackage{FiraMono} + + \RequirePackage{firamath-otf} + \unimathsetup{ + math-style = ISO, + bold-style = ISO, + mathrm = sym + } \fi \usecolortheme{focus} -- cgit v1.2.3