0
votes
1answer
44 views

Alignment of multi-columns and line breaks within cells

I am failing to set up a complex APA table once again. Actually, I need a table like shown below: My current MWE: \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} ...
1
vote
2answers
165 views

Why won't my \otoprule command work in table formatting?

Primer: I'm very new to LaTeX. I am creating a table with the following code. Here is part of the table: \usepackage{tabularx, multirow, booktabs} \begin{table}[tp] \caption{Rain garden site ...
11
votes
3answers
778 views

Horrible table layout

I have a table which gives an overview of some theory. It includes a lot of words or combination of words. The layout is horrible and not LaTeX quality. Some guidance as to how to improve would be ...
4
votes
1answer
350 views

Table and \hlines too short or wide

Here is a MWE of what I am trying to do. \documentclass[a4paper]{article} \usepackage{tabularx,booktabs} \usepackage{color,colortbl} \begin{document} \begin{table}[htb] \centering ...
1
vote
1answer
458 views

how to split the table heading in booktabs?

how to split the column headings? How do I get newline after some word? When I put \\, it changes the alignment badly. This is my code: \documentclass{article} \usepackage{pgfplots} ...
5
votes
3answers
4k views

Formatting table border and text alignment in LaTeX table

I have the following table in the .tex file: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table}[htbp] \centering \caption{Distribution of Number of Injured ...
3
votes
2answers
2k views

how to vertically align text in multirow cell with tabularx with renewcommand?

Here I come again, Following the indications on this url I managed to get almost exactly what I want. However the problem is that the first multirow cell (with text "5 and 6") is not vertically ...
1
vote
1answer
1k views

bottomrule not working in a self-made environment

I have this environment for consistent tables in my LaTeX documents: \newenvironment{defaultTable}[2] { \@float{table}[h] \noindent \tabularx{\textwidth}{#1} \specialrule{0.5pt}{10pt}{0pt} ...