문서 구성에 어떤 문제가 있나요?

문서 구성에 어떤 문제가 있나요?

문서를 자동으로 생성했는데 오류가 발생했습니다. ! Extra alignment tab has been changed to \cr.이 오류를 알고 있지만 제 경우에는 이유를 이해할 수 없습니다. 최소한의 예는 다음과 같습니다.

    \documentclass{report}
        \usepackage{fancybox,fancyhdr}
        \usepackage[T1]{fontenc}
        \usepackage[dvipsnames]{xcolor}
        \usepackage{fixltx2e}
        \usepackage[normalem]{ulem}
        \usepackage[left=72pt,right=72pt, top=72pt,bottom=72pt,bindingoffset=0cm]{geometry}
        \usepackage{array}
        \usepackage{longtable}
        \usepackage[export]{adjustbox}
        \newcolumntype{R}[2]{>{\raggedleft \arraybackslash \hspace{0pt}}{#2}{#1}}
        \newcolumntype{L}[2]{>{\raggedright\arraybackslash}{#2}{#1}}
        \newcolumntype{C}[2]{>{\center\arraybackslash}{#2}{#1}}
    \fancyhead[C]{\noindent\sbox{0}{\parbox{\textwidth}{\noindent\begin{longtable}{c}Text\end{longtable}}}
        \ifdim\dimexpr\ht0+\dp0<14pt
        \dp0\dimexpr14pt-\ht0\fi
        \makebox{\usebox{0}}\\}\begin{document}
        \pagestyle{fancy}
        \noindent\sbox{0}{\parbox{\textwidth}{
    \noindent\begin{longtable}{L{\textwidth}{p}}list 
    \begin{itemize}
    \item item
    \end{itemize}
    \end{longtable}}}
        \ifdim\dimexpr\ht0+\dp0<240.44036697248pt
        \dp0\dimexpr240.44036697248pt-\ht0\fi
        \makebox{\usebox{0}}\\
    \noindent\begin{longtable}{L{450mm}{p}}Love\\\end{longtable}
    \begin{longtable}{p{90mm}R{40mm}{p}rc}
                Own party & &  Unscored \\ [10pt]
                Own parties & & & \\ [10pt]
            Entity that is contracting on our behalf \\{Which of our own parties is contracting on our behalf?}&{Unknown}&Unscored& \\ [10pt]
        Reference name \\ {Reference name used to refer to the own party}&{Unknown}&Unscored& \\ [10pt]
        \end{longtable}

        \begin{longtable}{p{90mm}R{40mm}{p}rc}
                Counterparties & &  Unscored \\ [10pt] 
                Counterparty & & & \\ [10pt]
        Reference name \\{Reference name used to refer to the counterparty}&{Unknown}&Unscored& \\ [10pt] 
        Counterparty identity\\{None provided}&{Unknown}&Unscored& \\[10pt] 
        Whether we are contracting with a company, branch, individual or some other kind of entity? \\ {The type of entity you are planning to contract with is really important when deciding whether the deal is appropriate. For example, you can hold a company to account for most contract terms it agrees to. But the same is not true when you are dealing with an individual - they might be able to get out of these terms even if they had signed up to them. }&{Unknown}&Unscored& \\[10pt]
Name of counterparty \\ {None provided}&{Unknown}&Unscored& \\[10pt]
       \end{longtable}
       \end{document}

텍스트의 일부(...)를 제거하거나 For example, you can hold a company헤더에서 parbox를 제거하거나 첫 번째 longtable에서 parbox를 제거할 때 오류가 사라집니다..... 왜 이런 일이 발생하는지 이해할 수 없습니다??? 문서의 일부를 제거하지 않고 오류를 수정하는 방법은 무엇입니까?

이 경우 무엇이 잘못되었는지 설명해 주시겠습니까?

업데이트(의견으로 인해): 마지막 테이블이 (last 없이 \\) 그렇게 보이는 경우 작은 TEXT 변경 후에도 작동하지 않습니다.

\begin{longtable}{p{90mm}R{40mm}{p}rc}
                Counterparties & &  Unscored \\ \\ 
                Counterparty & & & \\ \\
        Reference name \\{Reference name used to refer to the counterparty}&{Unknown}&Unscored& \\ \\ 
        Counterparty identity\\{None provided}&{Unknown}&Unscored& \\ \\ 
        Whether we are contracting with a company, branch, individual or some other kind of entity? \\ {The type of entity you are planning to contract with is really important when deciding whether the deal is appropriate. For example, you can hold a company to account for most contract terms it agrees to. But the same is not true when you are dealing with an individual - they might be able to get out of these terms even if they had signed up to them. }&{Unknown}&Unscored& \\ \\ 
Name of counterparty \\ {None provided}&{Unknown}&Unscored& \\ 
       \end{longtable}
       \end{document}

답변1

사용하지 마세요 \\ \\. 더 많은 공간이 필요하면 \\[10pt]줄 뒤에 10pt를 추가하는 것과 같은 것을 사용하십시오. 그리고 물론 헤더 정의에서 \fancyheaduse tabular및 _ not_ 을 사용합니다 longtable.

관련 정보