{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} 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
0answers
50 views

How to automatically set the height of the combined cell when using multirow package

Here is the simplified code to demonstrate my issue: \documentclass[11pt]{article} \usepackage{multirow} \begin{document} \begin{tabular}{|c|c|c|} \hline & & \\ \hline \hline ...
2
votes
1answer
151 views

parameter description with long descriptions and long lists — possibility of page break?

I have a series of equations with following parameter description. Some of those descriptions are relatively long, meaning that I nead a line break. I use so far table, and to accomodate the long ...
2
votes
1answer
76 views

How to make multicolumn width the total of the declared width of each column?

For example I have this table: \begin{longtable}[c]{ p{1.0in} p{1.5in} p{2.0in} p{2.5in} } \multicolumn{3}{l}{ Partner } & \hfill Total \\ \end{longtable} But the result is that the ...
2
votes
1answer
148 views

How to vertically center a table cell content when using sideways?

I have the following table: \documentclass{article} \usepackage{graphicx} \usepackage{multirow} \usepackage{adjustbox} \usepackage{rotating} \begin{document} \begin{table}[htbp] ...
2
votes
2answers
115 views

Using seqsplit with multicolumn

I want to create a longtable with headers centered, columns left or right aligned. Thanks to my previous question: Right aligning two columns next to each other in longtable and its great answer, I've ...
2
votes
1answer
233 views

Right aligning two columns next to each other in longtable

Reading this other thread, I found how to right align a column in longtable. However if I want to right align two columns that are next to each other: ...
2
votes
2answers
393 views

Including HTML code side by side in Latex [duplicate]

I want to write HTML codes of two pages side by side in LaTeX like as follows: <html> <html> <head> <head> </head> </head> <body> <body> ... ...
2
votes
1answer
3k views

Error on tabular latex

I'm getting an error on latex and don't understand why ... The purpose was to create some tables on latex, but it is getting me some error which i don't really understand ... Any hint for me please ? ...
2
votes
2answers
158 views

Add vertical line margin-aligned from a given point through subsequent pages

Using the memoir package, I would like to have a vertical line on my margin like this: Some leading content ... vertical space ... ---------------------------------- XYZ | Content A | ...
2
votes
1answer
112 views

Last cell in complex table not behaving

I am having a hard time figuring out why the text in the last cell on each row of this complex table I am creating is not positioning correctly. As you can see from my code, the issue only occurs when ...
2
votes
1answer
204 views

Make a list with uniform spacing regardless of the characters and number of text lines, possibly with minipages or a table

I am trying to make a list with two columns, where I can used different font sizes and have single- or multi-row columns, while adhering to the page margins and aligning the text properly regardless ...
2
votes
1answer
173 views

Can the siunitx table alignment feature, S, align ratios?

I'd like to align a list of ratios in a column of a table by the colon. Is this possible using siunitx? For instance ratios like the following. 1:0.9 1:1.0125 1:0.99
2
votes
1answer
467 views

Transparent table captions when using onslide with overprint and setbeamercovered{invisible}

The following works correctly in that the right table is shown at the right time, and all alignment works as expected. The only issue is that while the table body is shown as normal, the table ...
2
votes
1answer
239 views

table inside a main table

I want to have a table which contains many tables. I want its caption also. MTab1 and 2 are single col and row matrix. length of Mtab1 and 2 should be equal to T1 and T2.It means Row of MTab1 = 7 ...
2
votes
1answer
123 views

Text gets out beyond the table

I use WinEdit and try to make a table. The problem is that I can not move the text in a multirow to the second line. There are the packages I use: \documentclass[12pt, a4paper]{article} ...
2
votes
1answer
322 views

Adding a knitr table from R into a \pgfplotstableread statement

I'm trying to get a table from R into a pgfplotstable to edit for printing. the r code is \documentclass{article} \usepackage{pgfplotstable} \begin{document} \pgfplotstableread[format=inline,row ...
2
votes
1answer
94 views

Enumerated column in tabular

