名前: S 日時: 2011-08-08 14:00:02 IPアドレス: 211.12.18.*
>>56103 コマンドが何ものであるのか、その定義をサッと確認したいときには、 texdef (http://www.ctan.org/pkg/texdef)が便利です。 実行例 $ latexdef DeclareMathSymbol \DeclareMathSymbol: macro:->\@latex@error {Can be used only in preamble}\@eha (in preamble) \DeclareMathSymbol: macro:#1#2#3#4->\expandafter \in@ \csname sym#3\expandafter \endcsname \expandafter {\group@list }\ifin@ \begingroup \count \z@ =#4\relax \count \tw@ \count \z@ \divide \count \z@ \sixt@@n \count@ \count \z@ \multiply \count@ \sixt@@n \advance \count \tw@ -\count@ \if \relax \noexpand #1\edef \reserved@a {\noexpand \in@ {\string \mathchar }{\meaning #1}}\reserved@a \ifin@ \expandafter \set@mathsymbol \csname sym#3\endcsname #1#2{\hexnumber@ {\count \z@ }\hexnumber@ {\count \tw@ }}\@font@info {Redeclaring math symbol \string #1}\else \expandafter \ifx \csname \expandafter \@gobble \string #1\endcsname \relax \expandafter \set@mathsymbol \csname sym#3\endcsname #1#2{\hexnumber@ {\count \z@ }\hexnumber@ {\count \tw@ }}\else \@latex@error {Command `\string #1' already defined}\@eha \fi \fi \else \expandafter \set@mathchar \csname sym#3\endcsname #1#2 {\hexnumber@ {\count \z@ }\hexnumber@ {\count \tw@ }}\fi \endgroup \else \@latex@error {Symbol font `#3' is not defined}\@eha \fi
この書き込みへの返事: