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

4
votes
1answer
47 views

Footnote in booktabs package [duplicate]

I wish to add a footnote somewhere in a table. I am using booktabs package. I wrote the footnote using \footnote. It is showing symbol 1 inside a small box but it is not showing the footnote anywhere. ...
2
votes
1answer
16 views

Insert multiline example in a table environment

I would like to put the example in the right cell of a table, and a description on the left. I can't manage to do it though. \documentclass[12pt]{article} \usepackage[english]{babel} ...
2
votes
4answers
47 views

Fitting text into the table's borders

I am trying to have this table done neat and nice, but I cannot manage to make the variable names fit into the lenght of the table itself. Here is the code: \documentclass[12pt]{article} ...
1
vote
1answer
87 views

How do I get a table like this?

How do i get the table output like this? I tried following few threads in this forum. But couldn't help to ask this question. Help me out guys !! Thanks in advance :)
1
vote
2answers
59 views

How to put this table in full page

could you help me please I want to put this table in full page .Itried without success Thank you \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
25 views

Different justification in cells

The following code will center the text in all cells. \begin{table} \centering \small \caption{my caption} \label{my label} \begin{tabular}{| C{5cm} | C{2cm} |} \hline ...
1
vote
1answer
23 views

Special Table Spacing in Latex

I have a table in which I display a row with say "x" and in the following row below "x" I display the standard error of "x". However, I want those two rows to be close to each other and also to be a ...
1
vote
1answer
49 views

Vertically align text to the top

I have some issue with latex. My content is vertically aligned to the middle. How can I change it my contents starts like \onecolumn \begin{table} \caption{Topics found by LDA} \label{table:topics} ...
3
votes
2answers
43 views

Table with combination of multirows and multicolumns

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. Could someone help me? \documentclass{article} ...
1
vote
0answers
24 views

Looking for an LaTeX editor to insert on my page [duplicate]

i' am looking for editor that I could put on my website. Something like Ace editor but to LaTeX. Do you know something interesting?
3
votes
1answer
21 views

Table, siunitx, render + sign

I have a table with number formatting through siunitx. In one column, I have values which show an improvement (or worsening) of one approach over another. To make it really clear, that I'm giving a ...
3
votes
1answer
44 views

Trouble creating basic table

I would like to create a table, which look like this: \documentclass[a4paper,12pt,oneside]{article} \usepackage[english]{babel} \usepackage{tikz} \usepackage{pgf} ...
4
votes
3answers
138 views

Table with multirows, multicolumns, and a combination of both

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. Could someone help me? \begin{table}[!ht] \small \begin{tabular}{ ...
4
votes
2answers
85 views

Aligning numbers in tables

just wanted to create a table, that looks something like the following First and second row are no problem at all, but the third row is difficult. I can't achieve this special alignment. Thanks ...
4
votes
1answer
70 views

Tikz wave not covering multiple tabular columns

This is a follow-up to my earlier questions here and here. In short, what I want to achieve is an arc over multiple columns, which I am achieving using Tikz. Code is shown below. ...
3
votes
2answers
43 views

Table is too wide to fit in one page

\documentclass{article} \usepackage{booktabs} \usepackage{dcolumn} \begin{document} \begin{table}[htbp]\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \caption{Cross-sectional regression} ...
4
votes
2answers
130 views

Compiling problem

I have had the problem of compiling my document with the following table in it: \begin{table}[!h] \centering\small \caption{Thickness measurements on the two tubes.} \label{tab:Thickness_measurement} ...
2
votes
1answer
25 views

“misplaced \noalign” error and missing column separator in “\tabular” environment

I am trying to a make a simple table in a document and I am having a few problems. I am somewhat new to LaTeX, so this is probably a stupid question! 1) I am trying to have a vertical line ...
4
votes
1answer
39 views

Multirow and decimal alignement

Here's my code \documentclass[a4paper]{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{dcolumn} \newcolumntype{d}[1]{D{.}{.}{5}} \begin{document} \begin{tabular}{c l l c ...
2
votes
0answers
21 views

texmacs enter latex source code [on hold]

is there in texmacs an equivalent to the Ctrl plus L shortcut in Lyx where it is possible to insert latex code to get other tables than the table environments which are doable in texmacs by default?
1
vote
1answer
52 views

Table in Beamer

