texlive[61538] Master/texmf-dist: hvlogos (8jan22)
commits+karl at tug.org
commits+karl at tug.org
Sat Jan 8 22:35:21 CET 2022
Revision: 61538
http://tug.org/svn/texlive?view=revision&revision=61538
Author: karl
Date: 2022-01-08 22:35:20 +0100 (Sat, 08 Jan 2022)
Log Message:
-----------
hvlogos (8jan22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/hvlogos/Changes
trunk/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf
trunk/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex
trunk/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty
Modified: trunk/Master/texmf-dist/doc/latex/hvlogos/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvlogos/Changes 2022-01-08 21:35:05 UTC (rev 61537)
+++ trunk/Master/texmf-dist/doc/latex/hvlogos/Changes 2022-01-08 21:35:20 UTC (rev 61538)
@@ -1,4 +1,8 @@
hvlogos.sty:
+0.05 2022-01-08 - added \LuaMetaTeX and \LMTX with alias in lowercase letters
+0.04 2021-10-02 - added new macros to user-defined kernings
+0.03 2021-09-25 - \tikz in regular font
+ - \CTAN is sf font
0.02 2021-08-13 - fix for \tikz which is reserved by package tikz
renamed to \tikzlogo
- added logos for Purdue University
Modified: trunk/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex 2022-01-08 21:35:05 UTC (rev 61537)
+++ trunk/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex 2022-01-08 21:35:20 UTC (rev 61538)
@@ -2,7 +2,7 @@
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88]{AnonymousPro}
\usepackage{hvlogos}
-\usepackage{longtable, booktabs}
+\usepackage{longtable, booktabs, array}
\usepackage{babel}
\usepackage[autostyle]{csquotes}
\MakeAutoQuote{»}{«}
@@ -13,7 +13,7 @@
\title{\texttt{hvlogos} -- Print \TeX-related Logos}
\author{Herbert Voß\thanks{Thanks to
-Heiko Oberdiek, Mark Senn}}
+Denis Bitouzé, Heiko Oberdiek, Mark Senn}}
\begin{document}
\maketitle
@@ -21,16 +21,16 @@
\LPack{fetamont}, \LPack{hologo}, \LPack{dantelogo}, and \LPack{xspace}.
\bigskip
-\begin{longtable}{lll}\toprule
-\emph{Macro} & \emph{Alias} & \emph{Output}\\\midrule
+\begin{longtable}{lll>{\sffamily}l}\toprule
+\emph{Macro} & \emph{Alias} & \emph{Output} & \emph{sf-Output}\\\midrule
\endfirsthead
-\multicolumn{3}{l}{\ldots\ previous page}\\\midrule
-\emph{Macro} & \emph{Alias} & \emph{Output}\\\midrule
+\multicolumn{4}{l}{\ldots\ previous page}\\\midrule
+\emph{Macro} & \emph{Alias} & \emph{Output}& \emph{sf-Output}\\\midrule
\endhead
\midrule
-\multicolumn{3}{r}{next page \ldots}\\
+\multicolumn{4}{r}{next page \ldots}\\
\endfoot
\bottomrule
@@ -38,13 +38,13 @@
\Lcs{ALEPH} && \ALEPH \\[5pt]
-\Lcs{AmS} & \Lcs{AMS} & \AMS\\
-\Lcs{AmSLaTeX} && \AmSLaTeX\\
-\Lcs{amsmath} && \amsmath\\
-\Lcs{AmSTeX} && \AmSTeX\\[5pt]
+\Lcs{AmS} & \Lcs{AMS} & \AMS& \AMS\\
+\Lcs{AmSLaTeX} && \AmSLaTeX & \AmSLaTeX\\
+\Lcs{amsmath} & & \amsmath& \amsmath\\
+\Lcs{AmSTeX} && \AmSTeX & \AmSTeX\\[5pt]
-\Lcs{biber} && \biber\\
-\Lcs{Biber} && \Biber \\
+\Lcs{biber} && \biber & \biber\\
+\Lcs{Biber} && \Biber & \Biber\\
\Lcs{BibLaTeX} & \Lcs{biblatex}& \BibLaTeX \\
\Lcs{BibTeX} && \BibTeX \\
\Lcs{BibTeX8} & \Lcs{BibTeXacht} & \BibTeX8\\
@@ -68,16 +68,19 @@
\Lcs{iniTeX} && \iniTeX \\
\Lcs{KOMAScript} && \KOMAScript \\
-\Lcs{LaTeX} && \LaTeX \\
-\Lcs{LaTeXe} && \LaTeXe \\
-\Lcs{LaTeXIII} && \LaTeXIII \\
-\Lcs{LaTeXTeX} && \LaTeXTeX\\
-\Lcs{LaTeXML} && \LaTeXML \\
-\Lcs{LuaHBTeX} & \Lcs{luahbtex}, \Lcs{LuahbTeX} & \LuaHBTeX\\
-\Lcs{LuaLaTeX}& \Lcs{lualatex} & \LuaLaTeX \\
-\Lcs{LuaTeX} & \Lcs{luatex} & \LuaTeX\\
-\Lcs{LyX} && \LyX \\[5pt]
+\Lcs{LaTeX} && \LaTeX & \LaTeX \\
+\Lcs{LaTeXe} && \LaTeXe & \LaTeXe \\
+\Lcs{LaTeXIII} && \LaTeXIII& \LaTeXIII \\
+\Lcs{LaTeXTeX} && \LaTeXTeX& \LaTeXTeX\\
+\Lcs{LaTeXML} && \LaTeXML& \LaTeXML \\
+\Lcs{LMTX} & \Lcs{lmtx} & \LMTX & \\
+\Lcs{LuaHBTeX} & \Lcs{luahbtex}, \Lcs{LuahbTeX} & \LuaHBTeX & \LuaHBTeX\\
+\Lcs{LuaLaTeX}& \Lcs{lualatex} & \LuaLaTeX & \LuaLaTeX\\
+\Lcs{LuaTeX} & \Lcs{luatex} & \LuaTeX & \LuaTeX\\
+\Lcs{LuaMetaTeX} & \Lcs{luametatex} & \LuaMetaTeX & \LuaMetaTeX\\
+\Lcs{LyX} && \LyX & \LyX \\[5pt]
+
\Lcs{macOS} && \macOS\\
\Lcs{mpShort} && \mpShort\\
\Lcs{mfShort} && \mfShort\\
@@ -110,7 +113,7 @@
\Lcs{SLiTeX} && \SLiTeX \\[5pt]
\Lcs{teTeX} && \teTeX \\
-\Lcs{TeXivht} && \TeX4ht \\
+\Lcs{TeXivht} &\Lcs{tex4ht}& \TeX4ht \\
\Lcs{TeXLive} && \TeXLive\\[5pt]
\Lcs{TikZ} & \Lcs{tikzlogo}& \tikzlogo \\
@@ -128,6 +131,42 @@
\end{longtable}
+
+
+\section*{Experimental}
+The logos for \LaTeX\ and \LaTeXTeX\ can be modified with the following commands:
+
+
+\Lcs{hvLaTeX}\texttt{[<kern between L and a>][<kern between La and TeX>]}\\
+\Lcs{hvLaTeXTeX}\texttt{[<kern between ( and La>][<kern between L and a>][<kern a and )>][<kern between ) and TeX>]}
+
+The two kernings for \Lcs{LaTeX} are predefined by \texttt{-0.25em} and \texttt{-0.15em} and
+the four for \Lcs{LaTeXTeX} by \texttt{-0.1em}, \texttt{-0.25em}, \texttt{-0.15em}, and \texttt{-0.1em}.
+
+A modification make sense if you have a font where the default kerning doesn't really works well.
+For example with the font {\fontspec{Lobster Two} Lobster Two}:
+
+\begin{tabular}{ l l}
+\fontspec{Lobster Two}\LaTeX & default kerning\\
+\fontspec{Lobster Two}\hvLaTeX[-0.1em][-0.07em]\LaTeX & new setting with \Lcs{hvLaTeX}\texttt{[-0.1em][-0.07em]} \\
+\fontspec{Lobster Two}\LaTeXTeX & default kerning \\
+\fontspec{Lobster Two}\hvLaTeXTeX[-0.1em][-0.1em][0em]\LaTeXTeX & new setting with \Lcs{hvLaTeXTeX}\texttt{[-0.1em][-0.1em][0em]} \\
+\end{tabular}
+
+A missing optional argument will be set by its default. Remember that you have to use all preceeding arguments if you
+want to change only the 2nd, 3rd or 4th.
+
+
+
+
+
+%\NewDocumentCommand\hvLaTeXTeX{ O{-0.1em} O{-0.25em} O{-0.15em} O{-0.1em} }
+ % {\def\LaTeXTeX{(\kern#1\hologo{La}[#2]\kern#3)\kern#4\hologo{TeX}}}
+
+%\hvLaTeX
+%\hvLaTeXTeX
+
+
\printindex
\end{document}
Modified: trunk/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty 2022-01-08 21:35:05 UTC (rev 61537)
+++ trunk/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty 2022-01-08 21:35:20 UTC (rev 61538)
@@ -2,7 +2,7 @@
%%
%% This is file `hvlogos.sty',
%%
-%% Copyright (C) 2021 Herbert Voss
+%% Copyright (C) 2021,22 Herbert Voss
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
@@ -10,12 +10,13 @@
%
%
% -------------------------------------
-\ProvidesPackage{hvlogos}[2021/08/13 v. 0.02 Logos (hv)]
+\ProvidesPackage{hvlogos}[2022/01/08 v. 0.05 Logos (hv)]
%
\newif\if at dtk@newengine \@dtk at newenginetrue
%
-\RequirePackage{fetamont,hologo,dantelogo,xspace}
+\RequirePackage{fetamont,hologo,dantelogo,xspace,expl3}
+
\ifluatex\else\ifxetex\else\@dtk at newenginefalse\fi\fi
\if at dtk@newengine
\RequirePackage{unicode-math}
@@ -31,12 +32,14 @@
\def\MP{\textffm{META}\@dischyph\textffm{POST}\@}
\def\MT{\textffm{META}\@dischyph\textffm{TYPE1}\@}
\fi
+
\def\mpShort{\textffm{MP}\@}
\def\mfShort{\textffm{MF}\@}
-\def\HoLogo at La#1{%
- L%
- \ifx\f at family\sfdefault\kern-.15em\else\kern-.23em\fi
+\ExplSyntaxOn
+\DeclareDocumentCommand\hologo at La{ O{-0.25em} }%
+{ L%
+ \ifx\f at family\sfdefault\kern#1\else\kern\dimexpr#1+0.02em\relax\fi
\begingroup
\setbox\ltx at zero\hbox{T}%
\vbox to\ht\ltx at zero{%
@@ -54,20 +57,23 @@
}%
\endgroup
}
+\NewDocumentCommand\hvLaTeX{ O{-0.25em} O{-0.15em} }
+ {\def\LaTeX{\hologo at La[#1]\kern#2\hologo{TeX}}}
+
+\NewDocumentCommand\hvLaTeXTeX{ O{-0.1em} O{-0.25em} O{-0.15em} O{-0.1em} }
+ {\def\LaTeXTeX{(\kern#1\hologo at La[#2]\kern#3)\kern#4\hologo{TeX}}}
+
+\hvLaTeX
+\hvLaTeXTeX
-%\edef\hologoList{%
-% \hologoList%
-% \hologoEntry{LuaHBTeX}{}{2020/07/13}%
-%}
+\ExplSyntaxOff
-\def\LaTeXTeX{\hologo{(La)TeX}}
-
\def\AmS{\textsf{AMS}}
\let\AMS\AmS
%{\ifluatex\mathversion{XITS}\fi%
% $\mathcal{A}$\kern-.1667em\lower.5ex\hbox{$\mathcal{M}$}\kern-.125em$\mathcal{S}$}}% $
\def\amsmath{\AMS\textsf{math}}
-\def\AmSLaTeX{\mbox{\textsf{AMS}-\hologo{LaTeX}}}
+\def\AmSLaTeX{\mbox{\textsf{AMS}-\LaTeX}}
\def\AmSTeX{\mbox{\textsf{AMS}-\hologo{TeX}}}
\DeclareRobustCommand\Biber{\textsf{Biber}}
\let\biber\Biber
@@ -75,7 +81,7 @@
\def\@BibTeX{{\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}}}
\def\BibTeXacht{{\hologoLogoSetup{BibTeX8}{variant=sc}\hologo{BibTeX8}}}
\def\@@BibTeX8{\hologo{BibTeX8}}
-\DeclareRobustCommand\BibLaTeX{Bib\hologo{LaTeX}}
+\DeclareRobustCommand\BibLaTeX{Bib\LaTeX}
\let\biblatex\BibLaTeX
\def\ConTeXt{\hologo{ConTeXt}}
\let\context\ConTeXt
@@ -82,11 +88,13 @@
\def\emTeX{\hologo{emTeX}}
\def\eTeX{\hologo{eTeX}}
\def\ExTeX{\hologo{ExTeX}}
-\def\HanTheThanh{\hologo{HanTheThanh}}
+\def\HanTheThanh{\hologo{HanTheThanh}}%
\let\HTT\HanTheThanh
\def\iniTeX{\hologo{iniTeX}}
\def\KOMAScript{\hologo{KOMAScript}}
-\def\LaTeX{\hologo{LaTeX}}
+
+%\def\LaTeX{\hologo{LaTeX}}
+%\def\LaTeXTeX{\hologo{(La)TeX}}
\def\LaTeXe{\hologo{LaTeX2e}}
\def\LaTeXIII{\hologo{LaTeX3}}
\def\LaTeXML{\hologo{LaTeXML}}
@@ -106,6 +114,19 @@
\let\luahbtex\LuaHBTeX
\let\LuahbTeX\LuaHBTeX
\let\luatex\LuaTeX
+%
+
+\def\LuaMetaTeX{%
+ \mbox{Lua}%
+% \HOLOGO at discretionary
+% \mbox{\fontfamily{logo}\fontencoding{U}\selectfont META}
+ \HoLogoFont at font{METAFONT}{logo}{\mbox{META}}%
+% \HOLOGO at discretionary
+ \hologo{TeX}%
+}
+\def\LMTX{\textsf{LMTX}}
+\let\lmtx\LMTX
+
\def\LyX{\hologo{LyX}}
\def\METAFONT{\hologo{METAFONT}}
\let\MF\METAFONT
@@ -134,6 +155,7 @@
\def\SLiTeX{\hologo{SLiTeX}}
\def\teTeX{\hologo{teTeX}}
\def\TeXivht{\hologo{TeX4ht}}
+\def\tex4ht{\hologo{TeX4ht}}
\def\TTH{\hologo{TTH}}
\def\virTeX{\hologo{virTeX}}
\def\VTeX{\hologo{VTeX}}
@@ -143,7 +165,7 @@
%
\newcommand\BibTool{\textsc{Bib\hskip-.1em
T\hskip-.15emo\hskip-.05emo\hskip-.05eml}\xspace}
-\def\tikzlogo{\textsf{Ti\textit{k}Z}}
+\def\tikzlogo{Ti\textit{k}Z}
\def\ALEPH{\ensuremath{\aleph}}
\let\TikZ\tikzlogo
@@ -176,11 +198,11 @@
\providecommand\TUG{\TeX{} Users Group}
\providecommand\TUGboat{\textsl{TUGboat}}
\let\DANTE\dantelogo
-\def\pgf/tikz{\textsf{pgf/Ti\textit{k}Z}}
-\def\pgftikz{\textsf{pgf/Ti\textit{k}Z}}
+\def\pgf/tikz{pgf/Ti\textit{k}Z}
+\def\pgftikz{pgf/Ti\textit{k}Z}
\def\TeXLive{\TeX{}Live\xspace}
-\def\CTAN{\texttt{CTAN}\xspace}
+\def\CTAN{\textsf{CTAN}\xspace}
\def\PSTricks{\textsf{PSTricks}\xspace}
\let\pstricks\PSTricks
More information about the tex-live-commits
mailing list.