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

2
votes
1answer
8k views

Left Align with Column Width {p{cm}} [duplicate]

I am trying to create a table something like: Idioms Definition A dime Anything that is common, inexpensive, a dozen and easy to get or available any ...
3
votes
2answers
176 views

Test for empty possibly itemized argument in tabu

For some reason, I can't test if #2 is empty in the following tabu use case. An Incomplete \ifx; all text was ignored after line 14 is thrown executing the following code. \documentclass{...
8
votes
1answer
695 views

How can I create a table that spans across the width of two vertical (and opposite) A4 pages?

I have a large (wide) table to typeset. I usually use the code below for my tables which enables me to specify the width of each column in the table. However, it is up to me to make sure that the sum ...
19
votes
2answers
8k views

How to generate a table of trigonometric functions that can be broken across pages?

Consider the following screenshot. The features I want to have are: I can shrink the page size and the table is allowed to break across pages. The background of odd rows must be different from ...
4
votes
2answers
2k views

Table with 100 % width and vertical / horizontal alignment

I want to draw the following table in LaTeX. In the first column the text should be left aligned. The text in all other cells should be centered. The first problem occurs with D in the first row. If I ...
2
votes
1answer
114 views

Awful page breaking when very long multicolumns items are used

I am using ltablex with \multicolumns. My problem is that I have to introduce a lot of text inside of single \multicolumn items, then when it automatically breaks the table on two different pages, it ...
6
votes
2answers
5k views

How to get line-breaking / multirow to work in the caption of my beginner's table?

How to get line-breaking / multirow to work in the caption of my beginner's table? \caption{this is my first table's captive caption} I'd like the caption to look sth like this: this is my ...
8
votes
1answer
48k views

LaTeX split long table in multiple pages and resize the width

I am trying to find a way to fix the width of my table to the margin of a portrait page (not landscape) while continuing the table in another page since it is very long. I can adjust the width by ...
0
votes
0answers
65 views

Table and Figure in one table [duplicate]

