{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
0answers
22 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
97 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} \...
60
votes
3answers
95k views

Increase LaTeX table row height

How does one increase the height of the rows in a LaTeX table?
2
votes
2answers
44 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 ...
4
votes
3answers
78 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
35 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
83 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
87 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
31 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
97 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
64 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
83 views

Change footnote number to text using tabu

Problem: Changing footnote default numbering to text using the tabu package. Minimal Working Example (MWE): \documentclass{article} \usepackage{array,booktabs}% http://ctan.org/pkg/{array,booktabs} ...
5
votes
1answer
206 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
50 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
61 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
42 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
39 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
84 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
38 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
34 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
56 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
55 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
31 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} \...
0
votes
1answer
42 views

Remove line between caption and table

How I can remove line between caption and table? My code is: \begin{table}[h] \tables{360pt}{1.875pt} \caption{EG unit Characteristics for TPC and 201 bus distribution systems} \label{tab1} \begin{...
1
vote
0answers
25 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
37 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
143 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
44 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{...
4
votes
1answer
63 views

multirow left align and centering

I am using multirows and my code is as follows: \begin{table}[H] \footnotesize \setlength\tabcolsep{2pt} \begin{center} \caption{\\ \fontsize{10pt}{12pt}\selectfont \normalfont insert title } \...
2
votes
0answers
80 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 ...
3
votes
1answer
92 views

How to calculate a page subtotal?

I have a longtabu that spans multiple pages. I would like to be able to provide a page total that sums and/or counts the values in one or more columns. Does anyone have an idea how this might be ...
1
vote
1answer
72 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
40 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
80 views

Table formatting, headings

Do you know how can I set the following tables in LaTeX? (Just the first two lines are enough)
3
votes
1answer
64 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
43 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
122 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
40 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
1answer
38 views

Table with Multiple Header Column Span and Footer Total Line

[][] I'm having issues formating this table. I have it set out, but i cannot get the \multicolumn to span two main headers and a bottom span. \begin{tabular}{ |p{.6cm}||p{2.5cm}|p{1cm}|p{1cm}|p{2....
2
votes
1answer
111 views

2nd Column EnvironmentTable and figure 2x2 on the top of 1st and 2nd page

Can anyone help me revise my code so that I can achieve the following goals. 1.How to make the table to be on the top of the first page? Now it skips the first page and jumps to the middle of the 2nd ...
1
vote
0answers
44 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 ...