Questions tagged [booktabs]
{booktabs} is a package that provides some additional commands to enhance the quality of tables in LaTeX.
500
questions
1
vote
2
answers
100
views
Siunitx: spread table content accross page
I create a table where numbers are included, and since the numbers were not aligned properly with each other vertically, I decided to the sunitx package to tidy up the numbers. This is the code I used:...
1
vote
2
answers
53
views
Coloring behind \cmidrule
I want the heading of my table to be a single uniform color. However because of \cmidrule there is a weird white line in between rows. Currently, my code is as follows:
\bgroup
\begin{landscape}
\...
4
votes
2
answers
136
views
Formatting errors when creating a table
this is my first question, so please bare with me. I am new to Latex and are using it to create a investigation I have conducted on Snells law. I need assistance with creating a results table. I am ...
0
votes
0
answers
25
views
Create multirows based on CSV content
I have the following Latex code:
\documentclass{article}
\usepackage{csvsimple}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\...
2
votes
1
answer
36
views
How to use bold horizontal and vertical lines in a specific row of table?
I need a Table as shown in the attached image file. Could you help me to generate this table according to the image file. Thank you in advance.
\documentclass[]{article}
%\usepackage{booktabs}
\begin{...
0
votes
2
answers
44
views
pnas-new template: extra large space after bottomrule?
I am using the pnas-new template in Overleaf (https://www.overleaf.com/latex/templates/tagged/pnas-official), in particular the template for research report. I notice that when adding a line of text (...
2
votes
0
answers
45
views
How to export (and import) latex tables to Illustrator?
I have been working on the figures of my research paper. I have used Latex to create visually and aesthetically pleasing tables. They look quite good, however, I couldn't find a good way to upload ...
1
vote
1
answer
55
views
How can I set the spacing below a cmidrule equal to that above?
I'd like the spacing below the rules in my tables to equal the spacing above. By default, the below-spacing is smaller.
First: How can I find the spacing I need to add, without trial-and-error adding ...
2
votes
2
answers
109
views
Vertical alignment (centering) not working (multirow, longtable, booktabs)
I am having an issue that I cannot resolve, even after searching online, I apologize as I'm fairly new to Latex and this is basically my first table (which needs to span over multiple pages).
As you ...
2
votes
2
answers
87
views
Table with multiple column (hierarchical table)
I am trying to draw a table like the following figure .
I found a nearest to the solution of my query is the following question. What I found difficult is to add the left most column of my proposed ...
3
votes
2
answers
196
views
Multi column table with continuous vertical lines
I want to create this type of table in the latex. What I did is the following
\begin{tabular}{c|ccccc|ccccc|ccccc}
\toprule
&&& Edge count &&&&& Wedge count &&...
1
vote
2
answers
131
views
esttab table from STATA with unaligned number of observations
I am trying to create a table using esttab option of STATA. I am able to edit the table out but the number of observations are not getting aligned. Moreover, is there a nice way to add table notes to ...
5
votes
2
answers
94
views
Alignment problems with regression table and math in heading
I have a problem with the alignment of the commas in a regression table. Due to the fact that I also have mathematical expressions in the heading, other solutions I found do not work.
Is it still ...
4
votes
5
answers
370
views
\midrule, \bottomrule, etc do not extend until last columns of my table
I am observing strange behaviour in which toprule, midrule, bottomrule fail to extend until the last columns of my table.
In the MWE below, I reproduce the issue using toprule, & bottomrule
%%% ...
1
vote
1
answer
40
views
How to decrease the height of a "longtable"?
I have the following problem. I have the following code and now I want to achieve that the table is not shown on a new page, but under the section heading, so that the table is shortened vertically a ...