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.

1
vote
1answer
30 views

How to put tabularx inside tabularx with different column length

I am trying to nest a tabularx table into a cell of another tabularx table. I did it according to the Question here. Now my problem is, that they use the \newcolumntype{Y}{>{\centering\...
0
votes
0answers
54 views

Change page about a table

I am using the template of SIAM journal on optimization (siamart_171218 docsiamart.tex) to edit a table. But I face a question: I replace my table with the template,then I can't put my table into ...
2
votes
1answer
48 views

Adjusting table to linewidth and continue on next pages

I need to have this table adjusted to the line width as it is exceeding the page. I also need it to continue on the next page. How can I do this? Here is my MWE: \documentclass{article} \...
0
votes
0answers
23 views

How to place a wide table on the first page and below the title?

I am working on a (two-column) report and have a wide table. How can I place the table on the first page and right below the title? I have tried \begin{table*}[t!] but it does not work. The table is ...
1
vote
1answer
44 views

Tabular align on equals sign [duplicate]

I'm pretty new to LaTeX, so sorry for the beginner question. I'm trying to align on equals signs within tabular, however a few rows are blank and don't have equals signs. How can I do this? Thanks! \...
0
votes
0answers
33 views

Left margin in list of tables

I am using \listoftables . Some elements of the list are longer than a single line. The first line of each element has a greater indentation than its following lines. I can I set the same indentation ...
1
vote
1answer
29 views

How to create numeric columns with bars in table

I wonder how could the following columns be created in (La)TeX for a table that has fixed/known column widths. I've been tinkering with tcolorbox but I couldn't find a way to make the text lay over ...
3
votes
2answers
55 views

A table is not shrinking to predefined maximum size (beamer)

I am trying to create two tables and put them beside each other. Each table should shrink to the rectangle shown in green while maintaining the aspect ratio. However, it does not seem that this is the ...
3
votes
2answers
117 views

Prevent table from going off page, how?

How can I prevent this table from going off the page please? I need solution for both vertical overflowing and horizontal overflowing For horizontal, it exceeds the page on the right side. How to ...
2
votes
1answer
38 views

Small separation between columns

On the bottom you will find a minimal example of my code (perhaps a little bit too much packages). My problem is that I would like to have a very small separation between each column. That's why I ...
0
votes
1answer
28 views

Table center not working

I am new to latex. I have tried to make the following table center. I have tried \centering and \begin{center} both approach. However, it is not moving a bit. How to make this table center. Thank you. ...
0
votes
0answers
27 views

Latex table not show in page

I write the script for show table in section like this. \section{RESULTS AND DISCUSSION} This paragraph will end the body of this sample document. Remember that you might still have Acknowledgments ...
0
votes
1answer
31 views

Adding color and increasing between rows of table

How can I add RGB color (78, 126, 222) to every other row in right half of the table generated below? And how do I increase spacing between these rows? I tried to use \rowcolor but got an error. \...
2
votes
1answer
14 views

Substitute a space to a string to force tabular cell separation

I'd like to construct tables using macros to align syllables with other text. For that task, I defined a table with no separation between columns. This, however led to words being stuck together if ...
1
vote
1answer
36 views

Wrap every cell on a row with command

I'd like to construct tables with some macros. I have created an environment with a variable amount of columns. One of the macros is supposed to create a row of entries that have no vertical lines. I'...
1
vote
3answers
29 views

Insert Space Between Adjacent Tables

At the moment, I effectively have one large table containing what should be multiple smaller tables. That is, my formatting needs improvement. Either way, I currently have one table with 9 columns, 3 ...
0
votes
1answer
32 views

How do I fit a landscape table to page width?

this is my latex, the columns always see to go over the page width. I know I set width using p instead of l. However, using p, the tables disappears to the next page where it is portrait mode. \...
0
votes
1answer
38 views

Table with merged cells, multi-index and text wrap

I'd like to have a table that looks like this. Here's a link to open the image in another tab. What matters to me is the structure. The formatting is just to show what I'd like to stand out from the ...
0
votes
0answers
33 views

Legend for tables

I am trying to generate tables similar to the one attached here. Basically, one main caption on the top, and some extra descriptions in the legend below the table. EDIT: Thank you for the comment. ...
3
votes
1answer
75 views

How to join two vertical cells in latex?

I have a table looks like exactly what I want, except for the first column from the left, the word Grain is not in the middle of the cells (I used cline{3-11} to hide the line but how to make the word ...
0
votes
1answer
41 views

Rotated table (90 degree in whole page) in two-column article

I tried to make a table rotated in one page (according to ferahfeza's post in rotate table (90 degrees) and stretch to fill whole page) but when I paste the same code in two-column article format, it ...
2
votes
3answers
28 views

Aligning digits in table with percentage sign on first row

I'd like to align the digits taking into account the percent symbols on the first row. MWE: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table} \centering \...
1
vote
0answers
35 views

Color the lines of only a single cell of a tabular [closed]

I have the following table: \begin{tabular}{!{\color{black}\vrule}c!{\color{gray}\vrule}c!{\color{gray}\vrule}c!{\color{black}\vrule}} \arrayrulecolor{black}\hline & & \\ \...
2
votes
1answer
39 views

How to make table with column lines only in the first row

How do I draw my table with the column lines only in the first row? Here's a MWE of my code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{float} \usepackage[table]{...
3
votes
2answers
58 views

Control width of columns in a tabular environment

I would like the pieces of texts in the right column to be closer to the pieces of text in the left column. At the same time, I want the table to accommodate long pieces of text nicely, as it does now....
0
votes
0answers
7 views

How do I add the word “appendix” before the word “table” in table captions? [duplicate]

I want to change the word "Table" in the second table to be the words "Appendix Table" without overriding the numbering. \documentclass{article} % \usepackage{amsmath} \usepackage[bottom]{footmisc} ...
0
votes
1answer
16 views

New paragraph in table with rotated box

I'd like to have a new line in a rotated box in a tabular environment. MWE as follows: \documentclass[english]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{microtype} \...
2
votes
1answer
57 views

Problem with table (place in the center)

\usepackage{lineno,hyperref} \usepackage{amsfonts,amssymb} \usepackage{mathtools} \usepackage{multirow}% \modulolinenumbers[5] \begin{document} \begin{table}[h] \begin{center} \begin{tabular} [c]{|c|l|...
0
votes
0answers
20 views

'tabular' environment-Changing column separator character [duplicate]

I want to change column separator symbol '&' of tabular environment by creating a new environment that also works similar to tabular environment. Please Help.
4
votes
1answer
56 views

awkward tabular

I have a need to create some awkward tabulars as shown below. So far, I managed to create them to a certain degree (not perfect) as shown below. I sure would like some help here to produce a better ...
3
votes
1answer
80 views

Is coding multi-line curly braces in text mode possible?

I need to typeset the following document: I have coded the following \documentclass[french, a4paper, 10pt]{book} \usepackage[french]{babel} \usepackage{fontspec} \begin{document} \setlength{\...
0
votes
0answers
32 views

problem given by decimal alignment in latex tabu table with bold numbers

I'd like to have a table aligned by decimal point. I'm using tabu instead of table for exploit rowfont because I need row with smaller character. I've read different post on dcolumn and siunitx ...
2
votes
1answer
67 views

How to scale tikzpicture table?

I need to scale this table to smaller size, all together with color boxes. I was not able to do it with scale command. Any help? Thanks. \documentclass{IEEEtran} \usepackage[dvipsnames]{xcolor} \...
4
votes
3answers
49 views

How to centralize a column already centralized in the tabular preamble?

I'm doing a table with 6 columns with 2 rows of headings. There are 3 principal headings and 6 subheadings. All the columns are c type, however, the columns 3 and 4 ar not correctly centralized. Any ...
3
votes
4answers
50 views

Fixing a big table out of margin

\documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{makecell} \newcommand{\blank}{--} \begin{document} \begin{table}[h] \renewcommand{\arraystretch}{1.2} \footnotesize\...
0
votes
0answers
54 views

Itemizing in LATEX table

I am trying to create a table that involves a lot of text, and therefore requires enumerating. The problem, I can't get it to do it. What am I doing wrong? The table is one of several tables that ...
1
vote
1answer
37 views

Ltablex errors in long and wide table

Good morning everybody. I have an issue with trying to make a multi-page table inside my thesis by using the package ltablex. The issue is that the table doesn't continue in the next pages; the code ...
1
vote
1answer
15 views

Centering table data under right-aligned tabularx header

I'm trying to align the following table so that the "21" is centered under its header. \begin{table}[h] \centering \begin{tabularx}{1.09\textwidth}{|cll>{\raggedleft\arraybackslash}X|} \hline \...
0
votes
1answer
27 views

How to align table contents by decimal point?

I've searched online and on this forum. I haven't found an appropriate solution to my issue. I am trying to align the numbers in my table with their decimal point. I'm not exactly sure how to go about ...
0
votes
0answers
16 views

Entering x-y plots (sigmoid fn) or add images into come latex table cell [closed]

I am writing a thesis with an expectation matrix within. This requires some cells to include functions within, wither horizontal lines or sigmoid functions. Is there a means of doing this please? I ...
1
vote
1answer
29 views

Changing invoice class tab

This is from an older question, But I'm wondering how can I change the below code to have the quantity tab to say "items" instead of "hours? \documentclass{invoice} \def \tab {\hspace*{3ex}} \...
4
votes
2answers
83 views

centering a caption under a table

I have a table with two columns and 12 rows. I require the table to appear on the left hand side of the page (which I can do), however, the caption is centered on the page. I would like to place the ...
1
vote
0answers
34 views

Use paracol to simulate a longtable?

\documentclass{article} \usepackage{paracol,lipsum,calc} \begin{document} \setlength\columnseprule{.4pt} \setcolumnwidth{0pt,.55\textwidth,.4\textwidth,0pt} Add Title \begin{paracol}{4} \raisebox{...
3
votes
1answer
36 views

How to remove table border

This could be a silly question, but how would you modify my code so that the portion of the line indicated is removed? \documentclass[]{article} \usepackage[margin=0.5in]{geometry} \usepackage{...
2
votes
2answers
39 views

Strange behavior of tabular when a second \multicolumn is added

The original question is about placing figures inside a tabular and trying to adjust them like this: with a code similar to this: \documentclass{article} \usepackage{graphicx} \usepackage{array} \...
0
votes
0answers
35 views

I want solution for the following problem [duplicate]

this is the code.i want to the simulation result analysis section first then the subsection parameter but the code does not show this.how can i solve this??????? \begin{figure*}[ht] \includegraphics[...
1
vote
2answers
47 views

LaTeX the table out of page

I want to create table like this . I don't know how to create header of table like that. This is Latex script. \begin{table*} \centering \caption{Some Typical Commands} \begin{tabular}{|c|c|c|c|c|c|...
1
vote
1answer
19 views

How to align horizontally the rows between X type columns?

I have a table with short and long headings. I'm using tha column type X from the tabularx package. The headings are aligned to the top, how can I align the headings horizontally in the middle? \...
1
vote
1answer
22 views

Vertical fill for text under table at end of section

Hi I wasn't sure how to create a descriptive title for this issue. It is a bit weird. When I have a table near the end of a section and text is above and below it, the text will move to the bottom of ...
2
votes
2answers
35 views

Better margins in tabular's cells containing math-mode

I have this code % !TeX encoding = UTF-8 \documentclass[utf8]{article} \usepackage{multirow} \begin{document} \begin{table}[htp] \centering \begin{tabular}{|l|c|c|} \...