From: MORIOKA Tomohiko Date: Thu, 22 Jan 2009 18:38:31 +0000 (+0000) Subject: (\umacron): Add setting for T1 encoding. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dcd45a501df9c137377a2af97601451e28a58e7;p=chise%2Fuptex-chise.git (\umacron): Add setting for T1 encoding. (\CircGrave): Likewise. (\CircAcute): Likewise. (\CircMacron): Likewise. (\CircTilde): Likewise. (\CircHook): Likewise. (\Circudot): Likewise. (\HornAcute): Likewise. (\HornTilde): Likewise. --- diff --git a/uplatex/extaccent.sty b/uplatex/extaccent.sty index 8e16706..ff8e441 100644 --- a/uplatex/extaccent.sty +++ b/uplatex/extaccent.sty @@ -47,6 +47,19 @@ \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}}