[texhax] \c using ec fonts

David Carlisle d.p.carlisle at gmail.com
Sat Feb 20 22:29:06 CET 2016


\c being an under-accent is defined in latex via \DeclareTextCommand  but
the code (presumably from some on c.t.t. answer?) defines that as

  \def\DeclareTextCommand#1#2{\xdtcmd}%not today

which isn't a good omen.

Just define \c to be the T1  ç  if #1 is c or constructed under accent
otherwise

\input musixtex
\input musixec

\def\c#1{\leavevmode
     \ifx c#1\char231\else\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
     \else{\ooalign{\unhbox\z@\crcr
        \hidewidth\char11\hidewidth}}\fi\fi}


\c{c}\par
\end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20160220/23d0eab6/attachment-0001.html>


More information about the texhax mailing list