発言者: tDB
発言日: 2004 08/09 21:28
発言元: ntchba094076.chba.nt.ftth.ppp.infoweb.ne.jp
> \keytop{2次関数~$y=\bunsuu{1}{2}(x-p)^2+q$~のグラフ}
これは,\keytop の乱用ではないでしょうか。
代案です。
ex1.tex
fancybox.sty の \ovalbox を使用します。
ex2.tex
itembbox.sty v 0.18
http://emath.s40.xrea.com/x/test/I18sty.lzh
では,ascmac.sty の \keytop を \asckeytop として保存しました。
ex3.tex
既に作成済みの文書で,\keytop を今までの仕様で使いたい場合は
\begin{document}の直前で
\let\keytop\asckeytop
を宣言すれば,\keytop は旧仕様となります。
ただし,ex2, ex3 の枠線が乱れることは,今までとおりです。
これを修正する予定はありません。
% --- ex1.tex ----------------------
\documentclass[a4j]{jarticle}
\usepackage{fancybox}
\usepackage{emath}
\usepackage{itembbox}
\begin{document}
\begin{itemsquarebox}[r]{\ovalbox{2次関数~$y=\bunsuu{1}{2}(x-p)^2+q$~のグラフ}}
ああああああああああああ
ああああああああああああ
ああああああああああああ
\end{itemsquarebox}
\end{document}
% --- ex2.tex ---------------------
\documentclass[a4j]{jarticle}
\usepackage{emath}
\usepackage{itembbox}
\begin{document}
\begin{itemsquarebox}[r]{\asckeytop{2次関数~$y=\bunsuu{1}{2}(x-p)^2+q$~のグラフ}}
ああああああああああああ
ああああああああああああ
ああああああああああああ
\end{itemsquarebox}
\end{document}
% --- ex3.tex ---------------------
\documentclass[a4j]{jarticle}
\usepackage{emath}
\usepackage{itembbox}
\let\keytop\asckeytop
\begin{document}
\begin{itemsquarebox}[r]{\keytop{2次関数~$y=\bunsuu{1}{2}(x-p)^2+q$~のグラフ}}
ああああああああああああ
ああああああああああああ
ああああああああああああ
\end{itemsquarebox}
\end{document}
▼関連発言
│
└◆1558:itembbox.sty [2004/08/05 v 0.17]について [pmet] 08/09 20:09
└◆1559:Re:itembbox.sty [2004/08/05 v 0.17]について [tDB] 08/09 21:28
├◆1560:Re[2]:itembbox.sty [2004/08/05 v 0.17]について [pmet] 08/09 22:41
└◆1561:itembbox.sty [2004/08/10 v 0.19] [tDB] 08/10 14:18
└◆1562:Re:itembbox.sty [2004/08/10 v 0.19] [pmet] 08/11 03:08<-last