diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-14 23:19:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-14 23:19:42 +0000 |
commit | 156a2b3e555456a90baac12411ebd5fcc7b9ef02 (patch) | |
tree | 3cf17f72769c1e200486df29e8d3b593feee7637 /Master/texmf-dist/tex/latex/gmutils/gmlogos.sty | |
parent | 000e5fcea9de9a48217705874f01a84133ddb70d (diff) |
gmutils (14oct11)
git-svn-id: svn://tug.org/texlive/trunk@24287 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gmutils/gmlogos.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/gmutils/gmlogos.sty | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/gmutils/gmlogos.sty b/Master/texmf-dist/tex/latex/gmutils/gmlogos.sty index 40034f4fe0d..107ccfd7855 100644 --- a/Master/texmf-dist/tex/latex/gmutils/gmlogos.sty +++ b/Master/texmf-dist/tex/latex/gmutils/gmlogos.sty @@ -2,7 +2,7 @@ %% \iffalse ^^A we skip the debug setting \IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{} %% \fi -%% ^^A $Id: TheUltimateMaster.gmd,v 0.297 2011/02/02 18:13:11 natror Exp natror $ +%% ^^A $Id: TheUltimateMaster.gmd,v 0.352 2011/10/12 15:19:42 natror Exp natror $ %% This is file “gmlogos.sty” generated with the DocStrip utility. %% %% @@ -13,7 +13,7 @@ %% %% Copyright © %% by Grzegorz ‘Natror’ Murzynowski -%% natror (at) o2 (dot) pl +%% natror (at) gmail (dot) com %% %% This program is subject to the LaTeX Project Public License. %% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html @@ -23,13 +23,13 @@ %% %% %% -%% For the documentation please refer to the file(s) +%% For documentation please refer to the file(s) %% gmutils.{gmd,pdf}. %% %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{gmlogos} - [2010/04/09 v0.993 TeX-related logos (GM)] + [2011/05/05 v0.996 TeX-related logos (GM)] %% @@ -46,6 +46,16 @@ \Store@Macro\TeX \AtBeginDocument{\Restore@Macro\TeX} +\lpdef\EofTeX +#1#2% whether put kerns before and after »E« respectively. +#3% we do nothing with it (maybe unbrace) but we want to gobble + % possible space. +{\if1#1\relax \kern-.1667em \fi + \lower.5ex\hbox{E}% + \if1#2\relax \kern-.125em \fi + #3 +} + \newcommand*\DeclareLogo[3][\relax]{% \begin{enumargs*} % \opt is for non-\LaTeX\ spelling and will be used in the % \acro{PD1} encoding (to make pdf bookmarks); @@ -90,7 +100,8 @@ \kern-\the\count\tw@ sp\relax \fi}% \gmlogos@hyphen - \TeX} + \TeX +} \DeclareLogo\LaTeXe{\mbox{\m@th \if b\expandafter\@car\f@series\@nil\boldmath\fi @@ -151,12 +162,15 @@ \DeclareLogo\pdfTeX{pdf\gmlogos@hyphen\TeX} \DeclareLogo\pdfLaTeX{pdf\gmlogos@hyphen\LaTeX} + \gmu@ifundefined{XeTeX}{% \DeclareLogo\XeTeX{X\kern-.125em\relax \gmu@ifundefined{reflectbox}{% \lower.5ex\hbox{E}\kern-.1667em\relax}{% \lower.5ex\hbox{\reflectbox{E}}\kern-.1667em\relax}% - \TeX}}{} + \TeX + }% +}{} \gmu@ifundefined{XeLaTeX}{% \DeclareLogo\XeLaTeX{X\kern-.125em\relax @@ -203,6 +217,8 @@ \DeclareLogo[LuaTeX]\LuaTeX{\textsc{Lua}\gmlogos@hyphen\TeX} +\DeclareLogo [ConTeXt]\ConTeXt{Con\gmlogos@hyphen\TeX t} + \emptify\gmlogos@hyphen \def\HyphenateLogo#1{% |