{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
14 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
26 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 ...
0
votes
2answers
93 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
3answers
99 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
31 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
64 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
40 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
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 ...
4
votes
3answers
368 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
2answers
31 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
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.
3
votes
2answers
107 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
82 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
61 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
24 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
69 views

How can I reproduce this?

How can I reproduce this table?( ignore the text allignment below) ?
2
votes
3answers
27 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 ...
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}} ...
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 ...
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!
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 ...
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 ...
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 ...
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
30 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
59 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
38 views

Appending an empty row after every 5 or 10 rows in LaTeX table

I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks \documentclass{article} \usepackage{longtable} ...
2
votes
1answer
44 views

Misaligned vertical lines in table

In my document I use different kinds of tables, as shown below in a simplified way. My problem only affects the first table shown in the output. Strangely, the vertical lines between columns "B" and ...
1
vote
1answer
72 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. ...
4
votes
0answers
28 views

Change footnote number to text using tabu

Problem: Changing footnote default numbering to text using the tabu package. Minimal Working Example (MWE): \documentclass{article} \usepackage{array,booktabs}% http://ctan.org/pkg/{array,booktabs} ...
1
vote
2answers
44 views

Making several rows in a column

Hi guys I have this really weird table I made in word and want to make it in LaTeX since I am a noob in LaTeX I dont know how to split a column into several rows can some please tell me the coding how ...
3
votes
1answer
56 views

How to align horizontally tikz picture and text in a tabular in LaTex?

I have a table as shown below: My code is: \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsfonts,amssymb,tikz} \usepackage[left=1cm,right=1cm,top=1cm,bottom=0cm]{geometry} ...
0
votes
1answer
46 views

Defining table location in document

I've created a table in my document with the help from here the table looks exactly as I want except it's location in my document , how can I define the location of the table anywhere in the doc ? ...
0
votes
1answer
17 views

Weird error with memoir sidecaption, subbottom and threepartable package

I have a weird error using threepartable, sidecaption, subbottom and memoir class ! You can't use `\prevdepth' in restricted horizontal mode. \TPTdoTablenotes ->\par \prevdepth ...
1
vote
1answer
21 views

cline issue in drawing horizontal lines in tabular environment

I am trying to draw a horizontal line for cells 2 to 3 and then for cell 5 in a table using \\ \cline{2-3,5}. But it does not work for me. Can anyone tell me how to accomplish this in LaTeX tabular ...
4
votes
2answers
57 views

Changing width of table lines

We know that by adding \setlength\arrayrulewidth{xpt} changes the thickness of all the table lines. If I wanted to change specific table lines, how to do it? \documentclass[11pt]{article} ...
1
vote
1answer
31 views

“Paragraph ended before \verbatim@ was complete.” when trying to use verbatim in tabular

I have the following code in my Beamer slide code: \begin{frame} \frametitle{selections} \begin{tabular}{ll} sample 1 & \begin{minipage}{3in} \begin{verbatim} sample 2 \end{verbatim} ...
2
votes
1answer
27 views

How should multiline pieces of code be put into a table?

I have the following two pieces of information that I would like to present side-by-side in a Beamer slide. I think I'd like these two things in two cells of a two-column table. Is there a good way to ...
2
votes
1answer
94 views

How can I align this table with another way?

I tried to align this table. My code \documentclass[border=2]{standalone} \usepackage{amsmath} \begin{document} \begin{tabular}{c c c} 1 & $=$ & 1 \\ $2 + 3 +4$ & $=$ & $1+8$ \\ ...
2
votes
2answers
31 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 ...
4
votes
1answer
45 views

Odd incompatibility between multi-line forest nodes and tabular

The following MWE compiles just fine: \documentclass{article} \usepackage{forest} \begin{document} %\begin{tabular}{c} \begin{forest} [x\\y, align=center [z] ] \end{forest} ...
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 ...
3
votes
1answer
36 views

Multi-page table over two columns

I can create tables over both columns in two-column mode using table* with tabular and multi-page tables using longtable or supertabular but I am not able to combine both. ...
1
vote
0answers
30 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 ...