I want to put table and figure side by side in one table...I used this code lines but not working ....could you help me out.... \begin{table}[t]\fbox{ \begin{minipage}[b]{.50\textwidth }% \...
3
votes
1answer
256 views

Automatic arrangement of equations with comments

This question led to a new package: conteq I am writing a paper with multiple chains of equations or inequalities, with optional explanations. Depending on the size of the equations, I use one of ...
0
votes
1answer
57 views

Easy way to individually adjust the justification of text in a table?

I have a simple table and want to center only the titles of each column, how can I individually center them ? I tried \centering{} but this only works for the first column.
1
vote
1answer
483 views

Table skipping section?

I have one main section along with 5 subsections. One of the subsections has a table that cannot fit in half a page, and hence needs to be fitted in the next one. However, the table skips all the ...
2
votes
1answer
172 views

Format fonts and individual cells in Tables?

Is it possible to directly modify the fonts in a table ? For example I have : \begin{tabular}{ |l|l| } \hline \multicolumn{2}{|c|}{Table of Bla } \\ \hline test & test2 \\ yes & ...
3
votes
1answer
266 views

Inaccurate table numbering with LyX

I'm using LyX to create some tables, but the numbering is complete borked. In the LyX window, the table numbers are accurate. However, when I render to a PDF, they are evens only: 2, 4, 6 etc. (I'm ...
1
vote
2answers
100 views

Table Line above?

\begin{center} \captionof{table}{Register Table} \label{tab:title} \begin{tabulary}{1.2\textwidth}{| p{3cm} || C | p{3cm} | C | C p{1cm} | } Procedure & Expected Outcome & Pass ...
1
vote
3answers
205 views

How to format a set of paragraphs with captions to the left of the first line

I am trying to write a document with a list of paragraphs that have an introductory caption displayed to the left of the first line of each paragraph, such that the captions appear as a left column ...
2
votes
1answer
336 views

Controlling the size of tables produced from the R functions tabular() and latex()

I'll state up front that I'm not absolutely certain whether this question is more appropriate for CrossValidated or for this site. However, since I've seen several questions about the latex() command ...
6
votes
1answer
484 views

How to use only mathematical input in the first column with pgfplotstable

I can use a mix of text and mathematical input in the first column of a table generated with pgfplots with no problem, and also mathematical input in, e.g. the last column, as this mwe shows: \...
0
votes
1answer
392 views

How to create multicolumn with a diagonal line [duplicate]

How to join two columns in a table row and add diagonal line like this: +-----+--+--+--+ | \ k | | | | | \ | | | | | \ | | | | | M \| | | | +--+--+--+--+--+ | | | | | | | | | ...
5
votes
1answer
322 views

'Internal borders' in table cells

I am looking to add borders to some cells in a table, such that the borders surround the contents and there is a space between each cell. The best image I could find that shows sort of what I want to ...
0
votes
1answer
380 views

Automatically adjusting cell height

How to automatically adjust cell height based on content? The height of the cell with the normal distribution in it appears to be pushed down and not centrally aligned. Any thoughts? Similar to ...
2
votes
1answer
81 views

Fixing alignment with the rest of the text

The image included above is what I want to replicate - I want the name to appear on the top left, and the address/email-id to appear on the top right, and I want both of them to be aligned with the ...
1
vote
1answer
130 views

what's wrong with my ctable? [closed]

I can't seem to pinpoint the problem with the table below and would appreciate some help. Something simple I am sure, but I can't see it... \documentclass{article} \usepackage{ctable} \begin{...
2
votes
1answer
820 views

How can I fill a table cell with a dash in tabular?

I have a basic table in the tabular environment, and I want to fill a cell with a dash, to show that there is nothing to go in that cell. I've tried just using dash, but can't get one that's long ...
1
vote
1answer
308 views

Problem on coding table in latex

I am wondering if you can help me on coding a table using LaTeX. I have difficulty in doing it. This is the code I have done: \documentclass[12pt]{article} %\documentclass[12pt,english]{report} \...
3
votes
1answer
370 views

Editing Table in LateX

Below is a table I want it to appear it the top page of a two column page. But its not looking good so if anyone could please assist me. \begin{table*}[t] \centering\setlength{\tabcolsep}{.3\...
6
votes
1answer
366 views

Table Configuration

I'm new to LaTeX, and I'm currently struggling with trying to create a table for a lab report. The table has to look like this: I have tried looking at the \tabular, \tabulary and \tabularx ...
3
votes
2answers
12k views

fit table on page width

I am having problems trying to fit a table on page width. Here is a part of my code. \begin{landscape} \begin{table}[H] \scriptsize \setkeys{Gin}{keepaspectratio} \resizebox*{1.8\textwidth}{2\...
1
vote
1answer
155 views

Onslide in tabularx produces vertical space

I have a tabular in a beamer presentation of which I want to uncover its contents using \onslide. In tabularx (or in tabular with a p-column) this produces a peculiar vertical white space in the X-...
6
votes
1answer
4k views

Cell coloring (highlighting) with in-out effects in a table in beamer

I need cell coloring (or highlight effect) in a cell of a table in beamer after a click (I mean, I am planning to talk about something in that frame and I will emphasize just a number in a cell at the ...
6
votes
2answers
5k views

Table width equal line width

I generated this table but it's width exceeds the line width as i am working in two column paper And i need it to fit only in one column, Any help ? \begin{table}[t] \centering \begin{tabular}{|c|c|...
3
votes
1answer
32k views

Centered table with left aligned text

I am making a centered table but want the headings in the far left column to be left-aligned instead of centred. Preamble: \documentclass[11pt]{article} \usepackage{indentfirst} \usepackage[top=1in,...
3
votes
1answer
673 views

Removing border from last column

I have a simple table: \begin{table}[htbp] \centering \begin{tabular}{|c|c|c|} \hline X & Y & Z \\ \hline & & \\ \hline & & \\ ...
14
votes
1answer
18k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
3
votes
2answers
1k views

Reduced word spacing when wrapping text in a cell

I'm wrapping text in a table, some of the cells have 4 words in, wrapped to have two in the first line and two in the second. LaTeX introduces a large space between the first two words so that the ...
6
votes
2answers
164 views

How can I make a table of symbols with TeX?

I have used the following command: \documentclass{article} \usepackage{xypic} \usepackage[final]{showexpl} \begin{document} \begin{LTXexample}[pos=r,rframe=single,numbers=none,basicstyle=\ttfamily\...
3
votes
1answer
536 views

Breaking Horizontal Rule Running Across Adjacent Columns in a Table

Is there any way to force a break in the horizontal rule running across two adjacent cells of a table. To be more precise, here is what I'm looking for: Notice how I wish the lines to fall short of ...
7
votes
2answers
244 views

Making a lattice with numbers on vertices

Anyone who is familiar with the problem of counting up/right going paths in a rectangle from bottom left corner to upper right corner knows that one way of doing this is doing it by recursion. I want ...
4
votes
1answer
6k views

How to use LaTeX tables with MS Word/PowerPoint

I love LaTeX's modularity and that I can generate (w/ Stata) and \input{} tables, which makes it really easy to update my work and to keep the same analyses across papers and presentations. But not ...
6
votes
1answer
1k views

Table - remove row lines in column to furthest right

How do I remove row lines in the column to furthest to the right. I have seen examples where they do it the left. I would like the "powers" from the table here to be on the right side instead of the ...
4
votes
3answers
403 views

Lyx drop-in table replacement to allow table footnotes

I want to be able to use footnotes in LyX while preserving the LyX table structure. Any way to force LyX to use a different environment for its built-in tables that allows that? I.e. some code to put ...
4
votes
1answer
138 views

\hbox in “p”-column (tabular) destroys row layout

The following example code shows a problem with my \vertgap command, which is just intended to add some space above and below the mandatory argument after encapsulating it in an \hbox (for tall ...
6
votes
2answers
2k views

Custom glossary style: Make glossary as wide as \textwidth

WARNING: This is a follow-up question to Display long form (first-use like) entries of none acronyme type entries. As mafp suggested in the other post I went ahead and defined my own glossary-styles ...
2
votes
1answer
138 views

How can I change the indent of the row numbers in my tabular environment?

I'm using tabular to align numbers, answer choices basically. Each row is numbered (A), (B), etc. Is there any way to decrease the space between the row label and the first column? \newcounter{ans} \...
5
votes
1answer
4k views

Editing LaTeX tables in MS Excel

I have a big LaTeX table that I want modify it in Excel, is there any solution? There is some good solutions for converting Excel table to Latex tables.
3
votes
1answer
294 views

Table and \tikzexternalize

It might not be a usual thing to do but I need to put some tikz pictures in a Table with externalization. I did \documentclass{report} \usepackage{tabu} \usepackage{tikz} \usetikzlibrary{external} \...
2
votes
1answer
387 views

Remove Numbering (and “()”) on SubFloats (in a table)

So I have set of three tabular environments in a table: \begin{table}[h] \centering \scriptsize \subfloat[``student" data table]{ \begin{tabular}{lcc} \toprule Column Name & Data Type \\\...
3
votes
1answer
268 views

How to wrap web address in table?

All of my text in my table wraps except for line 13, which I have copied below. The website runs off to the side of the page. I'd like it to wrap the web address. Can anyone help? \documentclass[...
4
votes
1answer
108 views

Table not flushing left as expected

I'm trying to make my tables flush left and overall align with the text. Using to \textwidth manages to make the table the right size, but it won't align properly with the text sometimes. It is ...
4
votes
3answers
379 views

Can't include a 'tabu' inside \newenvironment with cells in the postamble

I'm trying to include a tabu inside a new definition of an environment but it fails if the postamble (enddef) of the new environment includes tabu's contents, so cells. With tabular or tabular* works. ...