Commit 6c7659c5 authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Merge with mtheme

parents 5462ac67 2fa6084b
...@@ -60,4 +60,3 @@ evince-%: %.pdf ...@@ -60,4 +60,3 @@ evince-%: %.pdf
@evince $< @evince $<
FORCE: FORCE:
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
] ]
{FiraMono} {FiraMono}
\newcommand{\neo@fontsave}{ \newcommand{\neo@fontsave}{
\let\firaneofamily\sfdefault \let\firaneofamily\sfdefault
\renewcommand*\familydefault{\firaneofamily} \renewcommand*\familydefault{\firaneofamily}
} }
\newcommand{\neo@fontlight}{ \newcommand{\neo@fontlight}{
...@@ -386,6 +386,12 @@ ...@@ -386,6 +386,12 @@
{} {}
{\PackageError{beamerfontthemeneo}{Patching section title failed}\@ehc} {\PackageError{beamerfontthemeneo}{Patching section title failed}\@ehc}
\@tempswafalse \@tempswafalse
\patchcmd{\beamer@section}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\neo@sectiontitleformat{\unexpanded{#1}}}}}
{\@tempswatrue}
{}
\patchcmd{\beamer@section} \patchcmd{\beamer@section}
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{% {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{%
......
...@@ -577,9 +577,7 @@ ...@@ -577,9 +577,7 @@
\setbeamercolor{local structure}{ \setbeamercolor{local structure}{
fg=palette primary.fg fg=palette primary.fg
} }
\centering
\usebeamercolor[fg]{palette primary} \usebeamercolor[fg]{palette primary}
\usebeamerfont{standout}
} }
% \end{macrocode} % \end{macrocode}
% %
...@@ -587,17 +585,30 @@ ...@@ -587,17 +585,30 @@
% in order to restore the colours and fonts for the rest of the % in order to restore the colours and fonts for the rest of the
% presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for % presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for
% this (see \url{http://tex.stackexchange.com/questions/226319/}). % this (see \url{http://tex.stackexchange.com/questions/226319/}).
% Instead, we add the |\endgroup| to |\beamer@reseteecodes|, which is run % Instead, we prepend the |\endgroup| to |\beamer@reseteecodes|, which is run
% exactly once at the end of each slide. % exactly once at the end of each slide.
% %
% \begin{macrocode} % \begin{macrocode}
\apptocmd{\beamer@reseteecodes}{% \pretocmd{\beamer@reseteecodes}{%
\ifbool{neo@standout}{ \ifbool{neo@standout}{
\endgroup \endgroup
\boolfalse{neo@standout} \boolfalse{neo@standout}
}{} }{}
}{}{} }{}{}
% \end{macrocode} % \end{macrocode}
%
% We set the fonts and the \centering alignment on the inner content,
% in such a way that the speaker's note layout isn't affected by the custom
% formatting.
%
% \begin{macrocode}
\AtBeginEnvironment{beamer@frameslide}{
\ifbool{neo@standout}{
\centering
\usebeamerfont{standout}
}{}
}
% \end{macrocode}
% \end{macro} % \end{macro}
% %
% \subsubsection{Process package options} % \subsubsection{Process package options}
......
No preview for this file type
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
BoldItalicFont = *-MediumItalic , BoldItalicFont = *-MediumItalic ,
] ]
{FiraSans} {FiraSans}
\let\firaneofamily\sfdefault \let\firaneofamily\sfdefault
\renewcommand*\familydefault{\firaneofamily} \renewcommand*\familydefault{\firaneofamily}
}{ }{
\typeout{% \typeout{%
...@@ -463,7 +463,7 @@ possible as well as from black and white, can be discerned item under different ...@@ -463,7 +463,7 @@ possible as well as from black and white, can be discerned item under different
lighting and display environments and by color-blind viewers, while matching lighting and display environments and by color-blind viewers, while matching
well together. well together.
In a \href{https://personal.sron.nl/~pault/colourschemes.pdf}{technical note} In a \href{https://personal.sron.nl/~pault/data/colourschemes.pdf}{technical note}
for SRON, Paul Tol proposed a palette of colors satisfying these constraints. for SRON, Paul Tol proposed a palette of colors satisfying these constraints.
The sub-package |pgfplotsthemetol| defines palettes for |pgfplots| charts The sub-package |pgfplotsthemetol| defines palettes for |pgfplots| charts
based on Tol's work. based on Tol's work.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment