使用几何包时出现“尺寸太大”

使用几何包时出现“尺寸太大”

因此,我遇到了一个有趣的问题,我正尝试排版一个非常(非常非常......)大的方程式。基本上,通过 pdflatex 处理文件会得到:

    This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX) (preloaded format=pdflatex)
    restricted \write18 enabled.
    entering extended mode
    (./test5.tex
    LaTeX2e <2014/05/01>
    Babel <3.9k> and hyphenation patterns for 79 languages loaded.
    (c:/texlive/2014/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    (c:/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
    (c:/texlive/2014/texmf-dist/tex/latex/geometry/geometry.sty
    (c:/texlive/2014/texmf-dist/tex/latex/graphics/keyval.sty)
    (c:/texlive/2014/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
    (c:/texlive/2014/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
    (c:/texlive/2014/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
    (c:/texlive/2014/texmf-dist/tex/latex/amsmath/amsmath.sty
    For additional information on amsmath, use the `?' option.
    (c:/texlive/2014/texmf-dist/tex/latex/amsmath/amstext.sty
    (c:/texlive/2014/texmf-dist/tex/latex/amsmath/amsgen.sty))
    (c:/texlive/2014/texmf-dist/tex/latex/amsmath/amsbsy.sty)
    (c:/texlive/2014/texmf-dist/tex/latex/amsmath/amsopn.sty))
    (c:/texlive/2014/texmf-dist/tex/latex/amsfonts/amssymb.sty
    (c:/texlive/2014/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (./test5.aux)
    *geometry* driver: auto-detecting
    *geometry* detected driver: pdftex
    (c:/texlive/2014/texmf-dist/tex/latex/amsfonts/umsa.fd)
    (c:/texlive/2014/texmf-dist/tex/latex/amsfonts/umsb.fd)
    Overfull \hbox (8381.87427pt too wide) detected at line 110
    [] \OMS/cmsy/m/n/10 ^^@ [] [] ^^@ [] [] ^^@ [] [] ^^@ [] []

    Overfull \hbox (8377.93834pt too wide) detected at line 114
    \OT1/cmr/m/n/10 0 \OMS/cmsy/m/n/10 ^^@ [] [] ^^@ [] [] ^^@ [] [] ^^@ [] []

    Overfull \hbox (8331.86671pt too wide) detected at line 118
    \OT1/cmr/m/n/10 0 \OMS/cmsy/m/n/10 ^^@ [] [] ^^@ [] [] ^^@ [] [] ^^@ [] []

    Overfull \hbox (7988.59111pt too wide) detected at line 122
    \OT1/cmr/m/n/10 0 \OMS/cmsy/m/n/10 ^^@ [] [] ^^@ [] [] ^^@ [] [] ^^@ [] []

    Overfull \hbox (5905.06718pt too wide) detected at line 126
    \OT1/cmr/m/n/10 0 \OMS/cmsy/m/n/10 ^^@ [] [] ^^@ [] [] ^^@ [] [] ^^@ [] []
    [1{c:/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
    Overfull \hbox (8873.18288pt too wide) detected at line 210
    [] \OMS/cmsy/m/n/10 ^^@ [] [] ^^@ [] [] ^^@ [] [] ^^@ [] []
    [2] (./test5.aux) )
    (see the transcript file for additional information)<c:/texlive/2014/texmf-dist
    /fonts/type1/public/amsfonts/cm/cmex10.pfb><c:/texlive/2014/texmf-dist/fonts/ty
    pe1/public/amsfonts/cmextra/cmex7.pfb><c:/texlive/2014/texmf-dist/fonts/type1/p
    ublic/amsfonts/cm/cmmi10.pfb><c:/texlive/2014/texmf-dist/fonts/type1/public/ams
    fonts/cm/cmmi5.pfb><c:/texlive/2014/texmf-dist/fonts/type1/public/amsfonts/cm/c
    mmi7.pfb><c:/texlive/2014/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><
    c:/texlive/2014/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb><c:/texlive/
    2014/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb><c:/texlive/2014/texmf-
    dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb><c:/texlive/2014/texmf-dist/font
    s/type1/public/amsfonts/cm/cmsy5.pfb><c:/texlive/2014/texmf-dist/fonts/type1/pu
    blic/amsfonts/cm/cmsy7.pfb>
    Output written on test5.pdf (2 pages, 582701 bytes).
    SyncTeX written on test5.synctex.gz.
    Transcript written on test5.log.

增加纸张尺寸似乎会在某些地方遇到限制......

    This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX) (preloaded  format=pdflatex)
     restricted \write18 enabled.
    entering extended mode
    (./test5.tex
    LaTeX2e <2014/05/01>
    Babel <3.9k> and hyphenation patterns for 79 languages loaded.
    (c:/texlive/2014/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    (c:/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
    (c:/texlive/2014/texmf-dist/tex/latex/geometry/geometry.sty
    (c:/texlive/2014/texmf-dist/tex/latex/graphics/keyval.sty)
    (c:/texlive/2014/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
    (c:/texlive/2014/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
    (c:/texlive/2014/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
    ! Dimension too large.
    <to be read again> 
               \relax 
    l.15 \geometry{papersize={25000pt,60in}}

这是文件的纸张尺寸部分...

    \usepackage{geometry}
    \geometry{papersize={25000pt,60in}}

我尝试过以英寸和点为单位指定长度。您有想法如何进一步突破页面/布局大小的限制吗?

答案1

根据 TeXBook 第 58 页:

TeX 不会处理绝对值为 2 30 sp 或更大的尺寸。换句话说,最大合法尺寸略小于 16384 pt。这大约是 18.892 英尺(5.7583 米)的距离,因此它不会限制您的样式。

您的溢出水平盒子不超过 9000pt,因此宽度约为 9500pt 即可。正如其他人所指出的,您不太可能真的有一个需要这么大纸张的方程式。

相关内容