{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
64 views

How can i deal with the justification of my text in tabularx?

How can I center the two last columns of my text in the next table? \documentclass[headsepline=true,paper=letter,headings=big,bibliography=totoc,x11names,DIV=10]{scrbook} \usepackage{typearea} \...
2
votes
1answer
68 views

Including Large Table that has 36 rows in a beamer frame

I have following table which I need to include in a beamer presentation : I have read this post . I think I only need to adjust in this \begin{tabular}{*{27}{l}}. But I don't know how is to do that ...
2
votes
1answer
82 views

Grouping of aligned table columns in combination with multicolumn and a long header

I want to create a table with three pairs of columns. The pairs should be identifiable based on the horizontal distance between the different pairs of columns. Each pair of columns consists of a ...
2
votes
1answer
413 views

Importing table from csv file

I have the following table in a avg_value.csv file: ,M23,F23_1,M36,F44,F63,M70 M23,1.00,0.81,0.88,0.83,0.41,0.82 F23_1,,1.00,0.52,0.56,0.25,0.94 M36,,,1.00,0.62,0.94,0.96 F44,,,,1.00,0.43,0.23 F63,,,,...
4
votes
1answer
196 views

Thousand Separator in LaTeX and LyX table

I want to get thousand separator in LyX tables. I had the following LaTeX code. It works fine for the second column but not for the first column and also when I import it into LyX it adds extra ...
1
vote
1answer
162 views

Multirow table with variable number of rows

I'd like to format a table in which first column has a single line of text, centered vertically across a variable number of rows. Currently, I am using a IfEqCase and adding an entry in the first ...
1
vote
0answers
63 views

Should I turn around header and footer when I use landscape? [closed]

I have a general question about layout, thus I don't deliver a MWE yet (if you want one, please tell me). In my appendix, I use a lot of landscaped pages for longtables. The tables are several pages ...
3
votes
2answers
367 views

Adding an extra column to an existing table

I have found very nice ways to change the order of the columns of a table. But is there any simple solution to add new columns to an existing table? I have columns from a table that I want want ...
6
votes
1answer
65 views

disabling def from acting on other parts of documents

I use a simple command to stretch rows of a table in my document. (It is Table 1.2) The command is shown below {\def\arraystretch{1.65}\tabcolsep=8pt But what happen is, this stretches all other ...
1
vote
1answer
42 views

Floating objects: defining in a place, saying where to print later

I'm using a system where I can mix TeX and formal definitions, and it has a procedure that generates latex that combining my TeX and the formal definitions. I discovered that I can wrap the formal ...
1
vote
1answer
130 views

Double hline and no top left corner

I am trying to output a table looking like this: That is, where the first line is separated from the rest with a double hline, and where the top left corner is empty. The image above was obtained ...
2
votes
1answer
75 views

Itemize Issues in a Table

Nice people here have been able to help me get through this but am faced with a second issue with itemize in another column and it is being a challenge. Any help is very welcome. Thanks. \...
1
vote
1answer
86 views

rowcolors when space is removed with @{}

When space on either side of a table is removed with @{}, then the color added with \rowcolors will expand beyond the width of the table. In the answer provided to a similar question, this is fixed by ...
3
votes
1answer
136 views

siunitx: Bold single numeric cells with turned off alignment

Having a table with numeric values, I want to achieve: Automatically grouping digits into blocks of three Highlight some cells in bold However, no alignment is needed. To achieve the first, I use ...
2
votes
1answer
83 views

Using a macro for table alignment

I am trying to use a macro to define the alignment of a table as shown below: \documentclass{article} \begin{document} \def\align{|l|c|} \begin{tabular}{\align} 1 & 2 \\ \end{tabular} \end{...
3
votes
1answer
72 views

Generate a sparse table

I need to generate a table of large size (25x10) where only some particular cells are nonempty (and colored). Creating it by hands is rather difficult. Of course I can use some latex table generators ...
1
vote
3answers
60 views

Vertically align checkmark in table column

I have the following table: \begin{table} \begin{tabular}{ | p{2cm} | p{9cm} |} \hline \textbf{Heading 1} & \textbf{Heading 2} \\ \hline Foo & Lorem ipsum dolor sit amet, ...
3
votes
1answer
91 views

How to have ceil function in Table?

Code which works in \begin{equation}...\end{equation} within the normal text but not in the table; extended from this thread. \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiter\...
2
votes
1answer
85 views

Table Formatting with and without threeparttable

I have been trying to generate the attached table in LaTeX. I have done it in two ways and I have query for both. The first way I have not used the threeparttable package and in the second way I have ...
2
votes
2answers
106 views

Fit table to page

I am new to latex and struggling a bit to fit a regression table onto one page (portrait). At the moment I am using \resizebox but cannot quite get it work. I found a similar thread which relies on ...
1
vote
2answers
37 views

Increasing the space between tables columns [duplicate]

First of all, apologises for the noob question. Second, I am aware similar questions have been asked but their solutions don't work for me unfortunately. Hopefully someone here can point me in the ...
2
votes
2answers
140 views

Would like to have more presentable table

Want to have my table enough spaces between them and words that spill over are handled. Thanks \documentclass{article} \usepackage{rotating} \usepackage{booktabs,tabularx,caption} \usepackage[table]{...
3
votes
0answers
216 views

import a long tab delimited data file with first row as the header

Here's a very simple task that I don't seem to be able to get the format right. In short, I am trying to import and format a long tab-delimited txt file, with the first row as the header. I tried the ...
2
votes
0answers
89 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
-1
votes
1answer
58 views

Would like to have a table like this: Any help please

Have been able to do this using table environment (tabularx) but without success. Need this for my dissertation. Thanks
2
votes
1answer
48 views

I am trying to number the table properly but latex doesn't seem to recognize the label

I have the following longtable: \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage[a4paper,margin=1in]{geometry} \usepackage{pdflscape} \usepackage{caption} \usepackage{csquotes} \...
3
votes
1answer
69 views

Alignment issues in a table

Consider the following example: \documentclass[ a4paper, 12pt, landscape, danish ]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage[ hmargin = ...
1
vote
1answer
90 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 compatible....
4
votes
1answer
177 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 ...
6
votes
1answer
349 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 what it was intended for but it produced a nice output for what I wanted....
2
votes
1answer
65 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 ...
3
votes
2answers
88 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
98 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
80 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 ...
3
votes
2answers
121 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 ...
2
votes
0answers
123 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
33 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, bottom=2....
1
vote
1answer
84 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} \usepackage{...
1
vote
1answer
130 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 ...
3
votes
1answer
118 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}, ...
0
votes
1answer
91 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} \begin{...
1
vote
1answer
395 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 ...
2
votes
3answers
108 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 ...
0
votes
1answer
40 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
0answers
194 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. ...
2
votes
1answer
87 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 ...
4
votes
1answer
540 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 ...
2
votes
2answers
47 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} \...
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
1k 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 ...