名前: しっぽ愛好家 日時: 2003-01-17 20:22:29 IPアドレス: 210.230.96.*
>>15314 OT1 エンコーディングと OML エンコーディングの相違を マクロ側で吸収すると,次のようになります. \DeclareMathVersion{chem} \SetSymbolFont{letters}{chem}{OT1}{cmr}{m}{n} \DeclareSymbolFont{varletters}{OML}{cmm}{m}{it} \SetSymbolFont{varletters}{bold}{OML}{cmm}{b}{it} \SetSymbolFont{varletters}{chem}{OML}{cmm}{m}{it} \DeclareMathSymbol{\alpha}{\mathord}{varletters}{"0B} \DeclareMathSymbol{\beta}{\mathord}{varletters}{"0C} \DeclareMathSymbol{\gamma}{\mathord}{varletters}{"0D} \DeclareMathSymbol{\delta}{\mathord}{varletters}{"0E} \DeclareMathSymbol{\epsilon}{\mathord}{varletters}{"0F} \DeclareMathSymbol{\zeta}{\mathord}{varletters}{"10} \DeclareMathSymbol{\eta}{\mathord}{varletters}{"11} \DeclareMathSymbol{\theta}{\mathord}{varletters}{"12} \DeclareMathSymbol{\iota}{\mathord}{varletters}{"13} \DeclareMathSymbol{\kappa}{\mathord}{varletters}{"14} \DeclareMathSymbol{\lambda}{\mathord}{varletters}{"15} \DeclareMathSymbol{\mu}{\mathord}{varletters}{"16} \DeclareMathSymbol{\nu}{\mathord}{varletters}{"17} \DeclareMathSymbol{\xi}{\mathord}{varletters}{"18} \DeclareMathSymbol{\pi}{\mathord}{varletters}{"19} \DeclareMathSymbol{\rho}{\mathord}{varletters}{"1A} \DeclareMathSymbol{\sigma}{\mathord}{varletters}{"1B} \DeclareMathSymbol{\tau}{\mathord}{varletters}{"1C} \DeclareMathSymbol{\upsilon}{\mathord}{varletters}{"1D} \DeclareMathSymbol{\phi}{\mathord}{varletters}{"1E} \DeclareMathSymbol{\chi}{\mathord}{varletters}{"1F} \DeclareMathSymbol{\psi}{\mathord}{varletters}{"20} \DeclareMathSymbol{\omega}{\mathord}{varletters}{"21} \DeclareMathSymbol{\varepsilon}{\mathord}{varletters}{"22} \DeclareMathSymbol{\vartheta}{\mathord}{varletters}{"23} \DeclareMathSymbol{\varpi}{\mathord}{varletters}{"24} \DeclareMathSymbol{\varrho}{\mathord}{varletters}{"25} \DeclareMathSymbol{\varsigma}{\mathord}{varletters}{"26} \DeclareMathSymbol{\varphi}{\mathord}{varletters}{"27} \DeclareMathSymbol{\leftharpoonup} {\mathrel}{varletters}{"28} \DeclareMathSymbol{\leftharpoondown} {\mathrel}{varletters}{"29} \DeclareMathSymbol{\rightharpoonup} {\mathrel}{varletters}{"2A} \DeclareMathSymbol{\rightharpoondown} {\mathrel}{varletters}{"2B} \DeclareMathSymbol{\lhook}{\mathrel}{varletters}{"2C} \DeclareMathSymbol{\rhook}{\mathrel}{varletters}{"2D} \DeclareMathSymbol{\triangleright} {\mathbin}{varletters}{"2E} \DeclareMathSymbol{\triangleleft} {\mathbin}{varletters}{"2F} \DeclareMathSymbol{\ldotp}{\mathpunct}{varletters}{"3A} \DeclareMathSymbol{\star}{\mathbin}{varletters}{"3F} \DeclareMathSymbol{\partial}{\mathord}{varletters}{"40} \DeclareMathSymbol{\flat}{\mathord}{varletters}{"5B} \DeclareMathSymbol{\natural}{\mathord}{varletters}{"5C} \DeclareMathSymbol{\sharp}{\mathord}{varletters}{"5D} \DeclareMathSymbol{\smile}{\mathrel}{varletters}{"5E} \DeclareMathSymbol{\frown}{\mathrel}{varletters}{"5F} \DeclareMathSymbol{\ell}{\mathord}{varletters}{"60} \DeclareMathSymbol{\wp}{\mathord}{varletters}{"7D} \DeclareMathAccent{\vec}{\mathord}{varletters}{"7E} \DeclareMathSymbol{<}{\mathrel}{varletters}{"3C} \DeclareMathSymbol{>}{\mathrel}{varletters}{"3E} %%% 次の 3 個の文字は verletters グループに移動してもよいかもしれません. \DeclareMathSymbol{,}{\mathpunct}{operators}{"2C} \DeclareMathSymbol{.}{\mathord}{operators}{"2E} \DeclareMathSymbol{/}{\mathord}{operators}{"2F} \DeclareMathSymbol{\imath}{\mathord}{varletters}{"7B} \DeclareMathSymbol{\jmath}{\mathord}{varletters}{"7C} %%% 仮想フォントを作れば…という方法については,他の人にお任せします.
この書き込みへの返事: