diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup')
4 files changed, 33 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty index 6656d2a95ff..659263a5291 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty @@ -1,4 +1,4 @@ -\ProvidesPackage{fontsetup}[2024/2/24 v2.1.1 For easily using font families with mathematics] +\ProvidesPackage{fontsetup}[2024/9/11 v2.2.1 For easily using font families with mathematics] \RequirePackage{iflang} \RequirePackage{iftex} % Provide a test to know if a 16bits TeX is used. @@ -46,28 +46,36 @@ \if@varnothing \if@newcmbb \setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Bold.otf}% \else \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,StylisticSet=2,CharacterVariant=1]{NewCMMath-Bold.otf}% \fi \else \if@newcmbb \setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,StylisticSet=2,StylisticSet=3]{NewCMMath-Bold.otf}% \else \setmathfont[StylisticSet=2]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,StylisticSet=2]{NewCMMath-Bold.otf}% \fi \fi \else \if@varnothing \if@newcmbb \setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,StylisticSet=3,CharacterVariant=1]{NewCMMath-Bold.otf}% \else \setmathfont[CharacterVariant=1]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,CharacterVariant=1]{NewCMMath-Bold.otf}% \fi \else \if@newcmbb \setmathfont[StylisticSet=3]{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold,StylisticSet=3]{NewCMMath-Bold.otf}% \else \setmathfont{NewCMMath-\regularorbook.otf}% + \setmathfont[version=bold]{NewCMMath-Bold.otf}% \fi \fi \fi diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex b/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex index 05a40a7f019..7b72ba65e4a 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex +++ b/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex @@ -95,6 +95,7 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Book.otf} \newcommand{\textuncial}[1]{{\uncial #1}} \setmathfont{NewCMMath-Book.otf} \setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf} +\setmathfont{NewCMMath-Bold.otf}[version=bold] \newcommand{\tttextsc}[1]{{\ttscshape#1}} % \let\prosgegrammeni=\undefined @@ -299,6 +300,12 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Book.otf} % some math symbols \DeclareRobustCommand*\nrightrightarrows{\mathrel{\char"E033}} \DeclareRobustCommand*\nleftleftarrows{\mathrel{\char"E032}} +\DeclareRobustCommand*\twoheadhookrightarrow{\mathrel{\char"E034}} +\DeclareRobustCommand*\twoheadhookleftarrow{\mathrel{\char"E035}} +% +%%% declare the convolution operator %%%%%%%%%%%%%%% +\DeclareMathOperator*{\convolution}{\mathchoice{\char"E037}{\char"E036}{\char"E038}{\char"E039}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % select ss02 lookup table for IPA symbols %\newfontfamily{\ipatext}[StylisticSet=5,% diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.tex b/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.tex index 8d8802fbd66..7961849540b 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.tex +++ b/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.tex @@ -2,4 +2,13 @@ \setmainfont[ItalicFont=EBGaramond-Italic.otf, BoldFont=EBGaramond-Bold.otf, BoldItalicFont=EBGaramond-BoldItalic.otf,SmallCapsFeatures={Numbers=OldStyle}]{EBGaramond-Regular.otf} -\setmathfont{Garamond-Math.otf}
\ No newline at end of file +\setsansfont[ItalicFont=Ysabeau-Italic.otf, +BoldFont=Ysabeau-Bold.otf,BoldItalicFont=Ysabeau-BoldItalic.otf,Scale=MatchLowercase, +SmallCapsFeatures={Numbers=OldStyle}]{Ysabeau-Regular.otf} + +%\newfontfamily{\greekfont}[ItalicFont=EBGaramond-Italic.otf, +%BoldFont=EBGaramond-Bold.otf, +%BoldItalicFont=EBGaramond-BoldItalic.otf,SmallCapsFeatures={Numbers=OldStyle}]{EBGaramond-Regular.otf} +% +\setmathfont{Garamond-Math.otf} + diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex b/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex index 48f3bd948a7..4b27d42e45a 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex +++ b/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex @@ -99,6 +99,7 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf} \newcommand{\textuncial}[1]{{\uncial #1}} \setmathfont{NewCMMath-Regular.otf} \setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Regular.otf} +\setmathfont{NewCMMath-Bold.otf}[version=bold] \newcommand{\tttextsc}[1]{{\ttscshape#1}} % @@ -304,6 +305,12 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf} % some math symbols \DeclareRobustCommand*\nrightrightarrows{\mathrel{\char"E033}} \DeclareRobustCommand*\nleftleftarrows{\mathrel{\char"E032}} +\DeclareRobustCommand*\twoheadhookrightarrow{\mathrel{\char"E034}} +\DeclareRobustCommand*\twoheadhookleftarrow{\mathrel{\char"E035}} +% +%%% declare the convolution operator %%%%%%%%%%%%%%% +\DeclareMathOperator*{\convolution}{\mathchoice{\char"E037}{\char"E036}{\char"E038}{\char"E039}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % select ss02 lookup table for IPA symbols %\newfontfamily{\ipatext}[StylisticSet=5,% |