tabularx 下的空白与 vspace* 结合

tabularx 下的空白与 vspace* 结合

我正在使用 tabularx 包在 3 列中创建一些变量定义。我尝试使用 \vspace* 命令在每行下添加一些空格。这些是由算法自动创建的,并保存到 tex 文件中。

问题是,在普通文本之间,空格显示正常,但在任何 tabularx 定义下,空格都很大。我尝试了 \vspace* 的几个值:在 0.1ex 时,它似乎使整个空格无效,而在 0.2ex 时,它突然跳转到这个巨大的空格。

有人能帮我理解为什么会发生这种情况吗?我怎样才能像图中所示的那样在 tabularx 行下留出适当的空白?我正在使用 xelatex 和 xetex 进行构建。

在此处输入图片描述

\documentclass[a4paper]{article}
\usepackage[a4paper,left=1cm,right=1cm,top=1cm,bottom=1cm]{geometry}
\usepackage{nopageno}
% Required for mathematics.
% Load currfile early to work around underflow
\usepackage{currfile}
\usepackage{amsmath}
\usepackage{xunicode}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{trig}
\usepackage{infwarerr}
\usepackage{ltxcmds}
\usepackage{standalone}

% Required for a table that fills the page (e.g description template)
\usepackage{tabularx}
\usepackage{tabu}
%
% required by fontspec so lets precompile to save time later
\usepackage{expl3}
\usepackage{xparse}
\usepackage{fontenc}
%
% required by unicode-math so lets precompile to save time later
\usepackage{expl3}[2015/03/01]
\usepackage{ucharcat}
\usepackage{l3keys2e}
\usepackage{fix-cm} % avoid some warnings
\usepackage{filehook}
\usepackage{standalone}

\usepackage{color}
\definecolor{darkGreen}{rgb}{0,0.5,0}

\usepackage{fontspec}
\usepackage[math-style=ISO]{unicode-math}

%column definitions for the addDeclaration() function
\newcolumntype{T}{>{\setlength{\baselineskip}{1.0\baselineskip}\hsize=1.9\hsize}X}                                  %text column
\newcolumntype{S}{>{\setlength{\baselineskip}{1.0\baselineskip}\hsize=0.75\hsize}X}                             %symbol column
\newcolumntype{C}{>{\setlength{\baselineskip}{1.0\baselineskip}\hsize=0.35\hsize\raggedleft\arraybackslash}X}       %clause column right aligned

%
%Set main font and font for math, use something that is available on windows back to XP
\setmainfont{Times New Roman}
\setmathfont{Cambria Math}
\setlength{\parindent}{0pt}

% Set distance from top of page to first float to avoid tables showing in the middle of a new page.
\makeatletter
\setlength{\@fptop}{5pt}
\makeatother

\renewcommand*{\ttdefault}{\familydefault}

\begin{document}

    \begin{normalsize}
    
    \textbf{\underline{GENERAL DESIGN ATTRIBUTE PROPERTIES}}
    \vspace*{0.6ex}
    
    Design attribute: \verb|1:Des1|
    \vspace*{0.6ex}
    
    Calculation method: Bending and in-plane (Sandwich model / Principal stresses)
    \vspace*{0.6ex}
    
    Member type: Two-way slab
    \vspace*{0.6ex}
    
    \vspace*{0.6ex}
    
    \textbf{\underline{GEOMETRIC PROPERTIES}}
    \vspace*{0.6ex}
    
    Reinforcement attribute: \verb|1:WdAmr1|
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Section depth & $h$ = 300 mm & \textit{}
    \end{tabularx}
    \vspace*{0.2ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Unit width & $b$ = 1000 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Cover to top face & $c_{top}$ = 50 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Cover to bottom face & $c_{bot}$ = 50 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Bar diameter (top x) & $\diameter_{tx}$ = 20 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Bar diameter (top y) & $\diameter_{ty}$ = 20 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Bar diameter (bottom x) & $\diameter_{bx}$ = 20 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Bar diameter (bottom y) & $\diameter_{by}$ = 20 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Spacing (top x) & $s_{xTop}$ = 150 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Spacing (top y) & $s_{yTop}$ = 150 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Spacing (bottom x) & $s_{xBot}$ = 150 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}
    
    \begin{tabularx}{\textwidth} {@{}TSC@{}}
    Spacing (bottom y) & $s_{yBot}$ = 150 mm & \textit{}
    \end{tabularx}
    \vspace*{0.6ex}

    \end{normalsize}
\end{document}

相关内容