diff options
author | Karl Berry <karl@freefriends.org> | 2018-08-09 20:57:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-08-09 20:57:42 +0000 |
commit | 082fb21b11cfdb51b60c031698be7fbc726e3ee2 (patch) | |
tree | 8b4eb47e6e817d6eb37b28f08f2f6d86bdc79198 /Master/texmf-dist/tex/latex | |
parent | 9139d285da34f265af4e9839a69f90fe04e5e764 (diff) |
beamertheme-focus (9aug18)
git-svn-id: svn://tug.org/texlive/trunk@48382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
5 files changed, 29 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty index 1fb3e4c99e3..ff80737d101 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamercolorthemefocus.sty @@ -18,6 +18,8 @@ \mode<presentation> + +% DEFINE COLORS. --------------------------------------------------------------- \definecolor{main}{RGB}{64, 64, 64} \definecolor{background}{RGB}{239, 239, 239} @@ -25,6 +27,7 @@ \definecolor{example}{RGB}{0, 110, 0} +% SET COLORS. ------------------------------------------------------------------ \setbeamercolor{normal text}{fg=main, bg=background} \setbeamercolor{alerted text}{fg=alert} \setbeamercolor{example text}{fg=example} @@ -52,6 +55,8 @@ \setbeamercolor{description item}{fg=main!70!black} \setbeamercolor{description subitem}{fg=main!70!black} +\setbeamercolor{caption name}{fg=main} + \setbeamercolor{section in toc}{fg=main} \setbeamercolor{subsection in toc}{fg=main} \setbeamercolor{section number projected}{bg=main} diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty index 13b6e78d3fa..8e85dd5d006 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerfontthemefocus.sty @@ -18,6 +18,8 @@ \mode<presentation> + +% SET FONTS. ------------------------------------------------------------------- \setbeamerfont{title}{size=\huge, shape=\scshape\bfseries} \setbeamerfont{subtitle}{size=\Large, shape=\scshape, parent=structure} \setbeamerfont{author}{size=\Large, shape=\scshape} @@ -32,6 +34,10 @@ \setbeamerfont{focusframe}{size=\huge, shape=\scshape} +\setbeamerfont{description item}{shape=\bfseries} + +\setbeamerfont{caption name}{shape=\bfseries} + \setbeamerfont{bibliography item}{size=\small, shape=\scshape} \setbeamerfont{bibliography entry author}{size=\small, shape=\scshape} \setbeamerfont{bibliography entry title}{size=\small, series=\scshape\bfseries} diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty index 3fa7e8b2dd4..c990d22f4de 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerinnerthemefocus.sty @@ -1,5 +1,5 @@ % Copyright (C) 2018 Pasquale Claudio Africa. -% 2018 Sebastia Friedl. +% 2018 Sebastian Friedl. % % This file is part of beamerthemefocus. % @@ -21,8 +21,7 @@ \RequirePackage{tikz} -% CUSTOMIZE STRUCTURE ELEMENTS. --------------------------------------------------------------------- - +% CUSTOMIZE STRUCTURE ELEMENTS. ------------------------------------------------ \setbeamertemplate{blocks}[default] \setbeamertemplate{section in toc}[square] @@ -32,9 +31,7 @@ \setbeamertemplate{itemize subitem}[triangle] - -% STRUCTURE FRAME TEMPLATE DEFINITIONS. ------------------------------------------------------------- - +% STRUCTURE FRAME TEMPLATE DEFINITIONS. ---------------------------------------- % Title page. \defbeamertemplate*{title page}{focus}{% {\usebeamercolor{frametitle}\colorlet{focus@@temp}{bg}% diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty index 8a533022c3e..3f05f338e0e 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerouterthemefocus.sty @@ -23,8 +23,7 @@ \RequirePackage{tikz} -% FRAMETITLE TEMPLATES. ------------------------------------------------------------------------------------------------- - +% FRAMETITLE TEMPLATES. -------------------------------------------------------- \defbeamertemplate*{frametitle}{focus}{% % If not title page. \ifnum\value{framenumber}>0% @@ -47,9 +46,7 @@ } - -% FOOTLINE TEMPLATES. --------------------------------------------------------------------------------------------------- - +% FOOTLINE TEMPLATES. ---------------------------------------------------------- % Lenghts for the progress bar footline. \newlength{\focus@pbar@height}% Progress bar height. \newlength{\focus@pbar@leftoffset} @@ -99,6 +96,13 @@ \defbeamertemplate{footline}{fullbar}{% % If not appendix. \ifnum\mainend<0% From package appendixnumberbeamer. + % + \settowidth{\focus@pbar@leftoffset}{1}% + \addtolength{\focus@pbar@leftoffset}{1.5em}% + % + \settowidth{\focus@pbar@rightoffset}{\inserttotalframenumber}% + \addtolength{\focus@pbar@rightoffset}{1.5em}% + % % If not title page. \ifnum\c@framenumber>0% \begin{tikzpicture}[inner xsep=0.5em, inner ysep=0.5ex] @@ -125,9 +129,7 @@ \def\beamer@focus@numberingnone{none} - -% BACKGROUND CANVAS TEMPLATES. ------------------------------------------------------------------------------------------ - +% BACKGROUND CANVAS TEMPLATES. ------------------------------------------------- \defbeamertemplate*{background canvas}{focus}{% \begin{tikzpicture} \clip (0,0) rectangle ++(\paperwidth,\paperheight); @@ -150,9 +152,7 @@ } - -% HOOKS FOR CREATING FRAMES. -------------------------------------------------------------------------------------------- - +% HOOKS FOR CREATING FRAMES. --------------------------------------------------- \BeforeBeginEnvironment{frame}{% \setbeamertemplate{background canvas}[focus]% \setbeamertemplate{frametitle}[focus]% @@ -179,7 +179,6 @@ } % Enable noframenumbering option. - \define@key{beamerframe}{noframenumbering}[true]{% \setbeamertemplate{footline}[none]% \setlength{\focus@pbar@height}{0cm}% @@ -190,7 +189,6 @@ % Enable plain option. - \define@key{beamerframe}{plain}[true]{% \setbeamertemplate{background canvas}[focusplain]% \setbeamertemplate{frametitle}[plain]% @@ -201,7 +199,6 @@ % Full vertical centering % (from https://tex.stackexchange.com/questions/247826/beamer-full-vertical-centering). - \define@key{beamerframe}{c}[true]{% \beamer@frametopskip=0pt plus 1fill\relax% \beamer@framebottomskip=0pt plus 1fill\relax% @@ -212,7 +209,6 @@ % Enable focus option. - \providebool{focus@standout} \define@key{beamerframe}{focus}[true]{% \booltrue{focus@standout}% @@ -239,7 +235,6 @@ % Recalculate the footline's size and refresh other parameters. % Partially copied from the definition of \beamer@calculateheadfoot. - \def\focus@calculatefootheight{% \footheight=\focus@pbar@height% \advance\footheight by 4pt% diff --git a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty index 223ef2ce85d..f37394df1f6 100644 --- a/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty +++ b/Master/texmf-dist/tex/latex/beamertheme-focus/beamerthemefocus.sty @@ -17,17 +17,12 @@ % along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthemefocus}[2018/07/15 v2.0 Focus Beamer theme] - -% Note: -% Packages should be required in the package file using their commands! - +\ProvidesPackage{beamerthemefocus}[2018/08/09 v2.2 Focus Beamer theme] \mode<presentation> -% THEME OPTIONS. ------------------------------------------------------------------------------------ - +% THEME OPTIONS. --------------------------------------------------------------- \DeclareOptionBeamer{numbering}{% \PassOptionsToPackage{numbering=#1}{beamerouterthemefocus} } @@ -36,13 +31,10 @@ \@focus@loadfirafontstrue \DeclareOptionBeamer{nofirafonts}{\@focus@loadfirafontsfalse} - \ProcessOptionsBeamer - -% LOAD EXTERNAL PACKAGES. --------------------------------------------------------------------------------------- - +% LOAD EXTERNAL PACKAGES. ------------------------------------------------------ \if@focus@loadfirafonts \RequirePackage[T1]{fontenc} @@ -53,7 +45,6 @@ \RequirePackage{FiraMono} \fi - \usecolortheme{focus} \usefonttheme{focus} \useinnertheme{focus} @@ -62,11 +53,8 @@ \setbeamertemplate{navigation symbols}{} - -% SET MARGINS. ------------------------------------------------------------------------------------------ - +% SET MARGINS. ----------------------------------------------------------------- \setbeamersize{text margin left=0.75cm, text margin right=0.75cm} \setlength{\leftmargini}{0.75cm} -%\leftmarginii=0.75\leftmargini\relax \mode<all> |