pdflatex:包含大图形时首先出现一个空白页

pdflatex:包含大图形时首先出现一个空白页

这是我的简单代码。图形为 11 英寸 x 8.5 英寸。(或信纸大小)。我的目的是将这些 pdf 图形合并在一起并生成带书签的 pdf。但第一个空白页非常烦人。有没有办法在不影响图形大小的情况下将其删除?

\documentclass[landscape,letterpaper]{article}
\usepackage[pdftex]{color,graphicx}
\usepackage{float}
\pagestyle{empty}
\begin{document}
\textheight=11in
\clearpage
\begin{figure}[H]
 \begin{center}
 \includegraphics[width=11in]{tmpplotraw00.pdf}
 \end{center}
 \caption{core 0, Av=0}
\end{figure}
\end{document}

我的输出是:

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./tmplatex.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)))
(/usr/share/texmf/tex/latex/float/float.sty) (tmp/tmplatex.aux)
<tmpplotraw00.pdf, id=1, 831.105pt x 578.16pt> <use tmpplotraw00.pdf>
Overfull \hbox (449.96999pt too wide) in paragraph at lines 13--14[]
[1] [2{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map} <./tmpplotraw00.pdf>]            
(tmp/tmplatex.aux) )
(see the transcript file for additional information)</usr/share/texmf/fonts/typ
e1/bluesky/cm/cmr10.pfb>
Output written on tmp/tmplatex.pdf (2 pages, 114822 bytes).
Transcript written on tmp/tmplatex.log.

答案1

请检查任何有关 含义的 LaTeX 文档Overfull \hbox

很可能您的图片对于一页来说太大了,因此 LaTeX 会将其移动到第二页。试试这个:

\includegraphics[width=.9\textwidth,height=.9\textheight,keepaspectratio]{tmpplotraw00}

哦,你确实想读l2tabu-en

相关内容