人物飘走时出现额外空间的奇怪问题

人物飘走时出现额外空间的奇怪问题

我同时使用了fontspecfloatrowsubfig。当图形浮动时,会在文本中图形所在的位置插入一个额外的空格。如果图形前的行与文本宽度一样长,则会在下一行的开头插入一个空格,这会严重扰乱布局。当我注释掉其中一个包时,空格就消失了。问题似乎也是scrbook- 特有的,因为当我更改为 时article,问题就消失了。我能做些什么来解决这个问题?

\documentclass{scrbook}

\usepackage{fontspec}

\usepackage{floatrow}
\usepackage{subfig}

\usepackage{forest}



\begin{document}
text, more text, more text. In so-called cartographic approaches, it is assumed that every morphosyntactic feature corresponds to an independent syntactic
head. For an explicitly formalized proposal, in which each feature is processed in its combination, 
see. Stabler's \emph{Minimalist     Grammars} are discussed in more detail in Section 3.1.
\begin{figure}[hp]
\centering
\begin{forest}
[ForceP
        []
        [Force$'$
                [Force$^0$]
                [TopP*
                        []
                        [Top$'$
                                [Top$^0$]
                                [FocP
                                        []
                                        [Foc$'$
                                                [Foc$^0$]
                                                [TopP*
                                                        []
                                                        [Top$'$
                                                                [Top$^0$]
                                                                [FinP
                                                                        []
                                                                        [Fin$'$
                                                                                [Fin$^0$]
                                                                                [IP]]]]]]]]]]]
\end{forest}

\caption{\label{Abbildung-Rizzi}Syntactic structure of sentences following Rizzi}
\end{figure}
The functional categories Force, Top, Foc and
Fin correspond to clause type, topic, focus and finiteness. It is assumed that movement always targets a specifier
position. Topics and focussed elements are always moved to the specifier position of the corresponding phrase. Topics can precede or follow focussed
elements, which is why there are two topic projections: one above and one below FocP. Topic phrases


\end{document}

为了帮助调试,提供一个更简单的例子:

\documentclass{scrbook}

\usepackage{floatrow}
\usepackage{subfig}



\begin{document}

A B

A
\begin{figure}[p]
XXXX
\end{figure}
B


\end{document}

相关内容