summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-14 22:16:14 +0000
committerKarl Berry <karl@freefriends.org>2020-11-14 22:16:14 +0000
commitf21ed6178df3c1d1cd9e2a09de9dbf2b7bd6681b (patch)
tree9b2eab7305d302a5c461beada98460367e71c882 /Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
parent64fe7cd4450c0ec196d3d29485023f5f335fde02 (diff)
beamertheme-pure-minimalistic (14nov20)
git-svn-id: svn://tug.org/texlive/trunk@56934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty68
1 files changed, 38 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
index 7df83b361e7..11a8deeeb13 100644
--- a/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
+++ b/Master/texmf-dist/tex/latex/beamertheme-pure-minimalistic/beamerfontthemepureminimalistic.sty
@@ -19,69 +19,77 @@
% If problems/bugs are found or enhancements are desired, please contact
% me over: https://github.com/kai-tub/latex-beamer-pure-minimalistic
-\ProvidesPackage{beamerfontthemepureminimalistic}[v1.2.4]
+\ProvidesPackage{beamerfontthemepureminimalistic}[v2.0.0]
\RequirePackage{ifthen}
+% Adds micro-typographical enhancements
+% Has no significant impact on presentation slides
+% Adds issues to japanese packages...
+% \RequirePackage{microtype}
\mode<presentation>
-\newboolean{nofirafonts}
-\setboolean{nofirafonts}{false}
-\newboolean{helvetica}
-\setboolean{helvetica}{false}
+\newboolean{customfont}
+\setboolean{customfont}{false}
+\newboolean{noto}
+\setboolean{noto}{false}
-\DeclareOptionBeamer{nofirafonts}{\setboolean{nofirafonts}{true}}
-\DeclareOptionBeamer{helvetica}{\setboolean{helvetica}{true}}
+\DeclareOptionBeamer{customfont}{\setboolean{customfont}{true}}
+\DeclareOptionBeamer{noto}{\setboolean{noto}{true}}
\ProcessOptionsBeamer
\RequirePackage{silence}
% I have no clue how I can fix this warning
\WarningFilter{latex}{Font shape declaration has incorrect series value}
+\RequirePackage{iftex}
-\ifthenelse{\boolean{helvetica}}{%
- % If Helvetica overwrites the fira fonts settings
- \RequirePackage[T1]{fontenc}
- \RequirePackage[scaled]{helvet}
+\ifpdftex
+ \RequirePackage[T1]{fontenc}
+\fi
+
+\ifthenelse{\boolean{noto}}{%
+ % If Noto overwrites the fira fonts settings
+ \RequirePackage{noto}
}{%
- \ifthenelse{\boolean{nofirafonts}}{%
+ \ifthenelse{\boolean{customfont}}{%
% Load default fonts
}{%
% By default load Fira
- \RequirePackage[T1]{fontenc}
\RequirePackage[sfdefault]{FiraSans}
\RequirePackage{FiraMono}
}
}
-\renewcommand\normalsize{\fontsize{12pt}{14pt}\selectfont}
+\renewcommand\footnotesize{\fontsize{8pt}{10pt}\selectfont}
\renewcommand\small{\fontsize{10pt}{12pt}\selectfont}
+\renewcommand\normalsize{\fontsize{12pt}{14pt}\selectfont}
\renewcommand\large{\fontsize{14pt}{16pt}\selectfont}
\renewcommand\Large{\fontsize{16pt}{18pt}\selectfont}
-\setbeamerfont{normal text}{family=\sffamily,size*={12pt}{14pt},series=\mdseries}
+\setbeamerfont{normal text}{family=\sffamily, size=\normalsize, series=\mdseries}
\setbeamerfont{alerted text}{parent=normal text}
-\setbeamerfont{structure}{parent=normal text,series=\mdseries}
+\setbeamerfont{structure}{parent=normal text}
-\setbeamerfont{footline}{parent=structure,size*={8pt}{10pt}}
+\setbeamerfont{all titles}{parent=normal text}
+\setbeamerfont{presentation title}{parent=all titles, size=\large, shape=\scshape}
+\setbeamerfont{subtitle}{parent=all titles, shape=\upshape}
+\setbeamerfont{frametitle}{parent=all titles, size=\Large}
-\setbeamerfont{title}{size*={14pt}{16pt},parent=alerted text,shape=\scshape}
-\setbeamerfont{title in head/foot}{parent=footline,series=\bfseries}
-
-\setbeamerfont{subtitle}{parent=title,shape=\upshape}
+\setbeamerfont{footline}{parent=structure,size=\footnotesize}
+\setbeamerfont{title in head/foot}{parent=footline, series=\bfseries}
+\setbeamerfont{author in head/foot}{parent=footline}
\setbeamerfont{section in toc}{parent=normal text}
\setbeamerfont{subsection in toc}{parent=section in toc}
\setbeamerfont{subsubsection in toc}{parent=subsection in toc}
-\setbeamerfont{author}{parent=normal text}
-\setbeamerfont{author in head/foot}{parent=footline}
-\setbeamerfont*{institute}{parent=normal text}
+\setbeamerfont{author}{parent=normal text, size=\small}
+\setbeamerfont{institute}{parent=normal text, size=\small}
-\setbeamerfont{frametitle}{parent=alerted text,size*={16pt}{18pt}}
-\setbeamerfont{caption}{series=\normalfont, size=\small}
-\setbeamerfont{caption name}{series=\normalfont, size=\small}
+\setbeamerfont{caption}{parent=normal text, size=\small}
+\setbeamerfont{caption name}{series=normal text, size=\small}
-\setbeamerfont*{itemize/enumerate body}{parent=normal text}
-\setbeamerfont*{itemize/enumerate subbody}{parent=itemize/enumerate body}
-\setbeamerfont*{itemize/enumerate subsubbody}{parent=itemize/enumerate subbody}
+\setbeamerfont{itemize/enumerate body}{parent=normal text}
+\setbeamerfont{itemize/enumerate subbody}{parent=itemize/enumerate body}
+\setbeamerfont{itemize/enumerate subsubbody}{parent=itemize/enumerate subbody}
\mode<all> \ No newline at end of file