{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
2k views

Aligned Table of Notation Sybmols - Works but with Errors

I am getting a four (4) errors and 1 Bad Box with the code below. However, the output is the way I need in the PDF. Any ideas why I am getting the errors? And if so, how I can fix it. The error is ...
3
votes
1answer
1k views

Columns spacing issue

I'm in the middle of a LaTeX battle with table attributes and so far I got to what you see above and the code I post below: \begin{center} \begin{table} \begin{tabular} ...
0
votes
1answer
850 views

altering cv in latex - tabular extending two pages?

I have the following script for writing an academic cv: \documentclass[10pt]{article} \usepackage[margin=3cm]{geometry} \usepackage{array, xcolor} \usepackage{lipsum} \usepackage{longtable} ...
1
vote
1answer
339 views

Table with text wrapping and two “=” aligned equations in one cell

Regarding this post: Table with text wrapping? \documentclass{article} \usepackage{array} \newcolumntype{L}{>{\centering\arraybackslash}m{3cm}} \begin{document} \begin{table} ...
51
votes
2answers
8k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
7
votes
1answer
21k views

Table with text wrapping?

Row 1 has one line and centered for each cell. Row 2. Column 1 has two (2) lines. each line centered. Row 2. Column 2 has one line. centered horizontal and vertical. Row 2. Column 3 has text ...
7
votes
4answers
5k views

A list inside a table

I'm using this simple code to align date ranges on a CV: \section{I'm pretty cool}\begin{tabular}{l l} 2009--present & company 1 \\ 2011--2012 & company 2 \end{tabular} Now this looks like ...
6
votes
1answer
330 views

longtable: extra table structure after last entry

My long table extends one more column after the last row and is not smooth. What am I missing? \usepackage{longtable} \begin{longtable}{|l|l|} \caption{sample table with extra lines} \\ \hline ...
1
vote
0answers
76 views

How to print the newline character “\\” from a macro so that it is recognized as newline in tabular [duplicate]

Possible Duplicate: How to programmatically make tabular rows using \\whiledo ? I have a problem that may have an interesting answer. I am writing a macro whose output I would like to be a ...
4
votes
1answer
678 views

Math environments in tables with > and < preamble

I'm trying to put a \begin{align*} and \end{align*} for every entry at columns 2 and 3 of my table. But I'm getting errors that seem to say my environment markers are mismatched. I'm sure I've got my ...
1
vote
0answers
67 views

Styling lots of tables [duplicate]

Possible Duplicate: How to separate table content and table style I am writing a document that include more than 50 tables. The tables can be divided into 5 groups with similar styles. ...
3
votes
1answer
6k views

\usepackage{caption} breaks references to tables

I'm formatting the listings captions as follows: \usepackage{caption} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}} ...
5
votes
3answers
1k views

How to make caption bold in ctable?

If I use \ctable[caption = \textbf{something}]{}{}{} the text inside the caption is bold but TABLE 1. is not ... It looks like this: TABLE 1: something and i would like TABLE 1: something ...
6
votes
1answer
1k views

Wrapping text in enumeration environment around a table

