表格构造-具有自动换行功能

表格构造-具有自动换行功能

如何在 LaTeX 中创建带自动换行功能的下表?即根据定义的纸张大小 (A4),自动以调整的方式将文本按行划分;无需我手动添加分隔符。

非常感谢。

enter image description here

enter image description here

\begin{landscape}
\begin{table}[hbt!]
\setlength{\extrarowheight}{2pt}
\caption{Main modern references of the state of the art on the applied study of natural convection.}
\centering

\begin{tabular}{c|l}
\hline
REFERENCE                                                                                             & \multicolumn{1}{c}{DEVELOPED STUDIES}                                                                                                                                                                                                                                                                                                                                                                                                                                                                           \\ \hline
\citet{oosthuizen2001numerical}                                                                       & Numerical study of laminar natural convection heat transfer on wavy inclined surfaces (triangular and sinusoidal) of low amplitude, positioned parallel to the flow and with uniform surface temperature. From the analysis of the influence of the Grashof number, the amplitude and the dimensionless pitch of the waves, they concluded that the increase in the heat transfer rate is more influenced by the increase in the surface area due to the waves, than by the flow modifications that they cause. \\ \hline
\citet{kitamura2015}                                                                                  & Experimental study of natural convection on isothermal horizontal flat plates of different aspect ratios, obtaining empirical correlations of (Nu) ̅ x Ra for laminar, transitional and turbulent flow regimes. The correlations proved independent of the aspect ratio when using the equivalent diameter as the characteristic length in calculating (Nu) ̅ and Ra.                                                                                                                                           \\ \hline
\citet{wang2021reconstruction}                                                                        & Numerical-computational study that uses the deep neural network (DNN) technique to reconstruct – from training points of the flow and the heat transfer, obtained by CFD methods – the pressure fields, velocities and temperatures in natural convection (stable and unstable) in a closed environment.                                                                                                                                                                                                        \\ \hline
\citet{yang2021simulating}                                                                            & Use of the smoothed particle hydrodynamics (SPH) method, in four different models, for numerical simulation of natural convection in a heated square cavity under high Rayleigh number conditions.                                                                                                                                                                                                                                                                                                              \\ \hline
\citet{wen2021laminar}                                                                                & Realization of direct numerical simulations for the study of flow by natural convection in a heated cubic cavity, with the investigation of the laminar-turbulent transition in the vertical boundary layer regions and its influence on the heat transfer rates.                                                                                                                                                                                                                                               \\ \hline
\citet{ren2021laminar}                                                                                & Numerical study with the compressible solver of the effect of random three-dimensional roughness elements on laminar natural convection in a heated square cavity.                                                                                                                                                                                                                                                                                                                                              \\ \hline
\citet{silva2021study}                                                                                & Numerical study of the influence of two different mesh configurations – non-uniform staggered and entirely uniform – on evaluating turbulent natural convection heat transfer rates over isothermal rectangular flat plates. Physical-experimental validation of numerical results obtained from literature results.                                                                                                                                                                                            \\ \hline
\begin{tabular}[c]{@{}c@{}}\citet{junior2021physicala} and\\ \citet{junior2021physicalb}\end{tabular} & Numerical study of the main physical-numerical parameters that influence the prediction of natural convection heat transfer rates over isothermal flat plates, in turbulent and laminar regimes. Creation and validation of a physical-numerical methodology for studying this phenomenon in turbulent and laminar regimes.                                                                                                                                                                                     \\ \hline
\citet{verderio2022parametric}                                                                        & Numerical study - based on the geometry and operating conditions of real food ovens - of the influence of the geometric parameter height on heat transfer by radiation and convection (natural and forced) and on other flow parameters.                                                                                                                                                                                                                                                                        \\ \hline
\citet{junior2021dimensionless}                                                                       & Analytical study to define a dimensionless formulation of transport equations and κ-ε and κ-ω SST turbulence models for the study of turbulent natural convection.                                                                                                                                                                                                                                                                                                                                              \\ \hline
\citet{junior2022experimental}                                                                        & Analytical study to define a physical-mathematical formulation and an experimental methodology for studying natural convection on flat plates and with waves.                                                                                                                                                                                                                                                                                                                                                   \\ \hline
\citet{ding2022natural}                                                                               & Experimental study of natural convection's influence on heat sinks' performance with phase change materials (PCMs).                                                                                                                                                                                                                                                                                                                                                                                             \\ \hline
\citet{chanakya2022effects}                                                                           & Numerical study of the effects of diffuse and collimated beam radiation on laminar natural convection flow in a cubic cavity with convective heating in the lower region.                                                                                                                                                                                                                                                                                                                                       \\ \hline
\citet{kim2022pressure}                                                                               & Experimental investigation of air flow by natural convection between parallel vertical plates in asymmetric heating, with analysis of pressure behavior and heat transfer performance from variations in damper closing angle and thermal operating condition parameters.                                                                                                                                                                                                                                       \\ \hline
\citet{bangian2022solution}                                                                           & Development of a methodology for inverse heat transfer problems by natural convection, validated by experimental results. Conclusion of vast application potential in real engineering systems, such as in the thermal management of electronic equipment.                                                                                                                                                                                                                                                      \\ \hline
\citet{weppe2022experimental}                                                                         & Experimental study of the thermal and dynamic behavior of flow by turbulent natural convection in a cubic cavity with a partially heated internal obstacle.                                                                                                                                                                                                                                                                                                                                                     \\ \hline
\citet{gawas2022natural}                                                                              & Use of the multiple relaxation time Lattice Boltzmann method for the numerical study of the parameters domain tilt, thermal diffusion (isotropic and anisotropic) and Rayleigh number, on the natural convection heat transfer inside a square or rectangular cavity.                                                                                                                                                                                                                                           \\ \hline
\citet{junior2022natural}                                                                             & Numerical case study on the influence of several numerical parameters on physical-mathematical modeling and numerical solution of natural convection heat transfer problems on isothermal plates with square waves, in turbulent conditions of high Rayleigh number.                                                                                                                                                                                                                                            \\ \hline
\end{tabular}

