Skip to main content

Questions tagged [tables]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
6 views

Fixed column width and left alignment works partially

For some reason, I am not able to set left alignment in the third column of a table (I can make it only in the first and second columns}. Does anybody know waht is hapenning? Below you find a MWE. ...
Marcus's user avatar
  • 195
1 vote
2 answers
33 views

Place two sideway Tables next to each other on one side

Hello I have two sideway tables that I want to put next to each other it should look like: The code I have is as follows: \documentclass{article} \usepackage{float} %H-Figure Typ \...
Weiss's user avatar
  • 87
4 votes
2 answers
160 views

How to color a cell in easytable

\documentclass[border=20pt]{standalone} \usepackage[thinlines]{easytable} \usepackage[table]{xcolor} \begin{document} \huge \begin{TAB}(e,2cm,2cm){|c:c:c:c:c|}{|c:c:c:c:c|} \cellcolor{black}1 & ...
Vinod's user avatar
  • 1,391
0 votes
0 answers
28 views

Latex error when importing a stacking regression table from STATA

I am having an issue stacking stata regression outputs in latex. I am showing below the first panel of the table only. I have removed the two middle and bottom panels. Here is the Stata code, which ...
Guyle's user avatar
  • 1
2 votes
2 answers
52 views

cellcolor not working with multicolumn

