{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
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
888 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
826 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
600 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
308 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
251 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
394 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
826 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
760 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 ...
2
votes
2answers
234 views

unknown error in table [closed]

In the code for a table below, there is an error indicated by the red marker in the line starting with "Not protest" after compilation, although the output seems pretty much okay. Can you pinpoint the ...
3
votes
1answer
409 views

wrapping up cell contents

My friends, in the following table, in the first row specifying the column names, I would like to move the "Nominal" and "Wholesale" to the next line (but of course in the same cell). I would also ...
3
votes
2answers
3k views

adjusting column width tabularx + table margin

As you can see from the following MWE, it would be really great to adjust the widths individually for a couple of columns individually. Also how can I decrease the page margins of the table, if the ...
7
votes
1answer
2k views

threeparttablex table notes for tabu tabulars with less than \textwidth

threeparttablex can be used to add table notes to tabu tabulars*. If the tabular spans \textwidth, the output is as expected. It seems however that the tablenotes environment does not adjust its width ...
1
vote
3answers
5k views

automatic creating of tables [duplicate]

Possible Duplicate: Comprehensive list of tools that simplify the generation of LaTeX tables I'm writing an larger report for my bachelor project and I wonder if there where an easy way to ...
0
votes
0answers
108 views

latex tabular width the same as the textwidth [duplicate]

Possible Duplicate: How to force a table into page width? I am generating some table as follow: \begin{tabular}[l]{|l|l|l|} \hline Input & Output& Action return \\ \hline \hline ...
2
votes
2answers
341 views

How to lineup a multirow in a table?

I am making a table with multirow in it but the rows in last column are far from each other. How to fix it? My code is: ...
4
votes
1answer
4k views

Math mode in tables

I am trying to write notations like degree, micro etc in a table with math mode on. To form the table, i am using - \usepackage{booktabs} \usepackage{array} But in my table when i type $^\circ$ ...
2
votes
2answers
257 views

how to use latexonly for setting tabular column specs

I am trying to compile this example with pdflatex and also with latex2html. I need to make the table column specification different for each case. Here is an example of what I have, but this ...
4
votes
2answers
641 views

How can I center the caption above the table in “elsart” document class?

I am preparing a paper for Elsevier, then I used elsart document class. Tables are centered, but their captions are not centered. How can I solve this problem? This is my code: ...
9
votes
3answers
10k views

Spaces between rows and cols in a table - Better ways than mine?

I started using Latex recently and I put together 4 ways of changing the space in a table. Two general ways defining the general space between cols and rows as well as two ways of adding space between ...
7
votes
1answer
23k views

Error using \toprule \midrule from Booktabs package [closed]

I am trying to use the package booktabs to make my tables look nicer. However, Latex gives me an error whenever I use \toprule \midrule or \bottomrule. Here is a simple example I created: ...
7
votes
1answer
10k views

How to add a newline in a table cell?

How can I put a new line (line break) within a table cell? I'm at a loss how to do this. I'm not using lyx or anything special, just MacTex and texmaker.
32
votes
10answers
3k views

Methods to edit column order in an existing LaTeX table?

What is the best way of editing an existing LaTeX table? I need to swap the order of two columns and can't think of an efficient way of doing this. My table is a long creature of the following ...
2
votes
1answer
917 views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
4
votes
2answers
145 views

How do I put a table (float) two spaces away from the left margin?

I need to align the left edges of my tables such that they are two spaces off of the left margin (i.e. just like the first letter of an indented paragraph). Any ideas?
1
vote
1answer
286 views

How to use \begin{enumerate} in tabular without using p{size}

I'd like to generate a table, using tabular, that looks like this +-----------------+---------------+ | header1 | header2 | <--- header, centered |1. djkfjsdalfkj |1. djhfjdhf | ...
4
votes
1answer
296 views

Inconsistent behavior of setspace package in ctable doinside

This is odd: \ctable[ doinside=\singlespacing, %doinside=\setstretch{1} ] {lp{5cm}} {} {\FL Blubb & Blobb simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the ...
4
votes
1answer
493 views

table notes in English typography

I'm using the code given below: \documentclass[11pt]{report} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} \lipsum[1]\footnote{real footnote} \begin{table}[!ht]\centering ...
8
votes
1answer
2k views

Rotate Header table

I've recently encountered PDF from a latex document where the header are rotated. As it's hard to explain I thought an image should be used: Does anyone have any idea how to create such table?
2
votes
1answer
935 views

How to modify the Table of Contents to add the words Chapter, Appendix, Figure, Table

I am trying to get the words Chapter, Appendix, Figure and Table into the table of contents. The thesis requirements can be found here ...
0
votes
0answers
61 views

Outputting footnotes in a table [duplicate]

Possible Duplicate: Footnote in table I'm writing my assignment out in LaTeX because it seems I hate myself. I've got a note that I want to put as a footnote, but fancyhdr appears to mess ...
0
votes
1answer
515 views

special table in latex

I would like to make a table like this in the image please can someone tell how I can do that \begin{table}[!h] \begin{center} ...
2
votes
1answer
681 views

Altering cell colour hides cell border in LyX

I'm probably doing something simple wrong, but I'm having the following problem. I've got a table with two columns, on the left there are multirows with coloured cells, on the right there are normal ...
6
votes
1answer
5k views

\renewcommand\tablename{name} does not work

I am completely noobie in LaTeX. I need to change table name in all captions. But when I write \renewcommand\tablename{newname} at the beginning of document, it doesn't do anything. It's still "Table" ...
1
vote
1answer
326 views

Table/Matrix/Array with no space between cells and all same size

I have several graphics like objects(tikzpictures) I would like to put in a matrix like configuration. I've been using multicols but I can't seem to figure out how to set the cells to all be the same ...
2
votes
1answer
70 views

Table cannot locate itself properly inside the document

Sometimes, table cannot locate itself properly inside my document and I don't know how to fix this. Here is an example: The current page which the table cannot locate itself properly in looks like ...
0
votes
0answers
68 views

How can I draw a table with filename.dat file? [duplicate]

Possible Duplicate: How typeset a numeric table from a CSV file I wonder if there is a possibility to use a dat file and create a table with it (like plots in gnuplot). for example my first ...
14
votes
3answers
8k views

Convert numpy array into tabular

I am doing some data analysis in python, putting the results in form of a matrix stored into a numpy array. I would like to put this results into a report and the best way would be to put a table with ...
5
votes
2answers
527 views

Passing multiple arguments from ProcessList (xparse) to a macro. Result to be used in tabular

I am making a macro that will take user input of a grading scheme and place it into a tabular environment. I would like the syntax to be as simple as possible and decided on: \tabulate{ eval1,%1 ; ...
6
votes
2answers
5k views

Forcing exactly the same column widths in table

Based on Writing descriptions of columns of table \documentclass{article} \usepackage{polski} \usepackage[utf8]{inputenc} \begin{document} \begin{figure}\label{fig:ieee754single} ...
4
votes
2answers
1k views

Header of the table must be centered, all other rows aligned to left

I have this MWE: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[here] \begin{center} \begin{tabular}{|l|l|c|} \hline ...