summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvlogos/latex/hvlogos.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hvlogos/latex/hvlogos.sty')
-rw-r--r--macros/latex/contrib/hvlogos/latex/hvlogos.sty33
1 files changed, 18 insertions, 15 deletions
diff --git a/macros/latex/contrib/hvlogos/latex/hvlogos.sty b/macros/latex/contrib/hvlogos/latex/hvlogos.sty
index ef9dfdc5b8..bfdf9332b0 100644
--- a/macros/latex/contrib/hvlogos/latex/hvlogos.sty
+++ b/macros/latex/contrib/hvlogos/latex/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}}}