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

1
vote
1answer
22 views

color multirow in a table

I am trying to color a multirow in my table, but withou success until now: \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage{multirow} \usepackage{hhline} \usepackage{colortbl} ...
1
vote
0answers
23 views

Using `\hhline` coloring cells of a table

Sorry for this simple question. I am trying to color some cells of my table. Unfortunately, if I color two neighbouring cells, the lines of the table disappear. I have found some questions about this ...
3
votes
2answers
35 views

How to align table and caption when table is centered on page

I haven't been able to figure out the best way to set up my tables. These are the features that they are supposed to have: Should be centered on page Caption should be "justified" and aligned with ...
8
votes
4answers
171 views

How to merge two tabulars into a single table the width of the column?

I am asking for advice on achieving two separate effects in the table environment. (1) I have two tables with a different number of columns. I need to merge them into a single table. I have this ...
0
votes
0answers
23 views

table with columns of same width [duplicate]

Using tabularx package and settings makes table as wide as the paragraph. I believe siunitx is not the option either as I have no decimals in the table. My code is: \documentclass{book} ...
3
votes
2answers
35 views

Align a Table with the Edge of Text

In a document I am working on, I want to use a table. However, the point at which the table belongs is heavily indented due to multiple enumerations. This results in the table being placed much ...
2
votes
2answers
37 views

Horizontal Table spacing problems

I've created a horizontal table using the tabular package. The rotating package isn't playing nicely with one of my other packages, so I can't use \sidewaystable. However, my table still runs off the ...
1
vote
2answers
30 views

First row in second table created is blacked out

I am a LATEX/R/Sweave newbie and am encountering an issue while creating a report. The issue is that as shown in the figure below the first heading in the second table is blacked out. I am able to ...
2
votes
1answer
41 views

Line break in table [duplicate]

I want to go on writing in the first array but in a new line. The command \\ is not working for this. Can anybody help me please? My code is: \documentclass{article} \usepackage[landscape]{geometry} ...
4
votes
3answers
46 views

The \pbox makes the text crowded

The result is as follows: you will see it is too crowded. And the MWE is: \documentclass[12pt,a4paper]{book} \usepackage{fontspec,amsmath} \usepackage{tabularx} \usepackage{pbox} % For multiletter ...
6
votes
3answers
108 views

Vertical skip between p{…} rows of tabular

I want to increase a bit the vertical spacing in my tabular table. I did something like this: \documentclass{article} \begin{document} \begin{tabular}{p{4cm}p{4cm}} Lorem ipsum dolor sit amet ...
-1
votes
0answers
36 views

space between top caption and table

Im have a question concerning the space between table and it's caption. When I use the three part package the caption is nicely placed in the top of the table, but once I added the table environemnt, ...
0
votes
0answers
18 views

\textwidth in tabular does not add up [duplicate]

I had the understanding that the constant \textwidth is the width of text from the left margin to the right margin. I have been using the same as width specifier in my tables with paragraph. However, ...
2
votes
1answer
45 views

A program to export latex tables to excel/ods/csv?

I know there are tools to export excel tables to latex, but what about the other way around? I get a lot of latex tables from functions in R (e.g.: texreg) that aren't perfectly customizable via the ...
1
vote
2answers
37 views

table with incomplete line

This is probably very simple question: I am trying to generate a table with multiple rows in the last two columns. I have tried the following: \documentclass{scrartcl} \usepackage[utf8]{inputenc} ...
3
votes
2answers
79 views

Removing space around tabular columns set with siunitx

OK, first off, this table is horrendous looking and desperately needs help. But what I'd really like to know is how to eliminate some of the extra white space between the columns set with S in the ...
5
votes
2answers
71 views

image inside a multirow: problems with the vertical space

I have a problem when including an image inside a table using the multirow option. My problem comes from the vertical space dedicated to this row. As you can see in the picture included, the image ...
4
votes
1answer
44 views

How to maintain numbering and labels inside of a tabular

