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

1
vote
1answer
46 views

The references are not compiled in a latex file with only a table

I have a latex file as follows. I have document.bib, natbib.bst, and natbib.sty in the same directory. The latex file compiles, when I use pdflatex command, but the references appear in from of ? Any ...
4
votes
2answers
138 views

Table with multirow, multicolumn, interior braces and vertical entries

Partly as a challenge and partly because I wanted an electronic copy, I sat down last night to try to LaTeX the following complicated table: The first problems I encountered were the size and the ...
5
votes
1answer
102 views

How to give a Gantt chart title table like formatting?

I am using the package pgfgantt to create a table displaying people serving on a committee over a period of time. (Probably not it was intended for but it produced a nice output for what I wanted.) ...
3
votes
2answers
64 views

Table numbers stay at zero

In my thesis, all the tables using the tabularx package are automatically numbered as zero. So I have for example a chapter 4 that starts with six tables numbered 4.0 ... I thought I had solved it by ...
1
vote
1answer
33 views

How to increase width of table dotted vertical line?

I would like to separate table columns with dotted vertical lines and this is the best I could do. How can I increase the size of the dots? !{\vrule width <length>} doesn't seem to be ...
4
votes
1answer
55 views

Putting numbers in a column in parentheses

I am trying to put numbers in some siunitx columns in parentheses like this: ---------------------------------- time/s (efficiency/%) ----------------------------- ID strategy A ...
2
votes
1answer
32 views

Multicolumn Table with Merged Cells

I am having great trouble producing the table that I have attached to this post. The difficulty I am having is firstly fitting the table on the page as it is very wide and also getting the merging of ...
0
votes
0answers
26 views

make tables be of same size with rest of the document

I have inserted some tables int my article but they are bigger than the rest of the text in the article is there a way i can balance the tables with the rest of the paragraphs? please help
1
vote
1answer
65 views

Rows in table overlap each other

I have problem with putting any simple table in to my document. Every row is typeset on the same line and they overlap each other. I'm using Miktex 2.9 on windows. Is this some kind of bug? Or ...
0
votes
0answers
42 views

Extend table width automatically for all columns

I'm using LyX for tables in my thesis with the Article class. I would like all my Tables to span the entire text width of the document and that each column is extended proportionally so it doesn't ...
8
votes
3answers
19k views

Resize a tabular object to textwidth

I have a table which its width exceed the textwidth of the document, but I want reduce its size to fit the textwidth space. I have tried the resizebox command but it doesn't work at all. ...
1
vote
1answer
62 views

Specify table in tabularx environment

I have some really specific requirements for my table's occurrence in my master's thesis (scrbook). I found some help in this forum but there is not "the" solution for me. Below you can see my actual ...
1
vote
1answer
48 views

transparent table cells in latex beamer

I tried almost every way I'm aware of to get some cells in the following table transparent. (e.g. transparent package) I have to use a specific background-image in this talk. ...
3
votes
2answers
78 views

Gaps between columns are too wide in Latex (or Lyx)

I am writing up my dissertation and this particular table has bothered me for a while. I've tried many ways to shorten length, shrink the table (which I really want to avoid because I want to have ...
1
vote
1answer
27 views

Vertically aligning tabular cell contents with respect to one another

