texlive[55743] Master: beamerthemenord (3jul20)

commits+karl at tug.org commits+karl at tug.org
Fri Jul 3 22:55:50 CEST 2020


Revision: 55743
          http://tug.org/svn/texlive?view=revision&revision=55743
Author:   karl
Date:     2020-07-03 22:55:50 +0200 (Fri, 03 Jul 2020)
Log Message:
-----------
beamerthemenord (3jul20)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/beamerthemenord/
    trunk/Master/texmf-dist/doc/latex/beamerthemenord/README.md
    trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.pdf
    trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.tex
    trunk/Master/texmf-dist/tex/latex/beamerthemenord/
    trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty
    trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty
    trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty
    trunk/Master/tlpkg/tlpsrc/beamerthemenord.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/beamerthemenord/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamerthemenord/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/beamerthemenord/README.md	2020-07-03 20:55:50 UTC (rev 55743)
@@ -0,0 +1,15 @@
+# beamerthemeNord
+
+A simple beamer theme using [Nord](https://www.nordtheme.com/) color theme.
+
+## Usage 
+
+See [beamerthemeNord.pdf](./beamerthemeNord.pdf) or [beamerthemeNord.tex](./beamerthemeNord.tex)
+
+## Maintainer
+
+Junwei Wang (i.junwei.wang at gmail.com)
+
+## License
+
+This work 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 .
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/beamerthemenord/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.pdf	2020-07-03 20:55:10 UTC (rev 55742)
+++ trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.pdf	2020-07-03 20:55:50 UTC (rev 55743)

Property changes on: trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.tex	2020-07-03 20:55:50 UTC (rev 55743)
@@ -0,0 +1,135 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang at 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
+
+\documentclass[compress]{beamer}
+
+\usepackage[english]{babel}
+\usepackage{metalogo}
+\usepackage{listings}
+\usepackage{fontspec}
+\usepackage{tikz}
+
+\usetheme{Nord}
+\setmainfont{Yanone Kaffeesatz}
+\setsansfont{Andika New Basic}
+\setmonofont{DejaVu Sans Mono}
+
+\AtBeginSection[]
+{
+  \begin{frame}[c,noframenumbering,plain]
+    \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide]
+  \end{frame}
+}
+
+\AtBeginSubsection[]
+{
+  \begin{frame}[c,noframenumbering,plain]
+    \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/shaded/hide]
+  \end{frame}
+}
+
+\title{Beamer Theme ``Nord''}
+\subtitle{A simple beamer theme that uses ``Nord'' color scheme}
+\author{Junwei Wang}
+\institute{CryptoExperts}
+\date{\today}
+
+\begin{document}
+
+\begin{frame}[plain,noframenumbering]
+  \maketitle
+\end{frame}
+
+
+\section{Appearance}
+
+\subsection{Colors}
+
+\begin{frame}{Defined Colors}{This is a subtitle}
+  \begin{description}[Snow Storm]
+  \item[Polar Night]
+    \textcolor{NordDarkBlack}{NordDarkBlack} \quad \textcolor{NordBlack}{NordBlack}\\
+    \textcolor{NordMediumBlack}{NordMediumBlack} \quad \textcolor{NordBrightBlack}{NordBrightBlack}
+  \item[Snow Storm]
+    \textcolor{NordWhite}{NordWhite} \quad \textcolor{NordBrightWhite}{NordBrightWhite}
+  \item[Forest]
+    \textcolor{NordCyan}{NordCyan} \quad \textcolor{NordBrightCyan}{NordBrightCyan}\\
+    \textcolor{NordBlue}{NordBlue} \quad \textcolor{NordBrightBlue}{NordBrightBlue}
+  \item[Aurora]
+    \textcolor{NordRed}{NordRed} \quad \textcolor{NordOrange}{NordOrange} \\
+    \textcolor{NordYellow}{NordYellow} \quad \textcolor{NordGreen}{NordGreen} \\
+    \textcolor{NordMagenta}{NordMagenta}
+  \end{description}
+\end{frame}
+
+\subsection{Fonts}
+
+\begin{frame}[fragile]{Recommended Free Fonts}
+  \begin{description}[Selected Fonts]
+  \item[Selected Fonts] recommended for this theme\\
+    \begin{lstlisting}[basicstyle = \ttfamily\small]
+\setmainfont{Yanone Kaffeesatz}
+\setsansfont{Andika New Basic}
+\setmonofont{DejaVu Sans Mono}
+    \end{lstlisting}
+  \item[Download] {\small \url{https://www.fontsquirrel.com/}}
+  \item[Install Fonts] {\small \url{https://www.google.com/get/noto/help/install/}}
+  \item[Compilation] compile with \XeLaTeX~to use system-wide fonts
+  \end{description}
+
+\end{frame}
+
+
+\subsection{Blocks}
+
+\begin{frame}
+  \frametitle{Blocks}
+  \begin{block}{This is an Ordinary Block}
+    \[
+      a^2 + b^2 = c^2
+    \]
+  \end{block}
+  \begin{exampleblock}{This is an Example Block}
+    \[
+      3^2+4^2 = 5^2
+    \]
+  \end{exampleblock}
+  \begin{alertblock}{This is an Alert Block}
+    \[
+      3^2+4^2 \neq 5^2
+    \]
+  \end{alertblock}
+
+  \centering
+  \begin{minipage}{1.0\linewidth}
+    \begin{block}{This is an Horizontally-Aligned Ordinary Block}
+      \[
+        a^2 + b^2 = c^2
+      \]
+    \end{block}
+  \end{minipage}
+\end{frame}
+
+\subsection{Figures}
+
+\begin{frame}{Figures}
+  \begin{figure}
+    \centering
+    \begin{tikzpicture}
+      \draw [help lines,NordMagenta] (0,0) grid (5,4);
+    \end{tikzpicture}
+    \caption{Credits to Ti\textit{k}Z}
+  \end{figure}
+\end{frame}
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:


Property changes on: trunk/Master/texmf-dist/doc/latex/beamerthemenord/beamerthemeNord.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty	2020-07-03 20:55:50 UTC (rev 55743)
@@ -0,0 +1,65 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang at 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


Property changes on: trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamercolorthemeNord.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty	2020-07-03 20:55:50 UTC (rev 55743)
@@ -0,0 +1,32 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang at 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>


Property changes on: trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerfontthemeNord.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty	2020-07-03 20:55:50 UTC (rev 55743)
@@ -0,0 +1,81 @@
+% Copyright 2020 by Junwei Wang <i.junwei.wang at 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 at tmpbox
+  \setbox\nord at tmpbox\hbox{[\insertframenumber/\inserttotalframenumber]}
+  \vspace{5.2mm}
+  \hspace{2mm}\noindent\hfill\box\nord at 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


Property changes on: trunk/Master/texmf-dist/tex/latex/beamerthemenord/beamerthemeNord.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2020-07-03 20:55:10 UTC (rev 55742)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2020-07-03 20:55:50 UTC (rev 55743)
@@ -94,7 +94,7 @@
     beamertheme-phnompenh beamertheme-pure-minimalistic
     beamertheme-saintpetersburg beamertheme-upenn-bc
     beamerthemejltree
-    beamerthemenirma
+    beamerthemenirma beamerthemenord
     bearwear
     beebe begingreek begriff beilstein belleek bengali
     bera berenisadf besjournals bestpapers betababel beton beuron

Added: trunk/Master/tlpkg/tlpsrc/beamerthemenord.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2020-07-03 20:55:10 UTC (rev 55742)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2020-07-03 20:55:50 UTC (rev 55743)
@@ -91,6 +91,7 @@
 depend beamertheme-upenn-bc
 depend beamerthemejltree
 depend beamerthemenirma
+depend beamerthemenord
 depend bearwear
 depend beton
 depend bewerbung



More information about the tex-live-commits mailing list.