我在论文中输入了几幅图,我想知道为什么图的上方和侧面以及标题下方总是有这么多空白。标题下方特别烦人,但“偏移”图看起来也很丑。请参阅图片。我尝试过边界框、浮动尺寸和图形尺寸。除了将其做得非常小以适应之外,我还没有找到好的解决方案(使用 LyX)。有什么建议吗?谢谢 Dominik
编辑:更多信息。由于 setspace 返回错误,表示间距已定义,我将其从自定义 .cls 文件中拉出。任何更改都会得到答案吗?
%%%%%%% DEFINE DOUBLE-SPACING (THE DEFAULT) AND OTHER SPACING:
\def\setspace@size{\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi}
\def\doublespacing{ \ifcase \@ptsize \relax
\def \baselinestretch {1.703}% 10pt -- EDIT (thesis=2.004; see line 251)
\or \def \baselinestretch {1.505}% 11pt -- EDIT (thesis=1.771; see line 252)
\or \def \baselinestretch {1.441}% 12pt -- EDIT (thesis=1.660; see line 253)
\fi \setspace@size}
\def\singlespacing{\def \baselinestretch {1} \setspace@size \vskip \baselineskip}
\def\setstretch#1{\renewcommand{\baselinestretch}{#1}}
\def\@setsize#1#2#3#4{\@nomath#1
\let\@currsize#1 \baselineskip #2
\baselineskip \baselinestretch\baselineskip
\parskip \baselinestretch\parskip
\setbox\strutbox \hbox{ \vrule height.7\baselineskip depth.3\baselineskip
width\z@} \skip\footins \baselinestretch\skip\footins
\normalbaselineskip\baselineskip#3#4}
%%%%%%%%% floats & footnotes singlespaced %%%%%%%%%
\let\latexx@xfloat=\@xfloat
\def\@xfloat #1[#2]{\latexx@xfloat #1[#2]
\def\baselinestretch{1}\@normalsize \normalsize}
\long\def\@footnotetext#1{
\insert\footins{
\def\baselinestretch {1}
\reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
\splitmaxdepth \dp\strutbox \floatingpenalty \@MM
\hsize\columnwidth \@parboxrestore
\protected@edef\@currentlabel{
\csname p@footnote\endcsname\@thefnmark}
\color@begingroup \@makefntext{
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}
\color@endgroup}}
\long\def\@mpfootnotetext#1{
\global\setbox\@mpfootins\vbox{
\unvbox \@mpfootins
\def\baselinestretch {1}
\reset@font\footnotesize
\hsize\columnwidth \@parboxrestore
\protected@edef\@currentlabel{
\csname p@mpfootnote\endcsname\@thefnmark}
\color@begingroup \@makefntext{
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}
\color@endgroup}}
%%%%%%%% single / double spacing %%%%%%%%%
\def\singlespace{ \vskip \baselineskip \def\baselinestretch {1}
\setspace@size \vskip -\baselineskip }
\def\endsinglespace{\par}
\def\spacing#1{ \par \begingroup \def\baselinestretch {#1} \setspace@size }
\def\endspacing{ \par \vskip \parskip \vskip \baselineskip
\endgroup \vskip -\parskip \vskip -\baselineskip }
\def\doublespace{ \ifcase \@ptsize \relax
\spacing{1.6}%1.703 10pt -- EDIT (thesis=2.004; see line 199)
\or \spacing{1.4}%1.505 11pt -- EDIT (thesis=1.771; see line 200)
\or \spacing{1.3 }%1.441 12pt -- EDIT (thesis=1.660; see line 201)
\fi }
\let\enddoublespace=\endspacing