[tex-eplain] widering
Gérald Tenenbaum
gerald.ten at free.fr
Thu Nov 17 00:04:34 CET 2016
Hello again,
Sorry for my previous message. I have been able to install the yhcmex font
and now get no error in typesetting but the wideparen does not appear in the
output, only the small circle, as shown in the attached screen capture.
Many thanks for your help and kindest regards,
Gérald
Gérald Tenenbaum
Professeur
Institut Élie Cartan
Université de Lorraine
BP 70239
54506 Vand¦uvre lès Nancy Cedex
France
Téléphone : +33(0) 383 68 46 02
Télécopie : +33(0) 383 68 45 96
Courriel : gerald.tenenbaum at univ-lorraine.fr
............................................................................
.....
De : "Daniel H. Luecking" <luecking at uark.edu>
Date : mercredi 16 novembre 2016 21:03
À : Gérald Tenenbaum <gerald.ten at free.fr>, "tex-eplain at tug.org"
<tex-eplain at tug.org>
Objet : Re: widering
I am going to assume that you want the \widering from
yhmath.sty.
This was a bit tough, mostly because there is a bug
in its definition in yhmath.sty. But here goes:
\input eplain
% load the yh font for \wideparen
\font\yhten =yhcmex10
\font\yhseven=yhcmex10 at 7pt
\font\yhfive =yhcmex10 at 5pt
% set up the math family for using it
\newfam\yhfam
\textfont\yhfam\yhten
\scriptfont\yhfam\yhseven
\scriptscriptfont\yhfam\yhfive
\def\yhex{\fam\yhfam}
% determine the hex digit for this new math family
\edef\yhhex{\ifcase\yhfam 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or 8\or
9\or A\or B\or C\or D\or E\or F\fi}
\def\wideparen{\mathaccent"0\yhhex F3}
\def\ring{\mathaccent"17}
\def\widering#1{\ring{\wideparen{#1}}}
Test: $\widering{ABC}$.
\bye
Oddly, cmr contains the ring accent, but plain TeX doesn't
have a command to access it directly (just \aa for the accent
over an "a").
Dan
Daniel H. Luecking [luecking at uark.edu]
Department of Mathematical Sciences
1 University of Arkansas
Fayetteville, AR, USA 72701-1201
From: tex-eplain <tex-eplain-bounces at tug.org> on behalf of Gérald Tenenbaum
<gerald.ten at free.fr>
Sent: Tuesday, November 15, 2016 5:10 PM
To: tex-eplain at tug.org
Subject: [tex-eplain] widering
Hello,
How can one include the LaTeX command \widering into Eplain?
Many thanks for help.
Regards,
Gérald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-eplain/attachments/20161117/fb33f81f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-result.png
Type: image/png
Size: 8359 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-eplain/attachments/20161117/fb33f81f/attachment.png>
More information about the tex-eplain
mailing list