严重的表格问题 - 文本单元格出现问题(它只是继续?)

严重的表格问题 - 文本单元格出现问题(它只是继续?)

还有两个问题:

我该如何在左侧添加分析(这样字母就会变成数字并带有下划线?)?如果我想删除“游戏”类别,我该如何删除?

在此处输入图片描述

这将会是一个巨大的帮助 - 非常感谢!!

正如标题所述,我想知道如何断线(对我来说不起作用!)。我希望我的图形看起来像这样 - 但不起作用(!): 在此处输入图片描述

但它看起来像这样: 在此处输入图片描述

我的序言是这样的:

\documentclass[a4paper,11pt,oneside]{article} 
\usepackage[english,danish]{babel} 
\usepackage{fixltx2e} 
\usepackage{layout}
\renewcommand{\danishhyphenmins}{22} 
\usepackage[protrusion=true,expansion=true]{microtype} 
\addto\captionsdanish{
\renewcommand\appendixname{Appendiks}
\renewcommand\contentsname{Indhold}
\renewcommand\refname{Litteratur}
\renewcommand\listfigurename{Figur}}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{icomma}
\usepackage{amsmath,amssymb,bm,mathtools}
\usepackage[pdftex]{graphicx}
\usepackage{float}
\usepackage[left=3.0cm,right=3.0cm,top=3.0cm,bottom=3.0cm]{geometry}
\usepackage{setspace}
\setstretch{1.6}
\usepackage{tocloft}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
\usepackage{tabu}
\usepackage[round, colon, sort, authoryear]{natbib}
\setlength{\bibsep}{0.0pt}
\setlength{\bibhang}{2em}
\bibpunct{(}{)}{;}{a}{}{}
\setcitestyle{notesep={: }}
\def\citeapos#1{\citeauthor{#1}'s (\citeyear{#1})}
\usepackage{csquotes}
\MakeOuterQuote{"}
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{shapes,arrows,positioning,calc, matrix} 
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\usepackage{titletoc}
\usepackage{longtable}
\usepackage{array}
\usepackage{multirow,tabularx,caption,subcaption,booktabs,threeparttable}
\newcommand{\sym}[1]{{}^{#1}} % correct?
\newcommand\mc[1]{\multicolumn{1}{@{}c@{}}{#1}} % handy shortcut macro
\newcommand\narrowtab[2]{%  %% macro to hide depth of its argument from outer tabular
 \ensuremath{\smash{\begin{tabular}[t]{@{}>{\raggedright\arraybackslash}p{#1}@{}}%
     #2 \end{tabular}}}}
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\usepackage{pdfpages}
\includepdfset{pagecommand=\thispagestyle{plain}}
\renewcommand{\TPTnoteSettings}{\footnotesize}
\renewcommand{\TPTnoteLabel}[1]{#1}
\usepackage{fancyvrb}
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist 
\begin{document}

\begin{table}[H]
\begin{threeparttable}
\renewcommand\arraystretch{1.1}
\renewcommand\tabcolsep{1pt}  
\begin{tabular*}{\textwidth}{@{} p{1.7in} @{\extracolsep{\fill}} *{5}{D{,}{,}{2.4}} @{}}
\toprule
\mc{Hypotese nr. }& \mc{Method} & \mc{Game} \\
\midrule
1 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
2 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
3 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
4 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
\bottomrule
\end{tabular*}
\end{threeparttable}
\end{table}
\vspace{-0.6em}
\end{document}

答案1

您给出的内容不符合 MWE 的条件。您必须使用p类型列,因为给定的表D列是无用的。

\documentclass[a4paper,11pt,oneside]{article}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage[left=3.0cm,right=3.0cm,top=3.0cm,bottom=3.0cm]{geometry}
\usepackage{array}
\usepackage{booktabs,threeparttable}
\newcommand\mc[1]{\multicolumn{1}{@{}c@{}}{#1}} % handy shortcut macro
\renewcommand{\TPTnoteSettings}{\footnotesize}
\renewcommand{\TPTnoteLabel}[1]{#1}
\begin{document}

\begin{table}[H]
\begin{threeparttable}
\renewcommand\arraystretch{1.1}
%\renewcommand\tabcolsep{1pt}
\begin{tabular}{@{}>{\centering}p{0.15\textwidth}>{\raggedright}m{0.68\textwidth}
    p{\dimexpr0.17\textwidth-4\tabcolsep\relax}@{}}
\toprule
\mc{Hypotese nr.}& \mc{Method} & \mc{Game}  \\
\midrule
1 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
2 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
3 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
4 & TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT  TEXT TEXT TEXT  TEXT TEXT TEXT  & FALSIFY \\
\bottomrule
\end{tabular}
\end{threeparttable}
\end{table}
\vspace{-0.6em}
\end{document}

在此处输入图片描述

相关内容