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

0
votes
1answer
34 views

Formatting tables so that they fit within page width

I want to get a table that looks like However, when using \begin{tabular}{|p{2cm}|p{3cm}|p{3cm}|p{3cm}|} \hline Time-Scale & Mechanical Machine State Variables & Electrical Machine State ...
2
votes
2answers
39 views

Formatting table lines in landscape using tabularx: they stop halfway through

The lines in the table somehow stop halfway through the table. Any advice would be much appreciated! \documentclass[11pt,a4paper]{book} \usepackage{booktabs} \usepackage{tabularx} ...
3
votes
1answer
137 views

using references inside a table

I am trying to analyse my bibliography in a Tabular way, to obtain the following output: for this, I use the following piece of code \documentclass{article} \usepackage{mathtools} ...
3
votes
1answer
51 views

Vertical top align gloss with \gll from gb4e in tabular

I looked through the questions but couldn't find someone with the same problem. \documentclass[12pt,a5paper]{book} \usepackage{gb4e} \usepackage{tabularx} \begin{document} ...
13
votes
3answers
3k views

Errors with ragged-right justification in tables

My main goal is to disable text justification in tables and just have left-aligned text. I've loaded the array package and defined a custom \newcolumntype like so: \usepackage{array} ...
3
votes
1answer
106 views

Siunitx S column with line break

I have a table with many S columns of the siunitx package containing mean and errors. The table is to wide for the page width when the mean and error are typed in one line. However breaking a line ...
2
votes
1answer
44 views

Various table formatting problems

I've been trying to format a table for my thesis for two days and it just doesn't work. I've already searched everywhere for answers but couldn't find them and/or understand them. Here's what I want ...
0
votes
0answers
19 views

Automated correlation table labels each variable with a number in the first column

I would like to generate an automated correlation table with both summary statistics and correlations with asterisks. More importantly, due to a large number of variables and variables with long ...
1
vote
0answers
65 views

Customizing the tabular environment — \rowcolor without \\ causes problem in the next tabular — bug in colortbl?

I boiled down the problem to much more simple MWE. See the update below. I tried to customize the tabular environment to make it easy to use a coherent style throughout my thesis. I wanted for the ...
3
votes
2answers
146 views

Segmented table

Can I do this kind of table in LaTeX? I'd like to apply the answers to this table: \documentclass[10pt]{article} \usepackage[left=1cm,right=1.5cm,top=1cm, bottom=3.5cm]{geometry} ...
5
votes
1answer
194 views

Problem with uline and table-format in siunitx table

I asked a previous question about underlining data in a table when using the siunitx S column definition (see Use of underline and siunitx in a table). The advice given was perfect until I added ...
0
votes
1answer
27 views

Keep two inserted tables on the same page [duplicate]

I have produced two tables that when ran from the same LaTeX file are positioned on the same page, one under the other. However, when the two tables are called upon by using \input they appear on two ...
1
vote
1answer
37 views

Wraptable width according to table width

Is there a way to set the width of a wraptable to the width of the tabular that it is containing rather than setting a specified width? \begin{wraptable}{r}{8cm} \begin{tabular}{lcc} \toprule & ...
35
votes
2answers
12k views

How to diagonally divide a table cell … properly?

There have been many threads discussing solutions to the task of drawing a diagonal line in a table cell. There are also two packages to do this, slashbox and the better looking makecell with its ...
21
votes
2answers
24k views

How to use itemize in Table environment

I want to create a table like the picture below, and i wish to itemize the lamba_1 > lamba_2 > 0 using 'item style', which is the cell of each categories. Can someone help me?
1
vote
1answer
40 views

Space between section name and tables