I'm trying to make a Gantt chart using the NiceTabular environment, but when trying to combine multicolumn and cellcolor I am having issues. Here's a MWE \documentclass[11pt]{article} \usepackage[...
user22710's user avatar
  • 265
0 votes
0 answers
26 views

Figures and tables are not shown

I was writing in a \documentclass[conference]{IEEEtran} and figures and tables were shown. When i shifted to \documentclass[]{IEEEphot} figures and tables are not shown anymore. I have included all ...
camellia  mohammed's user avatar
0 votes
0 answers
16 views

Reflowing a "narrow" table in multiple columns (side by side) on page, preserving headers? [duplicate]

I haven't been able to find an answer I like on this, so I thought it is worth asking again. LaTeX csvreader/longtable: Put long narrow table multiple times on page is related, however it suggests ...
sdbbs's user avatar
  • 247
1 vote
1 answer
35 views

Column too wide in table in a beamer: 'p' option and footnotesize don't help

I'm not sure, but the third column of a table I'm trying to create is too wide... I've tried using the 'p' option, or even footnotesize, but the column is still too big to show in beamer slide, and ...
An old man in the sea.'s user avatar
2 votes
2 answers
126 views

Table overflow with tabular

Here a very easy table (or al least i thought it was) in my article document. It overflows to the right, i've tried everything i've found on the net, still overflows... cannot understand what's ...
Giovanni Zago's user avatar
2 votes
3 answers
131 views

Looking for two tables to start at the same height

I am using a minipage environment to display these tables. I want the top row of each table to align vertically (as opposed to right now where it looks like the first table is in the center vertically ...
MathDoer2320's user avatar
2 votes
1 answer
146 views

What should I do so that the length of the brackets remains constant when I color the table?

\documentclass[a4paper,10pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} %\usepackage[table]{xcolor} %\usepackage{colortbl} %\usepackage{xcolor} \usepackage{...
Özgür's user avatar
  • 3,344
0 votes
1 answer
28 views

Table cell/row color overflows line

Problem I have a table that contains a subrow and columns for only the second column. I would now like to have a hline displayed for the sub-columns in the second column. I am able to do this, but ...
Elodin's user avatar
  • 103
0 votes
1 answer
24 views

beamer titlepage how to organize authors in a table which spans slide-width

Hi I'm working on my first beamer presentation in view of my PhD defense, I've plenty of time and started to experiment, I quite like the design and style of LaTex presentation; however, I'm not yet ...
Matteo's user avatar
  • 323
1 vote
1 answer
48 views

How can I create a left-aligned table of a fixed width containing equations?

My goal is to create a two column table with fixed column widths where each row contains two individually numbered left aligned equations. However, when putting equations inside a table with the W or ...
paddi's user avatar
  • 13
4 votes
2 answers
153 views

Adjusting the indentation and the horizontal spacing in tables in latex

I'm trying to make a partial list of symbols in my thesis. So far, I have written this code \documentclass[12pt,a4paper,openany]{book} \usepackage[utf8]{inputenc} \usepackage[left=1in, right=1in, top=...
Hussein Eid's user avatar
0 votes
1 answer
41 views

Warning "No positions in optional float specifier"

I've read the warning and LaTeX documentation of the error message in the title. They are very clear begin{figure}[] with begin{figure}. The warning points towards: ./chapters/Intro/tables/table1.tex ...
M.G.Poirot's user avatar
0 votes
0 answers
41 views

How to create a long table with page breaks in LaTeX?

I am trying to create a long table in LaTeX with six columns and two rows. The first row is for the header items, and the second row contains very long texts, which cause the table to need to break ...
lucenalex's user avatar
  • 331
0 votes
0 answers
29 views

Incorrect position and numbering of tables after using longtable

I am having two tables (A&B) and one longtable (C) in my document and I want to order and number them as: Table 1 (table A) Table 2 (table B) Table 3 (longtable C) but currently the order and ...
some's user avatar
  • 1
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:...
Saïd Maanan's user avatar
1 vote
2 answers
691 views

LaTex: Small table, that should be flush left, is indenting to the right

I have an errata document. For each errata item, I use a small table, with no borders, to list the Errata ID, Area of operation, Components affected, and Severity. Using a table this way, works, but I ...
Russell Urquhart C's user avatar
1 vote
2 answers
39 views

Increase the size of column name cells in a table

How can I increase the size of only the cells that contain the name of the columns in a table? (in the photo are Impiegto, Progetto and Funzione) This is my LaTeX overleaf code: \documentclass[...
Andrea's user avatar
  • 35
2 votes
3 answers
148 views

Align 3 tables neatly

I have three tables and I would like to align 2 horizontally with each other and the third below. How can I do? This is my LaTeX overleaf code: \documentclass{article} \usepackage{graphicx} \...
Andrea's user avatar
  • 35
3 votes
4 answers
268 views

Reduce the column padding in tabular environment

I've tried nearly everything with no success and I don't know why... I have a tablular with 9 columns and the only solution I found for fitting it into textwidth is using adjustbox, which I don't like ...
Peybol's user avatar
  • 33
0 votes
1 answer
55 views

Automatically integreate min/max/mean values from a table into the text

suppose I have the following table. Is it now possible to automatically determine values such as Min/Max/Mean from the respective columns and integrate them into a continuous text? The text should ...
mingabua's user avatar
2 votes
2 answers
36 views

Displaying a large table over several pages with text wrapping of cells in a larger document

Edit: David Carlisle identified the issue with the table being contained to one page in a comment. I removed the commands to begin and end table (leaving them in my code below with a % before them for ...
Thomas Wright's user avatar
1 vote
1 answer
87 views

Aligning the columns of longtable

I am looking for an explanation to the following piece of code: \begin{longtable}{*{2}{>{\scriptsize}c>{\scriptsize}p{2cm}}} This code generates a table that has four columns, two of which are ...
user326459's user avatar
0 votes
1 answer
30 views

Chemical equation numbering inside and outside of tables

I am trying to make a table where I have a chemical reaction, additional information and I want to number that chemical reaction. This numbering cannot be the same as in the mathematical equations. I ...
Martin's user avatar
  • 1
4 votes
1 answer
218 views

Create a phone-book using LaTeX [closed]

I'm trying to create a phonebook using LaTeX that looks like this (below). I created the following using Notion. The LaTeX code that I'm trying to modify for my purpose is: \documentclass[dvipsnames,...
user326459's user avatar
4 votes
2 answers
87 views

how to recreate these timing tables in lyx?

i've got the following time tables which i tried to make using tables and playing with the borders but it doesn't compile well and here's what I did in LyX with the table and borders: but this is ...
Nate3384's user avatar
  • 197
1 vote
1 answer
44 views

Change line spacing in a ToC

I would like to customize the spacing in a titletoc-generated mini-ToC, by reducing the baseline within a given subsection title when it has to be spread over several lines, and/or slightly increasing ...
Piotr's user avatar
  • 25
0 votes
0 answers
25 views

Long table error on cas-dc Elsevier double column manuscript

I am working on \documentclass[a4paper,fleqn]{cas-dc}manuscript. I tried to create a table (long/supertable); however, I was unable to do it. Could you please help me create a long table ( however, a ...
As if's user avatar
  • 1
2 votes
2 answers
45 views

Wide Landscape Table to Fit Page Margins

I'm working on a document with a wide table in a landscape orientation using the pdflscape package. However, the table consistently exceeds the page margins, making it look cluttered and partially cut ...
HAITHEM's user avatar
  • 433
5 votes
6 answers
425 views

How to produce this table: Probability datatable with multirow

I want to produce the the following table: This is my working(only data for Male) \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{multirow} \begin{document} \begin{tabular}{|p{1.5cm}...
Rafiq's user avatar
  • 255
0 votes
1 answer
23 views

Numeric alignment in table with multicolumn and multirow

I have trouble in aligning the numeric value at the dot, or at the "x" symbol. I tried to format the columns as S columns from siunitx, but it did not work. Some columns appear to be already ...
arielpriarone's user avatar
3 votes
2 answers
108 views

Building a Table by Enumerating Rows [duplicate]

Consider the following table I need to quickly add/delete/exchange rows, and the number is automatically enumerated just like in the enumerate environment. Adding new columns is also needed, though ...
fajar's user avatar
  • 387
0 votes
1 answer
51 views

In Table environment: biblatex repeated citations in footnotes that point back to earlier footnotes

In many situations, it is useful to have citations as footnotes that point back to earlier footnotes. For instance, here on Page #1, we footnote citations 1 and 2: And in Page #2, we footnote ...
DavidC.'s user avatar
  • 861
3 votes
1 answer
79 views

Automatic adjustment of arrow endpoints placement of arrows connecting borders of tables

Consider the code below, which produces the tables shown at the bottom of this message. Is it possible to automatically adjust the starting and ending coordinates of the arrows, so that the arrow ...
PaulS's user avatar
  • 537
1 vote
1 answer
30 views

Merge column does not work using multicolumn

I use this code, but merging the column does not work exactly in the 4th row. \begin{table}[ht] \centering \caption{An overview of source of uncertainties, uncertainty propagation, and ...
Heri's user avatar
  • 13
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} \...
Nelson Parrança's user avatar
1 vote
2 answers
49 views

How do I center this table? [closed]

When i add tablenotes to my tabular \centering stops working and the table in placed on the left. I have tried using \begin{center} and adjustbox without success \begin{table}[!htp] \centering \...
Radovan Lipic's user avatar
5 votes
2 answers
205 views

How to Create a Fully Centered and Adjustable Multiline Table in LaTeX?

I am unfortunately quite a LaTeX noob and am having difficulties putting together a table. My goal is to center the content of each cell both vertically and horizontally. The table is aligned ...
bolli's user avatar
  • 51
2 votes
2 answers
48 views

Convert list to table, number of rows

A small program that recalculates the number of records in the source list (array) and converts the list of data into a table. It works if the number of rows in the table is \def\nRows{3} is ...
Juli's user avatar
  • 121
1 vote
0 answers
67 views

How to make my tables better?

This is the result of my tables at the moment but i feel that even though it displays satisfactory ish, its not written the optimal way. I am using the array package. \documentclass[12pt,a4paper,...
chicao's user avatar
  • 39
1 vote
1 answer
60 views

Intermediate boldness in tables

The following code produces the table below. Is it possible to produce the same table, but with a level of boldness intermediate between regular and classic bold. The lines of the table should be ...
PaulS's user avatar
  • 537
1 vote
2 answers
41 views

Can I use threeparttable package with tikzpicture?

I made a tikzpicure graph however I want the caption to be aligned with the border of the graph similar to what would be done when using a caption for a table with \begin{threeparttable}. This is the ...
user avatar
4 votes
1 answer
60 views

How to change position of data values in the column of table

How can I change the data values underneath the angle of incidence heading from being center and change to left. Currently this: I want this: This is the code I have \documentclass[10pt,twoside]{...
user avatar
3 votes
1 answer
67 views

How can I center data values in the column in a table environment

I have a data table and I want to center the data values underneath the heading "Angle of incidence", so rather than the numbers 0, 15, 30, 45, 60, 75 being situated left I want them to be ...
user avatar
3 votes
2 answers
91 views

Caption in tabularx environment

can someone explain me, why the gap between the caption and the table is so huge? \documentclass[a4paper,12pt]{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{...
tro_latex's user avatar
4 votes
2 answers
135 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 ...
user avatar
5 votes
4 answers
219 views

Vertical centering of math in a table

I basically have a DI table that I want to construct and I have a slight vertical centering issue in the cells. This is the code: \documentclass{article} \usepackage[pdftex]{graphicx} \usepackage{...
Mitsos YT's user avatar

1
2 3 4 5
363