\label{Tab1}
\end{table}
\end{landscape}

答案1

该包tabbularx提供了一种拥有\linewidth表格的方法。

请参考这个问题: 如何环绕表格行宽

另一种方法是在列定义中使用宽度说明符:

https://stackoverflow.com/questions/790932/how-to-wrap-text-in-latex-tables

最后,为了将表格扩展到多个页面,longtable存在以下包: https://stackoverflow.com/questions/2896833/how-to-stretch-a-table-over-multiple-pages

编辑:为了给出完整的答案,这里有一个可以做出的例子:

\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}

\usepackage{lipsum}

\usepackage{longtable}

\begin{document}
\begin{longtable}{|p{5cm}|p{0.6\linewidth}|}
\centering
REFERENCE            &       \lipsum [1]               \\
\hline
hi  & \lipsum [1]    \\
hi  & \lipsum [1]    \\
hi  & \lipsum [1]    \\
hi  & \lipsum [1]    \\
hi  & \lipsum [1]    \\
hi  & \lipsum [1]    \\
\end{longtable}
\end{document}

答案2

  • 请始终提供完整的小文档,称为 MWE(最小工作示例)。其序言中的信息可能会对您问题的可能解决方案产生重大影响-
  • 正如您在问题标签中指出的那样,您的表格与“目录”有何关系。
  • 跨越数页的长表格不必包含在表格环境中!
  • 可以通过多种方式格式化/写入表格,例如使用包longtablexltabular˙xlablex etc. From them I would uselongtblr oftabularray 包:
\documentclass[12pt,letterpaper]{article}
\usepackage{geometry}

\usepackage{pdflscape}
\usepackage{natbib}

\usepackage{tabularray}
\UseTblrLibrary{amsmath, booktabs}
\DeclareMathOperator{\corr}{corr}

\begin{document}
\begin{landscape}
\SetTblrStyle{head}{font=\small}
\SetTblrStyle{foot}{font=\footnotesize\itshape}
    \begin{longtblr}[
caption = {Main modern references of the state of the art on the applied study of natural convection.},
  label = {Tab1}    ]{colspec = {@{} Q[l, wd=7.7em] X[j] @{}},
                      row{1}  = {font=\bfseries},
                      rowsep  = 3pt,
                      rowhead = 1
                      }
    \toprule
REFERENCE
    &   DEVELOPED STUDIES   \\
    \midrule
\citet{oosthuizen2001numerical}
    & Numerical study of laminar natural convection heat transfer on wavy inclined surfaces (triangular and sinusoidal) of low amplitude, positioned parallel to the flow and with uniform surface temperature. From the analysis of the influence of the Grashof number, the amplitude and the dimensionless pitch of the waves, they concluded that the increase in the heat transfer rate is more influenced by the increase in the surface area due to the waves, than by the flow modifications that they cause.
                            \\
