내 테이블의 경계선을 넘어서는 수직선

내 테이블의 경계선을 넘어서는 수직선

나는 LaTeX를 처음 접했기 때문에 아마추어 질문을 양해해 주시기 바랍니다. 다음 명령을 사용하여 테이블을 생성합니다.

\begin{table}[ht!]
\small
\centering
\caption{Effect of industry on \emph{Bad Self Impact} by value of \emph{Cultural Sentiment}}.
\begin{tabular}{|c|c|c|c|}\\ 
\hline
Value of \emph{Cultural Sentiment}  & Coefficient on \emph{Import Industry}  & P-value & Observations\\ \hline
Positive & 0.234 (-0.108, 0.577) & 0.179 & 1995\\ \hline
Neutral & 0.607 (0.267, 0.947) & 0.000 & 1040\\ \hline
Negative & -0.099 (-0.485, 0.288) & 0.616 & 703\\ \hline
\end{tabular}\\
\end{table}

그러나 결과는 다음과 같습니다. 테이블 왼쪽 상단에 두 개의 선이 경계 너머로 돌출되어 있습니다. 어떻게 제거합니까?

여기에 이미지 설명을 입력하세요

답변1

\\이후 삭제 \begin{tabular} 첫 번째 셀 뒤에 빈 행이 끝나 수직선을 설명합니다.

( 외부 정렬은 거의 항상 잘못됨) \\ 이후에도 삭제해야 합니다 .\end{tabular}\\

관련 정보