我正在使用 overleaf 撰写学术论文。当我linespacing
在最开始处插入命令时,它会将我已设置段落的所有表格推到文档的最末尾。它还会增加这些表格内的行距,这是我不想要的。有什么办法可以解决这个问题吗?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage{outlines}
\usepackage{dirtytalk}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[a4paper, total={6in, 8in}]{geometry} %Command that creates the issue
\renewcommand{\baselinestretch}{1.5}
\begin{document}
\section*{Introduction}
This is the text in first paragraph. This is the text in first paragraph. This is the text in first paragraph.
\begin{table}[h]
\small
\centering
\caption{Descriptive Statistics}
\label{tab:my-table}
\begin{tabular}{@{}lcccc@{}}
\toprule
& \multicolumn{2}{c}{} & \multicolumn{2}{c}{} \\ \midrule
& (1975-77) & & (1975-77) & \\
& & & & \\
& & & & \\
.
.
.
\end{tabular}
\end{table}
\end{document}