在乳胶表中换行文字并更改列宽

在乳胶表中换行文字并更改列宽

我最近寻求帮助,将表格的宽度缩小到论文文本的宽度。对于包含许多小列但不包含大量文本的表格,此答案非常有效。我无法编辑代码以减小第二列的宽度,换行文本并为第三列和第四列提供更多空间以减少表格的整体高度。有人能帮我吗?我在下面附上了代码的简化版本。提前致谢,Holly

\begin{table}[h]
\footnotesize
\setlength\tabcolsep{4pt}
\begin{tabularx}{\textwidth}{@{} l l *{7}{>{\hsize=0.95\hsize}x} >{\hsize=1.35\hsize}x @{}}
\toprule
\textbf{LFA}&\textbf{Lithofacies}&\textbf{Description}&\textbf{Interpretation}\\
\midrule
1&Massive lapilli tuffs (mLT)&Predominantly massive, well-sorted lithofacies with high proportion of juvenile fine ash matrix altered to chlorite and locally infilled by carbonates.&Mass wasting of maar-diatreme walls and deposition by gravity flows in an open crater; possible elutriation of ash from lower in the system.\\
1&Lapillistones (Lf)&Structureless and clast supported with small lapilli and a low proportion of matrix; juvenile bombs and large lithic clasts present. Localised ``raggy'' juvenile lapilli, preferred vertical orientation of clasts and apparent welding.&Fluidisation of hot lapilli in the central diatreme and transportation of outsized lithic clasts from lower in the stratigraphy\\
2&Bedded lapilli tuffs (bLT)&Highly heterogeneous lithofacies consisting of both massive and normally graded beds containing a high proportion of juvenile lapilli and highly variable proportion of fine ash matrix. Locally pockets of fine ash, pyrite and secondary calcite occur.&Subsided maar strata deposited near-vent as dilute density currents and later undercut by diatreme widening, leading to downward slumping along margins.\\
3&Massive lithic-rich lapilli tuffs (mlLT)&Structureless lithofacies locally with abundant lithic clasts and blocks, pervasive red-brown discolouration and fines-rich pockets and pipes.&Homogenous and structureless nature and degassing structures indicate fluidisation of diatreme fill.\\
\bottomrule
\end{tabularx}
\caption[Summary of diatreme lithofacies characteristics and interpretations]{Summary of lithofacies characteristics, context and interpretation for each lithofacies association in the diatremes}
\label{tb:Table 1}
\end{table}

答案1

这更符合你的要求吗?

\documentclass[a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[nomarginpar]{geometry}%,
 \usepackage{caption, booktabs}
 \usepackage{tabularx}%

\begin{document}

\begin{table}[h]
  \footnotesize
  \setlength\tabcolsep{5pt}\renewcommand\defaultaddspace{1.5ex}
  \captionsetup{font=small, labelfont=sc, format=hang}
  \begin{tabularx}{\textwidth}{@{} c>{\hsize=0.65\hsize}X>{\hsize=1.30\hsize}X>{\hsize=1.05\hsize\arraybackslash} X @{}}
    %{@{} l l *{7}{>{\hsize=0.95\hsize}X} >{\hsize=1.35\hsize}X @{}}
    \toprule
    \textbf{LFA} & \textbf{Lithofacies} & \textbf{Description} & \textbf{Interpretation} \\
    \midrule
    1 & Massive lapilli tuffs (mLT) & Predominantly massive, well-sorted lithofacies with high proportion of juvenile fine ash matrix altered to chlorite and locally infilled by carbonates. & Mass wasting of maar-diatreme walls and deposition by gravity flows in an open crater; possible elutriation of ash from lower in the system. \\
    \addlinespace
    1 & Lapillistones (Lf) & Structureless and clast supported with small lapilli and a low proportion of matrix; juvenile bombs and large lithic clasts present. Localised ``raggy'' juvenile lapilli, preferred vertical orientation of clasts and apparent welding. & Fluidisation of hot lapilli in the central diatreme and transportation of outsized lithic clasts from lower in the stratigraphy \\
    \addlinespace
    2 & Bedded lapilli tuffs (bLT) & Highly heterogeneous lithofacies consisting of both massive and normally graded beds containing a high proportion of juvenile lapilli and highly variable proportion of fine ash matrix. Locally pockets of fine ash, pyrite and secondary calcite occur. & Subsided maar strata deposited near-vent as dilute density currents and later undercut by diatreme widening, leading to downward slumping along margins. \\
    \addlinespace
    3 & Massive lithic-rich lapilli tuffs (mlLT) & Structureless lithofacies locally with abundant lithic clasts and blocks, pervasive red-brown discolouration and fines-rich pockets and pipes. & Homogenous and structureless nature and degassing structures indicate fluidisation of diatreme fill. \\
    \bottomrule
  \end{tabularx}
  \caption[Summary of diatreme lithofacies characteristics and interpretations]{Summary of lithofacies characteristics, context and interpretation for each lithofacies association in the diatremes}
  \label{tb:Table 1}
\end{table}

\end{document} 

在此处输入图片描述

相关内容