diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-11 22:35:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-11 22:35:29 +0000 |
commit | 54f694ed7cbef0a80279892681bf2fae22812354 (patch) | |
tree | 42f7b0ea21a360b7ba6701372bfa9505d8a30145 /Master/texmf-dist/tex/latex/beuron | |
parent | 53e1e4b4ff578415ab25c492d9f97949be02aa80 (diff) |
beuron (11sep16)
git-svn-id: svn://tug.org/texlive/trunk@42038 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/beuron')
-rw-r--r-- | Master/texmf-dist/tex/latex/beuron/beuron.sty | 76 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/beuron/t1beuron.fd | 6 |
2 files changed, 82 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beuron/beuron.sty b/Master/texmf-dist/tex/latex/beuron/beuron.sty new file mode 100644 index 00000000000..41f69ae1904 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beuron/beuron.sty @@ -0,0 +1,76 @@ +% beuron.sty +% Paket für die Schrift der Beuroner Kunstschule +% Beuronese art script package +% Version 1.1 +% Autor: Keno Wehr +% 11. September 2016 +% U.I.O.G.D. + +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% 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 +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. + + +\RequirePackage{expl3} +\ProvidesExplPackage {beuron} {2016/09/11} {1.1} {Beuronese art script package} + +\RequirePackage{xparse} + +% #1: Sollen Leerzeichen erhalten bleiben? +% #2: Text +\cs_new_protected:Npn \beuron_replace:nn #1#2 + { + \tl_set:Nn \l_tmpa_tl {#2} + \tl_replace_all:Nnn \l_tmpa_tl {Ä} {AE} + \tl_replace_all:Nnn \l_tmpa_tl {ä} {AE} + \tl_replace_all:Nnn \l_tmpa_tl {Ö} {OE} + \tl_replace_all:Nnn \l_tmpa_tl {ö} {OE} + \tl_replace_all:Nnn \l_tmpa_tl {Ü} {UE} + \tl_replace_all:Nnn \l_tmpa_tl {ü} {UE} + \tl_replace_all:Nnn \l_tmpa_tl {ß} {SS} + + \bool_if:NF #1 + { + \tl_replace_all:Nnn \l_tmpa_tl {~} {\slash} + } + + \MakeUppercase{\l_tmpa_tl} + } + +\NewDocumentCommand \textbeuron {s m} + { + \group_begin: + \usefont{T1}{beuron}{m}{n} + \beuron_replace:nn {#1}{#2} + \group_end: + } + +\NewDocumentCommand \textbeuronc {s m} + { + \group_begin: + \usefont{T1}{beuron}{c}{n} + \beuron_replace:nn {#1}{#2} + \group_end: + } + +\NewDocumentCommand \textbeuronx {s m} + { + \group_begin: + \usefont{T1}{beuron}{x}{n} + \beuron_replace:nn {#1}{#2} + \group_end: + } + +\NewDocumentCommand \beuronOmega { } + { + \group_begin: + \fontencoding{T1} + \fontfamily{beuron} + \selectfont + \symbol{10} + \group_end: + } diff --git a/Master/texmf-dist/tex/latex/beuron/t1beuron.fd b/Master/texmf-dist/tex/latex/beuron/t1beuron.fd new file mode 100644 index 00000000000..716ca405725 --- /dev/null +++ b/Master/texmf-dist/tex/latex/beuron/t1beuron.fd @@ -0,0 +1,6 @@ +\ProvidesFile{t1beuron.fd}[2015/12/28 Beuronese script font definition] + +\DeclareFontFamily{T1}{beuron}{} +\DeclareFontShape{T1}{beuron}{m}{n}{<->beuron}{} +\DeclareFontShape{T1}{beuron}{c}{n}{<->beuronc}{} +\DeclareFontShape{T1}{beuron}{x}{n}{<->beuronx}{} |