{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.

learn more… | top users | synonyms (2)

2
votes
1answer
49 views

How to create a latex table in R with significance stars?

I have a latex table generated as following in R: \documentclass[12pt,econ]{authesis} \usepackage{natbib} % natbib citation style \usepackage{url} % added 2015-067-06 bc the example .bib ...
0
votes
0answers
19 views

Colouring Specific Blocks of Rows in a Table

I have my table formatted how I want it. Just want to colour in the A-Type multi-rows, and the C-Type multi-rows; to distinguish them from the B-Type. I wish to have them coloured grey, but only a ...
0
votes
1answer
26 views

Colored tabular - line not showing

\begin{tabular}{| p{10cm} | c |} \hline & \\ {\bf Requirement:} & {\bf Categorie:} \\ & \\ \hline & {\cellcolor{green}}\\ text & {\cellcolor{green}{\bf Must Have}} \\ & ...
3
votes
3answers
50 views

Tables: adjust column widths

I would like this table to adjust the width of its columns to the content. Columns 2, 3 and 4 are way big. Any suggestions? \documentclass[12pt]{article} \usepackage[margin=3cm]{geometry} % ...
2
votes
1answer
27 views

\fontsize command not working as expected

I have some tables in the middle of a document which is in written in 12pt and I'm trying to make them in 10pt. Only the tables. If I write \begin{table} \centering \fontsize{10}{12} ...
1
vote
1answer
26 views

Remove top space from lstlisting inside tabular

I have the following problem. lstlisting seems to add an extra space before and after the code. Is there a way to remove it ? I would like to remove the blank spaces before and after the code : ...
1
vote
1answer
43 views

Font size control in table

I have a table that is too wide to fit in a page. How to change the font size in a table? This is the source code. \documentclass[12pt]{article} \usepackage{booktabs} \usepackage{multirow} ...
5
votes
1answer
86 views

inconsistent table number

I have the following problem: I placed two tables of the same kind following each other but the second table has inconsistent number: The first table has the number 2.1 (chapter 2, Nr. of the table 1) ...
1
vote
2answers
61 views

Arabic cells' tables rendered from right to left

Is there a way to get arabic cells' tables rendered from right to left just like they are typesetted. here is a minimal example! \documentclass[]{article} \usepackage[ utf8 ]{inputenc} ...
2
votes
4answers
55 views

Horizontal centering in table - alternative to array package

I am very new to LaTex and I am having some problems with centering values in a table. I have created the table as below. \documentclass[11pt. oneside]{article} \usepackage{makecell} ...
1
vote
1answer
37 views

Mysterious summing: when calculator 's \ADD macro adds too much inside a table

Background: In my previous question, Robert Fuster taught me how to define a global variable using calculator package. I want to define a "counter" that also works with non-integers. I thus defined ...
3
votes
1answer
28 views

right to left arabic characters in tables

How to get right to left arabic characters inside a tabular environment with the arabi package without to have to insert the \AR command in each cell ? \documentclass[A4,12pt]{article} ...
1
vote
2answers
49 views

Using locally defined calculator commands inside tables (tabularx)

Inside a table, I want to draw rules. Their length equals the cell length times a predefined ratio (i.e. \rule{\ratio\linewidth}{1ex}). I use the \DIVIDE{A}{B}{\ratio} function of the ...
1
vote
1answer
34 views

How to colour a cell and keep the contents in maths-mode?

I am trying to colour certain table cells in some siunitx S columns. The cell colour change with xcolor/colortbl works, but it seems to also change the cell contents to text-mode, which has ...
0
votes
0answers
24 views

\underset error message within my regression table

I am new to LaTeX. I am asking a question regarding a regression table. I am trying place some standard errors below some coefficients. In order to do this I have use the following within my ...
3
votes
2answers
102 views

Baseline of a cell with a rule is messed up because of \color

I have a table (tabulary) in which some cells are only filled with a rule. This rule is 1ex thick and I want that the bottom of the rule matchs the baseline (of all cells of the row). I've found that ...
1
vote
1answer
26 views

Creation of Specific Table

I have some trouble creating the a table in my LateX document, do you have any suggestions on how to do it? I have the following table but I need to have a "Value" and "Relative Error" header like in ...
1
vote
1answer
33 views

Increasing font size makes coloring of last table column incomplete

My table is aligned to the left by using \hskip-1.50cm. When I increase the font size from 10pt to 12pt, the table's layout shifts to the right and understandably so. The alternating rowcolors do not ...
1
vote
0answers
23 views

Referencing to inputted table

I have many tables generated automatically in separated tex files which i input in my main document using \input{table1} \input{table2} ... Is it possible to refer to this table by using its name or ...
1
vote
1answer
40 views

Curly brackets catching many lines in tables

I have the following table \begin{center} \begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}| \hline \multicolumn{3}{|c|}{Bosonic spectrum of type IIA and IIB theories} \\ \hline Sector& IIA & ...
2
votes
1answer
44 views

