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
0answers
26 views

Highlighting and un-highlighting several rows of a table at once in Beamer

I have the following table in beamer class \documentclass[svgnames]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \definecolor{MyBackground}{RGB}{255,253,...
3
votes
1answer
35 views

Effective way to plot values with a vast difference between them

Here's a nice simple bar graph. It's effective when the plotted values are in the same kind of ballpark, but when there's an outlier, it can put things out of wack. For instance, I want to plot some ...
2
votes
1answer
25 views

Two tables on one page

I am trying to get two tables on one horizontal page. I have looked around here and tried many of the suggested solutions but it does not seem to want to go where it should. I think mostly because the ...
2
votes
2answers
41 views

Align right twentyitem

I am using the Twenty Second Resume template (https://it.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc). I have this environment: \setlength{\tabcolsep}{0pt} % New ...
1
vote
1answer
31 views

Multirow not working properly in combination with booktabs

I am creating a table using booktabs, but I also need multirow in specific places, in combination with long paragraphs of text. If I use multirow normally, there is no way to break the text: \...
0
votes
1answer
74 views

Color alternating groups (5) of rows in Table gray and white

I am trying to color every other grouping of 5 rows light gray, starting with the first 5 rows. I have attempted to use the solution posted here Does something like \rowcolors exist for groups of rows?...
0
votes
0answers
13 views

Can't place this table where I want to [duplicate]

This example is fine, but there is a small problem: I can't place the table where I want to. For example \documentclass{article} \usepackage{makecell} \setcellgapes{5pt} \begin{document} This text ...
0
votes
1answer
26 views

I want to wrap my figures and put tables side to side but the combination of packages has bad results

I'm writting my thesis and I want to wrap figures so I use the \usepackage{graphicx,wrapfig,lipsum}. In the material and methods I want to put some tables side to side so I use the \usepackage{...
2
votes
0answers
39 views

problems with caption in LaTeX [duplicate]

The \caption command in the end posts a caption that says "Table 2: (my text)", even though it is only my FIRST table. I want it to say "Table 1". How? \documentclass[11pt]{article} \usepackage[T1]{...
1
vote
1answer
25 views

Undefined Control Sequence (with installed package)?

I am trying to make a table that includes sums. This is what my code looks like: \begin{center} \begin{tabular}{ || c c c c || } \hline Line & Cost & Executions \\ [0.5ex] ...
0
votes
0answers
9 views

Extra alignment tab while using multirow [duplicate]

Why the following multirow entry doesn't work with tabular? \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \title{my title} \maketitle \section{Section 1} Table~\ref{my-label} ...
1
vote
1answer
32 views

Cline does not work with Template

Any advise on this would be appreciated. I have to use a template to write up my paper but I cannot use \cline to merge cells in a table. A simple code is below: \documentclass{cta-author}%%%%where ...
0
votes
0answers
17 views

adding tables of a PDF that was added using \includepdf into the main list of tables

I am using a latex document which defines a new command as follows \newcommand{\includearticle}[2][] { \cleartorecto \def \ps@default { \let \@mkboth\@gobbletwo ...
0
votes
1answer
30 views

footnote issue in tables and cells

There are two problems with footnotes in a table cell. 1- Although the superscript number is placed above the word, but the detail is not shown at the bottom on page. 2- I don't want to use ...
1
vote
1answer
19 views

Longtable word alignment issues

Some problems with my table. I managed to poach ideas from this entry: Make list of sentences in table break normally and created this longtable (without using tabularx). It works ... okay-ish. Here ...
2
votes
3answers
89 views

Characters won't fit in table

I'm using Overleaf to make a uni work and I need to make a table which at first was too long, and now the characters won't fit in the cells. As I see it's demanded in other posts, I'll paste the ...
1
vote
2answers
37 views

space between specific rows in a table [duplicate]

This script \documentclass{report} \begin{document} \begin{table}[h!] \centering %{\def\arraystretch{2} ...
0
votes
0answers
33 views

Can I add color to column with colorbox or some other method that LaTex native? [duplicate]

Can I add color to column with colorbox or some other method that LaTex native? What I want to display is below: have tried \begin{vmatrix} \quad 5 \qquad 1 \qquad \colorbox{grey}{1} \quad\\ \quad -...
2
votes
2answers
36 views

Errors with table [duplicate]

I am very new to the latex community (1 week) and writing my thesis with latex. I am trying to built a table using the following code: \begin{center} \begin{longtable} [c] { |m{3cm}|m{2cm}|m{2cm}|m{...
2
votes
2answers
77 views

How to put math symbol rotated with 90 degree in table cell?

\documentclass{article} \usepackage{tabularx,multirow,booktabs} \begin{document} \begin{table}[h] \centering \begin{tabular}{@{}ccccccccc@{}} \toprule \multicolumn{2}{c}{} & \...
0
votes
2answers
26 views

adjust cell width to content in tabular* environment

I have a two-column tabular* environment and I wish to automatically adjust the width of the first cell of each row to its content. How do I remove the horizontal space "x" in the attached image? ...
2
votes
1answer
28 views

XeLaTeX: How to put a table above the title in \documentclass{article}

I am looking to put a table in the top of the title page. Reason: The document (an SOP) requires that all revisions are listed at the top of the title, on the first page. I can't figure out how to do ...
0
votes
1answer
30 views

Easiest way to put many & in the blank row of the table

\documentclass{article} \usepackage{forloop} \usepackage{polyglossia} \usepackage{booktabs,pdflscape,longtable,array} \setmainlanguage[numerals=Devanagari]{bengali} \setmainlanguage{bengali} \...
0
votes
0answers
50 views

table* not visible in article

I have run into a really weird issue. Consider the following MWE: \documentclass{article} \usepackage{here} \begin{document} Test \begin{table*}[H] \begin{tabular}{ll} A & B\\ \end{...
0
votes
1answer
16 views

Wrapping text in a cell in a table

Consider the following table \begin{table} \centering \caption{My caption} \label{my-label} \begin{tabular}{|p{2cm}|p{4.5cm}|p{1cm}|} \hline aaaaaaaaaaaaaaa (aaaaaa) & \url{...
-1
votes
1answer
34 views

Fit sideways table in latex on one page [duplicate]

I can not fit this sideways table on one page in latex can I ask for any advice? \begin{sidewaystable}[htbp] \centering \caption{Add caption} \begin{tabular}{lllrrrrrrrrrrrrr} & ...
1
vote
1answer
27 views

Space between \cline in table

I'm working on a table with underlined headings, where each heading spans over two columns. I'm trying to understand how to use the \extracolsep function to create space between the lines for every ...
1
vote
1answer
37 views

Definition before \multicolumn or the like?

Is it possible to have definitions take effect at the beginning of the first cell of a tabular row (using array.sty, if relevant), and still leave room for \multicolumn, \hline, etc.? The problem is, ...
2
votes
2answers
15 views

Align start of table text with main text

Consider this example \documentclass{article} \usepackage{lipsum} \begin{document} \noindent\lipsum[1][1-2] \noindent \begin{tabular}{ll} A & B \end{tabular} { \setlength{\tabcolsep}{0pt} \...
0
votes
0answers
23 views

Manually adding content to list of figures

So I'm supposed to make a command that manually applies label to a picture, using hypertarget and a counter, and then adds the one to list of figures. Note that the pictures I'm manipulating with, ...
4
votes
2answers
35 views

converting several comma-separated lists into a table, one column per list

I have been searching on here for information about comma separated lists, but the only info I have found is how to sort, or iterate over a single list, which isn't quite what I need. If there is a ...
1
vote
1answer
39 views

Need help in adding title to table

I am trying to name the table as shown in the image attached herewith but unable to succeed. Please help. Thanks. EDIT: \documentclass[a4paper,12pt]{book} \usepackage[a4paper, inner=1.5cm, outer=2....
3
votes
3answers
178 views

table going outside the page

Why this table goes outside the page: \documentclass[11pt,twoside,a4paper]{report} \usepackage{graphicx} \usepackage{makeidx} \usepackage{multirow} \usepackage{tikz} ...
0
votes
1answer
35 views

Make list of sentences in table break normally

My table is a mess! I have three columns (from left to right): Left: very simple, single words. Middle: a list of five options (there won't be more than five). Left: a list of events taking place. ...
1
vote
1answer
55 views

table creation with multiple column

I have to create a table similar to this: my problem is in creating the leftmost colum, My attempt is this: \begin{table} \begin{tabular}{|c|c|c|c|} \caption{\emph{{Assegnazione dei ...
3
votes
2answers
138 views

Table mislabeled as figure

I have an image and a table and they need to appear in the same page. The way I'm doing that right now is by wrapping them both in a figure. The problem I'm having is I'm trying to reference the table ...
1
vote
1answer
42 views

Formating tables

I am trying to produce a table within the document however it isn't working as it just comes up with an error saying \hline -> \noalign and I don't know what this means and all of the other ...
0
votes
0answers
27 views

Table taking full page LATEX

LATEX Code down below: \begin{table}[ht] \renewcommand\arraystretch{2.5}\arrayrulecolor{LightSteelBlue3} \captionsetup{singlelinecheck=false, font=blue, labelfont=sc, labelsep=quad} \caption{Timeline ...
0
votes
0answers
16 views

First sentence after figur/table not aligned [duplicate]

Im using a simple figure environment but at some times the first sentence after the image or table aren't aligned anymore. The text is off a few cm to the right. I modified my paragraph setting to be ...
3
votes
2answers
58 views

Complex table formatting

I've trying to format a fairly complex table. The layout is exactly as I want with bottom tables underneath the appropriate headings in the first table (P1 and P7). But the column widths aren't equal (...
4
votes
1answer
31 views

Creating a table more like a smart an instead of a normal list

That is what I have got so far, but it should look more like the picture above, but I am not sure how to code it. I have tried the forest package, but I am not really happy with the output, especially ...
2
votes
0answers
27 views

How to design table so that copied text from pdf in sorted by rows in text file?

I have a simple table with text: \documentclass[letterpaper,11pt]{article} \newcommand{\resumeSubheading}[4]{ \vspace{2pt} \begin{tabular*}{0.97\textwidth}[t]{l@{\extracolsep{\fill}}r} \...
2
votes
2answers
30 views

Outlining specific parts of array

I couldn't find this anywhere else. I have an array with a bunch of numbers in it, and I am very new to posting on this forum. This is from a template that I have to use for a document. Here's the ...
0
votes
1answer
43 views

big sideways table in latex

I'm trying to fit table in latex - best sideways on the one page: % Table generated by Excel2LaTeX from sheet 'List1' \begin{sidewaystable}[htbp] \centering \caption{Add caption} \begin{...
0
votes
0answers
22 views

Table and text over footer

When i try to put a table on the code below, text or the table gets over footer. And the text below that code does not appear on the next page. Does anyone knows how to correct it? Text before ...
4
votes
1answer
86 views

Create a Table with Luatex

i want to make make a template table with parameters. i found diffrent types of solutions but then i try to do some changes, it doesn't work anymore. i tried two diffrent ways: First way \...
1
vote
1answer
31 views

Vertical centering with multirow and tables

I am trying to figure something out that I can't find the answer to. I am trying to create a table where some cells in a row need to have multiple rows. I thought "multirow" would allow me to do ...
0
votes
1answer
30 views

How to create a table of six equally spaced columns in latex?

I am new to latex. The task of creating columns seems to be too complicated to do it in latex with all the different commands and packages available for creating a simple table of six equi-spaced ...
0
votes
1answer
44 views

Removing quotes in csvsimple

Before someone marks this as a duplicate question, I have read this answer, and it has not helped. I have a csv file: "headline","similarity" "Tesco directors in scandal","" "Tesco suspends three ...
3
votes
2answers
64 views

Multi-header column alignment with booktabs

After looking at multiple tex.stackexchange questions, I'm still having trouble getting the alignment of multiple columns right. Here's my code \documentclass[a4paper]{article} \usepackage[T1]{...