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

Extending a line in the Table

I wish to have a Table setting like the following graph with an extra line inserted between a and b. Namely, I wish to extend the line separating 1, 4 and 2, 5 to the line separating a and b. The ...
1
vote
3answers
87 views

Shortstack in table entries

In order to optimize the width of some columns so that the table fits the text, I used \shortstack. Now, however, I am not satisfied with the look of the header (cf. picture). The header text in the ...
3
votes
1answer
82 views

Optimizing width of table (tabulary)

I'm trying to fit this table to the width of the page, however, whenever I try to change the header width with the command {p{}} it doesn't adjust the width of the three main headers Population, ...
1
vote
1answer
54 views

Table command in Latex [closed]

I have this table I want writ it in latex, Unfortunately I do not know how to do, please help me Thanks
3
votes
1answer
52 views

Nested CSV with csvsimple

I have two csv files. I want to use the first (countries.csv) to generate sections, and then filter the second (bottles.csv) by the name of the section. Below is an MWE - you can see that the nested ...
0
votes
0answers
29 views

Table does not align next to eachother [duplicate]

I have two tables which I want to put next to each other and horizontal centered. However whatever I try they are not going next to eachother latex keeps displaying them on top of each other. This is ...
0
votes
1answer
31 views

Error when using \cite with page number in short caption of table

when using the \cite command with a page number in the short caption of a table or figure along with the command \listoftables, I keep getting the following set of error messages: ...
4
votes
2answers
124 views

Remove table borders

I am trying to code a table in latex that looks like this: and my attempt is this one: \documentclass{article} \usepackage{array} \usepackage{booktabs} \begin{document} \begin{table}[h] ...
5
votes
1answer
92 views

Automate generation of table from data in enumerated lists

I'm working on a document that contains the requirements and specification for a code suite, and I'd like to create a requirements traceability matrix that shows what part of the spec covers each ...
4
votes
1answer
47 views

Adjust text within table using Tabulary

Problem: After looking into already existing threads about Tabulary, I could not find out what was wrong with the following code. The text does not adjust within the table. Code: ...
0
votes
1answer
32 views

List of tables is not displaying with the \listoftables

\documentclass[11pt, a4paper, oneside]{book} \usepackage{graphicx} \begin{document} \frontmatter \tableofcontents \listoffigures \listoftables \mainmatter ... ... ... \begin{tabular}{c||c|c} ...
2
votes
1answer
75 views

Longtable and arydshln problem

I need some help. My longtable was all right until I wanted to insert one horizontal dash line. That's why I put package arydshln (which caused troubles). Even before I used \hdashline code, my ...
2
votes
2answers
72 views

Center Table entry vertically

i want the second "diffusivity" verticallay centered within its obvious scope MWE \documentclass{scrreprt} \usepackage{amsmath} \begin{document} \begin{table} \centering ...
3
votes
2answers
70 views

How can I set a column vertically middled?

I have a table in my document, because of long text, I used tabulary. Now I have a problem with it. Because it didn't support setting middle. What should I do now? Change my tabulary package? ...
6
votes
4answers
115 views

Create row tables like for cycle from counter

I have a counter and I want to create a table with as many rows as the counter automatically. Each row should be numbered. Thanks
4
votes
3answers
200 views

Problem with the width of a table

I used the following code to generate a table, but I have faced the problem that clarifies in the attached picture. Any solutions? \documentclass[11pt,journal,compsoc]{IEEEtran} ...
2
votes
3answers
77 views

Table format is not proper

I have a weird problem. My table is not formatted properly. \documentclass{article} \begin{document} \begin{table} \centering \caption{Dataset Description} \setlength{\tabcolsep}{0.15cm} ...
6
votes
1answer
123 views

Table column colour to dominate row colour

I want to produce a table in which certain rows and columns are coloured, but I want the column colour to dominate. In my example, the row colour dominates. How can I achieve this? ...
3
votes
1answer
165 views

How to align tables in LaTeX

Is there a way to align tables in LaTeX? I was writing a document with several tables in the same page, and often the edges don't match. I would like to have tables aligned in both left and right ...
3
votes
1answer
58 views

Conditional table construction with datatool

The following minimal example creates a 3-row table width a horizontal rule separating rows 2 and 3: \documentclass{article} \usepackage{filecontents,datatool,booktabs} \usepackage[table]{xcolor} ...
0
votes
0answers
37 views

Table either too long or too wide for page [duplicate]

If have the following table the is too long in order to fit on one page, thus, the table cuts off once the page ends (cf. picture). Is it possible to continue the rest of the table that has been ...
0
votes
1answer
23 views

Tables in appendix not displayed after certain point

I have an appendix with around 25 tables, and after the inclusion of 18 tables the following are not displayed anymore: % Table generated by Excel2LaTeX from sheet 'Turnlokale 1930' ...
4
votes
2answers
88 views

tablesgenerator generates an couple of errors

I used "tablesgenerator.com" to generte a table. Unfortunately, I am getting a couple of errors and I can't remember how to fix them. Hope someone will lend a hand. If you do so please write a ...
3
votes
1answer
39 views

figure created by dirtree in one of the tabular cell

I wish to put a text-list and a figure made using dirtree side-by-side. So I am using tabular environment, in one cell I am putting itemized list and in other the figure environment. It does not work. ...
2
votes
1answer
65 views

Latex Table Column not centered

why is the fourth column not centered? How to fix that with keeping the style? \documentclass[12pt,oneside,ngerman,reqno,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsthm} ...
2
votes
2answers
86 views

Vertically center tikzpicture in table

I'm tryin to vertically center a tikzpicture in a table. Here's a not-very-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - danske bogstaver og andet godt fra havet ...
2
votes
3answers
122 views

