Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

2
votes
0answers
26 views

How to create tables that spill into the next page in ConTeXt?

I have a table like this in ConTeXt, per a workplace template, with borders around every cell. \startsetups table:all \setupTABLE[align={hyphenated, normal}] \setupTABLE[frame=on] \stopsetups ...
1
vote
1answer
26 views

Excel2Latex column alignment

I would like to create the following (Excel) table in LaTeX: I use the Excel2Latex add-on and get the following code (I included adjustbox to scale the table): \documentclass{article} \usepackage[...
0
votes
0answers
15 views

Captions disappearing after fixing table float

I inserted the following in my preamble: \usepackage{float} \restylefloat{table} This works great and my tables work just as planned using \begin{table}[H]. My problem is that captions do not render ...
1
vote
1answer
14 views

multirowcell in the final column of a table has vertical line partly missing

I am using the makecell and multirow packages. The only problem I can't solve is having a \multirowcell in the final column of the table leads to the right most vertical line only going part way down....
1
vote
0answers
6 views

Exporting tables made with dcolumn and multicolumns to docx using Pandox

I am trying to convert a tex-document into a docx-file to share it with some colleagues who do not use TeX and will not do so in the (near) future. At the moment, the best possibility seems to be ...
1
vote
1answer
15 views

How to make text in a multirow cell go on different lines

\documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[htbp] \centering \begin{tabular}{ccccp{1cm}p{1cm}p{1cm}p{1cm}p{1cm}p{1cm}p{1cm}} \hline & A & B & C \\ &...
0
votes
0answers
24 views

How to adjust table and text flow

I am trying to put a table in the normal text flow. What I mean is that I have plain text and then a table with a couple of columns and rows. If the table is small, like i.e. 30% of the A4 page, then ...
0
votes
1answer
35 views

Self reflowing tables on the whole page

I need to reproduce the following 2 layouts ( in landscape, if that matters ) involving just and only tables : The first layout is just 1 long table that spans from the upper left to the bottom right ...
3
votes
0answers
47 views

Technical report table of contents

I am writing a technical report. Pease how do I replicate something this nature using report class. Could someone please assist with the page layout (boxed margins, a simple table in header) My code: ...
1
vote
2answers
27 views

Undefined control sequence in tabularx

I want to add a table to my latex file in which the text is shown on 2 columns and I get the following error: Undefined control sequence. <inserted text> {@{}lYYYYYY@{}} \toprule &\...
2
votes
2answers
47 views

Row coloring problems in table (svmono class)

In the table below, when I set the row height, column width and the indentation as desired, the coloring of the rows breaks, leaving some "uncolored" areas (see example). How can I fix this (while ...
2
votes
2answers
68 views

Split a big table on two pages

I'm trying to fix a table in my latex file. The table is too long and few last rows go over the number of pages and also partially into the footnote. I thought of using longtable package to break the ...
0
votes
0answers
30 views

incomplete cell color? [duplicate]

I have simple table \begin{adjustbox}{max width=1\textwidth} \small \begin{tabular}{|c|c|c|} \hline \cellcolor{NavyBlue!40}{\thead{}} & \cellcolor{NavyBlue!40}{\thead{IoT}} &\cellcolor{...
6
votes
1answer
55 views

A way to create a clear layout for large tables

I know, that the question is somehow subjective, but this is my 2nd document writing in TeX. Therefore I've not so much input about the variety of commands and I would be very grateful for some ideas ...
0
votes
0answers
48 views

How to easily put two pages onto one page (2up on one page)?

Update Just to give a bit background information, full file is here. Or if you are a teacher, use this link. I am trying to make a table of content link page in the bigger document. At the moment, it'...
0
votes
1answer
17 views

Vertical and horizontal centering inside sideways

I am trying to set my tables inside an Appendix. The first table should be on the same page as the section heading. Therefore I am usnig sideways. But I also want to center the table horizontal and ...
0
votes
0answers
26 views

Technical report page layout comprising of complex table as header as well as page boarder lining/boxed pages

I'm writing a technical report. Could someone please assist me in coding a layout design of the attached image/page. Furthermore the automatic spacing of the chapter heading changes when adding new ...
7
votes
3answers
95 views

Change table spacing

I would like to create a table that looks like the one from Excel (First picture). But the top row is creating weird spacing in LaTeX (Second picture.) \usepackage{amsmath} ...
0
votes
0answers
26 views

How to control the postion of a table [duplicate]

I have a table like this: \newcommand{\dd}{{\rm d}} \newcommand{\ee}{{\rm e}} \newcommand{\ii}{{\rm i}} \newcommand{\rr}{{\rm r}} \newcommand{\pp}{{\rm p}} \newcommand{\AAA}{{\rm A}} \newcommand{\rev}...
1
vote
1answer
27 views

hide page number in overleaf

I m writing a scientific paper using overleaf. I have a large table which fit in a whole page. The problem is the table cover the page number. SO, how i can hide this page number (only for this page)? ...
1
vote
1answer
26 views

Table formatting to the center

I currently have the following table: The code that I used to obtain it is the following: \begin{table}[h!] \centering \label{table:PAF_sigf_results} \small \renewcommand{\arraystretch}{1.2} \begin{...
3
votes
2answers
24 views

Split text apart in table cell

I would like to align some text left and other text right in the same table cell. I tried with \hfill and it works in my MWE. Here is a MWE that is working : \documentclass{article} \usepackage[utf8]...
0
votes
3answers
42 views

How to fit this table in a page? Also to vertically align the text to center [duplicate]

I want this table to fit the page width. Also, vertially align the content to center of the box. Please find the code for the table below. \documentclass[12pt]{article} \usepackage{amsmath,amsthm} \...
0
votes
1answer
37 views

Tabularx - merge cells

I have a table made using tabularx and I'd like to merge some of the cells which have the same content so that only one entry is required. When I try to use multicolumn as per enter link description ...
1
vote
2answers
35 views

Centering and removing horizontal lines in tabular

Edit: I have removed the two horizontal lines using \cline(2-9) Below is the code I have used for my table and the result. \documentclass{article} \begin{document} \begin{center} \begin{tabular}{c|c|...
4
votes
2answers
83 views

Hline length not filling width of the table

I used siunitx package to align numbers as suggested here. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{siunitx} \title{Test} \date{August 2018} \begin{document} \maketitle \...
-3
votes
0answers
44 views

How to unify the numbers’ format and how to align the numbers in the table? Just like the format in the Second picture [duplicate]

Please give me some code about how to unity and align. I have tried many methods, but it has not been used. Thank you
1
vote
1answer
24 views

Positioning table to the bottom left of a node

I am having trouble with the positioning of a table. I have a node just below the center of the page and would like to place a table on the bottom left of such node, but when compiling it places the ...
1
vote
1answer
43 views

Longtable and tabular caption vertical and horizontal alignment

My problem is similar to this question, the caption alignment of tabular table and longtable is different. I would like to have the caption to be consistent with the tabular form, with some white ...
3
votes
2answers
35 views

Center a multirow

I'm unable to center a table's multirow vertically (it works only horizontally): \def\arraystretch{1.5} \newcolumntype{Y}{>{\centering\arraybackslash}X} \begin{table}[t] \caption{Caption.} ...
1
vote
1answer
28 views

How can I justify table text (from only one column) right?

First of all I want to point out that I'm newbie at LaTeX, but I have searched forums on the quest to answer my question, but to no good. Basically I want to justify one table column to the right, ...
0
votes
0answers
40 views

Differents table of contents

i made a tex file with 7 others tex file, but i want to do a table of contents for every part and not 1 for all of my book and i don't knwo how tom do that, i search but nothing. I can do a table of ...
1
vote
1answer
39 views

Centering images and text in a table without specified dimensions [duplicate]

I have a table with images and text and I want to align them to the centre of the cells they're in. Most questions like this one have answers which first fix the cell size and then centre its contents....
3
votes
3answers
139 views

How to automatic increasing row-col in table?

My MWE \documentclass[a4paper,twoside,openright,12pt]{book} \usepackage[left=1.5cm,right=1cm,top=2.5cm,bottom=2.5cm,marginparwidth=0cm,marginparsep=0cm,outer=1cm]{geometry} \usepackage[T1]{fontenc} ...
3
votes
2answers
38 views

Unexpected behavior with \multicolumn in \tabular

I have a file with content akin to the following (which will be the base of my MWE) with the result shown: Here's the MWE: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{...
1
vote
2answers
37 views

Text alignment in table's cell

MWE: \documentclass[12pt,a4paper]{article} \usepackage[centertags]{amsmath} \usepackage[a4paper,bindingoffset=0.2in,left=0.5in,right=0.5in,top=0 .5in,bottom=0.5in,footskip=.25in]{geometry} \...
1
vote
1answer
38 views

table in two column paper

how can put the following table in a two column paper: \documentclass[final,5p,times,twocolumn]{elsarticle} \bibliographystyle{elsarticle-num} \usepackage{lineno,hyperref} \modulolinenumbers[5] \...
0
votes
1answer
27 views

How can arrange my table of abbreviation from A to Z? [duplicate]

I would be grateful if you could help me to arrange my table from A to Z Abbreviation, my code is: \documentclass{report} \usepackage{longtable} \usepackage{sectsty} \chapterfont{\huge\sc\centering} \...
1
vote
0answers
32 views

LaTeX ERROR: File `styles/se-wa-input-styles-v0972.tex' not found. (But I have it?!)

I tried to write a new table but I got this Error. I deleted the table but the error is still there... The Link: https://de.sharelatex.com/read/rkvpkdzfrcbv Logs: This is pdfTeX, Version 3....
4
votes
2answers
88 views

Set \bottomrule of two uneven tables to same height

I have two parallel tables not equal in height. I'd like to set \bottomrule of the shorter left table to the same height as the right one. Is this even possible without rearranging the rows? Using \...
1
vote
1answer
20 views

Split table of abbreviations over multiple pages

I wounder if you could help me to solve the long table problem in my list of abbreviation, I want to separate my table in 2 or 3 pages. My Code is: \documentclass{report} \usepackage{sectsty} \...
0
votes
1answer
21 views

Resize table width and length in beamer

I am inputing a tex file on a beam slide and the file contains a threeparttable that I created using an automated program. The table fit on the slide looks horrible. I tried the following resizing ...
2
votes
3answers
26 views

Vertical spacing with \cmidrule with datatool table

I would like to insert a cmidrule when I have an empty line in a table produced by the datatool package and also use \bottomrule. Both of these yield excess vertical space above the line: How do I ...
3
votes
1answer
35 views

Table cell colouring

Consider the following example: \documentclass[ 12pt, danish, landscape ]{article} \usepackage{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{babel} \usepackage[ a3paper,...
5
votes
3answers
322 views

How to use bar chart to represent percentage in table?

I want to use black and gray bar to represent some percentages. Gray is the basic color on bottom,the black is the real percentage.
1
vote
1answer
26 views

Span rule disappear when using colors in table

Good day! Here my requirement is table columns in different color with respective span rule. When we using \cline{} it has disappeared and overridden by next row color. Please suggest me how to solve ...
3
votes
1answer
49 views

Vertical centering in table

How can I center something vertically? \begin{figure} \centering \begin{tabular}{ >{\centering\arraybackslash}m{1.2in} >{\centering\arraybackslash}m{1.2in} } \begin{overpic} [width=...
1
vote
1answer
44 views

how to add a vertical line in the table?

I would like to add vertical lines in my table. Can anybody suggest me the change required in following code to get proper vertical lines in my table? Sample code is pasted below. Screenshot of the ...
0
votes
1answer
26 views

Putting table attributes in center of the cell problem

\documentclass{article} \usepackage{forloop} \usepackage{polyglossia} \setmainlanguage[numerals=Devanagari]{bengali} \setmainlanguage{bengali} \setotherlanguage{english} \newfontfamily\bengalifont[...
0
votes
2answers
48 views

Table with images and wrapped text

I am trying to build the table of two columns. The first one contains an image and the second one pretty long description. Moreover, the size of the table exceeds one page, therefore my idea was to ...