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

tabular align with irregular number of rows

I am trying to set up a tabular system like the one below, but latex does not seem to want to work with different number of elements in each row. Any way to fix this ? |Prime numbers| | Integers | ...
3
votes
1answer
737 views

Beamer ignoring table format?

I have a number of tables formatted in a LaTeX document. I want to put these tables into a beamer class with one table/slide and perserve the table formatting. When I compile my document, everything ...
11
votes
2answers
2k views

How to align picture top left in a table?

is there a way to create a table with 2 columns, in the left column should be some text, in the right column should be a picture. The problem is - to align both to the left, top corner. The image ...
4
votes
3answers
357 views

Dual table alignment and lines

I have a table that is to big to fit in the page width, thus it is separated into two tables. The truth is that I only use one table but insert an empty row in the middle so that the columns stay ...
3
votes
3answers
4k views

Table row with white text on black background

I am trying to reproduce a table like those in this picture So far I have \noindent \begin{tabularx}{\textwidth}{| l | X | l | l | } \hline & Does the proposed research involve processing of ...
6
votes
3answers
3k views

How do I right align certain cells in a (booktabs) table?

I'm very new to LaTeX, and I'm currently waist deep in my first project using it. I'm trying to right align some text in cells in a table. I am using booktabs, not sure if that changes anything (I'm ...
9
votes
2answers
784 views

Table: Can I shift a column by half the height of a row?

This question is best explained by giving the usecase: I have a table where I list some data and I would like to add a column to the right which gives the ratio of two adjacent rows. Now to make it ...
3
votes
3answers
467 views

Enumerate environment with tabular layout

I'm new to Latex. I'm familiar with the enumerate environment as well as the tabular environment, but I am trying to combine the two; that is to say, I want the items in the list to be broken up into ...
1
vote
1answer
160 views

In a tabular, how do I reduce the vertical space in a wrapped text?

In a tabular, I am using the commands that allows you to wrap your text: \begin{tabular}{m{5cm} m{13cm} m{5cm}} but I would like to change the vertical space between the different lines of the ...
9
votes
2answers
7k views

How to globally adjust horizontal spacing in table? @{length}

I want to adjust the horizontal spacing between vertical lines and the cell content in a tabular table. I could do it for each column with @{length}l@{length} (e. g. with \,), but there must be a ...
2
votes
1answer
329 views

Tabs and columns in LaTeX

I'm looking for a way to do something like this in LaTeX: 2006-now good years had a lot of fun 2002-2005 not good years I just wish I knew how to do this ...
9
votes
2answers
19k views

Fit a table into one page

I have a table that is very wide. Now I want to force it into one landscape page. I already set the page orientation to landscape but now I don't know how to force it into one page with scaling. Any ...
6
votes
5answers
1k views

How to typeset tabularx with 34 columns? (Error message)

I want/need to typeset a very large table with >30 columns, which I created with Excel2LaTeX. I don't get it to compile, it only works if I really use 20 columns, however when I insert the 21st one, ...
5
votes
2answers
2k views

Is there a command similar to \cline{i-j} but works with vertical line? [duplicate]

Possible Duplicate: Create a vertical line in a table that spans a range of rows but not all rows The \cline command draws horizontal lines across the columns specified, beginning in column ...
7
votes
1answer
782 views

Help with vertically aligning enumerate labels

I am just getting started using latex and am having some problem vertically aligning the enumerate labels when listing tables (see image below). I would like to have the '(a)' label aligned vertically ...
2
votes
1answer
6k views

\subfloat command from subcaption package doesn't produce bottom margin if used in table

I'm trying to typeset a table of images. If image inserted into cell with \subfloat (subcaption package included), resulting box will be w/o bottom margin, but top, left and right margins will be ok. ...
4
votes
1answer
222 views

convert ctable to rtf/word/odt etc

