다음과 같은 테이블을 만들려고 합니다.
Idioms Definition
A dime Anything that is common, inexpensive,
a dozen and easy to get or available any where.
Beat around To treat a topic, but omit its main points,
the bush often intentionally or To delay or avoid
talking about something difficult or unpleasant.
Bite off more To take on more responsibility than you can manage.
than one can chew
...
내가 한 일은
\documentclass{book}
\begin{document}
\thispagestyle{empty}
\noindent
\begin{tabular}{p{6cm} p{12cm}}
Idioms & Definitions
{The Remaining portions of work goes here.}
\end{tabular}
\end{document}
하지만 나는 얻는다
숙어 정의
A dime Anything that is common, inexpensive,
a dozen and easy to get or available any where.
Beat around To treat a topic, but omit its main points,
the bush often intentionally or To delay or avoid
talking about something difficult or unpleasant.
Bite off more To take on more responsibility than you can manage.
than one can chew
...
나는 이것이 정렬과 관련이 있다고 생각합니다. 위 샘플은 내가 Latex에서 얻은 것과 정확히 일치하지 않습니다. 하지만 그것은 내 문제를 반영합니다. p 대신 l을 사용하면 원하는 왼쪽 정렬을 얻을 수 있습니다. 하지만 테이블 크기는 없습니다. 그러나 크기가 조정되면 정렬이 잘못됩니다.
setspace 및 anysize와 같은 패키지를 사용한 것처럼 서문의 일부 요소가 누락될 수 있습니다.
출처: 위의 표는 제 상황을 표현하기 위해 위키피디아에서 발췌한 것입니다.
답변1
사용 tabularx
하고 또한\RaggedRight
\documentclass{book}
\usepackage{tabularx,ragged2e}
\begin{document}
\noindent
\begin{tabularx}{\textwidth}{
@{} % no \tabcolsep on the left side
>{\RaggedRight}p{6cm}% let the p column typeset ragged right
X % dynamical column width
@{} % no \tabcolsep on the right side
}
Idioms & Definitions
{The Remaining portions of work goes here.}
\end{tabularx}
\end{document}