Re: Leerraum in geschachtelten Tabellen

Peter Ragosch <[email protected]>
Newsgroups gmane.comp.tex.german
Organization Telekom
Message-ID <[email protected]>
On Mon, 16 Dec 2024 11:52:09 +0100
Dirk Hünniger (via tex-d-l Mailing List) <[email protected]>
wrote:

> Hallo,
> 
> im unten angegeben Minimalbeispiel befindet sich links des Worte
> "one" ein kleiner Leerraum. Wie bekommt man den weg? Wenn der weg ist
> sollte die innere Tabelle auch nicht mehr zu weit nach rechts
> hinausragen, so jedenfalls meine Hoffnung.
> 
> \documentclass{article}
> \begin{document}
> The linewitdh is \the\linewidth \\
> \begin{tabular}{|p{0.47143\linewidth}|p{0.47143\linewidth}|}
> \hline
> here is is \the\linewidth & and here \the\linewidth \\
> \hline
> \begin{tabular}{|p{\linewidth}|}
> \hline
> one \\ \hline
> \end{tabular}
> \end{tabular}
> \end{document}
> 
> 
> Viele Grüße Dirk
> 
> 

Der Abstand zwischen zwei Tabellenspalten ist nicht 0:

\documentclass{article}
\begin{document}
The linewitdh is \the\linewidth \\
\tabcolsep 0pt      % <-----
\begin{tabular}{|p{0.47143\linewidth}|p{0.47143\linewidth}|}\hline
here is is \the\linewidth & and here \the\linewidth \\\hline
	\hspace{0ex}\begin{tabular}{|p{\linewidth}|}\hline
	 one \\ \hline
	\end{tabular} & two \\ \hline
	\begin{tabular}{p{\linewidth}}
	 three \\ 
	\end{tabular} & four \\ \hline
\end{tabular}
\end{document}


Gruß
Peter

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.