I need to convert ctables, like the following, into a format for a word processor (MS Word, OOWrite etc.) It should be an editable table but in worse case, an img would be also fine... \ctable[ ...
8
votes
1answer
5k views

How to divide a table row into several columns?

I have a table with two columns. In the first column there is no multiple column. But there are 11 multiple columns in the second column. The format looks like: | A | B ...
6
votes
3answers
13k views

How to change the font of a LaTeX table to typewriter font?

I want to create a table in LaTeX, and this table needs to be in typewriter font. I have found Typesetting Tables with LaTeX, but I don't understand how to use it. How could I do this?
0
votes
2answers
332 views

Environment with customizable number of table columns

I want to make macros for drawing group of questions with same answers with customizable text, number of answers and design (column widths, alignment, etc.), like this: ...
1
vote
2answers
398 views

Format mathematical definitions

I want to define a list of definitions. This is what I have: \begin{align*} Let & L_{1} = (Q_{1},\sum,\delta_{1},q_{1},F_{1}), and \\ & L_{2} = (Q_{2},\sum,\delta_{1},q_{2},F_{2}). ...
4
votes
2answers
441 views

Align words in cells of a table

Consider a table like this: | text1 | text2 | |------------|--------------| | a b c | AAA BBB CCC | |------------|--------------| | | aa bb cc | ...
3
votes
2answers
4k views

remove colon from table name

I'm using two-column article document class. Long table Name is displayed in the following format: Table 1: table caption goes here. But I want to change in this way: Table 1 table caption ...
13
votes
3answers
7k views

Example of fancy table using TikZ package

Can anyone share me several fancy table templates? I want to make this thread like a reference so that each time I need a template, I could just go here. If you can, please provide a screenshot for ...
4
votes
1answer
3k views

Sideways table placement gets deferred more than expected

The problem I have is basically articulated in this thread. According to the veteran respondent, it appears that sideways table does not support placement specifications. However, its behaviour ...
3
votes
2answers
304 views

Using multiple \multicolumn commands in a table to achieve column headers

I'm trying to code column headers in LaTeX so that each header spans two columns; however, the following code isn't working: \usepackage{booktabs} \begin{tabular}{cccc} \toprule ...
4
votes
1answer
7k views

Use multiple \multicolumn commands in a LaTeX table to achieve column headers

I'm trying to code column headers in LaTeX so that each header spans two columns; however, the following code isn't working: \usepackage{booktabs} \begin{tabular}{cccc} \toprule ...
2
votes
1answer
2k views

How to apply \raggedright to my table headings?

Can somebody show me how to apply \raggedright to my table headings in this example? \documentclass[a4paper,12pt]{article} \usepackage{tabularx} \usepackage{booktabs} \usepackage{siunitx} ...
13
votes
2answers
5k views

Tables with multiple panels in LaTeX, R and Sweave

I would like to know what the accepted Sweave/R/LaTeX solution is for producing tables with "panels": multiple parts, which may or may not contain the same columns, combined into one table. The ...
4
votes
1answer
195 views

How to add a hyperlink to a multiline element in a table, which uses makecell?

I've an existing table in LaTeX (for my resume), which uses makecell package to produce the formatted output in multiple lines for each entry. Example of one row: 2007 & \makecell[c] {Bachelor of ...
1
vote
2answers
1k views

Incomplete vertical line while creating a table

My code is as below. Last column line is splitted when I leave space between the rows. How can I get a solid vertical line? Please reply \begin{table}[h!] \caption{\textbf{$\alpha=10; U=1; ...
2
votes
1answer
265 views

Hyperref problem with enumerated tabularx rows

I was trying to do an enumeration with columns, which references one item from another one in the same list. I figured out that the best way is to make a table with enumerated rows. I had a working ...
7
votes
1answer
21k views

LaTeX table cell with a diagonal line and 2 sub cells [duplicate]

Possible Duplicate: Diagonally divided table cell Diagonal lines in table cell I'd like to have a LaTeX table, where the top left cell marks what the headers are to the right and also ...
55
votes
2answers
72k views

Changing the font size in a table

What's the recommend way of changing the font size in a particular table? Is there a better way than enclosing all values with, for example, the \tiny function.
10
votes
2answers
1k views

Automatic way to break narrow tables into two columns?

Is there an easy way to break long narrow tables into two (or possibly more) columns (i.e. without manually rearranging the columns)? In the following example you can see that there is a lot of ...
8
votes
1answer
243 views

Formatting footnotes as a table (not footnotes for tables!)

Is there some way a person could format footnotes as a table? What I'm trying to do is put translations and transliterations from English to Japanese in footnotes on my pages in the form WORD ...
1
vote
1answer
672 views

ltablex - Multi-column problem

I have a problem using a multicolumn command in an ltablex environment. When I insert a large amount of text into a multicolumn command the text (and the table) run off of the side of the page. I've ...
5
votes
2answers
1k views

longtable: avoiding multiple captions

I have some problems using longtable with a caption. The caption repeats every page therefore multiple entries are created in the list of tables. I only want one caption per table - for the following ...
3
votes
1answer
598 views

Center ConTeXt table horizontally

Although my table is only so wide and inside a alignment[middle] environment, it doesn’t get centered and stays left aligned. (For ConTeXtians: right aligned :)) I tried a hack and add an empty ...
4
votes
1answer
181 views

How do I create a table that meets the following specifications?

Following this question: I want to create an environment for a table with the following specifications: The left column is a vertically centered rotated text, saying Övning. The right column contains ...
4
votes
1answer
1k views

Table paragraph spacing

In the preamble of my document, I'm using \usepackage[parfill]{parskip} to make a new line between each paragraph. But when I try to write paragraphs inside a table: ...
6
votes
1answer
6k views

Newline in table cell possible?

I am trying to add linebreaks in my table cell but found that Lyx doesnt allow me to. How can I do that?
43
votes
1answer
36k views

How to add extra spaces between rows in tabular environment?

I couldn't find any option that lets me expand the vertical space between rows in tabular environment. For example, \begin{tabular}{c c} $f^{(n)}(x)$ & $f^{(n)}(0)$ \\ ...
5
votes
2answers
3k views

Wider tables in LaTeX, which is the best solution?

Hi I have a LaTeX table code generated from R like the following \usepackage{rotating} ... \begin{sidewaystable} \begin{center} \small\addtolength{\tabcolsep}{-7pt} ...
24
votes
1answer
34k views

Make a table span multiple pages

I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two ...
1
vote
1answer
141 views

The entire table is not displayed even when rotating package is used [closed]

I have some tables with wider column content, I have 8 columns. The whole table is not displayed in LaTeX, when I reduce the font size also there is no result. I have about 7 tables in single .tex ...
1
vote
1answer
841 views

How to eliminate unnecessary page break in LaTeX?

I have couple of lines (text) followed by table. I want both the text and table to appear in same page, now text appears in one page and table in next page. How to change it? I have tried using ...
7
votes
1answer
4k views

Center sideways text in table

I'm trying to make a two-column table environment. The left column is supposed to center the sideways text "Tips" vertically and the right column should be a normal paragraph column. Here's what I ...
12
votes
2answers
9k views

How to color the font of a single row in a table?

I have a table and I want to make the font color red for just one row (not the background). How do I do that? Here's my table: \begin{tabular}{ l | l l l l } & 1 & 2 & 3 & 4 ...
6
votes
4answers
6k views

Create a table with two parts with different tabular features

I'm trying to build a table that has two panels with different numbers of columns. For example: Table 1: An interesting table Panel A: Some stuff First name Last name Product ...