# tables's questions - English 1answer

10.187 tables questions.

### How do I caption an Array?

1 answers, 10 views tables captions arrays
So far, this is what I got. \usepackage{amsmath} \usepackage{graphicx} \usepackage[colorinlistoftodos]{todonotes} \usepackage[colorlinks=true, allcolors=blue]{hyperref} \usepackage[square]{natbib} \...

### 35 Table layout with tabularx (column widths: 50%|25%|25%)

3 answers, 98.055 views tables tabularx
This code produces a table with three centered column: \begin{table}[htbp] \centering \begin{tabularx}{\textwidth}{| c | c | c |} \hline Alpha     & Beta     & Gamma   ...

### 1 Cell color problem

3 answers, 35 views tables color tabularx makecell
I have a problem that I can not color all the box \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{cfr-lm} % instead of the "[cyr]{...

### 1 Center text in first row

1 answers, 21 views tables horizontal-alignment tabularx
How can i make the text in the first row in the center of cell, and how i can make number "1" in the center of cell as it is indicated with a red rectangle. \documentclass[12pt,a4paper]{article} \...

### 1 Table with multirows, missing right vertical line

1 answers, 16 views tables multirow tabu
I'm very new to latex and I'm trying to create a table with a combined row As you can see, the combined row is missing the right vertical line, and I'm not able to see the problem myself. The code is:...

### Center text in the first row and in the first colonne [duplicate]

