[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Added `\Hwithstroke` and `\hwithstroke` (8894d85)

GitHub noreply at github.com
Mon Nov 19 23:06:12 CET 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/8894d859a6eff75b4a035027b280fda6dba7b726

>---------------------------------------------------------------

commit 8894d859a6eff75b4a035027b280fda6dba7b726
Author: Enrico Gregorio <enrico.gregorio at univr.it>
Date:   Mon Nov 19 23:06:12 2018 +0100

    Added `\Hwithstroke` and `\hwithstroke`
    
    After discussion in https://tex.stackexchange.com/a/460116/4427 and team list


>---------------------------------------------------------------

8894d859a6eff75b4a035027b280fda6dba7b726
 base/ltoutenc.dtx |   49 ++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 48 insertions(+), 1 deletion(-)

diff --git a/base/ltoutenc.dtx b/base/ltoutenc.dtx
index cdad104..1ea54a0 100644
--- a/base/ltoutenc.dtx
+++ b/base/ltoutenc.dtx
@@ -45,7 +45,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltoutenc.dtx}
-             [2017/04/05 v2.0i LaTeX Kernel (font encodings)]
+             [2018/11/18 v2.0k LaTeX Kernel (font encodings)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltoutenc.dtx}
@@ -1886,6 +1886,46 @@
    {\%\char 24\char 24 }  % space or `relax as delimiter?
 %    \end{macrocode}
 %
+%    For Maltese, \cs{Hcrossbeam} and \cs{hcrossbeam} are needed.
+%
+% \changes{v2.0k}{2018/11/19}
+%    {Added \cs{Hwithstroke} and \cs{hwithstroke}}
+%
+%    \begin{macrocode}
+\DeclareTextCommand{\Hwithstroke}{T1}
+   {%
+    \hmode at bgroup
+    \vphantom{H}%
+    \sbox\z@{H}%
+    \ooalign{%
+      H\cr
+      \hidewidth
+      \vrule
+        height \dimexpr 0.7\ht\z at +0.1ex\relax
+        depth  -0.7\ht\z@
+        width  0.8\wd\z@
+      \hidewidth\cr
+    }%
+    \egroup
+   }
+\DeclareTextCommand{\hwithstroke}{T1}
+   {%
+    \hmode at bgroup
+    \vphantom{h}%
+    \sbox\z@{h}%
+    \ooalign{%
+      h\cr
+      \kern0.075\wd\z@
+      \vrule
+        height \dimexpr 0.7\ht\z at +0.1ex\relax
+        depth  -0.7\ht\z@
+        width  0.4\wd\z@
+      \hidewidth\cr
+    }%
+    \egroup
+   }
+%    \end{macrocode}
+%
 %    Declare the text symbols.
 % \changes{v1.7t}{1995/11/29}{Added \cs{textasciicircum},
 %    \cs{textasciitilde}, \cs{textbackslash}, \cs{textbar},
@@ -3013,7 +3053,14 @@
 \DeclareTextSymbol{\textrightarrow}      \UnicodeEncodingName{"2192}
 \DeclareTextSymbol{\textdownarrow}       \UnicodeEncodingName{"2193}
 \DeclareTextSymbol{\textminus}           \UnicodeEncodingName{"2212}
+
 %    \end{macrocode}
+%  \changes{v2.0k}{2018/11/18}{Provide \cs{Hwithstroke} and \cs{hwithstroke}}
+%    \begin{macrocode}
+\DeclareTextSymbol{\Hwithstroke}         \UnicodeEncodingName{"0126}
+\DeclareTextSymbol{\hwithstroke}         \UnicodeEncodingName{"0127}
+%    \end{macrocode}
+%    
 % Not all fonts have U+2217 but using U+002A requires some adjustment.
 %    \begin{macrocode}
 \DeclareTextCommand{\textasteriskcentered}\UnicodeEncodingName{%





More information about the latex3-commits mailing list