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

4
votes
2answers
1k views

table not fitting

Ciao guys, I need to make the table below have certain properties To fit onto the page. And then making the columns evenly spaced even if it means breaking up the long column label. ...
1
vote
0answers
75 views

Table with horizontal line that doesn't span all columns [duplicate]

Possible Duplicate: How can I draw a horizontal line spanning only some of the table cells? I need to recreate table 12 of this document manually (because unfortunately this automatic ...
5
votes
1answer
737 views

error in table output

I am using stata, a statistical software. It has a program called -tabout-, that generates output (basically tables containing descriptive statistics incl means of variables etc) code for TeX. ...
1
vote
1answer
523 views

How to show column names of table from text file on the top of every page?

I have a table stored in text file. I want to insert the table into LaTeX and keep the column names appearing on the top of every page. I tried the code as below, but it doesn't work. Could anybody ...
8
votes
2answers
391 views

Is there a standard package to create a table like this?

Is there a fast and efficient way to create a table with a vertical arrow like this? A suitable reference or a snippet of LaTeX code would be much appreciated.
0
votes
0answers
40 views

Specific layout when adding nornmal text below a tabular in a table-environment [duplicate]

Possible Duplicate: Align Note below table I have a tabular inside a table-environment and wish to add some explanatory text directly below the tabular within the float. Of course I know ...
4
votes
1answer
917 views

Using \uncover in beamer with a counter

I am using a table in my presentation and it is ordered by date but I want some major dates to be visible on the first slide and all other dates to become visible slide by slide. I thought it would ...
15
votes
1answer
15k views

The space between the table and its caption is very small

I have a table written like this: \begin{table} \centering \begin{tabular}{|l||c|c|} \hline&Column 1&Column 2\\ \hline\hline cell1 & cell2 & cell3 \\ ...
0
votes
1answer
621 views

How to make table with divided column [duplicate]

Possible Duplicate: How to merge columns in a table? How can I make a table of the type above? I am writing a seminar report using the report class.
3
votes
1answer
3k views

Table and Figure Caption Citation Problem

When I build a LaTeX code, the references to figures and tables labels are not recognized, so latex builder prints "?" in the place. And simplifying the entire text I found out that even the simple ...
4
votes
1answer
415 views

Correct longtable \multicolumn exceeding page boundaries/margins

I have problem with some of the longtable tables, as illustrated here: Is there an easy way to make table wrap cell contents multi-line so that it does not exceed page margins?
15
votes
2answers
1k views

Tables: Colouring odd/even mixed up

I have a huge document (around 100 pages) and a lot of tables in it. I used \usepackage[table]{xcolor} \definecolor{lightblue}{rgb}{0.93,0.95,1.0} \rowcolors{1}{white}{lightblue} % odd = white, even ...
11
votes
2answers
214 views

Is there such thing as “p{height}”

I am making a table right now and it's really annoying that items in my cell are getting crunched \begin{center} \begin{tabular}{|c| c | c|} Critical Points $P_0$ & $f(P_0)$ & Conclusion \\ ...
5
votes
1answer
333 views

formatting natural table header with conTeXt

I am struggling with my table formatting a bit and hope there is someone around here that can give me some help. This is the table I have at the moment. \bTABLE \startTABLEhead \bTR \bTD ...
5
votes
1answer
341 views

Auto generating table

In the following scheme, why do I have to hide & in a macro (\samp) before it works? \documentclass{article} \usepackage{catoptions} \makeatletter \cptnewcounts{rowcnt,colcnt,maxrow,maxcol} ...
6
votes
2answers
631 views

Custom environments with multicolumn header

I tried to create an environment that creates a tabular frame around the content of the environment. For instance: \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{Team sheet} \\ \hline ...
7
votes
3answers
1k views

Keep first column on every page of long sideways-table

I have a table with a lot of columns, so I am going to make it landscape.The very first column is a sort of header, so I would like to repeat it on every page. Is there a way to do that?
5
votes
1answer
4k views

Tabbing within a table cell

This is a MWE but it will not work however would give the idea of what I am doing. \documentclass[fleqn,12pt,a4paper]{article} \RequirePackage{myPackage} \begin{longtable}{p{2cm}p{12cm}p{1.5cm}} ...
2
votes
1answer
4k views

Problem with multirow and table cell borders

I'm pulling my hair with the rendering of table cell borders when using multirow and multicol. In the below example, the double-lines in the table's "header" do not extend to the table top, and even ...
24
votes
1answer
2k views

How to enumerate the rows of a table

I want to automatically enumerate the text rows of a table. Is there an option within tabular, or another package? (Of course I do not want the rules to be enumerated.)
1
vote
1answer
432 views

How to top align all rows in table by keeping fixed width?

I am working on a LaTeX table and R, but I am facing some problems concerning column width and alignment. cat("\\centering","\n") cat("\\rowcolors{2}{burlywood1}{white}","\n") ...
2
votes
1answer
3k views

ctable cell vertical align

I have a table like this: \documentclass{article} \usepackage{ctable} \begin{document} \ctable [caption=Sample] {|p{2cm}|c|} {} { \hline some multiline (2 or 3 fields) field & need to ...
5
votes
2answers
8k views

LaTeX table frustratingly too wide

I'm getting really frustrated. I want to enter the following table into my LaTeX document, but the first and third columns refuse to narrow so it is too wide. Can someone please tell me what I am ...
6
votes
1answer
11k views

How to reduce font size in tikz nodes?

This my tex code. \documentclass[a4paper,10pt]{article} \usepackage{tikz} \usepackage{verbatim} \usepackage[margin=15mm]{geometry} \usetikzlibrary{shapes,arrows,fit,calc,positioning} ...
5
votes
1answer
873 views

How to change the format of table captions?

How I can change "Table 1: sample" to "Table 1. sample"? PS. I'm using ctable, if it important: \documentclass{article} \usepackage{ctable} \begin{document} \ctable [caption={sample}] {|l|r|} {} { ...
5
votes
2answers
1k views

latex tab issue spacing

I have a table of two rows, the second one consists of 32 columns, each containing its column number (from 0 to 31). I want each column to use as little space as possible (no inter column space), ...
6
votes
2answers
888 views

latex tabular issue

I am creating a tabular in LaTeX. I want one column to be as small as possible, with no inter column spacing, so that it's just enough to fit the text. I know the answer to this question: I need to ...
5
votes
2answers
195 views

Table align in description environment

Why table doesn't align as a text in description environment? I want it has same left indent and width as text. Is that possible? \documentclass[a4paper,oneside]{book} \usepackage[paper=a4paper, ...
5
votes
2answers
2k views

newcolumntype leads to error with afterpage

when I'm defining a new columntype in an afterpage environment, LaTeX fail with an error: Latex Error: ./chapters/chapter3.tex:149 Illegal parameter number in definition of \AP@. When removing the ...
2
votes
1answer
902 views

Text overflows table cell width

I am building a LaTeX table for a report. I defined a fix width to the second (and last) column, so that it doesn't exceed the size of the page. For some reason, the text is overflowing the size of ...
4
votes
1answer
122 views

Introducing a controllable space in a table

How can I introduce some vertical spaces in the table before the headers in Latex. The method I use below has introduced a gap, but the gap is too big. How can I have a more controllable vertical gap? ...
4
votes
1answer
1k views

Line spacing in supertabular multi lined table cells

I have created a table using the supertabular package with table cells containing from one to four lines of text. In my document I have defined a linespread of 1.5. I also have defined following table ...
3
votes
1answer
301 views

Center align 2 column tables between columns

I currently have a table which has 2 columns: the left one is right-justified and the right one is left-justified. I'd like to center the table relative to between the two columns: that is, have the ...
3
votes
2answers
2k views

Padding/spacing with \cellcolor

I have a working table with cell colors: \newcommand{\ye}{\cellcolor{yellow}} \newcommand{\re}{\cellcolor{red}} \begin{tabular}{l l l} & A & B\\ Test1 & \gr Good & ...
6
votes
2answers
886 views

Automatic coloring of numbers according to size

Scientific talks have their own culture, reporting the results, typically for me, in a table of the following form 1.7333 1.6472 1.5418 1.4682 1.5740 1.1525 1.2878 1.2652 1.3511 ...
4
votes
1answer
825 views

Context: Vertical-Align Image in Table Cell

I'd like to vertically center the alignment of an image in a table cell. The Text is (like usual) vertically centered, but the images continue to stick to the top of the cell. \starttable[|l|l|] ...
2
votes
1answer
597 views

Tabular: set a line between each row in \newenvironment

I have created a particular table with 3 columns using \newenvironment. Now I want to put a line between each row and from the 2th to the 3th column. I know it is possible to add \cmidrule{2-3} at the ...
2
votes
0answers
566 views

Project management tables (with cost “spread sheets”) using spreadtab [closed]

I'm trying to create a simple project management table detailing costs per task and milestone, using spreadtab: The code for the latter is: \begin{spreadtab}{{tabularx}{\textwidth}{lXllr}} \toprule ...
3
votes
3answers
307 views

2 column layout without using tabular

I'd like to write a 2 column layout page: one column at the left that should show the year, and one column at the right that should show text that goes along the year. \documentclass[12pt]{article} ...
4
votes
2answers
1k views

footnote in table with hyperlinks

Answer to the problem below: I was using latex c.tex; dvipdf c.dvi to compile the pdf, instead I should use pdflatex c.tex, it also showed up that \begin{savenotes} will create links to the top of ...
2
votes
1answer
179 views

How to ensure table is on a certain page [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I have a doc that has several tables in it. Each section of my end document is in a separate .tex file. In ...
8
votes
4answers
4k views

Table caption align top-right

How I can align caption for table like this? Current code: \begin{table}[h] \caption{} \centering \begin{tabular}{|l|r|r|l|} \hline № & X & Y & Время ...
6
votes
2answers
7k views

Change border of a few cells in a table

Let's say I have a table with 4 columns and 8 rows. The top row is the label for each of the rows below. Suppose I want the cell borders for rows 4 and 5 to be thicker than the rest of the cells in ...
1
vote
0answers
247 views

figures and tables in appendix [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? I have an appendix in my ...
9
votes
1answer
393 views

Discontinuous table rules in ConTeXt

How to set up a table with discontinuous horizontal rules? As an example I used a table from another answer: My table still lacks the interrupted rules. Another thing is the rule above “Total”. ...
3
votes
1answer
648 views

Align text vertically

How can I do something like this: blabla: blabla bla bla blabla blabla bla blabla ... blabla2: blabla bla blabla bla bla blabla ablabla .. I tried the tabular and array ...
4
votes
1answer
825 views

What's wrong with minipage(table(minipage(align))) arrangement

In an attempt to show the code and the output side by side, I have used a table inside a minipage. The table entries are two minipages and one contains an align environment. Having the align ...
7
votes
1answer
494 views

Sideways label for table with alternating row colours

I have a multirow column in a longtable with alternating coloured rows. The alternating colour overflows into the multirow. Colouring the first column white wipes out the specialrule but doesn't seem ...
3
votes
1answer
171 views

Raising a minibox fails in a non-p tabular cell

While trying to answer a tabular related question here I found the following behavior which surprised me: I'm trying to overlap a multi-line text in an otherwise left aligned column with the empty ...
5
votes
1answer
759 views

Swallowed space after \tnote

I'm using threeparttable to add table notes to a tabu tabular*. A common use case is to have a note at the end of a cell. If the note is however not added to a cell's last word, the following space is ...