summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-05 21:14:31 +0000
committerKarl Berry <karl@freefriends.org>2020-08-05 21:14:31 +0000
commitc6b37f35ffc2203abe12dd516a39f887880d483d (patch)
tree71c55685f88250a69514911a48b8f0cd65adad7a /Master/texmf-dist/tex
parenta7d07a0aa3b1007ef4a15a41c7d24a3cd8f3e560 (diff)
notomath (5aug20)
git-svn-id: svn://tug.org/texlive/trunk@56050 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/notomath/newtx-noto-subs.tex17
-rw-r--r--Master/texmf-dist/tex/latex/notomath/newtx-notosans-subs.tex17
-rw-r--r--Master/texmf-dist/tex/latex/notomath/notomath.sty73
-rw-r--r--Master/texmf-dist/tex/latex/notomath/omlnotomi.fd28
-rw-r--r--Master/texmf-dist/tex/latex/notomath/omlnotosansmi.fd28
5 files changed, 163 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/notomath/newtx-noto-subs.tex b/Master/texmf-dist/tex/latex/notomath/newtx-noto-subs.tex
new file mode 100644
index 00000000000..37133b9dcd7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/notomath/newtx-noto-subs.tex
@@ -0,0 +1,17 @@
+{f}{-2.5}
+{j}{-2.5}
+{p}{-1.5}
+{y}{-2.5}
+{A}{-2.5}
+{B}{-1}
+{D}{-1}
+{H}{-1}
+{I}{-1}
+{K}{-1}
+{L}{-1}
+{M}{-1}
+{N}{-0.5}
+{P}{-1}
+{X}{-1}
+{\rho}{-2.5}
+{\beta}{-2.5} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/notomath/newtx-notosans-subs.tex b/Master/texmf-dist/tex/latex/notomath/newtx-notosans-subs.tex
new file mode 100644
index 00000000000..37133b9dcd7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/notomath/newtx-notosans-subs.tex
@@ -0,0 +1,17 @@
+{f}{-2.5}
+{j}{-2.5}
+{p}{-1.5}
+{y}{-2.5}
+{A}{-2.5}
+{B}{-1}
+{D}{-1}
+{H}{-1}
+{I}{-1}
+{K}{-1}
+{L}{-1}
+{M}{-1}
+{N}{-0.5}
+{P}{-1}
+{X}{-1}
+{\rho}{-2.5}
+{\beta}{-2.5} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/notomath/notomath.sty b/Master/texmf-dist/tex/latex/notomath/notomath.sty
new file mode 100644
index 00000000000..715d9d341ba
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/notomath/notomath.sty
@@ -0,0 +1,73 @@
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{1.00}
+\def\filedate{2020/08/04}
+\ProvidesPackage{notomath}
+ [\filedate\space v\fileversion.\space (Michael Sharpe) Supports Noto text and math fonts for LaTeX usage.]
+
+\RequirePackage{fontenc,fontaxes,mweights}
+\RequirePackage{xkeyval,textcomp}
+%\PassOptionsToPackage{proportional,pf,oldstyle,osf,type1}{noto-serif}
+%\PassOptionsToPackage{proportional,pf,oldstyle,osf,type1,sfdefault}{noto-sans}
+%\PassOptionsToPackage{}{newtxmath}
+%\PassOptionsToPackage{varbb,vvarbb,upint,noamssymbols,slantedGreek,frenchmath,nosymbolsc,subscriptcorrection,timesmathacc,uprightscript,smallerops,useBImacros,noOT1}{newtxmath}
+% This seems to pass options that were not specified
+% Have to handle less efficiently by parsing args
+
+\newcommand*{\NotoMath@scale}{1}
+\newcommand*{\NotoText@scale}{1}
+\newif\ifnoto@sfdefault \noto@sfdefaultfalse
+\newif\ifnoto@pf \noto@pffalse
+\newif\ifnoto@osf \noto@osffalse
+%\newcommand*{\NotoSerifMono@scale}{1}
+\DeclareOptionX{scaled}{\renewcommand*{\NotoMath@scale}{#1}}
+\DeclareOptionX{scale}{\renewcommand*{\NotoMath@scale}{#1}}
+
+\edef\noto@mopt{noto}
+
+\newif\ifnotomath@mono \notomath@monofalse
+
+\DeclareOptionX{sfdefault}{\edef\noto@mopt{notosans}\noto@sfdefaulttrue}
+\DeclareOptionX{proportional}{\noto@pftrue}
+\DeclareOptionX{pf}{\noto@pftrue}
+\DeclareOptionX{oldstyle}{\noto@osftrue}
+\DeclareOptionX{osf}{\noto@osftrue}
+\DeclareOptionX{mono}{\notomath@monotrue}
+\DeclareOptionX{varbb}{\edef\noto@mopt{\noto@mopt,varbb}}
+\DeclareOptionX{vvarbb}{\edef\noto@mopt{\noto@mopt,vvarbb}}
+\DeclareOptionX{upint}{\edef\noto@mopt{\noto@mopt,upint}}
+\DeclareOptionX{noamssymbols}{\edef\noto@mopt{\noto@mopt,noamssymbols}}
+\DeclareOptionX{slantedGreek}{\edef\noto@mopt{\noto@mopt,slantedGreek}}
+\DeclareOptionX{frenchmath}{\edef\noto@mopt{\noto@mopt,frenchmath}}
+\DeclareOptionX{nosymbolsc}{\edef\noto@mopt{\noto@mopt,nosymbolsc}}
+\DeclareOptionX{subscriptcorrection}{\edef\noto@mopt{\noto@mopt,subscriptcorrection}}
+\DeclareOptionX{timesmathacc}{\edef\noto@mopt{\noto@mopt,timesmathacc}}
+\DeclareOptionX{uprightscript}{\edef\noto@mopt{\noto@mopt,uprightscript}}
+\DeclareOptionX{smallerops}{\edef\noto@mopt{\noto@mopt,smallerops}}
+\DeclareOptionX{useBImacros}{\edef\noto@mopt{\noto@mopt,useBImacros}}
+\DeclareOptionX{noOT1}{\edef\noto@mopt{\noto@mopt,noOT1}}
+
+\ProcessOptionsX\relax
+\edef\noto@mopt{scale=\NotoMath@scale,\noto@mopt}
+%\show\noto@mopt
+\newdimen\notomath@dima
+% use the scale for math to set noto text scale factors
+\notomath@dima=\NotoMath@scale\p@
+\notomath@dima=.9\notomath@dima
+\edef\NotoText@scale{\strip@pt\notomath@dima}
+%\let\NotoSans@scale\NotoText@scale
+%\let\NotoSansMono@scale\NotoSerif@scale
+\edef\nototext@opt{scale=\NotoText@scale}
+\ifnoto@pf\edef\nototext@opt{\nototext@opt,pf}\fi
+\ifnoto@osf\edef\nototext@opt{\nototext@opt,osf}\fi
+\usepackage[\nototext@opt]{noto-serif}
+\ifnoto@sfdefault\edef\nototext@opt{\nototext@opt,sfdefault}\fi
+\usepackage[\nototext@opt]{noto-sans}
+\ifnotomath@mono\usepackage[type1,scale=\NotoText@scale]{noto-mono}\fi
+%\show\noto@mopt
+\usepackage[\noto@mopt]{newtxmath}
+\def\seriesdefault{\mdseries@rm}
+\def\mdseries@rm{m}
+\def\bfseries@rm{b}
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/latex/notomath/omlnotomi.fd b/Master/texmf-dist/tex/latex/notomath/omlnotomi.fd
new file mode 100644
index 00000000000..792153149e6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/notomath/omlnotomi.fd
@@ -0,0 +1,28 @@
+%Filename: omlnotomi.fd
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlnotomi.fd}
+ [2014/04/14 Fontinst v1.933 font definitions for OML/notomi.]
+
+\expandafter\ifx\csname ntxmath@scaled\endcsname\relax
+ \let\ntxmath@scaled\@empty%
+\fi
+
+\DeclareFontFamily{OML}{notomi}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{notomi}{m}{it}{
+ <-> \ntxmath@scaled notomi
+}{}
+
+\DeclareFontShape{OML}{notomi}{b}{it}{
+ <-> \ntxmath@scaled notobmi
+}{}
+
+\DeclareFontShape{OML}{notomi}{m}{sl}{<->ssub * notomi/m/it}{}
+\DeclareFontShape{OML}{notomi}{bx}{it}{<->ssub * notomi/b/it}{}
+\DeclareFontShape{OML}{notomi}{b}{sl}{<->ssub * notomi/b/it}{}
+\DeclareFontShape{OML}{notomi}{bx}{sl}{<->ssub * notomi/b/sl}{}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/notomath/omlnotosansmi.fd b/Master/texmf-dist/tex/latex/notomath/omlnotosansmi.fd
new file mode 100644
index 00000000000..9ad5c76eb3f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/notomath/omlnotosansmi.fd
@@ -0,0 +1,28 @@
+%Filename: omlnotosansmi.fd
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlnotosansmi.fd}
+ [2020/08/04 Fontinst v1.933 font definitions for OML/notosansmi.]
+
+\expandafter\ifx\csname ntxmath@scaled\endcsname\relax
+ \let\ntxmath@scaled\@empty%
+\fi
+
+\DeclareFontFamily{OML}{notosansmi}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{notosansmi}{m}{it}{
+ <-> \ntxmath@scaled notosansmi
+}{}
+
+\DeclareFontShape{OML}{notosansmi}{b}{it}{
+ <-> \ntxmath@scaled notosansbmi
+}{}
+
+\DeclareFontShape{OML}{notosansmi}{m}{sl}{<->ssub * notosansmi/m/it}{}
+\DeclareFontShape{OML}{notosansmi}{bx}{it}{<->ssub * notosansmi/b/it}{}
+\DeclareFontShape{OML}{notosansmi}{b}{sl}{<->ssub * notosansmi/b/it}{}
+\DeclareFontShape{OML}{notosansmi}{bx}{sl}{<->ssub * notosansmi/b/sl}{}
+
+\endinput