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

6
votes
1answer
792 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
3
votes
1answer
2k views

\hline with \only (or \onslide) in Beamer

In a table in beamer, I would like to remove \hline after X number of slides using \only<1>{\hline} But this always results in an error message: Misplaced \noalign What can I do to ...
4
votes
1answer
455 views

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here?

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabulary} ...
3
votes
1answer
2k views

How best to change the font size (etc) of threeparttable's table notes?

How best to change the font size (etc) of the threeparttable table notes ? Google returned these (duplicate) unanswered stubs (in English and German, but with pictures ;) ...
3
votes
3answers
297 views

Know the cell width with tabular* or include a paragraph box without specifying its width

I wrote the following table using tabular* inside a \newenvironment. Worked fine but I prefer to have text wrapping on one column. The table uses "phantom" cells to achive what I want that is having ...
1
vote
1answer
7k 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
169 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. ...
7
votes
1answer
622 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
7k 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
112 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 ...
5
votes
2answers
4k 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 ...
7
votes
1answer
44k 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
63 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
255 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 ...
0
votes
1answer
56 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
405 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
151 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
237 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
94 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
195 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
249 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
417 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
341 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
312 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
321 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
76 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
124 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} ...
2
votes
1answer
693 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
292 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
343 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] ...
6
votes
1answer
317 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 ...
2
votes
2answers
11k 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} ...
1
vote
1answer
143 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 ...
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
4k 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 ...
3
votes
1answer
24k 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} ...
3
votes
1answer
569 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
14k 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
157 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} ...
3
votes
1answer
462 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
231 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
5k 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 ...
5
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
380 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
132 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
132 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} ...
4
votes
1answer
3k 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.