summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/base/logos.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/base/logos.opm')
-rw-r--r--macros/luatex/optex/base/logos.opm17
1 files changed, 8 insertions, 9 deletions
diff --git a/macros/luatex/optex/base/logos.opm b/macros/luatex/optex/base/logos.opm
index f7161e8eda..a510a74a30 100644
--- a/macros/luatex/optex/base/logos.opm
+++ b/macros/luatex/optex/base/logos.opm
@@ -1,11 +1,11 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\_codedecl \TeX {Logos TeX, LuaTeX, etc. <2020-02-28>} % preloaded in format
\_doc ----------------------------
- Despite plain \TeX/ each macro for logos ends by \`\ignoreslash`.
- This macro ignores next slash if it is present.
- You can `use \TeX/ like this` for protecting the space following the logo.
+ Despite plain \TeX/ each macro for logos ends by \`\ignoreslash`.
+ This macro ignores the next slash if it is present.
+ You can `use \TeX/ like this` for protecting the space following the logo.
This is visually more comfortable.
The macros \`\TeX`, \`\OpTeX`, \`\LuaTeX`, \`\XeTeX` are defined.
\_cod ----------------------------
@@ -16,14 +16,13 @@
\_protected\_def \_XeTeX {X\_kern-.125em\_phantom E%
\_pdfsave\_rlap{\_pdfscale{-1}{1}\_lower.5ex\_hbox{E}}\_pdfrestore \_kern-.1667em \_TeX}
-\_def\_ignoreslash {\_futurelet\_next \_ignoreslashA}
-\_def\_ignoreslashA {\_ifx\_next/\_ea\_ignoreit\_fi}
+\_def\_ignoreslash {\_isnextchar/\_ignoreit{}}
\_public \TeX \OpTeX \LuaTeX \XeTeX \ignoreslash ;
\_doc -----------------------------
- The \`\_slantcorr` macro expands to slant-correction of current font. It is
- used to shifting A if the \`\LaTeX` logo is in italic.
+ The \`\_slantcorr` macro expands to the slant-correction of the current font. It is
+ used to shifting A if the \`\LaTeX` logo is in italic.
\_cod -----------------------------
\_protected\_def \_LaTeX{\_tmpdim=.42ex L\_kern-.36em \_kern \_slantcorr % slant correction
@@ -45,7 +44,7 @@
\_public \OPmac \CS \csplain ;
\_doc ----------------------------
- The expandable versions of logos used in Outlines needs the expandable
+ The expandable versions of logos used in Outlines need the expandable
\`\ingnslash` (instead of the \^`\ignoreslash`).
\_cod \_fin ----------------------