diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-08 21:35:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-08 21:35:20 +0000 |
commit | 01dd06d5c332be293f7fab60a3308d3d9675d10e (patch) | |
tree | 4e618df4aafefef58faabe42d7d17ae187bc4e08 /Master/texmf-dist | |
parent | 9c497f55ee5d00a63c814b0dc5e8709230930315 (diff) |
hvlogos (8jan22)
git-svn-id: svn://tug.org/texlive/trunk@61538 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/hvlogos/Changes | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf | bin | 76488 -> 85963 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex | 85 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty | 62 |
4 files changed, 108 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/latex/hvlogos/Changes b/Master/texmf-dist/doc/latex/hvlogos/Changes index a1b985f0e79..0e3a6e5bb97 100644 --- a/Master/texmf-dist/doc/latex/hvlogos/Changes +++ b/Master/texmf-dist/doc/latex/hvlogos/Changes @@ -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 diff --git a/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf b/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf Binary files differindex d44fb7affd7..7b732b272a3 100644 --- a/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf +++ b/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.pdf diff --git a/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex b/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex index 1adcd9633fc..81f7731d59c 100644 --- a/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex +++ b/Master/texmf-dist/doc/latex/hvlogos/hvlogos-doc.tex @@ -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 @@ The package \LPack{hvlogos} loads by default the packages \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 @@ The package \LPack{hvlogos} loads by default the packages \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,15 +68,18 @@ The package \LPack{hvlogos} loads by default the packages \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\\ @@ -110,7 +113,7 @@ The package \LPack{hvlogos} loads by default the packages \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 @@ The package \LPack{hvlogos} loads by default the packages \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} diff --git a/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty b/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty index c55b7e4ed7c..d6b5e386777 100644 --- a/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty +++ b/Master/texmf-dist/tex/latex/hvlogos/hvlogos.sty @@ -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,11 +10,12 @@ % % % ------------------------------------- -\ProvidesPackage{hvlogos}[2021/08/13 v. 0.02 Logos (hv)] +\ProvidesPackage{hvlogos}[2022/01/08 v. 0.05 Logos (hv)] % \newif\if@dtk@newengine \@dtk@newenginetrue % -\RequirePackage{fetamont,hologo,dantelogo,xspace} +\RequirePackage{fetamont,hologo,dantelogo,xspace,expl3} + \ifluatex\else\ifxetex\else\@dtk@newenginefalse\fi\fi \if@dtk@newengine @@ -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@La#1{% - L% - \ifx\f@family\sfdefault\kern-.15em\else\kern-.23em\fi +\ExplSyntaxOn +\DeclareDocumentCommand\hologo@La{ O{-0.25em} }% +{ L% + \ifx\f@family\sfdefault\kern#1\else\kern\dimexpr#1+0.02em\relax\fi \begingroup \setbox\ltx@zero\hbox{T}% \vbox to\ht\ltx@zero{% @@ -54,20 +57,23 @@ }% \endgroup } +\NewDocumentCommand\hvLaTeX{ O{-0.25em} O{-0.15em} } + {\def\LaTeX{\hologo@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@La[#2]\kern#3)\kern#4\hologo{TeX}}} + +\hvLaTeX +\hvLaTeXTeX -%\edef\hologoList{% -% \hologoList% -% \hologoEntry{LuaHBTeX}{}{2020/07/13}% -%} - -\def\LaTeXTeX{\hologo{(La)TeX}} +\ExplSyntaxOff \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,18 +81,20 @@ \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 \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@discretionary +% \mbox{\fontfamily{logo}\fontencoding{U}\selectfont META} + \HoLogoFont@font{METAFONT}{logo}{\mbox{META}}% +% \HOLOGO@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 |