\citet{kitamura2015}
    & Experimental study of natural convection on isothermal horizontal flat plates of different aspect ratios, obtaining empirical correlations of $\corr(Nu,Ra)$ for laminar, transitional and turbulent flow regimes. The correlations proved independent of the aspect ratio when using the equivalent diameter as the characteristic length in calculating $\corr(Nu,Ra)$.
                            \\
\citet{wang2021reconstruction}
    & Numerical-computational study that uses the deep neural network (DNN) technique to reconstruct – from training points of the flow and the heat transfer, obtained by CFD methods – the pressure fields, velocities and temperatures in natural convection (stable and unstable) in a closed environment.
                            \\
\citet{yang2021simulating}                                                                            & Use of the smoothed particle hydrodynamics (SPH) method, in four different models, for numerical simulation of natural convection in a heated square cavity under high Rayleigh number conditions.
                            \\
\citet{wen2021laminar}                                                                                & Realization of direct numerical simulations for the study of flow by natural convection in a heated cubic cavity, with the investigation of the laminar-turbulent transition in the vertical boundary layer regions and its influence on the heat transfer rates.
                            \\
\citet{ren2021laminar}                                                                                & Numerical study with the compressible solver of the effect of random three-dimensional roughness elements on laminar natural convection in a heated square cavity.
                            \\
\citet{silva2021study}
    & Numerical study of the influence of two different mesh configurations – non-uniform staggered and entirely uniform – on evaluating turbulent natural convection heat transfer rates over isothermal rectangular flat plates. Physical-experimental validation of numerical results obtained from literature results.
                            \\
\citet{junior2021physicala} and \citet{junior2021physicalb}
    & Numerical study of the main physical-numerical parameters that influence the prediction of natural convection heat transfer rates over isothermal flat plates, in turbulent and laminar regimes. Creation and validation of a physical-numerical methodology for studying this phenomenon in turbulent and laminar regimes.
                        \\
\citet{verderio2022parametric}
    & Numerical study - based on the geometry and operating conditions of real food ovens - of the influence of the geometric parameter height on heat transfer by radiation and convection (natural and forced) and on other flow parameters.
                        \\
\citet{junior2021dimensionless}                                                                       & Analytical study to define a dimensionless formulation of transport equations and κ-ε and κ-ω SST turbulence models for the study of turbulent natural convection.
                        \\
\citet{junior2022experimental}                                                                        & Analytical study to define a physical-mathematical formulation and an experimental methodology for studying natural convection on flat plates and with waves.
                        \\
\citet{ding2022natural}                                                                               & Experimental study of natural convection's influence on heat sinks' performance with phase change materials (PCMs).
                        \\
\citet{chanakya2022effects}
    & Numerical study of the effects of diffuse and collimated beam radiation on laminar natural convection flow in a cubic cavity with convective heating in the lower region.
                        \\
\citet{kim2022pressure}                                                                               & Experimental investigation of air flow by natural convection between parallel vertical plates in asymmetric heating, with analysis of pressure behavior and heat transfer performance from variations in damper closing angle and thermal operating condition parameters.
                        \\
\citet{bangian2022solution}                                                                           & Development of a methodology for inverse heat transfer problems by natural convection, validated by experimental results. Conclusion of vast application potential in real engineering systems, such as in the thermal management of electronic equipment.
                        \\
\citet{weppe2022experimental}                                                                         & Experimental study of the thermal and dynamic behavior of flow by turbulent natural convection in a cubic cavity with a partially heated internal obstacle
                        \\
\citet{gawas2022natural}                                                                              & Use of the multiple relaxation time Lattice Boltzmann method for the numerical study of the parameters domain tilt, thermal diffusion (isotropic and anisotropic) and Rayleigh number, on the natural convection heat transfer inside a square or rectangular cavity.
                        \\
\citet{junior2022natural}                                                                             & Numerical case study on the influence of several numerical parameters on physical-mathematical modeling and numerical solution of natural convection heat transfer problems on isothermal plates with square waves, in turbulent conditions of high Rayleigh number.
                        \\
    \bottomrule
    \end{longtblr}
\end{landscape}
\end{document}
  • 您的表格跨越三页。前两页是:

enter image description here

相关内容