控制 supertabular 中表格的浮动

控制 supertabular 中表格的浮动

在 supertabular 环境中创建了一个表。在一般标题之后符号和表格标题常规参数,我需要将表格放在标题下方。但是,表格会浮动到下一页。如果我不使用参数\setlength\extrarowheight{5pt},则没有问题。但是,我需要两行之间有一些空间。我无法[H]在 supertabular 中使用参数。这是 MWE。

\documentclass[12pt,oneside]{report}

\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage{booktabs,longtable,tabularx,caption,ragged2e,supertabular}
\usepackage{float}

\begin{document}

\chapter*{List of Abbreviations, Symbols, and Nomenclature}
\setlength\extrarowheight{5pt}% to give extra space between two rows.
\captionsetup[table]{singlelinecheck=false}

Symbols
\tablecaption*{General parameters}
\noindent
\begin{supertabular}{p{2cm} p{10cm}}
$V_{ult}$ & Ultimate vertical load\\
$E_u$ & Undrained Young's modulus\\
$\nu$ & Poisson's ratio\\
$\nu_u$ & Undrained Poisson's ratio\\
$\sigma$ & Stress\\
$\sigma^{'}$ & Effective vertical stress\\
$\sigma_x$ & Normal stress in $x$-direction\\
$\sigma_y$ & Normal stress in $y$-direction\\
$\sigma_z$ & Normal stress in $z$-direction\\
$\sigma_f$ & Failure normal stress\\
$\sigma_1$ & Major principal stress\\
$\sigma_2$ & Intermediate principal stress\\
$\sigma_3$ & Minor principal stress\\
%many more entries
\end{supertabular}

\end{document}

输出如图所示(仅前2页) 在此处输入图片描述

答案1

supertabular必须的吗?您可以使用description环境并根据您的需要对其进行自定义enumitem.sty

\documentclass[12pt,oneside]{report}

\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{enumitem}

\begin{document}

\chapter*{List of Abbreviations, Symbols, and Nomenclature}
\section*{Symbols}
\subsection*{General parameters}

\begin{description}[align=left,leftmargin=2cm,font=\normalfont,style=nextline,itemsep=0pt]
\item[$V_{ult}$] Ultimate vertical load
\item[$E_u$] Undrained Young's modulus
\item[$\nu$] Poisson's ratio
\item[$\nu_u$] Undrained Poisson's ratio
\item[$\sigma$] Stress
\end{description}

\end{document}

在此处输入图片描述

相关内容