emath BBS

新規発言一覧最新記事過去一覧検索HOME

スレッド

└◇9461:
mawarikomi環境と改ページ [st] 11/10 20:42

 └◇9462:Re:mawarikomi環境と改ページ [tDB] 11/10 22:24
  └◇9468:Re[2]:mawarikomi環境と改ページ [st] 11/15 11:30<-last


9461● mawarikomi環境と改ページ[ st ] 2010 11/10 20:42
次の例において、座標平面が2ページ目の「サブサブセクション」の直後でなく3ページ
目に送られてしまいます。何故でしょうか?

%test.tex----------------------------------------------------------------------
\documentclass{jarticle}
\usepackage{emathPh}
\usepackage{emathMw}

\begin{document}

\repeatstr{a $\\$}{37} %\newpage

\subsubsection*{サブサブセクション}

\begin{mawarikomi}{}{
\begin{zahyou}[ul=20pt](-5,5)(-5,5)
\end{zahyou}
}
あ
\end{mawarikomi}
\mawarikomiowari

\end{document}
%------------------------------------------------------------------------------
%test.log----------------------------------------------------------------------
This is pTeXk, Version 3.1415926-p3.1.11 (sjis) (Web2C 2010) (format=platex 2010.7.21)  10 NOV 2010 20:42
 \write18 enabled.
 %&-line parsing enabled.
**test
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2009/09/24> patch level 0)
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, ukenglish, ba
sque, bulgarian, coptic, welsh, czech, slovak, german, ngerman, danish, esperan
to, spanish, catalan, galician, estonian, farsi, finnish, french, irish, greek,
 monogreek, ancientgreek, croatian, hungarian, interlingua, ibycus, bahasa, ice
landic, italian, latin, mongolian, dutch, norsk, polish, portuguese, pinyin, ro
manian, russian, slovenian, samin, uppersorbian, serbian, swedish, turkish, ukr
ainian, dumylang, nohyphenation, loaded.
(c:/usr/local/share/texmf/tex/platex/base/jarticle.cls
Document Class: jarticle 2006/06/27 v1.6 Standard pLaTeX class
\c@@paper=\count81
(c:/usr/local/share/texmf/tex/platex/base/jsize10.clo
File: jsize10.clo 2006/06/27 v1.6 Standard pLaTeX file (size option)
)
\c@part=\count82
\c@section=\count83
\c@subsection=\count84
\c@subsubsection=\count85
\c@paragraph=\count86
\c@subparagraph=\count87
\c@figure=\count88
\c@table=\count89
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\symmincho=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `mincho' in version `bold'
(Font)                  JY1/mc/m/n --> JY1/gt/m/n on input line 601.
\toclineskip=\dimen118
\@lnumwidth=\dimen119
\bibindent=\dimen120
\heisei=\count90
)
(/musixtexmf/tex/platex/emath/emathPh.sty
Package: emathPh 2010/11/06 v 3.95

(c:/usr/local/share/texmf/tex/jlatex209/tools/epic.sty
Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
\@@multicnt=\count91
\d@lta=\count92
\@delta=\dimen121
\@@delta=\dimen122
\@gridcnt=\count93
\@joinkind=\count94
\@dotgap=\dimen123
\@ddotgap=\dimen124
\@x@diff=\count95
\@y@diff=\count96
\x@diff=\dimen125
\y@diff=\dimen126
\@dotbox=\box41
\num@segments=\count97
\num@segmentsi=\count98
\@datafile=\read1
) (/musixtexmf/tex/platex/emath_other/eepic.sty
Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999
\@gphlinewidth=\count99
\@eepictcnt=\count100
\@tempdimc=\dimen127
\maxovaldiam=\dimen128
\@filltype=\box42
)
load eepic
(/musixtexmf/tex/platex/emath/emath.sty
\EM@boxa=\box43
\bsityuubox=\box44
Package: emath 2010/10/15 2.33

(/musixtexmf/tex/platex/emath/emath2e.sty
(c:/usr/local/share/texmf/tex/latex/amslatex/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43

For additional information on amsmath, use the `?' option.
(c:/usr/local/share/texmf/tex/latex/amslatex/amstext.sty
Package: amstext 2000/06/29 v2.01

(c:/usr/local/share/texmf/tex/latex/amslatex/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks15
\ex@=\dimen129
))
(c:/usr/local/share/texmf/tex/latex/amslatex/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen130
)
(c:/usr/local/share/texmf/tex/latex/amslatex/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count101
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count102
\leftroot@=\count103
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count104
\DOTSCASE@=\count105
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box45
\strutbox@=\box46
\big@size=\dimen131
LaTeX Font Info:    Redeclaring font encoding OML on input line 567.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 568.
\macc@depth=\count106
\c@MaxMatrixCols=\count107
\dotsspace@=\muskip10
\c@parentequation=\count108
\dspbrk@lvl=\count109
\tag@help=\toks16
\row@=\count110
\column@=\count111
\maxfields@=\count112
\andhelp@=\toks17
\eqnshift@=\dimen132
\alignsep@=\dimen133
\tagshift@=\dimen134
\tagwidth@=\dimen135
\totwidth@=\dimen136
\lineht@=\dimen137
\@envbody=\toks18
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks19
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(c:/usr/local/share/texmf/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2009/06/22 v3.00

(c:/usr/local/share/texmf/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup5
\symAMSb=\mathgroup6
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 96.
))
(/musixtexmf/tex/platex/emath/emathC.sty
Package: emathC 2010/10/16 v0.75

(c:/usr/local/share/texmf/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count113
\calc@Bcount=\count114
\calc@Adimen=\dimen138
\calc@Bdimen=\dimen139
\calc@Askip=\skip46
\calc@Bskip=\skip47
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count115
\calc@Cskip=\skip48
)
(c:/usr/local/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks20
)
(c:/usr/local/share/texmf/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
\c@tempcnta=\count116
\templa=\dimen140
\emath@toks@=\toks21
\Sett@width=\dimen141
)
(/musixtexmf/tex/platex/emath/emathE.sty
Package: emathE 2010/07/18 v1.07 拡張enumerate

(/musixtexmf/tex/platex/emath/emathEc.sty
Package: emathEc 2010/03/21 v0.10

(/musixtexmf/tex/platex/emath/emathK.sty
Package: emathK 2010/08/15 0.13
)
(c:/usr/local/share/texmf/tex/latex/tools/enumerate.sty
Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
\@enLab=\toks22
)
(/musixtexmf/tex/platex/emath/jquote.sty
Package: jquote 2009/10/21 v0.11
)
\kizami@ti=\count117
\syoki@ti=\count118
)
\c@Enumi=\count119
\c@Enumii=\count120
\c@Enumiii=\count121
\c@Enumiv=\count122
\tkn@Enum@ang=\toks23
\tkn@Enum@opt=\toks24
\emtokena=\toks25
))
\c@marginpar=\count123
\templb=\dimen142
\templc=\dimen143
\tempboxa=\box47
\tempboxb=\box48
\EMc@hizyosuu=\count124
\EMc@syou=\count125
\EMc@zyo@amari=\count126
\GCM=\count127
\zyo@@c=\count128
\hizyo@@c=\count129
\wari@@cnt=\count130
\wari@@cmax=\count131
\gyou@@c=\count132
\hidari@@p=\count133
\migi@@p=\count134
LaTeX Info: Redefining \to on input line 1948.
\renritu@hidariyohaku=\dimen144
LaTeX Info: Redefining \mathstrut on input line 2999.
LaTeX Font Info:    Try loading font information for U+msa on input line 3052.

(c:/usr/local/share/texmf/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2009/06/22 v3.00 AMS symbols A
)
LaTeX Font Info:    Try loading font information for U+msb on input line 3052.

(c:/usr/local/share/texmf/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2009/06/22 v3.00 AMS symbols B
)
\@ltxlinelen=\dimen145
\fileophndl=\read2
)
(c:/usr/local/share/texmf/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
\@tempdimd=\dimen146
\henko@box=\box49
\DHS@seq=\toks26
\yasen@toks=\toks27
\tenretu@namae=\toks28
\namae@opt=\toks29
\@tmpla=\dimen147
\c@enumKT=\count135
LaTeX Info: Redefining \Deruta on input line 10764.
)
(/musixtexmf/tex/platex/emath/emathMw.sty
Package: emathMw 2010/09/08 v0.33 回り込み
\@mawarikomisep=\skip49
\mawarikomisep=\skip50
\mawarikomikankaku=\skip51
\EMWR@box=\box50
\EMWR@boxi=\box51
\EMWR@boxii=\box52
\eitemindent=\skip52
\zu@width=\skip53
\zuitemwidth=\skip54
) (./test.aux)
\openout1 = `test.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for JY1/mc/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for JT1/mc/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Font shape `JT1/mc/bx/n' in size <10> not available
(Font)              Font shape `JT1/gt/m/n' tried instead on input line 9.
LaTeX Font Info:    Font shape `JY1/mc/bx/n' in size <10> not available
(Font)              Font shape `JY1/gt/m/n' tried instead on input line 9.

mawarikomi:図幅=203.33333pt
[1

] [2] [3] (./test.aux) ) 
Here is how much of TeX's memory you used:
 6390 strings out of 494457
 63605 string characters out of 3173175
 188577 words of memory out of 1500000
 9737 multiletter control sequences out of 15000+200000
 9518 words of font info for 40 fonts, out of 3000000 for 9000
 678 hyphenation exceptions out of 8191
 50i,8n,65p,314b,745s stack positions out of 5000i,500n,5000p,500000b,5000s

Output written on test.dvi (3 pages, 1160 bytes).
コメントを書く(引用) | スレッド一覧


9462● Re:mawarikomi環境と改ページ[ tDB ] 2010 11/10 22:24
LaTeX においては,図の配置はフロートにするのが原則です。
mawarikomi環境はこれに逆らっています。
mawarikomi環境をページの境目に配置すると挙動不審となります。

お示しの例では,mawarikomi環境はページの境目にさしかかると判定されましたので,
次ページに送る処理がなされます。
ところが,TeX は,\subsection も次ページに送ると判断したようです。。
けれども,mawarikomi環境が次ページに送られる判断は修正されません。
(これを修正する手段は見つかりません。)
というのがお示しのリストの顛末ということになります。

どうしろとおっしゃるので?

私にいわせれば,mawarikomi環境をページの境目に配置するのが間違い
ということになります。

対応策ですか?

0) mawarikomi環境は,フロートではない。
  ページの境目にさしかかるような使い方は出来ない,
  mawairkomi環境なんか使うな。
  そんなレイアウトをするな,
 です。

ケースバイケースの苦し紛れの手段:

1) 適当なところ(今の例では,\subsection の前)でページ替えをする。

2) mawarikomi ではなく,Pmawarikomi を使う(逆の副作用が出ます)
コメントを書く(引用) | スレッド一覧


9468● Re[2]:mawarikomi環境と改ページ[ st ] 2010 11/15 11:30
固定型と浮動型が相容れないということなのでしょうか。

今回たまたまページ境に差し掛かる場面に例に遭遇したのですが、ケースバイケース
で対処します。

ご回答ありがとうございました。
コメントを書く(引用) | スレッド一覧

CGIROOM