I'm using gb4e in order to number examples in my paper. I want to be able to number a tabular as an example, and then have each line of the tabular be a, b, c, etc. \documentclass{article} ...
4
votes
2answers
94 views

two rotated tables on same page as heading

I am sorry, there seems to be a similar question already, but I didn't get the answer. I have a chapter heading and then two wide but short tables with captions, which I would like to rotate. But ...
2
votes
1answer
49 views

multilingual table content

I want to introduce table that has multilingual content which are (Arabic, English, Vietnamese and Armenian) as the following figure Any idea how to produce that UPDATE: code used to produced ...
2
votes
2answers
94 views

Generating a table but an error occurs

What is the most efficient way of getting the table at http://en.wikipedia.org/wiki/Electrical_resistivity_and_conductivity#Resistivity_of_various_materials into LaTeX syntax? I tried to get it in, ...
3
votes
1answer
61 views

How to fit big table

I'm a novice in LaTeX, started just few days ago, but I have to complete report in a few days and I'm asking for help. This is code for a table: \begin{table} \centering \caption{Measurements made by ...
2
votes
1answer
34 views

Images in table going over cell lines,

I'm trying to create a table with a few images in and it's mostly done apart from the images seemingly overlap with the cell lines deleting them. A shorter MWE is below (the full table will contain ...
2
votes
0answers
25 views

Put brackets around value and uncertainty with exponent in tables with siunitx

I have a number with an exponent and an uncertainty that I want to display in an S-column in a table. When I just put it in, the spacing is terrible, and if I tell the column how much space to reserve ...
2
votes
0answers
30 views

Why is the second column of my tabu not vertically aligned to the middle? [duplicate]

I'm trying to create a SWOT (strengths, weaknesses, opportunities, threats) table, which is a basic 4x2 table. The cells that aren't part of the header will contain itemized text. All cells have to be ...
0
votes
0answers
55 views

\setcounter not working

I'm making a large table in latex with 12 columns. It is to be horizontal on its own page and to do so I am implementing it like: \documentclass[twoside]{article} \usepackage{pdflscape} ...
1
vote
0answers
21 views

Numprint gobbles row-terminating command

I use ctable for my tables, and I'd like to use numprint's autoformatting column types as well. Unfortunately, if the last column of the tabular is a numprint column, it breaks ctable's convenient ...
3
votes
1answer
45 views

Adding vertical space between two \hline

How can I add vertical space between the double line in the example below? I tried to use \vspace, but that results in a Misplaced \noalign error. \documentclass{article} \begin{document} ...
3
votes
1answer
32 views

Automatically splitting large square table across pages

I am writing a program that has to generate a PDF. I decided to generate LaTeX source and compile it with pdflatex. The problem is that one of printed elements is big square table (up to 97x97). First ...
3
votes
2answers
97 views

Table in itemize

Is it possible to include a table in itemize? \begin{itemize} \item item 1 \begin{tabu}[X X] \toprule 150 & 150 \\ bottomrule \end{tabu} \item item 2 \end{itemize} The alignment should be: ...
7
votes
2answers
106 views

Restarting Rowcolors

This should be a simple question. I am using \rowcolors{1}{}{lightgray} to alternate coloring of rows in a table. Is there a way to "restart" the re-coloring after a certain point so that I ensure ...
3
votes
1answer
33 views

Sidecaptions next to sidewaystables

I'd like to place a caption left/right next to my table which is rotated by 90 degrees. So the caption should be next (e.g. bottom right) to the table and both, the caption and the table should be ...
0
votes
2answers
63 views

Multicolum Table

I am new to latex and i would like to draw this table shown in the picture. Any help is highly appreciated \begin{landscape} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|} \hline Characteristics & ...
1
vote
1answer
35 views

How do I make \footcite work in a tabular?

How do I make \footcite work in a tabular? \documentclass{memoir} \usepackage{threeparttable} % nice tables \usepackage{biblatex} \begin{document} \begin{threeparttable} ...
5
votes
2answers
89 views

How to put numbers in parenthesis in the S column using siunitx package

In the following minimal code, when I replace the l columns by S I get an error message saying invalid-number!! Invalid numerical input '(4.36)'.!! See the siunitx documentation for further ...
0
votes
0answers
54 views

LaTeX table rules disappear when using Adobe Reader [duplicate]

I created a PDF document using LaTeX (TeXShop on a Mac) and used the LaTeX command \cellcolor to create colored cells in tables. When I view the document with the Adobe Reader some table rules of ...
3
votes
1answer
35 views

tabular and lstlistings - When importing code in column 2, paragraph in column 1 moves down

A problem surfaces when formatting my ten-page long document and I'm going to try to post all the code that relates to the issue, but know that I'm fairly new to LaTeX so I may not realise some parts ...
4
votes
3answers
61 views

Increase vertical space in table

Creating a table using tabulary I am confronted with the problem that the lines of my table are too small, resulting in that the formulas touch the borders of the table. The code I used is given ...
1
vote
0answers
22 views

tabular not move on the next page? [duplicate]

I am new with latex and I use texmaker for documentation . I begin tabular tag but the problem is all the date in tabular tag is embed on the current page . It is not moving automatically on the next ...
3
votes
0answers
54 views

TeX capacity exceeded with a 13 columns 18 rows spreadtab

Originally I had a spreadsheet with 13 columns and 18 rows. Applying pdflatex or xelatex to this sheet I got: ... cell K15 ! TeX capacity exceeded, sorry [save size=80000]. Then I reduced the ...
3
votes
3answers
69 views

rotate table (90 degrees) and stretch to fill whole page

i'd like to rotate a table (90 degrees) and stretch it to fill whole page. That's what i've got so far: \documentclass{book} \usepackage{tabularx} \usepackage{adjustbox} \begin{document} ...
1
vote
1answer
37 views

Fix tables at a given PAGE so that Table is not moving down when adding texts above it?

I have looked over all the possible duplicate questions this whole day, and I still can not find an explicit solution to my problem. I'm thinking to fix my table, wrote in tabular, at a given PAGE. I ...
0
votes
0answers
27 views

Table won't stay anchored in two colums article [duplicate]

I'm trying to put a table placed in the two columns of an article. This I can do. The problem is it won't stay in the middle of the text. Here is my code, \documentclass[11pt, twocolumn]{article} ...
9
votes
2answers
96 views

Error when using defs inside a macro to write a row in a table

For the following MWE \documentclass{article} \newcommand{\cmd}[5]{% \def\tA{#1}% \def\tB{#2}% \def\tC{#3}% \def\tD{#4}% \def\tE{#5}% \tA & \tB & \tC & \tD & \tE \\ } ...
1
vote
0answers
43 views

How to make this following table? [duplicate]

I don't know how to make the diagonal line at the top left.
2
votes
0answers
58 views

Tables in LaTeX

What is the fastest/easiest way to create and edit tables on LaTeX on a Mac? I need a fast way to merge cells, add and delete rows e.t.c. I have tried using lyx and some online table generators but ...
0
votes
1answer
51 views

Math in a table

Im trying to put some \times and \power in a table, but it isn't quite working. \usepackage{mathtools} \usepackage{amsmath} \begin{tabular}{| p{3cm} | p{9cm} } \hline \bf hardware & \bf ...
3
votes
1answer
48 views

Avoiding breaks in vertical bars in a tabular environment

I'm having problems defining the width of a vertical line. I want those 2 lines in the pic to join: \documentclass{article} \begin{document} \begin{tabular}{r|p{11cm}} \ {Feb, 2014 - } & Master ...
1
vote
0answers
20 views

Last element in each row of a matrix getting pushed to next line [duplicate]

The following matrix is not displaying all elements in each row on the same line, the last element in each row is getting pushed to the next line. If I delete the last element then the matrix displays ...
2
votes
1answer
47 views

Place a column vector surrounded by square brackets in a 3-column table?

I have a 3 column table and in the third column I am representing a $20\times 1$ vector. I would like to put square brackets on each side of this vector. ...