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

3
votes
2answers
70 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
36 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 ...
3
votes
2answers
124 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
2answers
39 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
115 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
195 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
93 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 ...
3
votes
2answers
35 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
109 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
22 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 ...
4
votes
3answers
129 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
28 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
69 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
28 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
24 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
100 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} ...
3
votes
2answers
64 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
2answers
94 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
51 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
33 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
32 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
108 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} ...
0
votes
2answers
33 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 ...
2
votes
2answers
49 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
372 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
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
39 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
33 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
40 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
83 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 ...
3
votes
2answers
41 views

I want to have more than one footnote in a table. What's the best way to get this to work right?

I want to have more than one footnote in a table. But then the footnote counter has incremented too many times by the time I've gotten to the first \footnotetext. What is the best way to get this to ...
0
votes
0answers
25 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
70 views

How can I reproduce this?

How can I reproduce this table?( ignore the text allignment below) ?
1
vote
1answer
26 views

toc-like forward storage for captions

Dear experts: how does one write out the table captions for use later? Think \documentclass{article} \newcommand{\mycaption}[2]{\caption{#2}\label{#1}\savecaptioncontent{#1}{#2}} ...
5
votes
2answers
4k views

Tabular, make a column or a row emphasized

I want to create a table and to make all cells of a column emphasized. Is there a simple way to do it, or do I have to emphasize every single cell?
7
votes
2answers
768 views

Creating an automated table of signs

When solving some inequalities in the context of algebra-precalculus course it is sometimes useful to sketch the behavior of the factors involved using a table. All becomes clear with an example - say ...
2
votes
3answers
28 views

Line break within a cell of a table [duplicate]

I need a line break in one of the column headers. I tried using the suggestions from the earlier posts but since the column header is an equation, I couldn't use them. I need the line break in the ...
2
votes
1answer
22 views

Latex Table is moved by Appendix Chapter Heading

In the screenshot we see two tables and I want them on the same level.. I am pretty new to Latex so I really dont know what to do.. Thanks in advance!
2
votes
1answer
37 views

How to write the caption of a english table in Persian when using xepersian package?

I am writing a report using the documentclass{report} and xepersian package. I have some tables in english but I want the caption to be in persian. Since I use the xepersian package, I have to put ...
5
votes
3answers
150 views

bullet in table not aligned

I created the following table. however, the bullets are not aligned. What can I do to get them aligned? \documentclass{beamer} \usepackage{booktabs}% http://ctan.org/pkg/booktabs ...
4
votes
1answer
38 views

xymatrix spacing in lyx

I'm trying to use lyx to make an xymatrix with narrowed spacing between the rows. I found in Peter Gumm's notes http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf that I could add to the ...
0
votes
1answer
71 views

Underline text within table

I want to underline a short text and at the same time want the underline to span the width of that column according to the text width. This is what i tried but i have to manually specify the makebox ...
2
votes
1answer
20 views

Table with 2 columns, each further divided into 2 columns

I'm trying to create a table as shown in the attached picture. I declared the first row (or header) as multicolumn to get 2 columns and it works as expected. On the second row, I again declared ...
0
votes
1answer
26 views

centering within a table cell not working in one cell only [duplicate]

I'm trying to create a table using custom columns as explained here. For some reason in the last row of my table the very left column is not centered horizontally and I don't know why. Here is the ...
1
vote
1answer
73 views

Row Padding, Row by Row

Here's my MWE that is almost right... except for the excess padding in the top row which I would like to reduce to 0.2cm. The rest, I'd like to keep at 1.5cm. ...
2
votes
1answer
26 views

centralising the table contents

could anyone help me to centralise the table using this code, please \usepackage {ctable} \begin{tabular}{llr} \toprule \multicolumn{2}{c}{steady-state error} \\ \cmidrule(r){1-2} ...
1
vote
2answers
32 views

aligning text in a cell of a table

How to vertically align short stack in a cell of a table? I am using "\shortstack" and would like it vertically centred in the cell of a table
6
votes
1answer
62 views

How does the \newcolumntype command work?

I'm a StackExchange and LaTeX newb trying to figure out tables and tabularx. Sometimes I copy code but don't actually know what I'm doing or why it works or fails. Can someone explain to me how the ...
2
votes
1answer
82 views

How can branch if I'm in a halign or not?

Edit: It seems that I can use \noalign\bgroup before the \halign. That's fine. But how do I test that I'm inside the halign group? I'm able to write an own if, but it would be better to ask tex for ...