numbers too long to fit in a column

Hi I have the following code \documentclass[12pt,a4paper,twoside]{report} \setlength{\textwidth}{16cm} \setlength{\oddsidemargin}{0pt} \setlength{\evensidemargin}{0pt} ...
1
vote
1answer
37 views

Create inferior triangular matrix without extra vertical lines

I want to create an inferior triangular matrix like shown in the picture below. My attempt was the following: \documentclass[a4]{article} \usepackage[utf8]{inputenc} \begin{document} ...
1
vote
1answer
70 views

3x3 Normal Form Payoff Matrix in LaTeX Tabular Environment

~Disclaimer~ This question is a generalization of this question to the 3x3 case. I would like the same format as the top example in the answer to the above question; That is, "Player 1" on the left, ...
1
vote
2answers
30 views

The same space between three tables

I make a very big data table, but the table don't fit in the page, so I slice the table in three tables. I want the three tables are next to each other separated by the same space or then joined by a ...
2
votes
3answers
41 views

Centered text in a tabular row

Consider this MWE: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table}[H] \centering\scriptsize \begin{tabular}{ccccc} \toprule \arraybackslash Medi\c{c}\~{a}o ...
0
votes
0answers
20 views

Make a landscape table next to a portrait table

I made a table in landscape like this one : I was wandering if there is a way of making a portrait table next to it which would be something like this:
0
votes
1answer
34 views

Change Default row separator in pgfplotstable / order of commands for each line

I edited the question and added a MWE. Please feel free to change tags or the title of the topic since I'm not sure how to categorize my problem. I'm using the tabu package and pgfplotstable for ...
1
vote
1answer
25 views

Latex tables side by side 2 tabulars

Im trying to make 2 tables side by side, however each table consist of 2 tabular. I have tried using minipage in order to put them side by side, but they keep overlapping ...
1
vote
0answers
37 views

Tabular Columns with Different Vertical Alignment

I'm trying to arrange a poem with one word followed by a block of text followed by one word aligned with the bottom. I keep getting stuck \documentclass[11pt]{article} \usepackage{tabularx} ...
0
votes
0answers
34 views

I can't place a table float where I need it in Lyx

I try to place a table at the end of a paragraph, but it doesn't matter what I do, it always goes to the bottom of the document. I set the configuration of the float, but it doesn' work. And in ...
1
vote
1answer
42 views

Put two tables side by side in the same page

I tried put two tables in the same page. I read in the Internet that I can make this using the minipage. I use minipage but the two tables still in pages differents, not side by side. The piece of ...
1
vote
1answer
45 views

How I merge the cells?

I put this code in LaTeX: \begin{table}[H] \begin{tabularx}{\linewidth}{l*{4}{>{\centering\arraybackslash}X}} \toprule Ensaio & Medi\c{c}\~{o}es do comprimento do fio (cm) & Incerteza ...
2
votes
1answer
40 views

Additional row when using pgfkeys inside a table

Inspired by the answer http://tex.stackexchange.com/a/37484, I tried to create a table with a key-value interface. Using \pgfkeys only outside of the tabular environment works as intended, but if it ...
2
votes
3answers
155 views

