{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
1answer
42 views

figures and sub figures are too wide in a row to see in the document

I am facing an issue of floated figures and their sub figures and tables adjustment in the compiled document... They get out of the document and can't be seen when it is compiled. kindly help!
1
vote
1answer
40 views

Vertical centering with \multirow

I'm trying to make a table with some subfigures in it, and for the moment I obtained this (showframe activated): But I'd like to obtain something like this, where the legend is vertically centered ...
2
votes
1answer
114 views

New Question: Serious problem by creating a figure

I have now trying to make this model: But I do not know how to add the nodes in top; "1 text", "2 text", "3 text" and "4 text". Furthermore, I do not know how to make a fourth box, as shown: "9 ...
0
votes
1answer
37 views

Make lines of table same width as text of table with tabularx

This code: \documentclass[a4paper,11pt]{article} \usepackage{array} \usepackage{booktabs} \usepackage{tabularx} \begin{document} \begin{table} \centering \footnotesize ...
0
votes
1answer
37 views

Problems with table - extra column

When I try to make my table - it won't create a fourth column. My preamble look like this: \documentclass[a4paper,11pt,oneside]{article} \usepackage[protrusion=true,expansion=true]{microtype} ...
4
votes
1answer
104 views

Table - problem with two lines (NEW)

Dear TeX Stackexchange I have one issue, when I create my table. As you can see on the picture below, the three black lines don't go to the right but stops under (10): My text look like this: ...
1
vote
2answers
30 views

Table not adjusting to page

I cannot make this table adjust to the page of my document, not even when I set font size to tiny. Any ideas? Thanks in advance. \begin{table}[htbp] \tiny \begin{adjustwidth}{-1in}{-1in} % ...
3
votes
2answers
32 views

How can I define table column by width and align it using siunitx at the same time in a longtable?

I have this MWE: \documentclass[12pt,landscape,a4paper]{article} \usepackage{multirow} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{longtable} ...
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} ...
4
votes
2answers
138 views

Table with multirow, multicolumn, interior braces and vertical entries

Partly as a challenge and partly because I wanted an electronic copy, I sat down last night to try to LaTeX the following complicated table: The first problems I encountered were the size and the ...
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
17 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
1answer
39 views

Vertically aligning form fields within a table

I would like to vertically align form fields within table rows. The problem I am facing is that other columns within the same row can stretch over multiple lines. Solutions as sketched in form field ...
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
36 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 & ...
1
vote
0answers
62 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 ...
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
46 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
39 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} ...
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 ...
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} ...
2
votes
1answer
51 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
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 ...
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 & ...
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
34 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 ...
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 ...
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
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} ...
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 ...
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} ...
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} ...
0
votes
0answers
19 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 ...
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:
1
vote
2answers
43 views

Landscape mode makes landscape page too small

I used the instructions from how-to-change-certain-pages-into-landscape-portrait-mode to create a table with plots in landscape mode. The page is turned , but with the left side up, instead of ...
1
vote
1answer
39 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.
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
95 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 ...
4
votes
4answers
210 views

siunitx error: “invalid-number” Invalid numerical input 'e'

Well I've been working in some tables and for the number alignment I normally use the siunitxpackage since Mico helped me with this question. But I've had in these new tables an error I don't ...
0
votes
0answers
35 views

best way to capture R output into latex table

I am running a bunch of models in R using the caret package. This package is an interface to many modeling techniques and methodologies. There are certain output of each model I'd like to convert to ...
0
votes
1answer
71 views

How can I reproduce this?

How can I reproduce this table?( ignore the text allignment below) ?