I have one problems about the table in beamer. The table can be compiled in \documentclass{article}, but not in \documentclass{beamer}. Below is the table I make: \usepackage{multirow} ...
2
votes
2answers
31 views

tabular & multirow: taking a multirow back to a single

I have a table that I needed multirow for say column 2, but for column 3, I am putting the best result from column 2. \documentclass{article} \usepackage{tabu} \usepackage{multirow} \begin{document} ...
0
votes
1answer
35 views

write latex code in Lyx for tables

I found this template for a table on TeX.SX: Beautiful table samples The table I would like to reproduce is \documentclass[12pt, oneside, landscape]{memoir} \newif\ifblackandwhite % ...
1
vote
0answers
40 views

How to add and align figure and texts like that [duplicate]

Please show me how I can do that. And I want to use many times. Help me write a macro so that I can use every time I need. For example, \begin{question} Texts in the question field. ...
0
votes
0answers
36 views

Is there a way to compare the specific features of table packages? [duplicate]

I'm trying to figure out the strengths/weaknesses and benefits/drawbacks of the various table packages available. I very much like threeparttable, but I need to have at least one multi-page, 90° ...
0
votes
0answers
34 views

Confusion related to this tex

I have this confusion about what this line in tex does \begin{tabular}{|p{5cm}|p{5cm}|} \hline \textbf{Heading 1} & \tabularnewline \hline \end{tabular} I am not sure what this |p{5cm}|p{5cm}| ...
2
votes
1answer
33 views

Latex longtable not working?

I have some data I have put in Latex in order to make a table for a report. The table would extend over two pages but my longtable code seems not to make it to the second page. The code I am using is ...
3
votes
3answers
128 views

How can I produce this table of cumulative numbers?

How can I produce this table of cumulative numbers? I tried without success.
4
votes
2answers
374 views

How to create this figure?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, tikzpicture, pstricks and multido usepackage. Can you maybe help me? I would really appreciate ...
3
votes
1answer
42 views

Easiest way to write Avery 11137 template

Trying to get a template to work for the Avery 11137 label template and it is exceedingly harder than one would think because the geniuses over at Avery put it on an 8.5x7 page and, although it is not ...
1
vote
1answer
84 views

Creating a tabular data in latex

I want to create a tabular data something of the sort in the figure. It's empty. But it has some contents filled. How can I do it in latex. It's like I have a row title and its contents inside the ...
0
votes
0answers
84 views

bad boxes made by picture

I got bad boxes (3pt too high), It because of picture. I need it in multirow environment, I want it to be in the middle of all rows (5). How can I achieve this without bad boxes? ...
1
vote
1answer
27 views

Why are the tables in minipages left out of the list of tables?

I have some tables inside of minipage enviroment but they don't appear listed like the others in my \listoftables; see the code below. \listoftables . . . \begin{table} \begin{tabular}{c|c|c} ...
1
vote
2answers
32 views

Equivalent color for \colorbox{gray} as for \cellcolor[gray]{0.8}

In my table I have used \cellcolor[gray]{0.8} and I would like to mark some words in my text with the same color. I have tried \colorbox{gray}, but the resulting box in the text is too dark. How can I ...
1
vote
1answer
51 views

Creating a Color Key?

How can I create a colour key in LaTeX to show what the colours of this table mean?
3
votes
1answer
98 views

Meeting Minute with supervisor

I want to make a table of Meeting Minutes with supervisor. The format is as follow; ------------------------------------------------------------------------------------- ...
2
votes
2answers
88 views

How to make table floats work with preview/standalone environment?

Couldn't make a table float work inside the preview environment: \documentclass[fontsize=16pt]{scrartcl} \usepackage[active,tightpage]{preview} \setlength{\PreviewBorder}{25pt} \begin{document} ...
3
votes
1answer
98 views

width of paragraph in multicolumn tables

I have problem that I don't know how to solve. Look at \multicolumn{2}{p{18.5cm}}{bla} and please tell me how to set paragraph width to fill whole multicolumn space? I discovered this (18.5cm) value ...
4
votes
2answers
50 views

One cell with multiple lines

I am trying to make a table that has some cells spanning across multiple lines, like this: (I used print screen on my table and then edited it to show how I want it). I have been searching around ...
2
votes
1answer
35 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
30 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
45 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
186 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 ...
3
votes
2answers
37 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
43 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
40 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
45 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
50 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
113 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
39 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, ...