扫描多列使用时文件结束

扫描多列使用时文件结束

我对这段代码感到疯狂:

我收到“ File ended while scanning use of \multicolumn”。这是多张表之一。它们都很相似,但我在这一张表(以及下一张表)上收到错误,但在之前的类似表上没有收到错误。

我尽我所能检查了一下,我认为花括号都匹配了。我是否遗漏了什么,或者错误可能是由其他原因造成的?

这是 MWE

% This file was converted to LaTeX by Writer2LaTeX ver. 1.6.1
% see http://writer2latex.sourceforge.net for more info
\documentclass[a4paper,landscape]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb,amsfonts,textcomp}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage{color}
\usepackage{array}
\usepackage{supertabular}
\usepackage{hhline}
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, urlcolor=blue, pdftitle=, pdfauthor=, pdfsubject=, pdfkeywords=}
\makeatletter
\newcommand\arraybslash{\let\\\@arraycr}
\makeatother
% Page layout (geometry)
\setlength\voffset{-1in}
\setlength\hoffset{-1in}
\setlength\topmargin{2cm}
\setlength\oddsidemargin{2cm}
\setlength\textheight{17.001cm}
\setlength\textwidth{25.7cm}
\setlength\footskip{0.0cm}
\setlength\headheight{0cm}
\setlength\headsep{0cm}
% Footnote rule
\setlength{\skip\footins}{0.119cm}
\renewcommand\footnoterule{\vspace*{-0.018cm}\setlength\leftskip{0pt}\setlength\rightskip{0pt plus 1fil}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.018cm}}\vspace*{0.101cm}}
% Pages styles
\makeatletter
\newcommand\ps@Standard{
  \renewcommand\@oddhead{}
  \renewcommand\@evenhead{}
  \renewcommand\@oddfoot{}
  \renewcommand\@evenfoot{}
  \renewcommand\thepage{\arabic{page}}
}
\makeatother
\pagestyle{Standard}
\setlength\tabcolsep{1mm}
\renewcommand\arraystretch{1.3}
\title{}
\author{}
\date{2022-01-11}
\begin{document}
\clearpage\setcounter{page}{1}\pagestyle{Standard}

\bigskip







\bigskip

\begin{flushleft}
\tablefirsthead{}
\tablehead{}
\tabletail{}
\tablelasttail{}
\begin{supertabular}{|m{3.698cm}|m{7.349cm}|m{6.9160004cm}m{6.7660003cm}|}
\hline
\multicolumn{4}{|m{25.328999cm}|}{\textbf{\textcolor{black}{Studio: }}\textcolor{black}{Froylich D
}\textit{\textcolor{black}{et al. }}\textcolor{black}{Laparoscopic versus open ventral hernia repair in obese patients:
a long-term follow-up. Surg Endosc 2016}}\\\hline
\textbf{Disegno dello studio}


\textbf{Livello di evidenza} &
\textbf{Dettagli dello studio/limitazione} &
\multicolumn{1}{m{6.9160004cm}|}{\textbf{Caratteristiche dei pazienti}} &
\textbf{Interventi}\\\hline
\textbf{\textcolor{black}{Disegno dello studio:}}\textcolor{black}{ Osservazionale}

~

\textbf{\textcolor{black}{Certezze delle prove:}}\textcolor{black}{ Bassa}

~
 &
\textbf{\textcolor{black}{Paesi: }}Israele

\textbf{\textcolor{black}{Centri:}}\textit{\textcolor{black}{ }}Singolo centro

\textbf{\textcolor{black}{Setting:}}\textit{\textcolor{black}{ }}1 centro ospedaliero

\textbf{\textcolor{black}{Finanziamenti}}\textcolor{black}{: Non riportati}

\textbf{\textcolor{black}{Tassi di dropout:}}\textcolor{black}{ 6\% nel gruppo laparoscopico e 17\% nel gruppo open}

\textbf{\textcolor{black}{Limitations:}}

\textcolor{black}{{}- Alti tassi di dropout al follow-up}

\textcolor{black}{{}- Diverse tecniche chirurgiche impegate}

