Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tables]

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

0
votes
2answers
36 views

`h!` table palcement with `H` spacing?

So I'm trying to make an entirelty double-spaced document, so I have the following code in a MWE: \documentclass[12pt,a4paper,titlepage]{article} \usepackage{setspace} \setstretch{2} \...
2
votes
1answer
19 views

Vertical spacing in multicol environment with tabular environment

I want to create three tables (using the tabular environment) side-by-side in a tcolorbox environment, each of which start and end at the same height. Strangely, the third column always shows up a ...
3
votes
2answers
28 views

Text not aligning in table

I asked a previous question on making a table with varying cell size. Using one of the answers given I was able to create what is seen below. The problem is the text in the lower cells do not align ...
1
vote
3answers
34 views

Putting text in the middle of a line within a three part table

I am trying to put some text in the middle of a horizontal line that only spans a part of the table. Below is my table so far \documentclass{article} \usepackage{amssymb, amsmath, bm} \usepackage[...
2
votes
2answers
36 views

Aligning table notes to the left in three part table

I have some trouble with the table notes of my table. For some reason, my table notes do not align to the left (probably because my table is quite wide). Is there a way to widen the table notes such ...
3
votes
3answers
105 views

Full horizontal justification in table

I want the table to output exactly as shown in the picture (the location of words is important). The first three lines should be fully justified (left and right), and the last line should justify to ...
0
votes
1answer
37 views

Is there an alternative for Excel2Latex in Mac OS X?

When I try to export a table to latex, the Excel does not allow to copy the code. I tried with Excel 2016 and last version 16.25. I don't know if the problem is the plugin or app.
0
votes
0answers
37 views

Create table using exact horizontal and vertical cell sizes with intentional cell overlap

I need to create a table where each cell is 1em x 1em. The contents of each cell in the table will be a single glyph from a special Unicode font. Each glyph is 1.1em x 1.1em. There is intentional ...
3
votes
2answers
45 views

How could I print the table on the left of the page

I want to make a math exam paper via exam package but with the information of students on the left of the first page. We may deal with this by rotated line. However, it is the table I have to print. ...
1
vote
1answer
27 views

Again tabular. What is the best way to color a cell or a table? What is the problem?

Hi again (I´m sorry by English mistakes). I've learned a lot here. This week I learned several ways to create a table joining cells, and also how to put colors in it. However for some reason, two ...
1
vote
1answer
24 views

cals - Removing left and right side-bearings of tabulars

I try to write tabulars using the cals-package, but have run into a problem. I try to remove the side bearings (what you achieve by >@{} using array). As far as I understand, I have to remove left ...
1
vote
0answers
12 views

Adjusting the column width of a specific column in table?

I have created a table where some row cells are merged. Because of this, the merged cells are not "aligned" because two columns have different widths. It is more apparent when you look at an ...
0
votes
1answer
38 views

Show table footnotes at the end of the page

I have a table which contains footnotes. I want these footnotes to appear at the end of the page, but nothing is displaying. However footnote numbers are there in the table. I have tried doing this ...
0
votes
1answer
48 views

Color rows with \rowcolor and datatool \DTLforeach loop

I try to obtain alternate colored rows (just like the table is shown in the figure) using the datatool package and the \rowcolor command. I am following the datatool user manual example for striped ...
2
votes
1answer
39 views

align rows with columns of different widths

I've been failing to make a proper table where text width changes and have different sizes. Here is the table when I use tabulary environment. I want to have the columns have the same size and ...
0
votes
1answer
17 views

Title on three lines to a table

I have a title typeset on three lines using the center environment. The vertical spacing between the lines looks really bad. \documentclass{amsart} \usepackage{mathtools,array} \usepackage{makecell} ...
5
votes
1answer
50 views

Labeling matrices tikz

Could you help me to draw what’s on the image? This is my code so far: \documentclass{article} \usepackage{multirow} \usepackage{color} \usepackage{layout} \usepackage{multicol} \usepackage{...
1
vote
1answer
22 views

Fixing up the column widths

Hi fellow Stack Exchangers, I am trying to create a table but the columns are all messed up with text from columns flowing onto adjacent columns and number being broken up over multiple rows. Does ...
2
votes
2answers
77 views

Cover table with stains

I am trying to recreate the following table So far I have managed to create the following What is missing is the blobs / stains covering parts of the table. I have no idea how to insert them, maybe ...
3
votes
1answer
61 views

How can i create 6 tables, each 3 next to each other

I'm trying to create 6 tables, each 3 next to each other that would look exactly like this and this is my code so far \documentclass[conference]{IEEEtran} \begin{document} \begin{table}[] \...
0
votes
0answers
51 views

“too many }' s ” None of the Figure and Table works

I am trying to write my thesis with the template provided by our university. However none of the figure and table are working. The template have its own figure and tables but they are also not working....
0
votes
0answers
29 views

Table formatting issue in Overleaf

I am using Overleaf for a report and my table header isn't formatting correctly. This is the initial part of the code (the table is long, spanning across two pages - it has 20 rows. I am a total ...
5
votes
3answers
67 views

Help to tabular. How to set different sizes of cell in tabular enviroment?

I´m sorry by English mistakes. I´m looking for how to set of different sizes of cells in tabular enviroment, like picture (I would like the table to span the entire page width). How can I do this? I´...
3
votes
3answers
28 views

Centering a batch of columns with respect to larger multicolumn cell above them

In the table above, the three columns below the multicolumn are smaller and are aligned to the left. However, I want them to be vertically centered with respect to the largest multicolumn above them ...
1
vote
1answer
38 views

Counter expands too late

I want to make clear that I tried my hardest to make the smallest MWE I could that still captures precicely the problem I am facing. To summarize I got help from another answer in defining the ...
0
votes
1answer
34 views

Undefined Control Sequence with tabularx

I have created two tables and I get for both the error "undefined control sequence". I don't know, what else I could check . Here is the code of the two tables: \documentclass{article} \usepackage[...
0
votes
2answers
40 views

Im trying to make this table in the tabular environment but i can't get the titles in the right place

I am trying to make the following table but I don't want it to overlap the text that I have placed. This is what shows up in my document This is what I wrote so far \begin{table}[h!] \begin{...
2
votes
1answer
18 views

How to insert a second multirow after one in an earlier column?

I'm trying to add second multirow after the first in a later column of a row. The problem is that the text in that column is not centred as shown in the image below. Additionally, there is only one ...
0
votes
1answer
28 views

How to center the contents of the first column?

How to center only the contents of the first column, without centering anything else, including the header of the first column? \documentclass{article} \usepackage{booktabs} \usepackage{array} \begin{...
2
votes
1answer
26 views

How to use command \rotatebox and \begin{subtable} to put two transposed tables together

everyone. Thanks for your help in advance! I am trying to put two long tables on one page, and my codes are put below, but it does not work. Trying to figure out by myself, but failed... \...
0
votes
3answers
61 views

Table with varying cell size

I'm trying to make a table that looks like the one in the attached photo. I'm not really sure where to start.
1
vote
0answers
17 views

How to add rows to gradingtable default* template in xsim

First I want to thank all those users that asked questions and/or supplied answers that have been useful to me in my journey learning LaTeX and using it to replace MS Word in editing my chemistry high ...
1
vote
1answer
34 views

Weird spacing between caption and table with floatrow package

What I would like to do : put table captions directly above my tables without space between the caption and the table Here is what I get : I am using the floatrow, subfig and caption package and I ...
0
votes
2answers
34 views

how do I get equally spaced columns inside 'multicolumn'?

I have a table which for the first N rows has 6 columns, and then at the end switches to 4 columns, with the left-most column staying unchanged. I am trying to accomplish this using multicolumn at the ...
2
votes
1answer
41 views

Problem getting rid of column

I need to get rid of the last column. Could you give me a hand? \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{multirow,tabularx} \newcolumntype{Y}{>{\centering\...
0
votes
1answer
40 views

Drawing table with multi rows and columns

So I am trying to figure this out: Can you help me out with the layout? Those multi rows are hard to draw. Working on a MWE right now: \documentclass{article} \usepackage[margin=1in]{geometry} \...
2
votes
2answers
30 views

How to color a table column

I have this sample table. I made the script below but I still need few requirements that I do not know how to: 1) I need to apply the gray color one row above (i.e. the cell which contains the word ...
0
votes
1answer
22 views

Make space between table and section even to text and section

Good evening, I know that I can reduce the space that is inserted with a new table with \vspace*{-10pt}. But how to make it exactly even to the normal space between a \section or \subsection and the ...
6
votes
3answers
145 views

New to LaTeX and need help with a table for my Lesson Plan

I am new to LaTeX and I decided to use it for my Lesson Plans. I have created a table for my lesson planning. But I am struggling to have it aligned properly and to have it fill the whole page in ...
1
vote
1answer
27 views

Allowing values to bypass tabular column alignment

I have 8 columns in my table and everything fits perfectly except the very last value, which is about 5 columns long/wide (it's a very long binary string) and it's on the last row all by itself, I ...
0
votes
0answers
25 views

Extract a table-float from a TeX-typeset PDF?

I have this article which was near-certainly created with LaTeX. One of its floats is a table, and I would like to extract it from the PDF, i.e. obtain a PDF with just that figure (excluding the ...
2
votes
1answer
24 views

Tabular: lines with \pause get line added

When I try to build this: \usepackage{array} \documentclass{beamer} \begin{document} \begin{frame}{Bibliotheken} \setlength\extrarowheight{5pt} \begin{tabular}{|l|l|l|l|l|l|} \hline ...
1
vote
1answer
38 views

How do I make words align horizontally in a box?

I have a problem with boxes. I'd like to make it so that a box including 2 words align horizontally. So the first word is above the second word, in turn hopefully making the box smaller. This is what ...
1
vote
1answer
15 views

Lines and positioning of tables

I need to create this table This is what I have done so far \begin{table}[h!] \begin{center} \begin{tabular}{|l|c|r|} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with ...
3
votes
2answers
148 views

Drawing tables with colors

I’m trying to create a table in my tex document that resembles more or less the table in the picture below: I found this chunk of code but still, I don’t know how to separate each table as it appears ...
1
vote
1answer
32 views

Reducing space between table rows. \arrayrowstretch and \extrarowheight not working

How do I decrease the space between the rows in the table shown? I was unable to do so using \arrayrowstretch and \extrarowheight. Here is the code I used: \newcommand*{\cvpressentry}[4]{ {\...
1
vote
0answers
16 views

Multiple newpages — after several large tables

How to effectively apply multiple \newpage --- after several large tables \newpage \newpage \newpage \newpage In one of my sections (say Section 1), there are many large Tables but some texts. ...
0
votes
3answers
55 views

Side by side equation not fitting in page

I want to write an equation that has two equivalent forms so i want to write them both side by side. So I do this using the following \[ \begin{aligned} (X',Y',Z')=\begin{cases} \left(X,2Y,\...
0
votes
1answer
25 views

Removing or changing table border spacing in `longtable`

I want to remove the border spacing of a table created by longtable package. I wish to preserve the column spacing as such and wish to only remove the right side border spacing so that a two column ...
1
vote
1answer
27 views

How can I place a table (including caption) across two columns of a \twocolum document?

I have inserted a table in a two column document. The table should span across both columns without a page break. Ideally, the table should be fixed at the top of a page with two columns of text below....