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

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 ...
2
votes
0answers
71 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
2answers
36 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, ...
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? ...
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
90 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] ...
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
29 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\% ...
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} & ...
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 ...
7
votes
2answers
87 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 ...
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} ...
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. ...
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 ...
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 ... ...
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 ...
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} ...
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
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} ...
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} % ...
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 ...
2
votes
1answer
148 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.
2
votes
1answer
63 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 ...
0
votes
1answer
10 views

\ref{label>} yields the chapter [duplicate]

When I refer to a table in text, the \ref{<labeloftable>} statement produces the chapter number in which the table resides, instead of the number of the table. Any help would be welcomed!
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. - ...
1
vote
2answers
39 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} ...
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 ...
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
1answer
51 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 ...
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
35 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
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 ...
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} ...
0
votes
0answers
29 views

Extra empty page for List of tables and list of figures

I am really stuck to that , I always get en extra empty page for list of table and and list of figures and table of contents and all these pages with headers , How I can remove them ?? Here is the ...
5
votes
3answers
128 views

Addition and Multiplication Tables

I am trying to create addition and multiplication tables for certain bases, but I want to construct them in a way different than most addition/multiplication tables are made, where the line divisions ...
2
votes
2answers
47 views

Line between cells

How to add line between cells in tabular like on this image between 38 and 77 in LaTeX? I have only this code, that draws table: \documentclass{scrartcl} \begin{document} \begin{tabular}{ ...
3
votes
2answers
86 views

Division with remainders displayed on side

I am trying to make a nice looking division process where the remainders are displayed on the side at each step. I want to produce exactly this (but, of course, be able to extend it to longer ...
5
votes
1answer
39 views

macro value can not be updated in tabular with multirow columns

I am writing a command \newrow to generate one row in a longtable. The problem is that the tabular environment here can not see the value of \subColWid (output is 0pt). This occurs only when multirow ...
3
votes
1answer
62 views

RTL and LTR columns in ONE table?

Is it possible to set some columns in one table as RTL while other are LTR? I want to do something like this: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex ...
2
votes
2answers
50 views

Vertical alignment within table

My MWE: \documentclass{article} \usepackage{lscape} \usepackage{booktabs}% http://ctan.org/pkg/booktabs \newcommand{\tabitem}{~~\llap{\textbullet}~~} \begin{document} \begin{landscape} ...
0
votes
1answer
41 views

How to type a binomial tree with hanging branches

I want to type up a binomial tree, except that each entry is a function (say a polynomial). If the polynomial is typed in the usual horizontal style then the table becomes too wide and ugly. If the ...
0
votes
0answers
9 views

No footnote text shown for footnote in table caption [duplicate]

I have the following scenario: table content .. \end{tabular} \label{tab:beispiel} \captionof{tabular}[tablecaption]{tablecaption\footnotemark} \footnotetext{table found in ...} \end{table} I can ...
3
votes
1answer
50 views

Fill last page with empty lines in longtable/longtabu

I am generating a PDF automatically from a database and I want to fill the last page up with empty rows. The document looks like \documentclass{article} \usepackage{longtable} \usepackage{tabu} ...
1
vote
1answer
56 views

Alignment problems with table using tabularx

I have a problem with a table which I am using for a publication. The code is as follows: \begin{table}[htbp] \centering \captionof{table}{Summary} % \begin{tabularx}{0.5\textwidth}{| c | ...
0
votes
1answer
42 views

Put tables under subsections

So, for an assignment in one of my classes, we are supposed to provide some data in the form of tables. So, what I want to do is put my tables under a certain number of subsections, but when I do ...
5
votes
4answers
154 views

Center text over multicolumn in table

I have created a table that is the width of my page, but when trying to center the text in the top row over the merged cell, the text is not centering with respect to the entire length of the cell. ...