(\umacron): Add setting for T1 encoding.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 22 Jan 2009 18:38:31 +0000 (18:38 +0000)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 22 Jan 2009 18:38:31 +0000 (18:38 +0000)
(\CircGrave): Likewise.
(\CircAcute): Likewise.
(\CircMacron): Likewise.
(\CircTilde): Likewise.
(\CircHook): Likewise.
(\Circudot): Likewise.
(\HornAcute): Likewise.
(\HornTilde): Likewise.

uplatex/extaccent.sty

index 8e16706..ff8e441 100644 (file)
 \DeclareTextCommand{\udot}{T1}[1]{%
    {\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
      \vbox to.2ex{\hbox{.}\vss}\hidewidth}}}
+\DeclareTextCommand{\umacron}{T1}[1]{%
+   {\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
+     \vbox to.3ex{\hbox{-}\vss}\hidewidth}}}
+
+\DeclareTextCommand{\CircGrave}{T1}[1]{\DoubleAccent{18}{94}{.4ex}{.45ex}{#1}}
+\DeclareTextCommand{\CircAcute}{T1}[1]{\DoubleAccent{19}{94}{.4ex}{.45ex}{#1}}
+\DeclareTextCommand{\CircMacron}{T1}[1]{\DoubleAccent{22}{94}{.4ex}{.45ex}{#1}}
+\DeclareTextCommand{\CircTilde}{T1}[1]{\DoubleAccent{126}{94}{.4ex}{.45ex}{#1}}
+\DeclareTextCommand{\CircHook}{T1}[1]{\DoubleAccent{39}{94}{.4ex}{.45ex}{#1}}
+\DeclareTextCommand{\Circudot}{T1}[1]{\DoubleAccent{46}{94}{.4ex}{-.2ex}{#1}}
+
+\DeclareTextCommand{\HornAcute}{T1}[1]{\'{#1}\hspace*{-0.2em}'}
+\DeclareTextCommand{\HornTilde}{T1}[1]{\~{#1}\hspace*{-0.2em}'}
 
 %%% For OT1 encoding %%%
 \DeclareTextCommand{\MacAcute}{OT1}[1]{\DoubleAccent{19}{22}{.4ex}{.45ex}{#1}}