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

putting notes below table

I'm having trouble putting notes below the table -- I put several notes below the table but the footnote seems to stretch, making the table longer than necessary. Would there be a way to fix this? ...
1
vote
1answer
38 views

How to use double line in Lyx tables

I want to have double lines in the top row in my tables in lyx. I searched through the site but could not find how to do this.
3
votes
1answer
38 views

alignement problem with table and fancyhdr

I'm having a problem with allignement in header handled with fancyhdr. Here is my code \documentclass[a4paper,italian,10pt]{report} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
0answers
72 views

Square root long division method

I wanted to draw the working column for this method of finding square roots: http://youtu.be/UnshaiwljGY Here is an image example of the process: But I am unable to draw it because I am new to ...
1
vote
1answer
36 views

Aligning Table Notes in Three Part Table

I am using the threeparttable environment to make tables. The table notes are always indented. How can I get the notes to start flush with the table? \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
31 views

Increase width of caption's horizontal lines in algorithmic and listings

I've been able to increase the width of the horizontal lines honoring the second answer in LaTeX tables: How do I make bold horizontal lines (typically \hline)?. Now, I'd like to do the same in ...
3
votes
2answers
57 views

Problem with a large table

I'm trying to make a table that's a little complex. I'll try to explain what I want with a picture of a table from word: I'm new to latex, so I have two questions. How can I make such table look ...
1
vote
2answers
37 views

Format table column widths to fit single column of twocolumn document

I am using a two column format, and I would like the following table to fit in one column, along with text wrapping on the title row. How do I do this? Thanks. \documentclass[10pt,twocolumn]{article} ...
4
votes
1answer
63 views

Is there a way to reduce the gap between double hlines (\hline\hline) in the tabular environment?

\documentclass{article} \begin{document} \begin{tabular}{c | c} cell 1,1 & cell 1,2\\ \hline\hline cell 2,1 & cell 2,2\\ \end{tabular} \end{document} I would like to reduce ...
0
votes
0answers
16 views

\otoprule not appearing

I am using a two column format, and for the following table the \otoprule line after the first row is not appearing. \documentclass{sig-alternate} \usepackage{array,graphicx} \usepackage{booktabs} ...
5
votes
1answer
41 views

Preserve tab and newline characters in command argument

Following the question Tab not as extra alignment tab I managed to use the tab character as column divider '&' and the newline character as line break '\\' in an array (or tabular) environment, ...
0
votes
0answers
24 views

putting footnote within table using \minipage

I tried to put a footnote within a table and then place the footnote beneath the table, which worked pretty well except for the ugly line that would not go away in the bottom. I think this is because ...
3
votes
3answers
92 views

Centering a table inside text block

I have a table in my document, but for some reason it is not in the middle of the page, as I can see more whitespace at the right side. Here is the source code for the table: \begin{table}[H] ...
6
votes
2answers
464 views

How to eliminate the \\ at the end of a longtable