I am producing some tables (with no texts) to send the results to my coauthors. I am using the table environment to get automated table numbers and to contain the footnotes within table borders (below ...
3
votes
2answers
34 views

Overlapping table entry

When using multirow, the entry overlaps to other columnn Here is my code: \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{table} ...
2
votes
1answer
47 views

How to align text vertically and horizontally in table cells of the same column?

I want to top align and right justify the text in all tabularx cells of a certain column. So far, I tried: \documentclass[a4paper,10pt]{article} ...
1
vote
1answer
39 views

How to define numbering for figures and tables? [duplicate]

I am writing a document with several figures with subsections numbers in the 2.1, 2.2, etc. format. I would like to number the figures in each subsection with a 3 digit format, for example: Figure ...
3
votes
2answers
40 views

How to remove Double spacing in Table “Cell Wrap”?

Assume I have a text with double spacing. Now to visualize table cell wrap (automated table cell wrap is not possible in Latex as far as I know), I want to space this "cell wrap" with single spacing. ...
2
votes
2answers
67 views

tabular side-by-side, same rows height

Quick advise: I want to have a tabular side-by-side. How would you guys suggest me to go about making sure they have the same height? Consider the case: \documentclass{article} ...
0
votes
1answer
24 views

Split table in 2 or more pages using table* and tabularx

I need to put this large table distributed in more than one page. As she has a lot columns also, I could only do fit all columns on the page using tabularx and resizebox. A part of the table is as ...
3
votes
2answers
82 views

Trying to reproduce an unusual table

I'm a LaTeX beginner. I know (somewhat) how to make a traditional table but I cannot figure out how to reproduce this table. I would very much appreciate if someone could show me how this kind of ...
2
votes
1answer
52 views

Matching width of Caption background with Table width

I am trying to color a table with a background color and the caption with a different background color. I must use the tabular environment, none of the tabulary, tablarx, tabu, tabular* will be ...
2
votes
2answers
47 views

Sweave: Floating Text and four tables anchored at bottom of the first page

I am trying to create a document that contains floating text that can extend over more than one page in length together with four tables that are anchored at the bottom of the first page (top left ...
2
votes
4answers
132 views

Move table in `book` class documents

I need to add some tables in book class document. At times the table is wider than the text. This is no problem when it happens on odd pages since they have bigger right margins and I will bind from ...
0
votes
1answer
200 views

I need this tikz and tabular sketch at the right of my presentation, and an itemize at left, but too much length

I need this tikz and tabular sketch at the right of my presentation, and some text at left. Unfortunatly the text is at left but in the down part of my frame, I need it at the center and starting ...
1
vote
1answer
95 views

Support sections on the bookmark in landscape mode

I'm writing a book and I want to put a unnumbered chapter (chapter*), where I will discuss the results and then put the results in tables. These results are divided into three options, so I want to ...
4
votes
2answers
42 views

extra lines before table

\documentclass[12pt]{article} \usepackage{tabularx} \begin{document} \section{section 1} \begin{tabular*}{0.75\textwidth}{@{\extracolsep{\fill} } | c | c | c | r | } \hline label 1 & ...
4
votes
2answers
122 views

RTL with tabluar

This is a question about xelatex, even though I mention LyX here. My goal is to produce an RTL table with one row, two columns, which looks more or less like that: ...
0
votes
0answers
23 views

LaTex and Tables [duplicate]

Please consider the following LaTex document: \documentclass[a4paper,11pt]{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{float} \usepackage{array}% in the preamble % define the title ...
5
votes
3answers
138 views

Why is the vertical separator not complete in the table?

This is my code. \documentclass{article} \usepackage{pbox} \usepackage{graphicx} \begin{document} \begin{table}[H] \centering \caption{Effect of Tilt on Module Output Power} ...
1
vote
1answer
35 views

Position of caption in LyX

I used sidecap package in LyX to put the caption on the right of the tables, but I got problem with it. sidecap works good with figure caption but it's not good with table caption: Please are there ...
3
votes
1answer
86 views

How to make a longtable has rounded corners?

I try this, but it does not work \begin{table} \caption{A table with rounded corners} \centering \begin{tikzpicture} \node (table) [inner sep=0pt] { \begin{longtable}{l|l} ...
1
vote
1answer
36 views

\cite in 2 line in the same cell

I am trying to write a tabular in which the second column contains some references (\cite{}). The result obtained is a unique line for each cell, and I would like to fit the reference in 2 line, in ...
2
votes
1answer
25 views

How can I cross reference a column name in a table?

I have quite a big table in my latex document and in the text accompaning the table, I would like to state something like: As presented in column A in Table III, it is ... I know how to cross ...
1
vote
3answers
105 views

How to fit the table?

I'm sorry for my English. I just need to make a table with some long sentences. When I'm doing it I get the following result (see the picture), using the following code: \begin{center} ...
0
votes
2answers
102 views

least complex way to make this table

I don't know either to make one big table and sub each cell or make two tabular beside each other?
3
votes
2answers
59 views

Using \item in the first column of a table

I have a list and a sublist both created with \enumerate, and each item in the sublist consists of two halves (both math). How could I separate the halves so that the first half of each row is ...
1
vote
2answers
41 views

Insert table in document with 2 columns layout?

I need to insert the following table to a document that has a 2 columns layout: \begin{table}[] \centering \caption{Three possible values of the difference in the probability of course completion of ...
0
votes
1answer
33 views

Wrapping text and changing column width in latex table

I recently asked for help in reducing the width of my tables to that of the text for my thesis. The answer worked perfectly for tables with lots of small columns but not ones containing lots of text. ...
3
votes
2answers
119 views

How customize length of rule in tables?

I want to customize the length of the midrule (xy cm) in the first table. The second table should be default. How can that be done? \documentclass{article} \usepackage{booktabs} \begin{document} ...
2
votes
2answers
63 views

From table to longtable

I have tried to convert this table to longtable but did not succeed and am hoping that you can help. The longtable-package is loaded already. \documentclass[a4paper,oneside,abstracton]{scrartcl} ...
4
votes
3answers
392 views

How to deal with schemes of curly braces

I'm looking for a package if it exists or options to deal with schemes that use curly braces. In general, how can I do something like this:
0
votes
0answers
20 views

Use of tabular format to insert images [duplicate]

I have used a table to insert images using the suggestion at this SO question. The problem is that I have several images to be placed and hence the images start getting hide behind the bottom of the ...
5
votes
0answers
41 views

Use of \cmidrule in booktabs [duplicate]

I'm using the method from this post to generate booktabs tables with alternating rowcolors (yes I know it's a frowned upon practice but I have to use it). Now I want to use \cmidrule to generate a ...
1
vote
3answers
48 views

Vertically aligning content in table cell

I have the following code: \begin{table}[h] \begin{tabularx}{\textwidth}{ m{4cm} X } & Derivations \\ $v=v_0+at$ & test \newline test \newline ...
1
vote
1answer
40 views

Landscape table doesn't fit in the page

I managed to create a landscape table but the problem it doesn't fit in the text width as shown below. Any idea to solve this problem. My code is provided below. \begin{landscape} ...
2
votes
1answer
41 views

Column in horizontal middle of page

I want to write a table with 3 columns. The second should be in the middle (horizontally) of the page. Thanks, Adrian.
2
votes
2answers
96 views

Creating a table with column headers not having vertical lines between them

I need to create a table where all the cells have vertical spacing between them except the column headers. It is like Please help me out with this. I have multiple tables like this one in my thesis ...