Quantcast
Channel: Tabularx: Column smaller than text - TeX - LaTeX Stack Exchange
Browsing index pages (6 articles)

Image may be NSFW.
Clik here to view.

Tabularx: Column smaller than text

So here is the minimal-code:\documentclass[a4paper, 12pt]{scrartcl}\usepackage{tabularx}\usepackage{chemfig}\begin{tabularx}{\textwidth}{|X|c|c|X|} Name & Monomer & Polymermolekül &...

View Article


Answer by David Carlisle for Tabularx: Column smaller than text

TeX can not hyphenate the first word of a paragraph, put\hspace*{0pt}at the start of the X cells, for example you can add this to every X cell by using>{\hspace*{0pt}}X in your tabular preamblebut...

View Article


Image may be NSFW.
Clik here to view.

Answer by Bernard for Tabularx: Column smaller than text

How about this other layout?\documentclass[a4paper,...

View Article

Image may be NSFW.
Clik here to view.

Answer by Mico for Tabularx: Column smaller than text

In addition to prefixing the X column type with a \hspace{0pt} directive to enable hyphenation -- see also David's answer -- you may want to create a list of acceptable hyphenation patterns, as the...

View Article

Image may be NSFW.
Clik here to view.

Answer by Zarko for Tabularx: Column smaller than text

A small variation of @Mico answer. Used are:cellspace for adding a small vertial space around cells contentsdjustbox for vertical centering of \chemfig formula\documentclass[a4paper,...

View Article


Image may be NSFW.
Clik here to view.

Answer by leandriis for Tabularx: Column smaller than text

Here are two more versions of your table. In both, I have corrected the chemical formulae of the polymer molecules using \polymerdelim from the chemfig package. With this command, the square brackets...

View Article
Browsing index pages (6 articles)


Latest Images