diff options
Diffstat (limited to 'macros/latex/contrib/enverb/preamble-logo.tex')
-rw-r--r-- | macros/latex/contrib/enverb/preamble-logo.tex | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/latex/contrib/enverb/preamble-logo.tex b/macros/latex/contrib/enverb/preamble-logo.tex new file mode 100644 index 0000000000..177f8f3e26 --- /dev/null +++ b/macros/latex/contrib/enverb/preamble-logo.tex @@ -0,0 +1,25 @@ +\definecolor{enverbred}{HTML}{9F393D} +\colorlet{enverbgrey}{black!75} +\newcommand\envlogo% >>= + {% + \texorpdfstring + {\envLogo}% + {enverb}% + }% =<< +\protected\def\envLogo% >>= + {% + \mbox + {% + \BeginAccSupp{ActualText=enverb}% + \href{https://gitlab.com/islandoftex/texmf/enverb}{\envLogoFormat}% + \EndAccSupp{}% + }% + }% =<< +\protected\def\envLogoFormat% >>= + {% + \begingroup + \normalfont\rmfamily\bfseries + \textcolor{enverbgrey}{en\kern-0.045em v}\kern-.485em + \textcolor{enverbred}{v\kern-0.045em erb}% + \endgroup + }% =<< |