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
4 votes
3 answers
98 views

Anomaly using multicolumn

I was preparing some exercises with tables for beginners, without resorting to additional packages. I found this anomaly in a multi-column tabular that distilled to its simplest is \documentclass{...
0 votes
1 answer
42 views

How to get gray background to top to bottom?

I really like this CV (the first screenshot) and the closest I have been able to find is this one (the second screenshot). The complete source code is here. If I delete the first tcolorbox section and ...
0 votes
0 answers
38 views

Why does the landscape table does not rotate?

I have made a MWE with my (long) table and very few packages. Apparently, even if I use landscape the only thing rotating is the page but not the table in it which is what I would like to rotate ...
  • 203
0 votes
2 answers
90 views

How to make postage stamp sheet?

I am looking around for template to make postage stamp sheet, with standard sizes and ability to preview stamp cuts. Any ideas?
1 vote
1 answer
44 views

How to center graphic horizontally in table cell?

I want to center my graphic horizontally, which I include in my table cell. It is centered vertically, but I also want it centered horizontally. What can I do? \documentclass[12pt,a4paper,notitlepage, ...
  • 25
0 votes
0 answers
31 views

How can I make the cells of the table the same width

I have this table: \begin{table*}[p] \small \centering \begin{tabular}{|c|c|c|} \hline\hline Ortorrómbico & Tetragonal & \textbf{Cúbico} \\ ~~~~~~~~~~~~~~~~~~~~~~~~...
0 votes
1 answer
48 views

Could somebody help me to get this code running?

I have the following problem. I have already found a code in this forum. Unfortunately, when I tried to compile this code, it did not work. This is the problem from this thread: enter link description ...
0 votes
1 answer
37 views

Underfull warning in place where text wraps

I created a table and I have multiple underfull warings in places where text wraps. What am I doing wrong? \documentclass[12pt,a4paper,notitlepage, twoside]{article} \usepackage[utf8]{inputenc} \...
  • 25
1 vote
2 answers
51 views

How to align text at the top of a cell when there is a \makecell in the table

I'm having issues trying to align all the text at the top of my cells. Indeed, it looks like because of the \makecell I am using, the text beside is not where it should be. I have tried a lot of ...
  • 13
0 votes
0 answers
36 views

Is there a way to get this table in tikz or in some way of code? [duplicate]

I would love to get this table with the help of tikz or in any other working code. Could somebody help me with this topic ? Help is highly appreciated!! Thanks in advance !!
0 votes
0 answers
51 views

How can i possible fit this table into Latex? It's my first time using LateX

I just stared using Latex and i have to make the following table into a latex version : This table occupies 9 pages in Word format and has alot of text. (It has 3 topics on the rotated label: Sensor, ...
0 votes
1 answer
32 views

Combining multiples caption in figures and tables

I have a LaTeX project in which I want to combine English and Spanish. Specifically, I want all the figures to have the word "Figure" as caption, but I want to use the word "Figura"...
  • 619
1 vote
0 answers
54 views

Removing the last two columns from this table but keeping the original format?

Consider: \documentclass{article} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \begin{document} \begin{table} \begin{center} \begin{tblr}{colspec = {Q[c, mode=math]*{4}{...
  • 699
3 votes
3 answers
144 views

How can I align two grouped tabulars so they are all aligned at the top with subcaptions?

I would like my tables to be aligned like this. While having the grouping and caption of this I only know of subfloat and it has been a bit annoying. \documentclass{article} \usepackage{subcaption} \...
  • 135
0 votes
0 answers
39 views

How to make outwards facing tables with captions at the sides in a twoside document?

I am writing a twoside document using pdfLaTeX with texlive-full:2022.1 in Overleaf. I have two tables, each on a single page. I want to use SCTable from the sidecap package to have the captions at ...
4 votes
2 answers
160 views

Align a tikzpicture inside or outside a tabular?

Sorry for the title, I'm just looking for a solution to a problem I have. I would like to generate a report that's based on several events, with, in one column, an icon that shows what event occured, ...
  • 153
1 vote
1 answer
53 views

"Missing { inserted" error without any mathematical expression in a table

I am trying to create a table in LaTeX, but I am encountering the error "Missing { inserted" when compiling my code. How can I resolve this issue? \documentclass{article} \usepackage{amsmath}...
  • 113
0 votes
1 answer
56 views

Simple calculations within tabularx-environment

I want to perform simple arithmetic operations for a document in a table in the tabularx environment. There is a column for the quantity, a column for the unit price and a column for the total price, ...
1 vote
1 answer
34 views

Table middle height text in one column. No multirows, no known height

I am completely new to LaTex. Due to plenty of text in the second and third column of the table, the height of the row is increased. How do I get the text in the first row (not a lot of text) to be in ...
0 votes
1 answer
42 views

Removing column seperator

So I have this table, which has some empty space in it. How would I got about removing the separators there? Is it even possible with a regular table? \begin{table}[h] \centering \begin{tabular}{|c|c|...
  • 103
0 votes
2 answers
59 views

Tabularray - "Package tabularray Warning: Table width is too small, need 5.6181pt more!" & Text missing from cell

I am getting the error "Package tabularray Warning: Table width is too small, need 5.6181pt more!", which gave little results when searching for. I have previosly used the package without ...
  • 41
0 votes
1 answer
46 views

How to adjust text alignment inside table [closed]

I am wondering how can I adjust the alignment of text inside the table. I want, for example, make the left column of the table have shifted text in some rows which represent like headings. How can I ...
0 votes
0 answers
25 views

Problem with figure and minipage [duplicate]

I'm currently writing a paper using LaTeX, I would like to add some figures and texts in between two paragraphs. However, when 3 figures and text reaches to the bottom, "This is the second ...
1 vote
1 answer
52 views

Streching Tabularx horizontally

I have created a table with tabularx environment inside of LaTeX. However, my problem is that if I try to make it larger than \textwidth, the tabularx is not centered anymore. What I need is a ...
0 votes
0 answers
20 views

How can I read an excell csv file with colored cells into a tabular or table and display the color formatting?

This is my code for reading the csv files into a tabular, but it does not keep the color formatting: \csvreader[tabular={|c|c|r|c|c|c|c|c|c|}, before reading = \begin{adjustbox}{width=\columnwidth}, ...
2 votes
1 answer
31 views

Intersection of double lines in tabular environment, change which pair breaks and which doesn't

Let's consider a very simple table: \begin{tabular}{c || c | c} & x & y \\ \hline \hline a & 1 & 2 \\ \hline b & 3 & 4 \end{tabular} This produces the following table: ...
  • 23
1 vote
1 answer
25 views

How do I create a list / table which is divided into sections?

I would like to add a list / table in Latex which is devided into sections, but I can't figure out how it goes. It should look something like this: Here is a table that I think could lead into the ...
1 vote
2 answers
45 views

How to fit references number into a single table

I am working on overleaf and preparing a report. I am working on a review paper in which I surveyed over a hundred papers. Thus, I need to put them as references. However, I am unable to fit the ...
  • 23
0 votes
1 answer
55 views

\calstable top row of 2-row thead no text

I've created a LaTeX (xelatex compiled) table with \cals package, specifically, using \calstable command. I'm using R's RMD file to compile LaTeX to PDF. However, I'm using two rows for a nested \...
0 votes
0 answers
20 views

Wrong table output for PLOS Computational Biology

Hello I am preparing a table for a publication on PLOS Computational Biology for which the template guidelines are in this official link. In order to replicate the problem I prepared a small example: ...
  • 133
3 votes
3 answers
246 views

Tabular doesn't center last cell

I got the following latex code, the last cells aren't centred, but I said that it should center the cells in all columns? \begin{table}[h!] \centering \scriptsize \begin{tabular}{*{5}{|>...
  • 33
5 votes
2 answers
68 views

Align rows inside cases with rows in next column inside table

I'm trying to create a table with equations as below \documentclass{article} \usepackage{mathtools} \begin{document} \begin{center} \begin{tabular}{ |c|c| } \hline cell1 & cell2 \\ \hline \text{...
  • 53
1 vote
1 answer
35 views

How to add reference to whole counter?

I would like to create a whole reference to my enumerate list. I use package listliketab, so I am able to itemize inside table. \begin{document} \storestyleof {enumerate} \begin{listliketab} \...
  • 25
0 votes
3 answers
195 views

Creating and making the following tables look professional?

How can I create Table 1 and Table 2(see picture below) but with the following modifications: Without the parameter description column in Table 1. I don't want the darkened headings in Tables 1 and 2 ...
  • 699
-1 votes
2 answers
52 views

Tables in LaTeX with mutlirow

I have an issue with utsing Multirow in LaTeX, namely there is a sort of row skip every time i use it. The Code is as follows: \begin{table}[!ht] \centering \caption{Caption} \begin{...
2 votes
1 answer
29 views

Fitting a simple table to a column in IEEEtran class

I am using IEEEtran to prepare conference manuscript, but a table with just 3 columns didn't fit into the column of my manuscript. I give a minimal code below to show the output. In this example, I ...
2 votes
1 answer
42 views

How to generate a numbered table with uniform distribution of numbers?

I want to generate a table for multiple choices with the following requirements Numbers are distributed uniformly on \linewidth Dot separators of numbers are aligned between rows Ability to customize ...
1 vote
1 answer
37 views

How to adjust the width of columns in this table?

I am trying to make this table: \begin{table}[] \centering \caption{} \label{tab:my-table} \resizebox{\columnwidth}{!}{% \begin{tabular}{lcccc} \hline & \multicolumn{4}{c}{Stacked Differences, ...
3 votes
3 answers
169 views

Create a table within newenvironment using tblr

I've set up a (3 column) table using the tblr environment and would like to put this in a new environment. Then be able to add additional rows to the table with something like \name{person's name &...
5 votes
1 answer
195 views

How to calculate the total width of a (tabularray) table and pass this length to other packages such tikz or tcolorbox?

Please consider the following code. It produces a table using tabularray which has fixed width columns, so its total width is smaller than \textwidth. How can find out what the total width of the ...
  • 2,059
1 vote
1 answer
41 views

How to insert image on the right side of the table?

I have a problem, I need to put this graphic on the right side of the table on this page. I tried many times and I could do only this case. Probably, I have to raise picture up, so other graphic can ...
  • 13
0 votes
1 answer
63 views

How to make rows containing images equidistant with tabularray?

Working with tabularray, I'm currently stuck trying to make rows that contain images equidistant from each other. For instance, having this grid of images: The images A, B, C are the ones that I ...
  • 103
0 votes
0 answers
22 views

hyperref points wrong table with reset counter

I have an issue with hyperref and reference to my tables listed in the appendix section. It seems for some tables there is confusion in listing the right table number. For ex. Table (A8) is cited ...
  • 27
2 votes
2 answers
84 views

Create two independent sub tables into one table in Latex

How can I create the following table in latex? I am not sure what concept is used to create this table. Are these two independent sub-tables combined in one? Any pointers or suggestions are ...
1 vote
2 answers
33 views

Shortening the extra long vertical line after increasing the spacing for the first row in a table

I'm designing a table. In order to increase the first row's spacing I've applied the solution at Spacing for first row in a table, i.e. add \vrule depth 2ex height 4ex width 0pt after the 1st row. \...
2 votes
2 answers
68 views

Columns in table not expanding as expected

I am attempting to create a single table that appears to be two separate tables, side by side. Each "table" should have text below it explaining what the table relates to. The text below ...
  • 123
1 vote
2 answers
58 views

Fitting wide table in the page without making it too small

I have this wide table for my paper: \begin{table}[h] \centering \begin{adjustbox}{width=1\textwidth} \begin{tabular}{lcccccccccc} \toprule \multirow{2}[3]{*}{Condition} & \multicolumn{4}{c}{EMO ...
  • 23
0 votes
2 answers
28 views

Latex tables: **! siunitx error: "duplicate-decimal-token"*

I have this table: \begin{table}[h!] \begin{center} \caption{Multirow table.} \label{tab:table1} \begin{tabular}{l|S|r} \textbf{Value 1} & \textbf{Value 2} & \textbf{Value ...
0 votes
0 answers
12 views

How to linebreak within a tabular environment? [duplicate]

I am creating a list of lectures for my new TED event. I used the tabular environment. \documentclass{article} \title{} \author{} \date{} \begin{document} \begin{tabular}{|c|c|c|c|} \hline No. & ...
1 vote
2 answers
53 views

Construct a table, where it is cut in the middle with zigzag path in the ends

Please, see the picture below I know I should provide a code what I have tried, but I do not know how in this case. I believe I should use the tabular enviroment, but then maybe something needs to ...
  • 389

1
3 4
5
6 7
342