How can I have a column in a tabular environment so that the first column is automatically produced? Something like this: \begin{table} \begin{tabular}{lc} Step & Comments \\ 1st & a \\ 2nd ...
2
votes
2answers
200 views

How to arrange / align / place pictures and text, to form a given headline?

I tried to solve this with tables, but the alignment didn't turn out good. And because I am very confused, if I should even use a table aproach or a minipage or a tabspace, I wondered, if someone ...
2
votes
1answer
248 views

Automatically change the text width for all table environments using memoir

I'd like to redefine the table environment in a document I'm writing so that the tables and captions are wider than the text block. I'm using the memoir class, and an example given in the manual is ...
2
votes
1answer
290 views

Stretched columns when trying to color individual cells

I'm trying to make a time plan for a project using tables in LaTeX but I've run into a small problem. The table below will look fine until I try to colour individual cells by adding ...
2
votes
2answers
2k views

table with tabularx and multirow

While using tabularx and multirow I tried to import this table (made with Word) in LaTeX: but it's not really working. It seems as if there isn't enough space for the text, but shouldn't taburlarx ...
2
votes
1answer
159 views

building a table of images

I seem to have run into an impassable issue that I need help solving, and I am 100% aware that this is impossible just pure LaTeX but I wish it was. So onto the question at hand. I am wanting to ...
2
votes
2answers
129 views

Reserve the place for further overlays

I have 3 parts in a tabular, I want onslide1- to be always displayed. After 1 clic, I want only2 to be shown; after another clic, at the position of only2, I want only3- to replace only2 forever; ...
2
votes
2answers
181 views

How to doublespace a sidewaystable using setspace?

As a follow-up to a previous question, How to doublespace a table using setspace?, I found that the solution is not compatible with the sidewaystable environment defined in the rotating package. I ...
2
votes
1answer
348 views

Misalignment of table columns when using multirow

I have a LaTeX document in which I am using custom environment and commands to make everything a bit easier. However, when I use the multirow command in one of my custom environments, the alignment of ...
2
votes
1answer
496 views

Long table in landscape mode with alternating row colors does not work with \multicolumn

I am trying to put together a longtable in landscape mode over several pages using the longtable package. The idea is simple. I want alternating row colors in the main body of the table. However, ...
2
votes
1answer
217 views

How to use alternate table coloring with wrapping column?

I am working on table in which the last column is wrapped with a command \Addbreakable. I need to color alternate rows as well. But I can do either \Addbrekable or coloring alternate rows. Note: ...
2
votes
1answer
2k views

table doesn't work with baposter

I am making a poster with baposter. When I want to make a talbe (put in \headerbox{}), I got error message: ! LaTeX Error: Not in outer par mode. See the LaTeX manual or LaTeX Companion for ...
2
votes
1answer
320 views

How can I get two tables side by side in landscape mode?

I'd like to get two tables side by side in landscape mode with an appendix title at the top. Here's what I've been working with: \documentclass{article} \usepackage{pdflscape} \begin{document} ...
2
votes
2answers
2k views

Bold \hlines for longtable

I've searched the topic and found the following two answers. Answer 1. LaTeX tables: How do I make bold horizontal lines (typically \hline)? The best answer suggests to use booktabs. However ...
2
votes
2answers
303 views

Centering content in cells adjacent to Sideways Headings

I have a table produced by the following code: \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{rotating} \begin{document} \begin{table}[ht] \begin{center} ...
2
votes
3answers
525 views

How to align p-values description in the notes of a table?

I am trying to format the p-values description in the notes of a table. The whole table layout is done with Stata (using command esttab) but changing the p-values format seems to be impossible. ...
2
votes
2answers
1k views

Increase space between two tables in minipage and TikZ overlay

Sorry but this is the MWE I could post. I also attached the image. The top image is what I am getting and the bottom one is what I desire. I manage to create nodes but do not know how to connect them. ...
2
votes
1answer
2k views

sidewaystable misplaced in twocolumn document