Commutator table for Lie algebras

What function in LaTeX (\begin{}, etc.) would you use to create a commutator table for a Lie Algebra? I tried to use the generator at http://www.tablesgenerator.com/ but it doesn't compile properly. ...
2
votes
2answers
79 views

Picture and Table centered alignment

this looks messy right now. How can i achieve the following: Caption of picture is centered under the picture and caption of table is centered under the table. Both captions are on the same vertical ...
4
votes
4answers
63 views

Separate centering of table number and caption

Hi I want my table header to look like this: so with the table count centered on top and a header followed by a description. My current output looks like this: Please note that arabic number ...
3
votes
1answer
43 views

How can I have automatic line breaks in a multirow inside a tabularx?

I want that the table fits the page, but by default the table is too wide. I already tried tabularx, but now the rows that use a multirow aren't high enough. This is my code right now: ...
2
votes
2answers
65 views

Aligning a table entry to the right

I want to adjust a column of a table, such that the heading is centred, the rest rows are left aligned, which I managed myself (see figure). Now, all rows have an additional attribute (length), which ...
3
votes
1answer
208 views

How to generate a dynamic bubble answer sheet for multiple-choice exam [duplicate]

I want to produce a bubble answer sheet where the number of questions are shown by \qCount. It is always below than 100. Is it possible to produce it dynamically? I cannot print the question numbers ...
3
votes
2answers
91 views

fitting table to single column and error messages

edited table, as it is now 25/12-2014, \documentclass[fleqn,10pt,twocolumn]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,array,graphicx,siunitx} \usepackage{dcolumn,booktabs} ...
2
votes
1answer
60 views

Dividing long sentence to several lines in table

I have a sentence in a table that is too long and makes my table go out of the page. How can I make the sentence divide into several lines so it doesn't ruin the layout of the table? ...
2
votes
1answer
46 views

LaTeX Multiple Table Alignment Horizontally and Vertically

I am trying to align multiple table and tried in several different ways, unfortunately none of them works. Here i have attached a sample code for your perusal. Will you please suggest me how to get ...
1
vote
1answer
42 views

LyX and classicthesis: Linespacing of notes within floating table like footnotes

I use LyX and the classicthesis template. Now I want to add some lines of notes below a floating table (within the floating environment). In principle, this works without any problems, but the ...
3
votes
3answers
115 views

complex table with split and merged cells

I would like to make a table like the one in the following screenshot. I could use \multicolumn to create the second row with S1,S2 etc. In the next stage i couldn't split the cells for 'V' and 'I'. ...
3
votes
1answer
66 views

padding for cells of one column not for all cells of table

I want that just one of my columns cells have top padding. I tried : \def\arraystretch{factor}% but the result is not ideal. because I don't want all columns have the top padding. is there anyway ...
2
votes
2answers
149 views

Trouble with a table in latex

I am trying to create a table using the following code: \begin{center} \begin{table}[h!] \begin{tabular}{|l|l|l|l|}\hline \\ Test users & Operating system & Browser & Screen ...
3
votes
1answer
57 views

caption for \starttables

How can I put caption for a \starttables? I am using context to generate a pdf with captions on top of tables, which are to be auto-numbered. I have tried \placetable, but without any success. Also, ...
6
votes
3answers
120 views

Automatically generating table using \multido

First: This question is similar to Generate rows in table using \multido (or something similar). Consider the following code: \documentclass{article} \usepackage{siunitx} \usepackage{multido} ...
2
votes
2answers
112 views

When I type the following code, the table comes above the question. How can I make it appear below the question?

\begin{question} Calculate the reverberation time of hall of 1500 \si{m^3} volume having a seating capacity for 120 persons when \\ (i) when the hall is empty \\ (ii) with full capacity audience \\ ...
2
votes
1answer
86 views

Textsize changes with \par

This is somehow a follow-on post of Newline linespacing problems within a table cell. What i want to do is having different font styles in one table cell. I've learnt so far that a local size change ...
1
vote
1answer
45 views

Vertically centering of text in multirow in table when using \cmidrule

Consider the following example: \documentclass{article} \usepackage{siunitx} \DeclareSIUnit[mode = text]\kroner{kr.} \usepackage{booktabs,multirow} \newcommand*\mr[2]{\multirow{#1}{*}{#2}} ...
1
vote
0answers
99 views

How to generate an answer key of a multiple-choice exam? [closed]

I have a number of multiple-choice questions. I want to produce an answer key (a small table with nx5 cells where the answer places are somehow highlighted). My code (from another post ) is shown ...
4
votes
2answers
111 views

Newline linespacing problems within a table cell

I have problems with the linespace inside a longtable environment when forcing a linebreak. Following code should illustrate the problem. ...
0
votes
0answers
14 views

Increasing row height of table [duplicate]

My MWE: \documentclass{article} \usepackage{amsmath} \newcommand{\sgn}{\operatorname{sgn}} \begin{document} \begin{table}[!htpb] \centering \caption{Commonly used candidate CLFs.} ...
0
votes
1answer
44 views

Extra spacing in cell using \pbox in \pgfplotstabletypeset

I am using a straight-forward \pgfplotstabletypeset. Because I wanted to insert a manual break in one of the cells to decrease the width of that cell, I added a \pbox as suggested in ...
5
votes
2answers
85 views

Vertical space in table columns

I am creating following form. The table is meant to be filled manually using pen or pencil. But the space that becomes available in each line is limited (vertical). How can I increase vertical space ...
0
votes
0answers
46 views

french: Table or Tableau, and small caps, or plain

There are already quite a few questions on how to change the name and style of the captions, this is not what my question is about. I'm looking for guidance on the right choices to make to comply ...