Creating table with interior horizontal lines not reaching the margins

I want to create a table as on the picture below. But I do not know how to get those beautiful looking horizontal lines. I also want to have a table with enough space from the lines to the text, this ...
0
votes
0answers
43 views

Figures inside tables. Too long horizontal lines

I'm trying to put figures inside a table using the command \input but the horizontal lines becomes to long and I'm not sure why? When the figures not are included, the lines length are adjusted to ...
0
votes
0answers
20 views

Tables with cross-row connections

Is it possible to create a table with two sets of rows (right and left) connected by lines as it is shown below:
1
vote
1answer
31 views

Problem with table spacing when aligning by decimal point?

Please see attached MWE and pdf. The problem seems to be with the column 'Test 1'? Any suggestions would be very much appreciated, I have tried altering each variable but I cannot work out where the ...
1
vote
0answers
32 views

Not in outer par mode [closed]

I am using the following code and getting the error "Not in outer par mode" when i create my tables: \begin{table}[ht] \setlength{\extrarowheight}{4pt} \centering \begin{tabular}{cc|c|c|} ...
1
vote
0answers
44 views

Problem in combination of longtable and stepcounter{rowcount}

I am making a longtable consisting of 3 columns: linenumber of the text in the table, column with a short abbreviation and a column with possible a lot of text. Since the third column contains a lot ...
1
vote
1answer
30 views

How to get footnote text with elsarticle at the bottom of a table?

I am trying to place footnotes at the bottom end of a table as shown in figure with elsarticle, but so far I am not successful. MWE \documentclass{elsarticle} \usepackage{booktabs} ...
1
vote
1answer
38 views

Center-alignment in tabular in LaTeX

This is part of my code in TexStudio, I'm trying to center-align some text inside left-aligned table, but it doesn't work. The error is very strange, looks like Something's wrong - perhaps a missing ...
4
votes
3answers
252 views

How do I make this table?

I need to create a table with a specific aspect. How did I create the table that I annexed to this message? \documentclass[11pt]{article} \usepackage{mathtools,float} \usepackage{amstext} ...
0
votes
1answer
36 views

Color in between lines - table

I wanna make a table with colors. How I do a table with colors that only the interleaved lines have color?
2
votes
1answer
33 views

How I can put the text of the table in two lines?

I wanna make a table with a large text but I can't put the text in two or more lines because the text in the document is cut. I put this in LATEX: \begin{table}[H] \centering \begin{tabular}{ccc} ...
2
votes
0answers
29 views

How to get table row sub numbering?

I am trying to get serial numbers in table, but some of the rows require sub numbering as shown below: S. No. X Y Z 1 1 12 1 2 4 34 3 3 5 54 2 4.a 6 34 5 4.b 8 32 7 5 1 ...
1
vote
1answer
40 views

align numbers based on their decimal point [duplicate]

I have the following table: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table} \centering \begin{tabular}{ lcccccccc } \toprule \multicolumn{5}{c}{\textbf{Training ...
0
votes
1answer
27 views

subsection after table appears before

I have the following code: \subsection{AAA} This data was taken from RStudio's fclust packedge. \begin{table}[] \centering \caption{Butterfly data - 3 clusters} \begin{tabular}{ ...
1
vote
1answer
40 views

Creating a unique table

Hi I am currently trying to create a table in latex that looks something like the table below: So far I have been able to get this far but struggle to adjust the and Measure contribution header ...
1
vote
3answers
50 views

Can someone help me out with odd spacing in a multicolumn multirow table using siunitx?

I wanted to put my data in a multi column and multi row table, whilst aligning the entries by decimal point. For that I am using the package siunitx. There problem lies within the formatting of the ...
1
vote
2answers
54 views

How can I align the two tables?

Why my tables below are not horizontally aligned? My MWE: \documentclass[ignorenonframetext,xcolor={table,svgnames}]{beamer} \usepackage{tikz} \usepackage{amssymb,amsmath} ...