From 73b677e96a8455658be95fa2d87f7aeaf4d6b2f0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 24 Jan 2024 21:29:58 +0000 Subject: hvlogos (24jan24) git-svn-id: svn://tug.org/texlive/trunk@69581 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty | 33 ++++++++++++++----------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/tex/latex/hvlogos') diff --git a/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty b/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty index ef9dfdc5b82..bfdf9332b02 100644 --- a/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty +++ b/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty @@ -10,19 +10,19 @@ % % % ------------------------------------- -\ProvidesPackage{hvlogos}[2024/01/23 v. 0.11 Logos (hv)] +\ProvidesPackage{hvlogos}[2024/01/24 v. 0.12 Logos (hv)] % \newif\if@dtk@newengine \@dtk@newenginetrue % \RequirePackage{fetamont,hologo,dantelogo,xspace,expl3} -%\ifluatex\else\ifxetex\else\@dtk@newenginefalse\fi\fi -%\if@dtk@newengine -% \RequirePackage{unicode-math} -% \setmathfont{LatinModernMath-Regular} -% \setmathfont[version=XITS]{XITSMath-Regular.otf} -%\fi +\ifluatex\else\ifxetex\else\@dtk@newenginefalse\fi\fi +\if@dtk@newengine + \RequirePackage{unicode-math} + \setmathfont[version=LM]{LatinModernMath-Regular} + \setmathfont[version=XITS]{XITSMath-Regular.otf} +\fi % \iffalse \DeclareRobustCommand\ffmfamily{\not@math@alphabet\ffmfamily\relax @@ -41,6 +41,7 @@ { L% \ifx\f@family\sfdefault\kern#1\else\kern\dimexpr#1+0.02em\relax\fi \begingroup + \if@dtk@newengine\mathversion{LM}\fi \setbox\ltx@zero\hbox{T}% \vbox to\ht\ltx@zero{% \hbox{% @@ -49,7 +50,8 @@ }{% \check@mathfonts \fontsize\sf@size{0pt}% - \math@fontsfalse\selectfont + \math@fontsfalse + \selectfont }% A% }% @@ -77,13 +79,14 @@ \providecommand\AmSTeX{\mbox{\textsf{AMS}-\hologo{TeX}}} \DeclareRobustCommand\Biber{\textsf{Biber}\xspace} \let\biber\Biber -\DeclareRobustCommand{\BibLaTeXML}{B\kern-.05em% - \hbox{$\m@th$% %% force math size calculations - \csname S@\f@size\endcsname - \fontsize\sf@size\z@ - \math@fontsfalse\selectfont - I\kern-.025emB}% - \kern-.08em\-\LaTeX{}ML} +\DeclareRobustCommand\BibLaTeXML{\BibLaTeX{}ML} +%\kern-.05em% +% \hbox{$\m@th$% %% force math size calculations +% \csname S@\f@size\endcsname +% \fontsize\sf@size\z@ +% \math@fontsfalse\selectfont +% I\kern-.025emB}% +% \kern-.08em\-\LaTeX{}ML} \DeclareRobustCommand\BibTeX{\@ifnextchar8\@@BibTeX\@BibTeX} \def\@BibTeX{{\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}}} \providecommand\BibTeXacht{{\hologoLogoSetup{BibTeX8}{variant=sc}\hologo{BibTeX8}}} -- cgit v1.2.3