\textbf{\textcolor{black}{Critical appraisal:}}\textcolor{black}{ Newcastle-Ottawa} &
\multicolumn{1}{m{6.9160004cm}|}{Pazienti con ernia ventrale incisionale e primaria operati tra il 2004 e il 2012 (186
pazienti con obesità)

~

\textbf{\textcolor{black}{Criteri di inclusione: }}\textcolor{black}{BMI {\textgreater}30
kg/m}\textcolor{black}{\textsuperscript{2}}

~

\textbf{\textcolor{black}{Criteri di esclusione: }}\textcolor{black}{Interventi in urgenza}} &
\textcolor{black}{Tecnica di riparazione laparoscopica vs. a cielo aperto}\\\hline
\textbf{\textcolor{black}{Note}}\textcolor{black}{:} &
\multicolumn{3}{m{21.431cm}|}{\textcolor{black}{Dimensioni del difetto (cm2)}

\begin{table}
\raggedright
\begin{tabular}{|m{5.2770004cm}|m{5.275cm}|m{5.275cm}|m{5.2720003cm}|}

\hline
~
 &
\textcolor{black}{Open} &
\textcolor{black}{Laparoscopico} &
\textcolor{black}{P=}\\\hline
\textcolor{black}{Piccolo ({\textless}16 cm}\textcolor{black}{\textsuperscript{2}}\textcolor{black}{)} &
\textcolor{black}{30.0\%} &
\textcolor{black}{14.2\%} &
\textcolor{black}{0.03}\\\hline
\textcolor{black}{Medio (16--64 cm}\textcolor{black}{\textsuperscript{2 }}\textcolor{black}{)} &
\textcolor{black}{39.7\%} &
\textcolor{black}{40.0\%} &
\textcolor{black}{0.07}\\\hline
\textcolor{black}{Grande ( {\textgreater}64 \ cm}\textcolor{black}{\textsuperscript{2}}\textcolor{black}{)} &
\textcolor{black}{28.4\%} &
\textcolor{black}{51.0\%} &
\textcolor{black}{0.02}\\\hline\end{tabular}

\end{table}
~
%}\\\hline
\textbf{\textcolor{black}{Outcomes}} &
{}- Recidiva erniaria (all'esame clinico e TC)

\textcolor{black}{{}- Complicanze}

{}-\textcolor{black}{ Infezioni di ferita}

\textcolor{black}{{}- Durata dell'ospedalizzaione in giorni}

~

~
 &
\multicolumn{2}{m{13.882001cm}|}{\textbf{\textcolor{black}{Risultati: }}\textcolor{black}{186 pazienti con obesità (35
nel gruppo laparoscopico, 151 nel gruppo open.}

\textbf{\textcolor{black}{{}- Recidive:}}\textcolor{black}{ 27.1\% (Open) vs. 20.0\% (Laparoscopico); P=0.28}

\textbf{\textcolor{black}{{}- Morbilità:}}\textcolor{black}{ 20.5\% (Open) \ vs. 17.1\% (Laparoscopico); P=0.53}

\textbf{\textcolor{black}{{}- Infezioni di ferita:}}\textcolor{black}{ 15.8\% (Open) vs 5.7\% (Laparoscopico); P=0.09}

\textbf{\textcolor{black}{{}- Durata dell'ospedalizzazione in giorni:}}\textcolor{black}{ 3.8 {\textpm} 2.73 vs. 3.2
{\textpm} 1.75; P=0.234}}\\\hline
\end{supertabular}
\end{flushleft}

\end{document}

答案1

TeX 报告的错误是

Runaway argument?
{\textcolor {black}{Dimensioni del difetto (cm2)} \par \begin {table}\ETC.
! File ended while scanning use of \multicolumn.
<inserted text> 
                \par 
<*> bb717
         
? 

因为{(不必要的)之前的\textcolor{black}永远不会被关闭。

更确切地说,如果这一行没有被注释掉,它就会被关闭

%}\\\hline

如果}恢复,错误就会消失,但你会得到错误

! LaTeX Error: Not in outer par mode.

来自table不能嵌套的环境中supertabular

相关内容