![Linksbündig mit Spaltenbreite {p{cm}}](https://rvso.com/image/266397/Linksb%C3%BCndig%20mit%20Spaltenbreite%20%7Bp%7Bcm%7D%7D%20.png)
Ich versuche, eine Tabelle zu erstellen, die ungefähr so aussieht:
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
...
Was ich getan habe ist
\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}
Aber ich bekomme
Redewendungen 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
...
Ich denke, das hat mit der Ausrichtung zu tun. Das obige Beispiel ist nicht genau das, was ich in Latex bekommen habe. Aber es spiegelt meine Probleme wider. Mit l statt p kann ich die gewünschte Linksausrichtung erreichen, aber keine Tabellengröße. Aber mit der festen Größe geht die Ausrichtung schief.
Einige Elemente in der Präambel fehlen möglicherweise, da ich Pakete wie Setspace und Anysize verwendet habe.
Quelle: Die obige Tabelle wurde aus Wikipedia entnommen und dient zur Darstellung meiner Situation.
Antwort1
verwenden tabularx
und auch\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}