答案1
从这里的答案来看——https://tex.stackexchange.com/questions/546418/remove-space-between-lists-within-latex-table]
\documentclass{article}
\usepackage[margin=20mm,
%showframe
]{geometry} % in real document remove "showframe" option
\usepackage{ragged2e}
\usepackage{array, makecell, booktabs}
\usepackage{enumitem}
\begin{document}
\begin{table}[ht]
\setlist[itemize]{nosep,
leftmargin=*,
label=\textbullet,
after=\end{minipage}, % <---
before=\begin{minipage}[t]{\linewidth} % <---
}
\setcellgapes{3pt}
\makegapedcells
\centering
\begin{tabular}{*{3}{>{\RaggedRight}p{6cm}} }
\toprule[2pt]
\multicolumn{3}{c}{Table with Indentation} \\
\midrule
Prcess Related & Product Related & Management Related\\
\midrule
TEAMS & LCA & Reporting Frameworks \\
\begin{itemize}
\item Students can learn from home
\item Designed for classrooms
\item Acts as eyes, ears and voice
\end{itemize}
& Technology Board
& \begin{itemize}
\item Students can learn from home
\item Designed for classrooms
\begin{itemize}
\item Repeat Designed for classrooms
\end{itemize}
\item Acts as eyes, ears and voice
\end{itemize} \\
& & Easy for elderly to use \\
& & Less mess and responsibilities than a real pet\\
& & \begin{itemize}
\item Message, video chat and share photos
\end{itemize} \\
\bottomrule[2pt]
\end{tabular}
\caption{Social Isolation Product Competitors}
\label{tbl:table1}
\end{table}
\end{document}
答案2
一些建议:
使用
tabularx
环境允许第 1 列和第 3 列自动换行使用该
enumitem
包来创建定制的逐项类型列表环境,其使用的垂直空间比普通enumitem
环境更少。
\documentclass{article}
\usepackage[english]{babel}
\usepackage[letterpaper,margin=1in]{geometry} % choose page parameters suitably
\usepackage{ragged2e,booktabs}
\usepackage{tabularx}
% define a variable-width form of the 'X' column type:
\newcolumntype{L}[1]{>{\hsize=#1\hsize\linewidth=\hsize%
\RaggedRight}X}
\usepackage{enumitem}
% create a new, two-level itemize-like list environment:
\newlist{myitemize}{itemize}{2}
\setlist[myitemize,1]{label=-,nosep,left=0pt,
before={\begin{minipage}[t]{\hsize}\RaggedRight},
after =\end{minipage}}
\setlist[myitemize,2]{label=$\circ$,nosep,left=1em,
before={\begin{minipage}[t]{\dimexpr\hsize-1em\relax}\RaggedRight},
after =\strut\end{minipage}}
\begin{document}
\noindent
\begin{tabularx}{\textwidth}{@{} L{0.7} l L{1.3} @{}} % 0.7+1.3=2=# of X-type columns
\toprule
Process related & Product related & Management related \\
\midrule
TEAMS & LCA & Reporting frameworks \\[1ex]
\begin{myitemize}
\item An environmental management tool
\item Local scope: Hydro-Aluminum Sunndal
\end{myitemize} &
Technology Board &
\begin{myitemize}
\item UN Global Compact
\item GRI Standards
\begin{myitemize}
\item Nr.\ 101 (2016) define which topics and indicators
that are material to report upon
\end{myitemize}
\item The International Council on Mining and Metals (ICMM)
\item Position statements and the Aluminium Stewardship Initiative (ASI)
\end{myitemize} \\
&& Better-Bigger-Greener program\\[1ex]
&& Review of climate-related risks, 2018
\begin{myitemize}
\item physical, technological, commercial, legal and reputational risk
\end{myitemize} \\
\bottomrule
\end{tabularx}
\end{document}
\begin{tabularx}