発言者: 田中徹
発言日: 2007 06/14 23:22
発言元: 218.110.30.157
この発言は解決策ではありません。
No.6156 の回答を考えていたとき、
いつもの通りお節介モードに突入し
「25文字幅のboxを作るときは...」などと
言及しようとしていました。
No.6157 の tDB さんの発言で当初の問題は解決したと思いますが
これから生じるかもしれない混乱を避けるため発言させていただきました。
# そう思っているのはあなただけでしょうという突っ込みは甘受いたします。
皆様の環境ではいかがでしょうか。
当初 minipage 環境の横幅を 25zw としましたが
余白分が必要だということで + ??pt と適当な値を設定しました。
その後 +2\fboxsep が適正だろう(さらに罫線分が必要か??)
と判断しソースを書いてみました。
さらに 1zw に満たない長さの変更があったときの挙動を確認するため
+3\fboxsep, +4\fboxsep .. を試したところ
\parindent が 1zw のとき 段落の最上行または最下行が 1文字引き出されます。
ソース 例 2, 3
この現象は \parindent が 2zw のときには起きません。
ソース例 5, 6
以上ご報告まで
検証ソース
\documentclass{jarticle}
\usepackage{emathPb}
\begin{document}
\begin{minipage}{25zw+2\fboxsep}%
\begin{enumrectbox}[rectboxparindent=1zw]%
\repeatstr{あ}{100}
\end{enumrectbox}
\end{minipage}
\begin{minipage}{25zw+3\fboxsep}%
\begin{enumrectbox}[rectboxparindent=1zw]%
\repeatstr{あ}{100}
\end{enumrectbox}
\end{minipage}
\begin{minipage}{25zw+4\fboxsep}%
\begin{enumrectbox}[rectboxparindent=1zw]%
\repeatstr{あ}{100}
\end{enumrectbox}
\end{minipage}
\begin{minipage}{25zw+2\fboxsep}%
\begin{enumrectbox}[rectboxparindent=2zw]%
\repeatstr{あ}{100}
\end{enumrectbox}
\end{minipage}
\begin{minipage}{25zw+3\fboxsep}%
\begin{enumrectbox}[rectboxparindent=2zw]%
\repeatstr{あ}{100}
\end{enumrectbox}
\end{minipage}
\begin{minipage}{25zw+4\fboxsep}%
\begin{enumrectbox}[rectboxparindent=2zw]%
\repeatstr{あ}{100}
\end{enumrectbox}
\end{minipage}
\end{document}
▼関連発言
│
└◆6156:enumrectbox環境で段落の字下げ [みー] 06/14 21:31
└◆6157:Re:enumrectbox環境で段落の字下げ [tDB] 06/14 22:31
└◆6158:Re[2]:enumrectbox環境で段落の字下げ [田中徹] 06/14 23:22
├◆6160:Re[3]:enumrectbox環境で段落の字下げ [みー] 06/15 01:24
└◆6162:Re[3]:enumrectbox環境で段落の字下げ [tDB] 06/15 17:00
└◆6163:Re[4]:enumrectbox環境で段落の字下げ [田中徹] 06/16 21:01
└◆6164:Re[5]:enumrectbox環境で段落の字下げ [みー] 06/18 03:32<-last