Quantcast
Channel: Tabularx: Column smaller than text - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 6

Tabularx: Column smaller than text

0
0

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 & Einsatzbeispiel\\    \hline    Polyethen (PE)  &             \chemfig{                H                -[1]C                     (-[3]H)                =C                     ( -[1]H)                 -[7]H            } &            \schemestart                \chemleft[                    \chemfig{                        -C                            ( -[2]H)                            ( -[-2]H)                        -C                            ( -[2]H)                            ( -[-2]H)                    }                \chemright]$_n$            \schemestop& Plastiktüten    \\    Polypropen (PP) & \chemfig{             H             -C                ( -[2]H)                ( -[6]H)            -C                ( -[2]H)            =C                ( -[1]H)                ( -[7]H)         } &          \schemestart            \chemleft[                \chemfig{                    -[0]C                        ( -[2]H)                        ( -[-2]H)                    -C                        ( -[2]{CH3})                    -[0]                }            \chemright]$_n$         \schemestop& Flaschendeckel, Brotdosen    \\    Polyvenylchlorid (Pvc)&         \chemfig{            H            -[1]C                ( -[3]H)            =C                ( -[1]Cl)            -[7]H        } &         \schemestart            \chemleft[                \chemfig{                    -[0]C                        ( -[2]H)                        ( -[-2]H)                    -C                        ( -[6]H)                        ( -[2]{Cl})                    -[0]                }            \chemright]$_n$        \schemestop& Rohrleitungen, Venylböden, Schallplatten    \\     Polyethafluorethen (PTFE) &         \chemfig{            F            -[1]C                ( -[3]F)            =C                ( -[1]F)            -[7]F        }&        \schemestart            \chemleft[                \chemfig{                    -C                        ( -[2]F)                        ( -[6]F)                    -C                        ( -[2]F)                        ( -[6]F)                    -[0]                }            \chemright]$_n$        \schemestop& Pfannenbeschichtung (Tephlon),        Funktionskleidung (Gortex) \end{tabularx}\end{document}

That's how it looks like:How it currently looks like

As you can see the text isn't formatted in the table. Do you have an idea how I can fix this?


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images