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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

the headline of the table overlap with the first section

I'm facing a problem with using a ready package, I need the section header in the same line as text but at the same time I don't want the headline of the table of contents to overlap with the abstract ...
user avatar
  • 1
0 votes
0 answers
11 views

Split Table/Tabular Columns in landscape on more pages

I want to split my table by columns e.g. until "Straße" and then on the next page starting with "Hausnummer" because my table is too big. I've tried landscape etc but that doesn't ...
user avatar
  • 1
1 vote
1 answer
18 views

How to split a column into 3 subcolumns?

I really want to make a table like this in LaTeX: Could someone help me do that? I'm new to using LaTeX, thanks!
user avatar
0 votes
0 answers
25 views

How to make row spacing in the table environment the same as in the document

I am writing a document class for my thesis, and now I am trying to control the line spacing in the table environment. I use \setstretch{1.5} to set the line spacing for main text. I want to make the ...
user avatar
0 votes
1 answer
20 views

Spacing between multicolumn tabular

I want to generate a tabular that contains two header rows, the top row contains multicolumn's. I want to group certain columns with spacing between them, so I used @{\hskip}. The problem though is ...
user avatar
0 votes
0 answers
24 views

LaTeX package error: Conflict between siunitx rounding precision and hyperref

I want to round numbers in my tables and have content for my document. However, when I typeset the MWE \documentclass{article} \usepackage{siunitx} \usepackage{hyperref} \usepackage{xifthen} \sisetup{...
user avatar
  • 1
0 votes
1 answer
30 views

Table of file names with special characters

For my thesis, I want to create a list/table with the file paths of all data I show in my figures. What I came up so far is a combination of tabularx and longtable (via ltxtable), and putting the path ...
user avatar
  • 279
2 votes
3 answers
60 views

Resizing table in beamer for readability

I have inserted a table, originally from Excel, into a Beamer presentation. The table does not fit into the frame and I used resizebox to make it fit. This renders the table unreadable. Is there a ...
user avatar
0 votes
1 answer
44 views

Can't colour the right rows table

I have made a table with a table generator. I want the two first rows to be white, the following row to be grey and white intermittently. This is the code I generated: Preamble: (long since this is a ...
user avatar
  • 1
1 vote
1 answer
21 views

How to have a top vertical alignment in tabularx when including images?

I would like to include previews in a table and force the text to either be centered or top aligned. How can I achieve this without redefining the X column for the whole document? Here my MRE: \...
user avatar
  • 999
0 votes
2 answers
68 views

Tabularx multicolumn

Hello this is my table: \documentclass[12pt, oneside,titlepage]{book} % add a4paper \usepackage[italian]{babel} \usepackage{geometry} %\geometry{a4paper, top = 2cm, right = 2cm, left = 2cm, bottom = ...
user avatar
  • 3
0 votes
0 answers
18 views

Words in first column moving in another column in tabular section

When I am writing a word in column, at some places the last word of the first column is merging with the second column.
user avatar
0 votes
1 answer
34 views

landscape Header on the long side

Page 2 is to be displayed in landscape format. How to place the header on the top long side on this page? \documentclass[12pt,addpoints]{exam} \usepackage[a4paper,left=2cm, right=2cm, top=3cm,bottom=...
user avatar
  • 49
1 vote
1 answer
27 views

insert picture in a table - Latex Overleaf

I want to have a table of two columns and two-rows, one of the columns I want to put a picture in it, and in the second one I want to put a paragraph here is my code so far : \begin{tabular}{ | m{5cm}|...
user avatar
  • 13
0 votes
1 answer
31 views

Striking through multiple column and row in tabular [duplicate]

I am trying to create a table that has multiple strikes through columns and rows, similar to this table I have tried this solution Striking thru a tabular row in LaTeX but it can't produce multiple ...
user avatar
0 votes
1 answer
31 views

How can I generate vertically oriented subtables and leave a space between them?

How can I convert the table into vertically oriented subtables and leave a space between them? \documentclass{article} \usepackage[margin=20mm]{geometry} \usepackage[svgnames]{xcolor} \usepackage{...
user avatar
  • 33
2 votes
4 answers
222 views

Make table whose width is more than the text width to center with `tabularray` in LaTeX?

I make a table whose width is more than the width of the text, so the table is too right on the paper. How should I move it to center? For example: \documentclass{article} \usepackage{tabularray} \...
user avatar
  • 415
0 votes
0 answers
17 views

Adding Bullets in merged rows [closed]

Need to add bullets in merged cell..simple code is requested table is shown]1
user avatar
1 vote
1 answer
20 views

Left align tables on beamer slides with columns

I have the feeling I cant use columns in a correct way. I often have a slide with two tables next to each other and it looks like that: The code of the frame is this one: \begin{frame}{Nyttige regler ...
user avatar
  • 340
0 votes
0 answers
28 views

Citing inside a table

I can't make \autocite work inside tables. It produces af footnote mark (number) inside the table, but it doesn't produce any footnote at the bottom of the page. \begin{document} \begin{table}[H] \...
user avatar
0 votes
0 answers
20 views

Converting .docx that includes tables, images and citations to latex without manual editing?

Potential Solutions I've Explored: Pandoc: doesn't seem to work well with tables in docx Libre office word2latex Table generator: https://www.tablesgenerator.com/# Does there exist one solution that ...
user avatar
  • 101
0 votes
1 answer
51 views

How to place tables side-by-side by using "\minipage"?

I hope my final table to be like: | SUBTBL1 | SUBTBL2 | | SUBTBL3 | SUBTBL4 | and it is, but part of the table overlaps with the text, what should i do? Here is my preamble : \documentclass[...
user avatar
0 votes
2 answers
37 views

Independent labelling of a Figure and Table (in the same Figure environment) with a combined caption

I am trying to reference a Figure and Table (with ~\ref{}) in my document. I placed both elements in a figure environment (figure first, table second, both inside of a minipage) to have them displayed ...
user avatar
  • 1
0 votes
2 answers
44 views

Table with borders problem

I have a problem with borders in multirow. I would really appraciate someones help. My code: \begin{tabular}{ | m{2cm} | m{3.2cm}|| m{2cm}| m{3.2cm}|} \hline Linia & Energia teor. [eV] & ...
user avatar
0 votes
2 answers
45 views

LaTex - Table formatting (multicolumn, multirow, parbox)

I have created the table below. However, there are some formatting problems that I can't get fixed. \documentclass[9pt,twocolumn]{article} \usepackage{tabularx} \usepackage[format=plain, indention=...
user avatar
  • 1
0 votes
0 answers
27 views

How to leave a space between two longtables and horizontal lines in both tables?

I was wondering how to add space between two tables generated by the code below. Also, \hline doesn't work when I use it in both loops but works if I use it only in one. f.write('\\rowcolor{colour10} ...
user avatar
  • 33
0 votes
0 answers
29 views

LaTeX - Split table over two pager (document with 2 text columns)

what do I have to change in this code to split the table over two pages? I have already tried "longtable", but it seems like it doesn't work with 2 text columns on the page. "tabularx&...
user avatar
  • 1
0 votes
1 answer
34 views

\multirow in a \multicol

i want a table like in the picture but i got a error! here \multicol{2}{|l|}{\multirow{4}{*}{1&2&3&4}} \begin{tabular}{ |p{5cm}|p{5cm}| } \hline 1& 2 \\ \hline 1& 2\\ \hline \...
user avatar
0 votes
1 answer
19 views

Messed up table with tabularx

I would like to have all the values in the table aligned. However, when using tabularx, this looks even worse. I guess it may stem from the fact that I have something like this: \thead[l]{Potatoes \ ...
user avatar
1 vote
1 answer
55 views

\usepackage{booktabs} giving an error

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \usepackage[margin=1in]{geometry} % full-width \topskip = 20pt \parskip = 10pt \parindent = ...
user avatar
0 votes
1 answer
30 views

How to draw a long table in LATEX My table has 6 columns and footnote If I can get an entire table in one page it will be quite hepflul

Working Status Suffering from Chronic Disease Difficulty in Mobility Activity of Daily Living Sample (N) Age <40 90.6 37.7 39.7 21.4 3155 41-50 89.2 ...
user avatar
  • 13
0 votes
2 answers
27 views

Table going off page

I'm unable to keep my table on the page, not sure how to fix it. Help appreciated. Here is my table: \begin{landscape} \begin{tabular}{|c|c|c|c|c|c|c|} \multicolumn{7}{c}{\textbf{Data from testing}}\...
user avatar
1 vote
3 answers
52 views

Multi-column table produced by STATA: Why is the last column not spaced properly?

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{natbib} \usepackage{lscape} \begin{document} \begin {landscape} \begin{table}[htbp]\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}...
user avatar
  • 13
7 votes
2 answers
837 views

How can I draw a "table" with 4 numbers around a cross/X-shape for the diamond method?

I'm trying to write up a precalculus explanation with LaTeX and I wanted to make this fancier "diamond table", is there any way to do it? Couldn't find it through searching
user avatar
0 votes
1 answer
21 views

problems with a sequence table for GCSE worksheet

\begin{center} \begin{tabular}{|c|ccccccccc|c|} \hline 0 & $$1^{st}$& & $2^{nd}$ & & $3^{rd}$ & & $4^{th}$ & & $5^{th}$ & Position of terms (n)\\ &$\uparrow$...
user avatar
  • 1
5 votes
1 answer
93 views

How can I fit a symbol that has superscripts and subscripts in table's row?

I am using mathematical symbols in a table that has superscripts and sunbcripts ex: $B_{D}^{\mathrm{pr}}$, which leads it to cross into upper row's section. I have following code: \documentclass[10pt,...
user avatar
  • 400
1 vote
1 answer
23 views

Long table in four-column document

I am working on a four-column document using the multicol package and want to insert a two-column table that spans upon multiple multicols* columns (and multiple pages), doing column and page breaks ...
user avatar
-3 votes
1 answer
45 views

How to resize a very wide table in latex [duplicate]

I created the following table in LaTeX but it was too wide to fit on the page, even in landscape format. How can I solve this problem? The code is: \begin{sidewaystable} \caption{My caption} \label{my-...
user avatar
  • 35
0 votes
1 answer
35 views

How can I create this table in overleaf?

I want to create this table in overleaf but I don't know how to add the three dots in the middle.
user avatar
  • 1
1 vote
0 answers
18 views

How can I divide the landscape oriented page into 2 rows and add \longtable each?

I want to divide the landscape-oriented page into two equal rows. And then I want to add \longtable to each row and will continue at the same rows for a few pages. Is this possible?
user avatar
  • 33
1 vote
1 answer
16 views

How to make a text-heavy table in a two-column document?

I've been trying to insert a table, that is essentially quite simple, into a two-column document. It has been throwing up all sorts of warnings (most perplexingly: Missing number, treated as zero for ...
user avatar
1 vote
1 answer
43 views

How to fit text (Arabic & English) in latex table

lam trying to create the following table, l write this code but it doesn't produce the required table, the problem is at Arabic texts, English texts is wrapped. \newcolumntype{L}{>{\centering\...
user avatar
  • 35
1 vote
1 answer
22 views

How to keep cell text height large when using adjustbox?

When I restrict the table width to 0.7\textwidth it also reduces the size of the font. I would like the table to show in the center of the page but for the text to be large enough to be readable. \...
user avatar
3 votes
2 answers
35 views

multicolumn table with different \sisetup{} settings

I am wondering if there is a way to use different parameters of \sisetup{} for each column of a table. For instance, I would like to use: \sisetup{round-mode=places, round-precision=2, fixed-exponent =...
user avatar
  • 33
0 votes
0 answers
20 views

Any way to swap rows and columns in pgfplotstable?

I've got a simple table that's made by pgfplotstable by pulling from a fairly large csv file. The table is vertical like the data provided but since it's only two columns, and several rows I'd rather ...
user avatar
  • 11
0 votes
0 answers
27 views

LaTeX table cell coloring based on values in the cell (3 color scale formatting)

I wanted to imitate the functionality in excel of 3-Scale grading formatting, which changes the background of a table cell based on its value. I wanted each cell to have a percentage value, and each ...
user avatar
  • 1
-1 votes
1 answer
43 views

create vertical large table [duplicate]

I am trying to create the following table, but it out of page bounds \begin{sidewaystable} \caption{My caption} \label{my-label} \centering \begin{tabular}{|l*{16}{|c}|} \hline \multicolumn{1}{|l|}{\...
user avatar
  • 35
4 votes
2 answers
87 views

Negative decimal numbers missing decimal point in table using siuntix to align by decimal point

I'm trying to align the numbers within this table so that the decimal points are always underneath each other. This seems to work with the siunitx package. However, I have come across two difficulties:...
user avatar
  • 41
0 votes
0 answers
37 views

Is there a way to automatically set the cell width to achieve the shortest table within the page?

I want to automatically set the cell width to allow the table height to be kept minimum. There might be 2 or 3 lines of text in a cell, so this is no problem if the table height is the minimum in such ...
user avatar
  • 33
-1 votes
1 answer
65 views

Table not compiling?

Can someone compile the following code so I can use it as a photo in my document. I had a problem which I asked in a different question but it still doesn't compile for me: How to draw a vertical line ...
user avatar
  • 455

1
2 3 4 5
321