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

Alignment in siunitx table

Consider the following example: \documentclass[ a4paper, 12pt ]{article} \usepackage[ hmargin = 2.4cm, vmargin = 3cm ]{geometry} \usepackage[ locale = DE, detect-weight = true, detect-...
0
votes
0answers
31 views

Page Totals For LongTabu

I have a LongTabu that spans several pages and was wondering if there was a way to change the footer/add a row to the LongTabu to display the number of items on the page as well as a running total of ...
1
vote
1answer
45 views

Vertical alignment of tabular to baseline in an itemize environment

I have a tabular inside an itemize environment: \documentclass{article} \begin{document} \begin{itemize} \item[(b)] \begin{tabular}{|c|c|} ... \end{tabular} ...
0
votes
2answers
51 views

Table textwrapping

I'm trying to obtain a table like this, but the output I had doesn't satisfy me. Do you know how can I change this code? This is the table I'm trying to get: This is the table that I obtain: ...
0
votes
1answer
40 views

Is this a Beamer with Animation on Tables bug?

On the second slide of the animation, the following code results in the first table being offset down the page. Is this a bug? (Sorry if the example isn't exactly minimal, but it does show the ...
1
vote
0answers
23 views

Set tabular column width but prevent multiple lines

With the following example the column width is set, and that is exactly what I want. However, in this unusual case I want to prevent the multiple lines and neglect the following text. \documentclass{...
2
votes
2answers
98 views

To create a complex Table

I need to create a table like this: The code I wrote is: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \...
2
votes
2answers
50 views

Multicolumn table issue

I am having an issue with a table with one column containing multiple columns. After the multicolumn (named "Power Factor" in this case) the remaining columns do not have a vertical line joining the ...
2
votes
2answers
48 views

Different Vertical Alighments Across Columns in a Table

I'm trying to create a table where some of the columns are are meant to be centrally (vertically) aligned, and some are meant to be at the top. It appears that using the 'm' column type for centering ...
5
votes
3answers
84 views

Header of table with math mode, align to decimal dot

I have to create a table with math symbols in the header and numbers in the body. I would like to align all the numbers to the decimal dot. To do that I used the siunitx package. The problem is that I ...
1
vote
2answers
38 views

break a long table over pages while imposing a table line on each page

I want to draw a big table that goes over three of four pages. I understand package longtable is the most appropriate in this case. My table is a simple table, two columns: symbols and signification. ...
3
votes
1answer
88 views

Table and citation formats that are portable across publishers

Sometimes, an author has to submit manuscript originally prepared according to one publisher's format (e.g. IEEE) to another publisher's format (e.g., ACM). This may be due to: A paper is rejected ...
22
votes
1answer
531 views

Doing things to every page of a multi-page table

So, the designers did their job and specified coloured backgrounds and rounded corners for all tables. Like so: As described here, this requires doing nasty things like putting the whole table ...
6
votes
3answers
90 views

How to create table with custom color borderlines?

I would like to learn how can I create on LaTeX a table like this: Please consider that the content of cells 9,17,25 and 13,21,29 are left aligned, not centered. Also, the width of border lines ...
2
votes
1answer
34 views

Table caption position

I would like to have my caption at the top right of the table. I've already set it at the top right of the paper using: \floatstyle{plaintop} \restylefloat{table} \captionsetup[table]{justification=...
1
vote
0answers
43 views

Space-saving plotting technique

My goal is to create a template for a report (see the figure) that will be used to programmatically generate reports from a data source. The approach I have thought of is to use a table combined with ...
5
votes
2answers
115 views

table with caption in letter class

Self explanatory title question: How do I get to produce a table with caption in a letter class? A working example would be great.
1
vote
2answers
68 views

Multicolumn and hline

If I run the following code I got a table with a multicolumn of 5 but if I place an \hline before the multicolumn as seen in the code it closes all the table in the upper part. How can I close only ...
5
votes
1answer
213 views

Can I add a button on tables that export them to .csv?

Is there any package that allow us to create a button to export a table as .csv? Is this kind of interactivity of easy coping tables possible with latex? It would be a tool for someone that take ...
3
votes
1answer
53 views

Word wrapping within tabular environment

I'm attempting to write program documentation for some recent software that I am in the process of developing and I'm currently using the tabular environment to format a changelog as to dates when ...
4
votes
1answer
65 views

How do I create a new column type with a minipage inside?

I'm writing a distilled latex manual for my students, and I want to use tables with one column displaying the code and another column displaying the outcome, for all the commands that we need in class....
3
votes
2answers
43 views

Creating a separated table

I'd like to be able to setup a bunch of things to put in a table after gathering them up before hand. Something like the following where I keep a variable with the contents that will eventually be ...
2
votes
1answer
42 views

Numbers in a table with dcolumn in different font?

I am using beamer and the dcolumn package and cannot get the numbers within a table to be in a different font. I also cannot use the siunitx package because I have numbers in brackets. Before defining ...
0
votes
1answer
86 views

How can I put picture in a table!

I can put a picture in a table (cheer!), but I want to put a picture with a caption in my table and it's caption will disappear. My table includes both a picture and a tikz. how can I do it? This is ...
2
votes
1answer
56 views

Description inside table - Styling

I want to create a table that looks like the following: Under the 'Country List', I would like to have a row with 2 column. How do I do I include that? I have to following : \begin{table} \begin{...
1
vote
1answer
46 views

connect two tables in latex with arrow and make 2 columns more symmetric

I would like to make the following slide in beamer. However, I find difficulties in making more symmetric the two tables by using multicols package. My other question depends on the arrow connecting ...
0
votes
0answers
35 views

Table compling in it's own document, not compiling in main document

I'm having an issue with a table. This table wil run perfectly run in it's own document, but absolutely refuses to compile in my main document. The text for the table is as follows: \documentclass[...
1
vote
0answers
61 views

Can I hide the forest root,and let the forest tree same as multi_root tree?

1.Following my question As my forest sample, how can I make a same width in row, and control the row width? 2.I want to use format defining once, and output multi_line data in my c project. 3.Is ...
1
vote
1answer
28 views

extra alignment tab has been changed to \cr after I changed to ltablex package

I am getting extra alignment tab has been changed to \cr after I changed to ltablex package. I don't have this problem if I use tabularx package. This is my MWE, Error is thrown at line#46: %!TEX TS-...
3
votes
1answer
56 views

How to correctly create a macro for a table?

I am trying to apply the following answer: http://tex.stackexchange.com/a/72916/25124 What is wrong with this code? I am trying to define a macro to be able to specify a table of 3 columns but whose ...
5
votes
1answer
106 views

Pass part of halign body as an argument to macro (previously AMS align and its groups)

I originally thought this had to do with the align environment but I discovered it's a feature of \halign, hence the major edit. When inside a tabular environment or simple halign, I need to be able ...
2
votes
1answer
33 views

bytefield inside tabular

I wonder why it is not easily possible to put a bytefield enviroment into a tabular. This MWE \documentclass[border=2mm]{standalone} \usepackage{bytefield} \begin{document} \begin{tabular}{c} \...
1
vote
0answers
27 views

LaTeX Table matching solutions to problems

I would like to create a table like this, but I have no idea of how to do it. Could you please help me with it? Thanks a lot.
2
votes
2answers
38 views

Table columns merging when using fixed size

I'm writing a table that's too wide for the page, so I tried using a fixed width for the columns, but when I do that two columns merge into one: And a MWE: \documentclass[a4paper]{abntex2} \...
5
votes
3answers
151 views

tabular: thicker lines

\begin{tabular}{|c|c|c|c|c|c|} \hline \multicolumn{2}{|c|}{Foo} & \multicolumn{4}{|c|}{Bar} \\ \hline \multicolumn{2}{|c}{} & \multicolumn{2}{|c|}{BarA} & \multicolumn{2}{|c|}{BarB} \\ \...
0
votes
1answer
45 views

Weird row height behaviour in tabular

I have a tabular which I fill with "+" signs for some reasons. This is what happens: As you can see, for some reason there is space added on top of the row, making it higher. If I remove all the ...
5
votes
1answer
33 views

Enlarging the text of a wide table in beamer

I have a wide table in beamer. I adjusted the table width by resizebox. But the texts in the table are not visible. How can I enlarge the text ? \documentclass{beamer} \usepackage{booktabs} \begin{...
2
votes
0answers
82 views

How to handle too many columns of table

I need to print a table with many columns. I am thinking about two ways: printed table like this (assume the paper only can print 6 dates at one row): Measure date1 date2 date3 date4 date5 date6 ...
1
vote
1answer
74 views

Table formatting with tabularx

I'm trying to format the following table: \documentclass[12pt]{report} \usepackage[left=35mm, right=25mm, top=30mm, bottom=30mm]{geometry} \usepackage{tabularx} \usepackage[flushleft]{threeparttable} ...
3
votes
2answers
43 views

Vertically and horizontally align image inside table

I have a table with two columns. The first column contains text, the second a image. Short example: \documentclass{article} \begin{document} \begin{table}[htbp] \centering \caption{My ...
0
votes
3answers
82 views

Table formatting, headings

Do you know how can I set the following tables in LaTeX? (Just the first two lines are enough)
2
votes
1answer
73 views

Some tabular problems

Would someone mind helping me out with some tabular problems that I am having ? Basically, my table is going off the page (I am not that good at defining tables with text) and if anyone has any other ...
0
votes
1answer
19 views

push contents of top-left cell little downward?

I am going through different tutorials and Q&A, but no luck yet. I am new to Latex, and hence not aware of many packages, and not sure why some change is not coming into effect. Currently, I have ...
2
votes
1answer
46 views

Alignment of text in siunitx package

I made a table using siunitx package. In one of the column there is text depicting chemical formulae. Is it possible to align only this column to the left. \documentclass{article} \usepackage{caption}...
2
votes
2answers
127 views

paragraph over 2 columns in an article document

I have a two column format for an article and a small paragraph which i want to split in those 2 columns(hard break). I dont want to use \vfill, as I am intending to display a table after the ...
1
vote
1answer
42 views

As my forest sample, how can I make a same width in row, and control the row width?

Following my other question \documentclass{article} \usepackage{forest} \usetikzlibrary{backgrounds} \usetikzlibrary{arrows.meta,shapes,positioning,shadows,trees} % \tikzset{ basic/.style = {line ...
1
vote
0answers
46 views

Chapter with one big table appears one page later on ToC [closed]

I have made a chapter with no header (like I saw it in this question Start a new chapter without heading) that consists only of a big table. The chapter appears in the table of contents, but one page ...
11
votes
1answer
191 views

Why does ConTeXt use \NC..\NR instead of &..\cr?

When Knuth came up with the catcode table, he dedicated the character & to catcode 4, the alignment tab. It happens rarely that people change these default catcodes and I guess most users have ...
2
votes
0answers
59 views

Why my table caption shift line! [closed]

\documentclass[conference]{IEEEtran} \usepackage{graphicx} \usepackage{amsmath} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \hyphenation{op-tical net-works semi-conduc-tor IEEEtran} ...
3
votes
2answers
50 views

Macro expansion with colortbl and tabular

I would like to alternate row colors in a tabular environment. I found colortbl useful. To simplify writing, I built the following macros to alternate row colors (see MWE below). However, I cannot ...