{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.

learn more… | top users | synonyms (2)

0
votes
2answers
5 views

How can i change a table column's size and its text justification at the same time in Latex?

I am a newbie in Latex but I know that this command {|>{\small} l | p{2.8cm} | p{2.93cm} | p{2.85 cm} | p{2.58 cm} | } will change first column justification to left and set the size for other ...
4
votes
1answer
53 views

\upbracefill filling entire tabular cell and package colortbl

In my documents, I have found that when I call \upbracefill in a tabular cell, the resulting brace IS NOT taking the entire width of the cell. After creating the smallest example I could that ...
4
votes
1answer
63 views

How to merge two rows of 2 columns into a single row of 4 columns without modifying the data entry?

At the beginning I designed a table with a huge number of rows of acronyms. The table has two columns and occupies \textwidth, as follows. \documentclass{article} ...
2
votes
2answers
49 views

centering a line in table's cell

I'm using two columns style. I would like to modify a table so it can fit with keeping clarity. Two of the cells their texts should be in two lines. The second line should be in the center. ...
2
votes
1answer
81 views

Coloring tables without xcolor, colortbl and tabu while using listings package

currently, I want to color my tables. However, presumably since I'm using the listings package, I can't apply the abovementioned packages, as they totally mess up the default table looks (lines ...
3
votes
1answer
56 views

Table over only part of a page?

I'm currently trying to create a table which has a specific width (table and content itself). After quite a few attempts I found a working solution but my question here is: Is this the way to go or is ...
2
votes
0answers
60 views

Are tabls and tabularx not compatible?

The following MWE does not compile: \documentclass{article} \usepackage{tabularx,tabls} \begin{document} \begin{tabular}{ccc>{arraybackslash}c} 1&2&3&4\\ 1&2&3&4\\ ...
4
votes
2answers
52 views

How to rotate text in a cell and center it vertically and horizontally?

I am creating a table and, after using \multirow, I want to rotate the text of this column and have it centered vertically and horizontally inside its cell. The code I am using would be similar to ...
1
vote
1answer
47 views

column width for text without space

how is it possible to control the column width in a table having a very long text without space. \begin{table} \begin{tabular}{l p{2cm}} datapath & ...
2
votes
1answer
77 views

Centering a header in Deluxe Table

I would like to center the subheader "LightCurve Derived Orbital Parameter" in the deluxetable without affecting the width of the headers of each column. As seen in the image below, the subheader ...
4
votes
1answer
43 views

table (\tabular + \shortstack) gives weird result

I am using a template from this journal. When I am placing table in covering 2 columns (textwidth) using table* I get the following error. MWE: \documentclass[USenglish,twocolumn]{article} ...
4
votes
1answer
54 views

Generate rows in table using \multido (or something similar)

Consider the following example: \documentclass{article} \usepackage{booktabs} \usepackage[locale = DE]{siunitx} %\usepackage{multido} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
4
votes
1answer
50 views

consistent spacing using tabular/ minipage/ parbox

Even though I've read numerous threads on how to achieve consistent spacing, I still cannot figure out, why it doesn't work when using any of the macros \testD to \testG in the following example. ...
5
votes
1answer
128 views

How do I build this table?

I tried with \multirowcell with limited success, since I am not sure how to create the long first column without a horizontal line going though it! Here is what I have tied: ...
1
vote
1answer
46 views

Section with multi-column text

I want to create a section in which the text appears in three columns, its similar to a table with three columns and one row, but without any outlines, and multi-line text. How can I do this?
0
votes
1answer
72 views

How to force multiple tables onto a single page?

I am doing the final layouting pass on a book, and while LaTeX does "the right thing" most of the time, and the occassional ugliness can be tweaked with minor touches to the text, there are cases ...
3
votes
1answer
69 views

How can I improve showing several different measures for one sample?

I am displaying 4 bits of data (three of them are of the same type) for a sample shown on the left of it. Is there a way I could improve this? So far I came up with this layout: MWE ...
0
votes
0answers
44 views

Can someone help me please? it is about width of the table [duplicate]

My table is too wide and too long to fit one page. i want to seperate it to 2 pages. i used longtable package to seperate it two pages bu i cant fix the wideness. her is my table code, (it look a ...
3
votes
4answers
253 views

How can I make a long and wide table fit the text width?

My table is too wide and too long to fit in one page. I want to separate it in 2 pages. I used longtable package to separate it in two pages but I can't fix the width. Here is my table code, (it look ...
0
votes
0answers
24 views

How to make table like this in latex? [duplicate]

How to make table in latex like this? I am confused in multirow spanning and multicolumn spanning in this? Any help would be appriciated. My code is : \begin{table} ...
3
votes
2answers
114 views

Latex table with Multirow

I've been struggling with this for a while. 1.) I want the 2.5 and 97.5 to appear distinctly from the "Percentile" label but still in the same cell. 2.) I want the 2.5 to appear centered around the ...
1
vote
0answers
34 views

textual replacement within spreadtab

similar to this question I want to use a function inside of a spreadtab region, but i do not want to use it out of a seperate file but just simplify the usage and readability. Unfortuntely the usage ...
3
votes
2answers
71 views

Reduce cell margins in a table

I have a table as shown below. \documentclass{article} \usepackage{graphicx} \newcommand*\rot{\rotatebox{90}} \begin{document} \begin{table}[!ht] \centering \begin{tabular}{| c | c | c |} ...
4
votes
1answer
61 views

table cell shading overlaps to nearby cells

I have a latex table as follows \documentclass[12pt]{report} \usepackage{colortbl} \begin{document} \begin{table} \centering \begin{tabular}{|@{\,}c@{\,}|@{\,}c@{\,}|@{\,}c@{\,}|@{\,}c@{\,}|} ...
0
votes
1answer
39 views

Need to align text to top of cell in table [duplicate]

this is the code I have now: \begin{tabular}{|l|l|p{8cm}|} \hline NB & Screen & Description\\ \hline \multirow{-40}{*}{1} & \includegraphics[scale=0.4, trim=0 0 0 ...
2
votes
3answers
334 views

How to make a table look nicer

I am currently working on my master thesis and my tables which are used as a type of matrix simply look awful. How can i make them look much better? \begin{table}[H] \centering ...
0
votes
1answer
61 views

the error Missing number, treated as zero in tabular

there is my code \documentclass[a4paper,12 pt,adobefonts]{ctexart} \usepackage{xeCJK} \usepackage{caption} \usepackage{multirow}%跨行表格 \usepackage{bigstrut} \renewcommand{\arraystretch}{1.3} ...
1
vote
1answer
51 views

Vertical aligment of dinglist inside table cell with `parskip`

Why is the list text so close to the top line of the cell in some lists? I know it's a problem with the parskip package. I can solve this by adding this strut in every cell before the text ...
0
votes
0answers
35 views

Aligning tabular inside list environment

Referring to my other unanswered because edited question here (see edit at the end), I have to open this new post. What can be done, to adjust the top of the tabular with the exercise-number at the ...
3
votes
1answer
36 views

Overlap table cells

I use "multicol" to create a page with two columns and in one column I have a table. My problem is that the table is too wide and I get an "Overfull \hbox" warning. Example: \documentclass{scrreprt} ...
2
votes
2answers
52 views

Table used to place text and symbols

I want to place some text and a line created with rule. It should look like the example you can see as image. The table shall be textwidth. \documentclass[a4paper, 11pt]{memoir} ...
0
votes
1answer
113 views

Chart or diagram for this figure

How could I create this table or diagram, I appreciate the help.
2
votes
2answers
55 views

Underbrace below tabular and columns of equal width

I would like to get a table 3×8 with columns of equal width, below it two undebrace ( column 3 and columns 4-5) over text "signs rules" and "we must study the sign of g" \documentclass{article} ...
0
votes
0answers
58 views

Minipage inside long table

I have large table going more than one page . \documentclass[useAMS]{biom} \begin{table*} \centering \def\~{\hphantom{0}} \begin{minipage}{140mm} \caption{Models and Explicit Estimates} ...
1
vote
1answer
67 views

How to create a table with long text and which packages use

Please, Help me inserting a table like this. I could not prepare this table easily because the long text i have to insert into the columns. I have been trying from some examples of stackechange but ...
1
vote
2answers
62 views

Longtable spread too wide

I've created some tabular output through Python (pandas database). However, it leaves a too wide space between columns 2,3 (for which I cannot detect the reason), and actually overflowing the page ...
1
vote
1answer
41 views

Error with parenthesized neg. numbers and siunitx in a table

Why do I get an error (Misplaced sign token) for the negative sign in the second parenthesized number? Executing without the negative sign works! \documentclass{article} \usepackage{booktabs,siunitx} ...
1
vote
1answer
48 views

horizontal line width using \xhline

So I've been using \Xhline in my tables so that I can set the top, second and bottom line of the tables thicker than the rest. My code (below) works and produces a table and the top and bottom lines ...
3
votes
1answer
72 views

A table that grows horizontally

I have a two column table that is rather "thin" on the page and leaves a lot of blank space. I wish to grow it sideways by limiting the maximum number of rows it produces. Let us say I have a 12x2 ...
7
votes
1answer
147 views

Add zeros after decimal marker

Consider the following code: \documentclass{article} \usepackage{booktabs} \usepackage[locale = DE]{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
5
votes
1answer
76 views

Format table with aligned values +/- errors and units (and parentheses)

I want to have a table with numbers ± errors and units (or a percent sign). Ideally, the numbers are aligned at the decimal separators and the ± sign. Here is my best solution so far using siunitx ...
3
votes
1answer
31 views

referencing several tables in one reference

I need to reference several tables like Tables 1-3 or Tables 3.1 to 3.3 related with the section, I'm using the normal \ref{table1,table2,table3} to do what I want, but when I compile I get something ...
0
votes
0answers
14 views

Add vertical space between two tables in a single figure [duplicate]

Similar to this SE question but without the requirement that the tables be the same width: I have one figure containing two tabular environments: \begin{figure} \centering ...
5
votes
1answer
205 views

Why is \rotate useless in deluxetable?

The command \rotate is useless. I searched the web and somebody said it is common and weird. How to rotate it then? I download a 2028K configuration files ...
0
votes
1answer
32 views

What is character in all table cells except bottom right cell?

And how do I get rid of them? \documentclass[letterpaper,10pt]{memoir} \usepackage{tabularx} \usepackage{caption} \begin{document} \begin{table}[ht] \centering \captionsetup{font={tt,Large}} ...
2
votes
2answers
111 views

Table: white spacing with rowcolor, multicolumn and multirow

I have the following table : It uses \rowcolor, \multicolumn, \multirow but it also has a wide white spacing between the cases. I need the title "Cobertura del transporte en el municipio de ...
3
votes
1answer
44 views

Centering table with 4 images in beamer

I am trying to center a table containing 4 images and a foot note in beamer (the lines are only for debug). This is the code I am using: \documentclass[]{beamer} \usepackage[spanish]{babel} ...
16
votes
4answers
859 views

How to draw the following box using TikZ?

How to draw the following boxes using TikZ? EDIT (22.09.)
2
votes
2answers
64 views

Longtable with two column

I need a longtable with only two columns. I saw this topic Two column list with and I managed to convert into longtable. \documentclass{article} \begin{document} ...
6
votes
2answers
71 views

siunitx's S column misaligns numbers if retain-unity-mantissa is false

Consider this MWE: \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} \usepackage{siunitx} \begin{document} \begin{tabular}{l @{\hskip+0.5em} S[retain-unity-mantissa = false]} ...