Re: 連分数

名前: misc
日時: 2003-12-24 00:57:25
IPアドレス: 220.214.18.*

>>24449 確かに無造作に \vecnter を使うのは安直でした. 今度はどうでしょうか. \DeclareRobustCommand*\CFrac[2]{% \mathinner{\mathchoice {\@CFrac\textstyle\textfont{4}{#1}{#2}}% {\@CFrac\scriptstyle\textfont{}{#1}{#2}}% {\@CFrac\scriptscriptstyle\scriptfont{}{#1}{#2}}% {\@CFrac\scriptscriptstyle\scriptscriptfont{}{#1}{#2}}}} \def\@CFrac#1#2#3#4#5{% {\dimen\tw@\fontdimen8#23\relax \dimen\tw@#3\dimen\tw@ \setbox\z@\hbox{\m@th$#1\;{#4}\;\mathstrut$}% \@tempdima\dp\z@ \advance\@tempdima\dimen\tw@ \setbox\tw@\hbox{\m@th$#1\;{#5}\;\mathstrut$}% \@tempdimb\ht\tw@ \advance\@tempdimb\dimen\tw@ \dimen@ \ifdim\wd\z@>\wd\tw@ \wd\z@ \else \wd\tw@ \fi \setbox\z@\hbox to\dimen@{% \hss\unhbox\z@\hss \vrule \vrule\@width\z@\@depth\@tempdima}% \setbox\tw@\hbox to\dimen@{% \vrule\@width\z@\@height\@tempdimb \vrule \hss\unhbox\tw@\hss}% \dimen\tw@\fontdimen22#22\relax \advance\dimen\tw@\ht\z@ \advance\dimen\tw@\dp\z@ \advance\dimen\tw@ .2\p@ \setbox\z@\vbox{\box\z@ \hrule \box\tw@}% \advance\dimen\tw@-\ht\z@ \raise\dimen\tw@\box\z@}}

この書き込みへの返事:

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