I define a macro \mycmd like this \newcommand\mycmd[2]{{some complicated format #1}&{some complicated format #2}\\} to simplify the input. So I can just write: sometext \begin{longtable}{cc} ...
3
votes
2answers
50 views

Loops and Tables

I'm trying to use LaTex to produce our family diary for next year. It's a page per week with a column for each person. I have the basic layout working: \documentclass[10pt]{article} ...
0
votes
0answers
30 views

Expand table columns proportionally to textwidth

I have a simple table: \begin{table}[h] \begin{tabular}{|l|l|l|l|l|} \hline First entry & 2nd & 3rd little longer & Forth & Fifth\\ \hline\hline 4.7\% & 11.7\% & 2.5\% ...
3
votes
2answers
119 views

specifying a longtable not to split

I am using longtable in my report as I have many tables that are longer than a page. To make it consistent, I am using longtable for all the tables. Many times because of page settings, a small table ...
7
votes
2answers
88 views

How to determine the width I can use in a table

I have a table of fixed width in which I want to put some thing such as a figure or another box. But the problem is that I can't determine the width of the object that I want to put in the table. I ...
17
votes
2answers
26k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
2
votes
2answers
87 views

Tabular with linespacing

Moin, I want the rowspacing behavior to be default. So this: \usepackage{longtable} % ... MAGIC ... % \begin{longtable}{ccc} entry1 & entry2 & entry3 \tabularnewline entry4 & ...
2
votes
1answer
61 views

Macro for tables that take as arguments the column and row dimensions

I am working with tabulars formatted in a consistent way. Sometimes the tables are 3X3, 3X4, 4X4 etc nXm in general. As it is I have a macro for each of these tables: \matrixIIIC, \matrixIIID etc. Is ...
1
vote
1answer
53 views

Mathematical formulas in a table

I would like to draw such a table in latex with some mathematical formula. Could you please help me to do this?
1
vote
0answers
20 views

Vertical spacing in tabular environment with graphs/math

I have problem getting this to look nice. I need help with spacing and alignment of text: \begin{tabular}{lll } \toprule \multicolumn{1}{l}{Activation Function} & ...
3
votes
1answer
48 views

Vertical space every third row in a table

I have the following code to put an extra space (a carriage return) after every second row. How can I edit the code to put the extra space after every third row instead? \documentclass[12pt]{article} ...
2
votes
2answers
143 views

Creating a table from CSV file with strings?

I want to create a table from a CSV file in LaTex. I am able to do it with numbers here but creating table for strings such as abbrevions does not work. What is the problem? MVE This example ...
1
vote
1answer
70 views

How do I center table headings including line breaks? [duplicate]

\documentclass[11pt]{article} \usepackage{geometry} \geometry{a4paper} \usepackage{mathpazo} \usepackage{amsmath} \usepackage{amssymb} \usepackage{booktabs} ...
1
vote
0answers
72 views

wide table fit into beamer

I have been struggling to include a very wide table into beamer. Does anyone know how to properly scale the following table in order to fit the frame and be readable at the same time? Thank you. ...
4
votes
3answers
38 views

Making a space between table headings

I want to replicate the table in this image but without the second column: However the problem is that I'm unable to find out how to make a horizontal space between each two columns (N=2, N=3 ... ...
0
votes
0answers
18 views

Horizontal lines of colored cell in table not printed [duplicate]

I am trying to add horizontal lines on the table but they are not printed on the paper. I want it to look like this: But when printed it looks like this: Note that there are no horizontal line in ...
1
vote
1answer
48 views

How to create a large table with Pgfplots and string entries?

I tried to hack this here for a larger case but it is firing errors. What is causing the too many columns error and is Pgfplots ideal for this kind of table generation? Goal: table that I am trying ...
2
votes
1answer
150 views

How to create a complicated table in latex

I am trying to create a table in LateX that looks like the following: Could anyone plz tell me what the corresponding LateX code would be? Thank you in advance.
4
votes
3answers
114 views

The caption of the table moved to the left

I am trying to add a table to my Latex document but the caption of the table shrunk in the left corner and does not extend to the whole width of the table. This is my table: \usepackage{graphicx} % ...
1
vote
0answers
18 views

Tool to flip a table [duplicate]

I am looking for a tool to flip the rows and columns of a tablular table. For example \begin{tabular}{lll} ...
3
votes
2answers
245 views

How to write multiline in a cell of table in latex?

I have multiline table. \documentclass[11pt,table,a5paper]{article} \usepackage[top=2cm, bottom=2cm, outer=2.1cm, inner=1cm,twoside, headsep=26pt]{geometry} \usepackage{collcell} ...
2
votes
1answer
34 views

Gluing text to longtable

I am an occasional LaTex user. My question relates to the use of longtable. If I understand the standard table constructs, then "tabular" defines the layout of the actual table grid with contents, and ...
7
votes
1answer
3k views

Rotating package + sidewaystable + pagenumbering not rotated expected

This question is similar to: Set up sidewaysfigure to have the bottom of the figure toward the spine but that question doesn't give me the result I'm looking for. Instead, I want my tables to be ...
2
votes
1answer
65 views

Switching from two columns to one column environment and back

I am using a two-column template to write an article in LaTeX. I would like to insert in the text tables which have one column only. Is there a way in which I can switch from a two-column to a one ...
2
votes
3answers
47 views

What does it mean to be a cell based table without being vertically merged?

I am given these requirements and I am not really sure what they mean. I need some help figuring out what they mean in terms of Latex code: -Tables must be cell based; do not merge rows. - ...
5
votes
2answers
121 views

Extra distance in tabular in LaTeX

I want to make a table in LaTeX and I wrote the following program: \documentclass[]{article} \usepackage{graphicx} \begin{document} \begin{tabular}{|c|c|c|c} \hline ‬ & $\gamma_n$ & ...
1
vote
2answers
40 views

Incomplete last vertical line in table with an image

I want to make a table in LaTeX and I wrote the following program: \documentclass[]{article} \usepackage{graphicx} \usepackage[usenames, dvipsnames]{color} \usepackage{multirow} \begin{document} ...
22
votes
2answers
1k views

Column-wise break of extra wide tables

I have to plot geochemical data tables that are like this table , i.e. with a header column, but that have much more sample columns. When having too many columns, the table has to be broken at a ...
3
votes
2answers
32 views

The vertical lines in my tabular environment are scattered

I'm using pdflatex and have some trouble: the vertical lines in my tabular environment are all scattered. \documentclass{article} \begin{document} \begin{tabular}{| l | c | l |} \hline ...
1
vote
1answer
51 views

textual replacement within spreadtab

similar to this question I want to use a function inside of a spreadtab region, but i do not want to use it out of a seperate file but just simplify the usage and readability. Unfortuntely the usage ...
3
votes
1answer
2k views

IEEEtran - Two tables on top of page, two column

I can't put my tables on the top of page two column, searched for several other tex.stackexchange questions. None of them did help. My table, two tabulars inside: \begin{table*}[!t] \centering ...
3
votes
1answer
64 views

How to align rotated column headings in a table?

I have this code which I adapted from Big table with rotated column labels using booktabs: \usepackage{booktabs} \begin{document} \begin{table*} \centering \begin{tabular}{cccccccccc} \toprule ...
1
vote
1answer
52 views

Custom table from csv file (multiple header rows)

I would like to create custom tables from .csv files. By custom I mean, that I only want LaTex to read in the body of the table, i.e. "a & b & ... \ ..." but I want to write my own header and ...
2
votes
1answer
101 views

Decimal alignment in tables with tabularx and multicolumn

in my masterthesis I want to create regression tables the numbers in the table are aligned by the decimal point. Here is a MWE to get an impression what I'm talking about: ...
1
vote
3answers
53 views

Line break in table and multicolumn layout problem

I have a small problem. I would like to rebuild the following table: Until now I made the following code: \begin{tabular}{lllllll}\toprule \textbf{Factor} & \textbf{Effect} & ...
1
vote
1answer
38 views

Vfill after a table does not work

I have a table at the top and would like to place the title at the page mid - or place it with vspace. But it doesn't work. Here is my code and my problem is on line 17 (the vfill do nothing). ...
3
votes
1answer
147 views

Alignment of exponential numbers with non-exponential number

I would like to align non-exponential and exponential number at their decimal point in a table. I tried \documentclass{article} \usepackage{booktabs} \usepackage{siunitx} \begin{document} ...