summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamerthemenord
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-03 20:55:50 +0000
committerKarl Berry <karl@freefriends.org>2020-07-03 20:55:50 +0000
commitb87bab3b7b1174e534173f17150dfcd4ce837dd8 (patch)
treeb025c855b347db1aebea411f7d58ad96f97088e8 /Master/texmf-dist/tex/latex/beamerthemenord
parent62959e7b001ff4af0605b0055c637c5219b46c82 (diff)
beamerthemenord (3jul20)
git-svn-id: svn://tug.org/texlive/trunk@55743 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamerthemenord')
-rw-r--r--Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty65
-rw-r--r--Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty32
-rw-r--r--Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty81
3 files changed, 178 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty b/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty
new file mode 100644
index 00000000000..3faf457f729
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty
@@ -0,0 +1,65 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang@gmail.com>
+%
+% This file may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3c
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+
+\mode<presentation>
+
+%%%%%%%%%%% Nord color scheme
+%% https://www.nordtheme.com
+
+% Polar Night
+\definecolor{NordDarkBlack}{HTML}{2E3440} % nord0
+\definecolor{NordBlack}{HTML}{3B4252} % nord1
+\definecolor{NordMediumBlack}{HTML}{434C5e} % nord2
+\definecolor{NordBrightBlack}{HTML}{4C566A} % nord3
+% Snow Storm
+\definecolor{NordWhite}{HTML}{E5E9F0} % nord5
+\definecolor{NordBrightWhite}{HTML}{ECEFF4} % nord6
+% Frost
+\definecolor{NordCyan}{HTML}{8FBCBB} % nord7
+\definecolor{NordBrightCyan}{HTML}{88C0D0} % nord8
+\definecolor{NordBlue}{HTML}{81A1C1} % nord9
+\definecolor{NordBrightBlue}{HTML}{5E81AC} % nord10
+% Aurora
+\definecolor{NordRed}{HTML}{BF616A} % nord11
+\definecolor{NordOrange}{HTML}{D08770} % nord12
+\definecolor{NordYellow}{HTML}{EBCB8B} % nord13
+\definecolor{NordGreen}{HTML}{A3BE8C} % nord14
+\definecolor{NordMagenta}{HTML}{B48EAD} % nord15
+
+\setbeamercolor*{background canvas}{bg=NordBlack}
+\setbeamercolor*{normal text}{fg=NordWhite}
+\setbeamercolor*{alerted text}{fg=NordRed}
+\setbeamercolor*{example text}{fg=NordBrightCyan}
+\setbeamercolor*{structure}{fg=NordCyan}
+
+\setbeamercolor*{title}{fg=NordGreen}
+\setbeamercolor*{subtitle}{fg=NordBlue}
+\setbeamercolor*{frametitle}{fg=NordGreen}
+\setbeamercolor*{framesubtitle}{fg=NordBlue}
+\setbeamercolor*{section in toc}{fg=NordGreen}
+\setbeamercolor*{subsection in toc}{fg=NordBlue}
+\setbeamercolor*{subsection in toc shaded}{fg=NordCyan!20!NordBrightBlack}
+
+\setbeamercolor*{itemize item}{fg=NordGreen}
+\setbeamercolor*{enumerate item}{fg=NordGreen}
+
+\setbeamercolor*{section in head/foot}{bg=NordBlack, fg=NordCyan}
+
+\setbeamercolor{block title}{bg=NordBlack!80,fg=NordGreen}
+\setbeamercolor{block title example}{bg=NordBlack!80,parent={example text}}
+\setbeamercolor{block title alerted}{bg=NordBlack!80,parent={alerted text}}
+\setbeamercolor{block body}{bg=NordGreen!50!NordBlack,fg=NordCyan}
+\setbeamercolor{block body example}{bg=NordBrightCyan!50!NordBlack,fg=NordWhite}
+\setbeamercolor{block body alerted}{bg=NordRed!50!NordBlack,fg=NordWhite}
+
+\setbeamercolor{caption}{fg=NordBrightBlue}
+
+\mode
+<all>
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty b/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty
new file mode 100644
index 00000000000..6ae75d74e5b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty
@@ -0,0 +1,32 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang@gmail.com>
+%
+% This file may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3c
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+
+\mode<presentation>
+
+%%%%%%%%%%%% fonts
+
+\setbeamerfont{structure}{family=\rmfamily,series=\bfseries}
+
+\setbeamerfont{title}{size=\Huge,parent=structure}
+\setbeamerfont{subtitle}{size=\Large,parent=title}
+
+\setbeamerfont{section in toc}{size=\Large,parent=structure}
+\setbeamerfont{section in head/foot}{size=\tiny,parent=structure}
+\setbeamerfont{subsection in toc}{size=\large,parent={section in toc}}
+
+\setbeamerfont{frametitle}{parent=structure,size=\Large}
+\setbeamerfont{framesubtitle}{parent=frametitle,size=\large}
+
+\setbeamerfont{caption}{size=\footnotesize}
+
+\setbeamerfont{block title}{size=\normalsize,series=\mdseries,parent={structure,block body}}
+
+\setbeamerfont{item}{parent=structure,series=\mdseries}
+
+\mode
+<all>
diff --git a/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty b/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty
new file mode 100644
index 00000000000..40067d2fb8b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty
@@ -0,0 +1,81 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang@gmail.com>
+%
+% This file may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3c
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+
+\ProvidesPackage{beamerthemeNord}[2020/07/03 v0.1.0 A simple beamer theme using Nord color scheme]
+
+\mode<presentation>
+
+\RequirePackage{ifthen}
+
+\usecolortheme{Nord}
+\usefonttheme{Nord}
+
+\setbeamertemplate{navigation symbols}{}
+
+\setbeamersize{text margin left=6mm,text margin right=6mm}
+
+
+\setbeamertemplate{caption}{\insertcaption}
+
+\setbeamertemplate{itemize item}{$\ast$}
+\setbeamertemplate{itemize subitem}{$\ast$}
+\setbeamertemplate{itemize subsubitem}{$\ast$}
+\setbeamertemplate{frametitle}{
+ {\usebeamercolor[fg]{normal text} \mdseries >> }~\boldmath\insertframetitle%
+ \hfill\ifx\insertframesubtitle\@empty\else{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\fi
+}
+\setbeamertemplate{frametitle continuation}[from second][\insertcontinuationtext]
+\setbeamertemplate{headline}
+{%
+\begin{beamercolorbox}{section in head/foot}
+\vskip2pt\insertnavigation{\paperwidth}\vskip5pt
+\end{beamercolorbox}%
+}
+\setbeamertemplate{footline}{
+ \newbox\nord@tmpbox
+ \setbox\nord@tmpbox\hbox{[\insertframenumber/\inserttotalframenumber]}
+ \vspace{5.2mm}
+ \hspace{2mm}\noindent\hfill\box\nord@tmpbox\hspace{2mm}
+ \vspace{1.3mm}
+}
+\setbeamertemplate{title page}{
+ \renewcommand\thefootnote{\fnsymbol{footnote}}
+ \setcounter{footnote}{1} % \dagger
+ {\usebeamerfont{title}\usebeamercolor[fg]{title}\bfseries\boldmath\inserttitle}
+ \ifx\insertsubtitle\@empty\else\\[1em] {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle}\fi~\\[2em]
+ {\structure{by}} \insertauthor\ \ifx\insertinstitute\@empty\else\quad(\insertinstitute)\fi
+ \\[1pt]
+ {\structure{on}} \insertdate\\
+ \renewcommand\thefootnote{\arabic{footnote}}
+ \setcounter{footnote}{0}
+}
+
+% table of contents
+\setbeamertemplate{section in toc}{
+ \inserttocsection\\\smallskip
+}
+\setbeamertemplate{subsection in toc}{~$\ast$~~\inserttocsubsection\\\smallskip}
+\setbeamertemplate{subsection in toc shaded}[default][100]
+
+% block
+\setbeamertemplate{blocks}[rounded][shadow=false]
+\addtobeamertemplate{block begin}{%
+ \setlength{\textwidth}{0.85\textwidth}%
+}{}
+\addtobeamertemplate{block alerted begin}{%
+ \setlength{\textwidth}{0.85\textwidth}%
+}{}
+\addtobeamertemplate{block example begin}{%
+ \setlength{\textwidth}{0.85\textwidth}%
+}{}
+
+
+\mode
+<all>
+
+\endinput