0 answers, 6 views tables horizontal-alignment tabularx
How can i make the text in the first row and colomn in the center of cell, and how i can make number "1" in the center of cell as it is indicated with a red rectangle. \documentclass[12pt,a4paper]{...

### Vertical line in table

1 answers, 34 views tables tabularx
I want to put a vertical line to the table \usepackage{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{cfr-lm} % instead of the "[cyr]{aeguill}" \usepackage[table]{...

### Removing color and horizontal rules on first column

1 answers, 18 views tables formatting
I have made the following table as the tex describes: \documentclass[a4paper]{report} \usepackage{geometry} \geometry{a4paper,total={170mm,257mm},left=20mm,top=20mm} \usepackage{makeidx} \usepackage{...

### 2 Easier row grouping on tables

0 answers, 27 views tables formatting environments
Sometimes I want to group some rows like that: Now I can do that like that: \documentclass[a4paper]{report} \usepackage{geometry} \geometry{a4paper,total={170mm,257mm},left=20mm,top=20mm} \...

### Vertical align tabular* to top

0 answers, 9 views tables vertical-alignment
I want to make a table where the left column is aligned to top, using array and tabular*. The thing is, when I put [t], it simply ignores it. How can I align the first column to top? Code: \...

### I cannot put an equation and figure inside same frame on beamer

1 answers, 32 views tables beamer
I have a very basic question. I am trying to use beamer to prepare a presentation and I need to put a figure and 2 line equation one under the other. I am able to put figure by itself but when I add ...

### 3 Transforming a table to a supertabular

4 answers, 80 views tables two-column supertabular
I have this table (generated from an online latex table generator): \begin{table}[] \centering \caption{My caption} \label{my-label} \begin{tabular}{|l|l|l|} \hline Technique & Possible ...

### 4 Why do the lines in this longtable misalign?

1 answers, 62 views tables longtable booktabs tablenotes
I run latexmk -pdfxe on this MWE \documentclass[landscape]{article} \pagestyle{plain} \usepackage[hmargin=1cm, vmargin=2cm]{geometry} \usepackage{longtable} \usepackage{booktabs} \usepackage{array} \...

### 5 Embedding complex tables in a journal template

I spent an inordinate amount of time creating 2 beautiful tables for a manuscript. Paper accepted! Turns out the journal wants either Word or LaTeX, but not a mix, and the tables must be in the main ...

### 3 How to focus parts of table on a beamer

2 answers, 38 views tables beamer
I have a table that contains lots of number on it. I want to use it in a beamer presentation and I wonder whether it is possible to focus different regions at different slides. This is the code I ...

### 15 Why not use \cr instead of \\ in tables?

1 answers, 325 views tables siunitx
In plain TeX \cr is used to mark the end of a row in a table. In LaTeX \\ is usually used instead. \\ takes an optional argument, which \cr does not support. But I never use that anyway, I prefer ...

### 4 How to fit wide table on a page

I am building a table in latex but it is too wide to fit the page. Centering will only align it on the left side so that it will spill out on the right side. I already tried to rotate it and to set ...

### 2 insert table generated by csvsimple package into another tex document not using that package

0 answers, 27 views tables csv csvsimple
I'm not sure if the title describes the question clearly. I have a latex document that uses the csvsimple package to read some columns from a large datafile and make a nice table. It works fine, but ...

### position text at the top of cell in table if there is a large text in the second cell

1 answers, 49 views tables vertical-alignment
I want to position the text at the top of the box as it is declared, but when the column on the right contains a long text, it automatically changes to the bottom of the box \documentclass[12pt]{...

### 1 LaTeX: separate columns in a table with a character instead of a line

Is it practically possible to use a character to separate the columns of a table instead of a vertical line? Specifically consider a two column table, with col1 and col2. As long as col1 is a single ...

### 7 How to make table less cramped

4 answers, 629 views tables calculations etoolbox
I have a table which is defined using etoolbox but I'm not sure how to make it look less cramped. \documentclass{article} \usepackage{calculator} \usepackage{pgffor,etoolbox} \begin{document} \...

### floating sideways table on a rotated page in pdf-viewer

1 answers, 28 views tables floats landscape
I am attempting to create very wide tables in LaTeX. For this, I want to put only these large tables sideways on the page - The rest of the work is in portrait mode. I have experimented with "...

### position text at the top of cell in table [duplicate]

0 answers, 28 views tables tabularx
I want to position the text at the top of the box as it is declared, but when the column on the right contains a long text, it automatically changes to the bottom of the box : There is my code : \...

### Extra alignment tab has been changed to \cr. <recently read> \endtemplate…nothing written in error line

Sir I am getting this error. paper.tex 40 Extra alignment tab has been changed to \cr. \endtemplate l.40 In line no. 40 Nothing is written still it is showing error. I m also writing the code ...

### 4 Compiler crashes after making each mistake [on hold]

2 answers, 320 views tables alignment
I am trying to make tables in LaTeX. However, each time I make a mistake the compiler crashes even by removing the mistake with the following message: Runaway argument? {lof ! File ended ...

### Add stars to number in parentheses [duplicate]

1 answers, 42 views tables tabularx siunitx
I have this code \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[margin=2.5cm]{geometry} % showframe \usepackage{multirow} \...

### 3 Place table at the top of page

1 answers, 43 views tables floats
I have this code: \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[margin=2.5cm]{geometry} % showframe \usepackage{lipsum} \...

### 2 Table extends beyond right margin, how to autofit table to text width?

\begin{table}[H] \caption{Optimised combinations of hydrophobic-SiO\textsubscript{2} (H-SiO\textsubscript{2}) particles, fatty acid and solvent loadings for water repellent coating slurries. SiO\...

### 2 Redefined pagenumbering with \cfoot does not show up in ToC

1 answers, 25 views tables table-of-contents footer
For my thesis I'm adding an 'Addendum' with extra pages. I want the pages in the addendum being numbered as 'A1'. In this I succeeded using fancyhdr and \cfoot. Unfortunately in my table of contents ...

### 1 Split the content of a table into 2 columns without doing so in the .tex source

I have some 2-column tabular data which looks like this: Foo 12 Bar 34 Baz 56 Quux 78 Quuz 910 Corge 1112 Grault 1314 And I want to lay it out in a 2x2 = 4-column table, i.e. to have ...

### 3 Table in footnotes

3 answers, 246 views tables footnotes
I would like to include tables in footnotes \footnotetext{SOME TEXT TABLE SOME TEXT} I can use the tabular environment, but the begin{table} with the caption and the label doesn't work.

### 2 Aligned numbered equations in a table using eqnarray

1 answers, 75 views tables equations align
I am writing a paper to Springer journal (class: svjour3), I put an algorithm in a table and I used eqnarray to ensure the alignment and numbering of the equations, but there is a problem with the ...

### 5 \setlength{\extrarowheight}{1pt} with negative extra height?

3 answers, 414 views tables color
Is there a way to convince the array package to vertically squeeze, rather than expand rows? Here is a MWE: \documentclass{article} \usepackage[table]{xcolor} \usepackage{booktabs} \begin{document} \...

### 1 Problem with \discretionary inside a longtable (tabu) cell

0 answers, 35 views tables longtable tabu longtabu
I'm working on embedding code into the code documentation and here it is also necessary to have code in table cells. I have the following (stripped down ) code (based on the excellent answer from @...

1 answers, 69 views tables ieeetran
\begin{table*}[!tp] \tiny \caption{Comprehensive analysis of the existing technologies, specifications, features and critical remarks} \label{table2} \centering \begin{tabular}{ p{1cm}| p{...

### 15 Proper centering with cmidrule and multi- row and column

The code below produces the following figure: The issue I am having is that Sample is not vertically aligned, I get proper alignment if \cmidrule(l){2-3} \cmidrule(l){4-5} is removed. How do I get ...

### 1 How to draw multiple colored bars in a table?

1 answers, 95 views tables color cline
For a calendar, I would like to draw multiple lines indicating things like school breaks into a table. A single calendar day is already multiple cells in the table, so I thought using \arrayrulecolor{...

### Row color complete [duplicate]

0 answers, 17 views tables color tabularx
I have a problem with the color of the rows and I have searched and tried several solutions and I have not been successful. I can set the color of the row without problem, but the colo does not occupy ...

### 3 Table Width Issue in {Tabular} & Table Column Width Adjustment Issue in {Tabu}

1 answers, 18 views tables longtable tabu
I am working on an Elsevier Paper where I have to build up a table of notations. I have tried both {tabular} and {tabu} packages. But, in Tabular, table width exceeds the text block width while in ...

### Issue with label code for a table

I would appreciate if you could help me out resolving the issue with compiling the following code which is to draw a table: \documentclass[preprint, authoryear]{elsarticle} \journal{Journal of ...

### nested table alignment problem

Following this example, I try to extend it a little bit. \begin{table} \centering \begin{tabular}{ |c|c|@{}c@{}| }% <-- aded @{} \hline no test & no test & \begin{tabular}{c|c|c} 1 & 2 ...

### 1 How to group rows in Latex?

I want a row grouping like this table. Is it possible to do so in Latex? In the following table, city name is the attribute that is used to group rows.

### 2 Using dcolumn for tables: Alignment on decimal and thousands separator

0 answers, 21 views tables dcolumn alignment
I'm struggling to align numbers on the decimal (.) as well as thousands (,) separator using dcolumn. I'd like to avoid unnecessary space when displaying decimals in one, and thousands in another row ...