I need to format an existing document to accord to the guidelines of a paper. The existing document contains a big table, contained in a sidewaystable environment: \begin{sidewaystable}[p] ...
2
votes
2answers
2k views

Moving Table to Left and Adding Space to Columns

In the following table, the numbers take up too much room. I do not want to landscape the table because there are too many rows. So, I'd like to do both of the following: Create more space between ...
2
votes
2answers
514 views

siunitx multicolumn problem

In addition to Right-centered columns in LyX, I have another problem, now with multicolumns. I want to center the number "98" (which spans two columns) above the two other columns. These shall be ...
2
votes
0answers
2k views

How to make a given table line bold

Hi is it possible to make a chosen line of table (created by longtable) bold ?? I saw this question Make first row of table all bold but the answer refers to array package. It is possible to ...
2
votes
1answer
1k views

siunitx, threeparttables and table footnotes

I am trying to use the S option of siunitx for table alignment alongside with threeparttables for table footnotes, but it looks like that the footnote mark is flushed left everytime \tnote{} is used. ...
2
votes
2answers
261 views

Macro behaviour different inside tabular environment

I have a lot of problems lately with macros expanding (or not expanding) at unexpected times, so thought I was having a related problem here. But, in this case, things are working as I want outside of ...
2
votes
1answer
359 views

Problem with side-by-side tables

I've checked out related questions here, and found similar answers via Google, and still can't figure out why the following code does not produce two side-by-side tables. They are narrow enough to fit ...
2
votes
2answers
2k views

How combine make diagonal column heads in table with multicolumn headers

I want to fit this table on a portrait format page and make the columns that show numbers to be of equal width however, type 3 has a longer name than the others, hence setting the column heads ...
2
votes
1answer
627 views

How to remove colon(:) on longtable suffix caption

Using svmono package and \renewcommand\tablename\{Tab.}. When I use table, the caption shows “Tab.1 Bah Bah”. But if I use longtable, the caption shows “Tab.2: Bah bah”. How to remove colon as “Tab ...
2
votes
2answers
1k views

Starred version of “xtabular” not working

I want to insert a long table in a two-column paper. I tried "tabular" first, but the problem is that it doesn't divide the table among pages. Then people in this post suggested that I use xtab: In ...
2
votes
2answers
807 views

table notes in memoir

How do I have footnotes in a table while using memoir? I tried ctable, but I get the following errors: /usr/local/texlive/2008/texmf-dist/tex/latex/hyperref/hyperref.sty:4022: No room for a new ...
1
vote
2answers
184 views

Want to make the colorful table in LaTeX

I make this Table MS Word. But I am interest to make this Table in LaTeX % Table generated by Excel2LaTeX from sheet 'Sheet2' \begin{table}[htbp] \centering \caption{Add caption} ...
1
vote
1answer
49 views

Flushright or left of a long Table [duplicate]

I have a very long table that cannot be displayed on the page because it is too long and the right hand side of the table has been cutoff. How can I modify the \begin{center} to something else so ...
1
vote
0answers
51 views

Missing lines when shading cells [duplicate]

I cannot figure out why lines are not being showed on the shaded columns. Can I get a little help finding what is wrong? EDIT: The MWE follows: \documentclass[12pt, a4paper]{article} ...
1
vote
2answers
89 views

Table with multi column

i have this code \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{|c|c|c|c|c|c|} \hline \multirow{3}[4]{*}{Tested Text} & ...
1
vote
0answers
27 views

Latex: obtain an empty row with central alignment [duplicate]

Is there a way to produce a table in LaTeX in the way as is depicted in the attached image? I have tried the following code, but I am not able to obtain an entire empty row with, say, "cold cache" ...
1
vote
0answers
116 views

\rowcolors causes missing vertical lines [duplicate]

When using \rowcolors to alternate row coloring, some vertical lines are missing in the restulting table. \documentclass{scrreprt} \usepackage[table]{xcolor} \begin{document} \begin{table} ...