I would like to wrap the text in an enumerate environment around a table, this is my actual situation (sorry for including so much code, but I wanted to give a precise idea of the number of lines in ...
3
votes
2answers
2k views

Wrapping a table both rowwise and pagewise

I just discovered the tabularx package which allows me to introduce a table column which has line wrapping, and I also know that packages that allow automatic table splitting across pages do exists ...
9
votes
1answer
461 views

How to place all floats (tables in particular) at a certain point in the document

I would like to place all of the tables in the document at the end but before the bibliography generated by biblatex and the notes printed by endnotes. In other words, I'd like to collect the tables ...
7
votes
2answers
433 views

Making a table with special headings

What package can I use to make a table that looks like this one?
9
votes
1answer
945 views

Use text data as mark labels in pgfplots

I have a table with numerical data and text in different columns, like this: 0 0 0.1 1 0 \pi 2 0 \frac{\pi}{2} I'd like to put text labels on a plot using the text in the third column ...
4
votes
2answers
120 views

How can I render a large number of tables in succession?

In the following code an error !h' float specifier changed to !ht` I think because my tables span multiple pages. How can I get them to display properly one after the other? ...
1
vote
1answer
77 views

How do I do table alignment?

I have the following code: \section{Database Design} \begin{center} \begin{table} \begin{tabular}{ | l | l |} \hline Field & Type \\ \hline id & Primary key \\ \hline ...
2
votes
2answers
786 views

wrapfig and rotating place figure at end of document

With the packages wrapfig and rotating and calls to wraptable, sideways and tabular, I get a document where the table is placed at the end of the document. For instance, in a two page document defined ...
4
votes
1answer
1k views

Adobe Reader and xcolor within a table breaks the line render

I'm using the xcolor package to colour the top row in a table. This is displayed properly using PDF viewers such as Preview or Skim (Mac). But using Adobe Reader 10.1.3 (either Windows or Mac) doesn't ...
3
votes
1answer
7k views

Merge columns in LaTeX

I would like to merge column in LaTeX. I can make that but this line is incomplete because it still open on the left. Perhaps you will not understand what I mean, but this is the code that I wrote ...
2
votes
1answer
2k views

Problem with vspace around table environment

I recently decided I wanted a caption for the top table, so I placed it in a table environment. When I did this, the \vspace*{-2.5cm} before the second table seemed to be ignored for some reason. Does ...
6
votes
1answer
3k views

Table caption very skinny

I have a table like this: \begin{table} \centering \begin{center} \begin{tabular}{c|c|c|c} Data set & Image size & Hole size (pix) & Total time\\ \hline Mailbox & 459 $\times$ 489 ...
2
votes
1answer
1k views

Importing CSV table - Error [closed]

I am new to LaTeX and am compiling a document right now using TeXworks. I am trying to create CSV tables into my document right now, and although I succeed in between I must have some small bug in the ...
0
votes
0answers
76 views

Making a table in LaTeX [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 want to insert a table ...
21
votes
2answers
42k views

Insert image and list inside a table

I am trying to add both an image and list inside a table but I face various problems. As shown in the picture, the image is above the first horizontal line and also the lists are not properly ...
2
votes
1answer
1k views

Clash among packages?

I am working on a colored table and found clashes in various color packages and finally no color in alternate rows. I have followed suggestions, but nothing seems to be working fine. Below is my ...
0
votes
0answers
75 views

How to color alternate rows in latex? [duplicate]

Possible Duplicate: How to create alternating rows in a table? I am working on colored table but i need make alternate table colorful. \documentclass[11pt,a4paper]{article} ...
0
votes
1answer
188 views

erraneous text in a LaTeX tabular array created using custom macros

I have a tabular array that is based on David Carlisle's answer to Generating LaTeX tabular code during compilation. I have modified the code so that columns and rows are defined in different ...
7
votes
1answer
845 views

How to align decimal separator inside a specific table?

The table comes from the excellent answer of Philippe Goutet about this question : \documentclass[a4paper,12pt]{article} \usepackage{array,booktabs} % I add booktabs AM ...
4
votes
1answer
2k views

Cell colouring a multirow in LyX

I've got a multirow cell and I need to make it all have one background colour, but I'm having trouble achieving this. I've defined my color (lightgreen) in the preamble, but don' know how to apply it ...
3
votes
1answer
171 views

imagen beside a math

how I can make me stay in the following way but instead of using $ using the command / begin {align} for me to number the mathematical formulas to reference them later? \begin{center} ...
2
votes
1answer
377 views

Error while using colors in latex table?

I am working on color table and using code below. \documentclass[11pt,a4paper]{article} \usepackage{array,ragged2e} \usepackage[pdftex]{graphicx} \usepackage[framemethod=TikZ]{mdframed} ...
5
votes
1answer
579 views

Creating a simple table article; multi line table headings, display date on same line as caption and double underlines

I have written my first LaTeX document, and although it broadly looks like how I want it to, I want to polish it further to give it a bit more of a profession look - alas, this si where I have come ...
6
votes
3answers
912 views

Error when using tabular environment

I'm trying to create a simple table, but it just won't compile. Here's a sample bit of code: \documentclass[11pt]{article} \usepackage{amsmath, amssymb} \usepackage{calc} \usepackage{array} ...
4
votes
1answer
2k views

Vertical Line Length in Table

I am practicing LaTeX by recreating tables from one of my professor's textbooks. I came across an example I can't recreate entirely. The problem is that vertical lines in between cells of the table ...
5
votes
2answers
636 views

generating LaTeX tabular code during compilation

I use LaTeX for scientific reporting in brain imaging (fMRI). I have a tabular array in LaTeX, that contains quite a lot of rows and columns, which both are brain regions and in the each intersecting ...
1
vote
0answers
417 views

Wrapping file paths in tables [closed]

I am programmatically creating LaTeX documents. Now, what I wish to do is to have a table in which a file path wraps. I expected I'd be able to do this by defining that column of the table as a ...
17
votes
2answers
653 views

How to put the list of figures into a table

How can I get a “list of figures” of the following type? List of figures Exactly, this list of figures is set as a table. I know this cannot be obtained by the command \listoffigures directly, but ...
4
votes
1answer
6k views

vertical text orientation (multiple rows) in tabular environment

I would like to create a table that is labelled like the axis of a plot, i.e. a vertical orientation of the y-axis' label. This is what I have \begin{tabular}{rc|c|c|c|} ...
-1
votes
1answer
879 views

table breaks spanning multiple pages

i'm having an issue with a table that spans multiple pages and breaks across columns that span several rows. my code is listed below. the problem is that on page 1, row 1 shows up with foo1, bar1 ...
8
votes
1answer
1k views

Table specific questions

I use report class and I have just started working with tables. I have created one: \begin{table} [ht] \centering \caption{Ut convallis pharetra augue at aliquet} \label{table1_disc_log} \small ...
10
votes
2answers
1k views

Properly align numbers with units in table

I need to typeset a table comparing, among other things, the temporal resolution of certain datasets. Ordinarily, I would put the common unit into the table header, and only list the values in the ...
8
votes
1answer
494 views

How can I make a table like the type in this image in LaTeX?

I'm trying to make a table like the one in following image in LaTeX but I'm unsure how to go about it. I've been using the tabular environment from the booktabs package, but the following code ...
3
votes
2answers
758 views

How to align rows in Tikz nodes & tabular environment

In the attached image, you can see the text is not aligning properly. At the end it started to align as required. Sorry I can not reduce the MWE any more. since the preamble in big so I will put ...
16
votes
3answers
7k views

How can I left-justify a paragraph cell in a table?

I have a table of maths as below, where I've used the p{} attribute to allow the list of partitions to wrap inside the cell. The problem is that it also justifies the column, which looks very strange ...
2
votes
1answer
667 views

Wrap text inside tabular environment without changing a lot of code

I used the following code: \begin{tabular}{|c|c|l|} \hline Pin Number & Pin Name & Analog Function\\ \hline \hline 1& 4xOUTZ& Yaw-rate or Z-rate output voltage 4 times amplified ...
4
votes
2answers
1k views

How to define a table in documentclass?

Consider a simple table in the document: \begin{tabular}{ l c r } 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ \end{tabular} How we can define this table within the ...