次のようなテーブルを作成しようとしています:
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 などのパッケージを使用したため、プリアンブルの一部の要素が欠落している可能性があります。
出典: 上記の表は私の状況を表すためにWikipediaから抜粋したものです。
答え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}