如何删除表格/图形和段落之间的空白?

如何删除表格/图形和段落之间的空白?

我遇到了一个问题,如附图所示。我有一些文字,但因为表格不适合页面,所以留出很大空间。这种情况在我的论文中出现过很多次。有没有一次性的解决方案?还是每次我都要调整表格/图片?

这是我的参考代码:

在此处输入图片描述

\documentclass{article}



\usepackage{float,csquotes,booktabs}
\usepackage[flushleft]{threeparttable}


\begin{document}


Since by nature principal component analysis does not identify factors
economically, I will provide evidence in support of the interpretation
I followed. Table 5 reports the highest $R^2$ obtained by regressing
each transformed data series on one of the 3 factors at a time and
correlations between the factors and the original series. Following
these results, I suggest the following interpretation: Factor 1 is
likely to represent a measure of volatility/stress in financial
conditions. It shows a positive correlation with the main volatility
indices in the EA while being negatively correlated with households
expenditure and expected GDP (1 year head). It also explains way more
than half of the variance in the EU VIX, bank spread and CISS. Factor
3 is very closely related to real activity (real GDP) in the
economy. It shows in fact a decent correlation with a variety of real
activity indices as well as price indices and explains a significant
proportion of the total variation in these variables. Factor 4 is
plausibly a measures of price pressure (inflation). It shows a high
correlation with a variety of price indices and real economic activity
indicators and explains almost hald of the overall variance in
HICP. Factor 2 is left in the end since I do not believe that a
straightforward interpretation of the factor is possible. It is
positively correlated with some idicators of financial distress (with
the puzzling exception of NFC and bank rates) and unemployment, while
it is negatively related to expected GDP and inflation. It also
explains more than half of the variance in forecasted
indicators. Since the interpretation of this factor is contentious, I
also extracted principal components only from \enquote{financial}
series. The result is the second component is approximately the same
as Factor 2. This leads to the conclusion that it is another measure
of market distress. Since I already have a robust one, I dropped
Factor 2 from the analysis.

\begin{table}[H] 
\centering 
\begin{threeparttable}
\caption{\textit{Factor Interpretation}}
\label{tab: tab33} 
\begin{tabular}{lllr}
\toprule & Series & $R^2$ & Corr\\ 
\midrule & Household Expenditure & 0.45 & -0.16\\ & Unemployment & 0.34 & 0.14 \\ & SPF GDP 1Y & 0.53 & -0.17 \\ & VSTOXX & 0.59 & 0.18\\  & CISS Sovereign Stress & 0.71 & 0.20\\ 
 & CISS Bond Market & 0.64 & 0.19\\ Factor 1 & CISS Money Market & 0.65 & 0.21\\ & CISS FX Market & 0.73 & 0.19 \\ & CISS Bank Volatility & 0.64 & 0.21\\ & CISS NF Equity & 0.79 & 0.19 \\ & BBB-AAA & 0.76 & 0.19 \\ & EU VIX & 0.82 & 0.18\\ & EU-USD VIX  & 0.71 & 0.16 \\ & Bank rate EA & 0.51 & 0.20 \\ & Spread bank EA vs Bund & 0.66 & 0.19 \\ \midrule & SPF INF 1Y & 0.52 & -0.24 \\ & SPF INF 2Y & 0.47 & -0.23 \\ & SPF GDP 2Y & 0.45 & -0.15 \\ & SPF Unemployment 1Y & 0.63 & 0.26 \\ & SPF Unemployment 2Y & 0.64 & 0.26 \\ Factor 2 & Spread 10Y-2Y & 0.50 & 0.23 \\ & Spread 10Y-3M & 0.44 & 0.22 \\ & Rate NFC EA & 0.41 & -0.21 \\ & Bank Rate EA  & 0.30 & -0.18\\ & Spread bank EA vs Bund & 0.28 & 0.18\\ \midrule & Business Consumer Index & 0.17 & 0.17 \\ & Industrial Confidence & 0.22 & 0.19 \\ & Manufacturing Turnover Index & 0.30 & 0.22 \\ & IP (excl. construction) & 0.28 & 0.21 \\ Factor 3 & IP (Manufacturing) & 0.27 & 0.21 \\ & New orders (Int. Goods) & 0.33 & 0.23 \\ & HICP (Total) & 0.27 & 0.21\\ & HICP (Goods) & 0.24 & 0.20\\ & PCI & 0.14 & 0.21\\
\midrule & IP (Consumer goods) & 0.21 & 0.23\\  & Real GDP  & 0.23 & 0.25\\ 
Factor 4 & HICP (Total) & 0.46 & 0.35\\ & HICP (Goods) & 0.49 & 0.36\\ & PCI & 0.20 & 0.23 \\ & Oil Brent & 0.30 & 0.28\\


\bottomrule 
\end{tabular}
\begin{tablenotes}
\small
\item \textit{Note}: List of series that are best explained by a single extracted factor according to $R^2$ of a linear regression of the (transformed) series on the respective factor and have the highest correlation with the original variables.
\end{tablenotes}
\end{threeparttable}

\end{table}


\end{document}

答案1

你问,

有没有一个[全球性的]解决方案?

简短回答:是的。详细回答:您应该立即停止使用[H]浮动位置说明符。例如,更改\begin{table}[H]\begin{table}[htbp]

另外两条评论:

  • 如果环境中的材料table很高,LaTeX 只能将其放置在单独的页面上。

  • 如果你不需要将表格材料保留在一页上,即如果允许在表格材料内分页,则可能需要将table/tabular环境对替换为长桌 环境。

相关内容