I have a simple table that can be recreated with the simple MWE below, I am compiling with XeLaTeX: \documentclass[12pt]{article} \usepackage[letterpaper, left=19mm, right=19mm, top=3.52cm, ...
1
vote
0answers
26 views

Overfull \vbox caused by tall text in multirow

This is my first post here. I am struggling with overcoming problem of overfull \vbox warning. It is caused by three-lined cell of a table while it \multirow's only two one-lined. In fact in my main ...
1
vote
1answer
65 views

trying to get a table to look right

Would anyone be able to tell me, for the following code, how I get vertical lines at the left and right of the second table: \documentclass[12pt]{amsart} \usepackage[alphabetic]{amsrefs} ...
3
votes
1answer
42 views

Listing inside table does not work after upgrade to MacTex 2015

I have updated my Latex installation to MacTex 2015 and the following latex code does not compile anymore: \documentclass[10pt]{article} \usepackage{listings} \lstset{language={java}, ...
1
vote
1answer
95 views

Time Table in Latex

Could some one guide me in making this table in Latex? I am new to programming and I couldn't go through to this because of my poor programming skills. Edited: Could someone fix the last column in ...
0
votes
1answer
36 views

Table with diagonal line

Although I have tried to do following table, it didn't work. Could someone help me how to do this table in LaTeX? I followed following code: \documentclass{article} \usepackage{slashbox} ...
2
votes
3answers
69 views

Horizontal list of equations with automatic column span

I am looking for an environment to enumerate equations in a horizontal list with respect to their length such that they can spread into columns next to them: You can see that the integrals are ...
1
vote
1answer
43 views

figures and sub figures are too wide in a row to see in the document

I am facing an issue of floated figures and their sub figures and tables adjustment in the compiled document... They get out of the document and can't be seen when it is compiled. kindly help!
2
votes
1answer
114 views

New Question: Serious problem by creating a figure

I have now trying to make this model: But I do not know how to add the nodes in top; "1 text", "2 text", "3 text" and "4 text". Furthermore, I do not know how to make a fourth box, as shown: "9 ...
1
vote
2answers
20 views

Error while defining custom tabular column width

I am trying to define the maximum width of a tabular column, see the code below: \documentclass{article} \usepackage[]{float} \usepackage[]{hyperref} \usepackage[]{booktabs} \usepackage[]{array} ...
2
votes
0answers
37 views

Escaping ampersand inside of a variable within \multicolumn text

I am using PHP to generate a Tex file, and am passing several variables into a template file to be rendered. I want to create a table with several columns, but with a header that spans those columns. ...
0
votes
1answer
16 views

horizontal lines in certain table cells [duplicate]

I am trying to make a table that is similar to this: ...and failing. Here is my code: \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{graphicx} ...
2
votes
1answer
25 views

Format Captions differently for the same table (or figure) [The style of Journal of Finance]

I have created the following table. Basically the caption includes the label, the title (it is in \caption{}) and a caption where I describe the table (which is in \caption*{}). The format is similar ...
3
votes
1answer
31 views

Placing three tables next to each other

I am trying to place three tables next to each other. Because they have the same caption, they are placed in three tabular envs in the same table env. For positioning I use minipage. This works ...
0
votes
0answers
10 views

Prevent from starting a new page between list of figures and tables [duplicate]

I used the following code: \listoffigures \listoftables However, for some reason it automatically starts a new page in between. I'm using \documentclass{report}. Before, I used document class ...
2
votes
2answers
96 views

Vertical alignment of multi column cells

I'm working on a complicated table, having multiple columns and multiple rows and each column needs a fixed width. When a cell has a long sentence, I want the cell fixed in width, while other cells in ...
8
votes
4answers
249 views

Adding a note in tables

How do you put the "Note: preferred model for each metric bold."? This is my work: \begin{table} \caption{Model selection metrics} \begin{center} \begin{tabular}{l c c c c c} \hline {} & ...
0
votes
0answers
24 views

vertical line crossing \multicolumn

I have a problem with vertical line and multi-column misalignment. Please find table example and code as illustrated. Can someone please help me with this problem? ...
1
vote
1answer
67 views

Equal table size for multiple tables

I have several tables of each one with 3 columns. The first and the third columns are the same size for all tables, but the second column is different. Because the length the line in the second line ...
0
votes
1answer
29 views

Problems with Hyperref, Endfloat, Longtable and Appendix

I am struggling with my table references in combination with endfloat and longtable. Somehow, they are not referring to the right table. I get the following problem reported (I think that this is the ...
1
vote
0answers
24 views

How to include LaTeX document in Java

I want to embed(include) LaTeX Table(LaTeX document) into Java code so that the table will be populated by the data fetched from SQL query results and the table has to be displayed as a PDF after ...
2
votes
1answer
36 views

Indent second line in table [duplicate]

This code create the table printed below: \documentclass[a4paper,11pt]{article} \usepackage{array} \usepackage{booktabs} \usepackage{tabularx} \begin{document} % outline different types table ...
1
vote
0answers
23 views

Landscape table and notes

Two questions I have seven tables, two of them should be landscape instead of portrait. How do I make the landscape ones? What do I need to change/add to the below for the landscape tables? I am ...
0
votes
1answer
37 views

Make lines of table same width as text of table with tabularx

This code: \documentclass[a4paper,11pt]{article} \usepackage{array} \usepackage{booktabs} \usepackage{tabularx} \begin{document} \begin{table} \centering \footnotesize ...
1
vote
1answer
55 views

Place a table exactly where you want it

I know that with images, you should never use floats if you don't want them to float. Therefore, I use minipages when I want my images to be in an exact location. However, I have not found an example ...
43
votes
3answers
56k views

How can I draw a horizontal line spanning only some of the table cells?

In a table, how can I draw a horizontal line that goes only through some of the cells? I mean a line like the one in the Foo and in the Bar area of this table: +----+-----+ |Foo |1 |2 | | |1 |2 | ...
4
votes
1answer
104 views

Table - problem with two lines (NEW)

Dear TeX Stackexchange I have one issue, when I create my table. As you can see on the picture below, the three black lines don't go to the right but stops under (10): My text look like this: ...
4
votes
1answer
28 views

How to float table in landscape environment

I have a wide table, so I put it into the landscape environment. Unfortunately, the float does not work any more. The new page in landscape begins exactly where I included it. ...
0
votes
0answers
12 views

Missing “|” vertical line in multirow & multicolumn table [duplicate]

I am missing a vertical line in this multirow & multicolumn table. \begin{table}[] \centering \caption{Example} \begin{tabular}{l||ccccc|c|c}%hier zwischen dann die breite in {\textwidth} ...
0
votes
1answer
33 views

compile timeout error message in table

I have this table in LaTex and it gives me a compile timeout error message and I don't know why. What is wrong with it? \begin{table}[h] \centering \begin{tabular}{|r|r|r|r|r|} \hline Tipo de sensor ...
1
vote
1answer
41 views

Vertical centering with \multirow

I'm trying to make a table with some subfigures in it, and for the moment I obtained this (showframe activated): But I'd like to obtain something like this, where the legend is vertically centered ...
0
votes
1answer
37 views

Problems with table - extra column

When I try to make my table - it won't create a fourth column. My preamble look like this: \documentclass[a4paper,11pt,oneside]{article} \usepackage[protrusion=true,expansion=true]{microtype} ...
1
vote
2answers
30 views

Table not adjusting to page

I cannot make this table adjust to the page of my document, not even when I set font size to tiny. Any ideas? Thanks in advance. \begin{table}[htbp] \tiny \begin{adjustwidth}{-1in}{-1in} % ...
3
votes
2answers
32 views

How can I define table column by width and align it using siunitx at the same time in a longtable?

I have this MWE: \documentclass[12pt,landscape,a4paper]{article} \usepackage{multirow} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{longtable} ...
0
votes
1answer
34 views

Formatting tables so that they fit within page width

I want to get a table that looks like However, when using \begin{tabular}{|p{2cm}|p{3cm}|p{3cm}|p{3cm}|} \hline Time-Scale & Mechanical Machine State Variables & Electrical Machine State ...
2
votes
2answers
39 views

Formatting table lines in landscape using tabularx: they stop halfway through

The lines in the table somehow stop halfway through the table. Any advice would be much appreciated! \documentclass[11pt,a4paper]{book} \usepackage{booktabs} \usepackage{tabularx} ...