Re: 定義済みのコマンドの内容

名前: 北見 けん
日時: 2004-09-14 22:16:06
IPアドレス: 211.128.71.*

>>31469 > でもって、LaTeX2e を使い始めた頃に \typeout{\meaning\LaTeX} とやって > わけがわからず悩んだりした苦い思い出が‥‥。 おおっ。私も私も! > これは思いつかなかったです。お見事! トノさんにほめられるとは鼻高々なので、 調子に乗って \OT1\textdollar に挑戦してみました。ご笑覧ください。 元請けマクロから探りを入れて、最後に目標に辿り着きます。 *\show\textdollar > \textdollar=macro: ->\OT1-cmd \textdollar \OT1\textdollar . <*> \show\textdollar ? I \expandafter\show\textdollar > \OT1-cmd=macro: #1->\ifx \protect \@typeset@protect \@inmathwarn #1\else \noexpand #1\expandaft er \@gobble \fi . \textdollar ->\OT1-cmd \textdollar \OT1\textdollar <*> \show\textdollar ? I \show % 疑心暗鬼に駆られて真ん中のやつにも探りを入れてみる > \textdollar=macro: ->\OT1-cmd \textdollar \OT1\textdollar . \textdollar ->\OT1-cmd \textdollar \OT1\textdollar <*> \show\textdollar ? I \show > \OT1\textdollar=\long macro: ->\hmode@bgroup \ifdim \fontdimen \@ne \font >\z@ \slshape \else \upshape \fi \ char `\$\egroup . \textdollar ...T1-cmd \textdollar \OT1\textdollar <*> \show\textdollar ? # 挑戦というほどでもなかったかな... # \showcs/OT1\textdollar/ のほうが簡単だし...

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)