
라텍스로 큰 테이블을 만들려고 하는데 그 안의 텍스트에 문제가 있어서 페이지가 사라져 버립니다.
여기 코드 :
\begin{table*} \centering
\begin{tabular*}{\textwidth}{@{\extracolsep{\stretch{2}}}*{2}{l}@{}}
\toprule
Source & La commission de contrôle procède à une véritable évaluation des conséqu- \\ & ences sur l'investissement public.\\
\hline
Cible & The control commitee carries out a true evaluation of the impact on public \\ & investment. \\ \hline Référence & The
control commitee carries out a true evaluation of the impact on gove-
\\ & rnment investment. \\ \hline
%\textsc{Trig-seq}${_{m-n}}_{sel}$ & it must take into account the
fact that insurance companies \textbf{need} \\ & \textbf{of of} some
time. \\ \hline ${Trig_{m-n}}_{(k)} + ML$ & The control commitee
carries out a true assessment of the impact on pu- \\ & blic
investment \\ \hline ${Trig_{m-n}}_{(k)}$ & The control commitee
process to a true assessment of the impact on pu- \\ & blic
investment \\ \hline ${Trig_{m-n}}_{(sel)} + ML$ & The control
commitee procède to a true evaluation of the conséquences on \\ &
public investment. \\ \hline ${Trig_{m-n}}_{(sel)}$ & The
control commitee procède to a correct evaluation of the conséquences
\\ & on government investment. \\ \hline \toprule
\end{tabular*} \caption{Exemple de traductions d'une phrase issue du
corpus \textsc{Europarl} avec les différents modèles de
traduction\label{exemple}} \end{table*}
저를 도와줄 생각 있으신가요?
건배
답변1
다음을 사용하세요 tabularx
:
\documentclass[a4paper,french]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[showframe]{geometry}
\usepackage{babel}
\usepackage{tabularx,booktabs}
\begin{document}
\begin{table}[!htb]
\begin{tabularx}{\textwidth}{@{}l X @{}} \toprule
Source & La commission de contrôle procède à une véritable évaluation des
conséquences sur l'investissement public.\\\hline
Cible & The control commitee carries out a true evaluation of the impact on public
investment. \\ \hline
Référence & The control commitee carries out a true evaluation of the impact on
government investment. \\ \hline
\textsc{Trig-seq}${_{m-n}}_{sel}$ & it must take into account the
fact that insurance companies \textbf{need} \textbf{of of} some time. \\ \hline
${Trig_{m-n}}_{(k)} + ML$ & The control commitee
carries out a true assessment of the impact on public investment \\ \hline
${Trig_{m-n}}_{(k)}$ & The control commitee
process to a true assessment of the impact on public investment \\ \hline
${Trig_{m-n}}_{(sel)} + ML$ & The control commitee procède to a true evaluation of
the conséquences on public investment. \\ \hline
${Trig_{m-n}}_{(sel)}$ & The control commitee procède to a correct evaluation
of the conséquences on government investment. \\ \bottomrule
\end{tabularx}
\caption{Exemple de traductions d'une phrase issue du
corpus \textsc{Europarl} avec les différents modèles detraduction\label{exemple}}
\end{table}
\end{document}
답변2
자동 줄 바꿈을 위해서는 적절한 열 유형을 사용해야 합니다. 예를 들어 p{<width>}
또는 환경을 X
사용하는 경우 tabularx
(내가 선호하는):
\documentclass{article}
\usepackage{booktabs,tabularx}
\usepackage[utf8]{inputenc}
\usepackage[showframe]{geometry}
\begin{document}
\begin{table}
\begin{tabularx}{\textwidth}{lX}
\toprule
Source & La commission de contrôle procède à une véritable
évaluation des conséqu ences sur l'investissement public.\\
\hline
Cible & The control commitee carries out a true evaluation of the
impact on public investment. \\
\hline
Référence & The control commitee carries out a true evaluation
of the impact on government investment. \\
\hline
\end{tabularx}
\caption{Exemple de traductions d'une phrase issue du corpus \textsc{Europarl} avec les différents modèles de traduction}
\label{exemple}
\end{table}
\end{document}
이는 다음을 제공합니다: