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

want table to look like this

I use lyx with elsarticle class with two-column document but I made span columns so table will span over the two columns. I tried it with adding the caption package: ...
1
vote
1answer
118 views

Order of `float` and `caption` packages in preamble

I am using float and caption packages in my document, and also packages like tabularx, listings, algorithm... that (as far as I know) define floating elements or elements that have captions ...
6
votes
3answers
2k views

Drawing vertical arrow to a table column

I would like to draw an arrow to the center of a table column as the following. How can I do that?
6
votes
1answer
184 views

Centering in tabular does not work

The following is a minimal example of a table I am defining. The first row ($v_1$ and $v_2$) are not centered, but the subsequent rows are. What am I doing wrong? \documentclass{article} ...
2
votes
2answers
222 views

How to arrange / align / place pictures and text, to form a given headline?

I tried to solve this with tables, but the alignment didn't turn out good. And because I am very confused, if I should even use a table aproach or a minipage or a tabspace, I wondered, if someone ...
2
votes
1answer
4k views

how to \multicolumn in booktabs?

Following is my code: \documentclass[a4paper,10pt]{article} %\documentclass[a4paper,10pt]{scrartcl} \usepackage[utf8x]{inputenc} \usepackage{booktabs} \begin{document} \begin{table}[htbp] ...
2
votes
1answer
117 views

How to continue a piece of text so it is aligned with the last line of an inline multiline box?

Is there a way to have the continuation of a piece of text aligned with the last line of a multiline environment, such as array? For example, I would like to define the command ...
5
votes
1answer
599 views

Generate box with content in header

Halo everyone, I intend to create the one as shown in the attached photo as the header of my document using TeX but I can't seem to get it right. Either my box are distorted or they can't be balance ...
3
votes
1answer
192 views

ConTeXt mkiv: Footnote inside tabulation

I need to include a \footnote inside a tabulation environment. I adapted the example from ConTeXt wiki, but at compiling the content between \starttabulatehead and \stoptabulatehead doesn't show up ...
7
votes
1answer
386 views

Row with invisible cells

Is there any easy way to obtain something like this in LaTeX? My guess was to try to make the first and third cell of the first row invisible, but then I lose the right and left border of the Main ...
4
votes
2answers
2k views

Vertical and horizontal alignment with tabu package

Another question led me to use tabu for the purpose of fitting one column to its content while allowing the others to stretch equally. This is my current code: \documentclass{article} ...
2
votes
1answer
342 views

Automatically change the text width for all table environments using memoir

I'd like to redefine the table environment in a document I'm writing so that the tables and captions are wider than the text block. I'm using the memoir class, and an example given in the manual is ...
3
votes
1answer
308 views

A macro for looping through a pgfplotstable set by cell

Hi following on from the following question on multi-line headers with pgfplotstable, the solution was to set each affected cell individually. I decided to throw together a command to do that but keep ...
18
votes
1answer
736 views

automatically insert data in a complex table

I have a relatively complex table that looks like this: The same table structure is going to be repeated so many times. I already have the tables in MS Word. My question is if there is an easy ...
2
votes
3answers
3k views

Control column width with left alignment in tabular

I want to make a table with a bigger than default column width for the first column. The text in this column should be left aligned. Here is my code. \begin{tabular}{llll|l} Address1 ...
9
votes
1answer
638 views

Lost float in exam class

For some reason, I can't seem to put a figure or a table environment inside a solution environment while using the exam class. It produces a float is lost error. Has anyone found a way to bypass this ...
5
votes
1answer
146 views

Text wrap in multicols

The following LaTex code (credit) features a table within muticols: \usepackage{multicol} ... \begin{multicols}{3} \subsubsection{Another Subsubsection} Lorem ipsum dolor sit amet, consectetur ...
3
votes
1answer
777 views

siunitx align numrange

ave a table with a table in which I use \numrange of the siunitx package. I would like to center align that column at the range-phrase. If I align it left, it sort of works, but if I align it center, ...
2
votes
1answer
440 views

How can I vertically fit a large table to the page?

I am trying to fit my large vertical table into one page... I started with \documentclass[a4paper,12pt]{report} \usepackage[pdftex]{graphicx} \usepackage{booktabs} \begin{document} \rotatebox{90}{ ...
4
votes
1answer
595 views

Multi line header for pgfplotstable

I have a dataset in csv file format that I'm loading into pgfplotstable. I can't change the format of the original csv, and being financial data it has a column of item names and two or three ...
6
votes
1answer
3k views

Tikz inside table

I want to create a two column question with a Tikz shape. The problem here is that I cannot align the text and the shape. Text should have a left-top alignment, shape can have either center-center or ...
2
votes
2answers
4k views

Center table on landscape page

I have a rather wide table for which I have a designated page in landscape mode. The rest of the document is in portrait mode. Currently, the first row of the table begins at the very top of the page ...
1
vote
1answer
509 views

Putting footnotes on same page as table that references them

I've got a \tabularx with two \footnote marks immediately followed by two \footnotetext. I would like them to show up on the same page, but tex is pushing the table to the following page making ...
6
votes
3answers
604 views

Build table with different cells sizes

I have written this code for the table shown bellow on the left but I like to make some modifications so it looks like the table on the right. Can you help me? ...
3
votes
1answer
3k views

Line spacing in wrapped table text

I have a document where the text is set to double spacing. I have some text inside tables, which I use the paragraphy specifier for. It wraps properly, but spacing is set to single. Is it possible to ...
0
votes
0answers
48 views

Creating tables from files [duplicate]

Possible Duplicate: How typeset a numeric table from a CSV file I use the pgfplots package to add graphics to my LaTeX documents. Usually I have a data set in a .dat (plain text) document ...
2
votes
1answer
234 views

Dec sep align & \multicolumn incompatibility?

As I did not get any answer, I decided to split the two question so that they appear less daunting. The initial question I am referring to is this one Here is a table with regular alignment mixed ...
4
votes
1answer
2k views

top-of-page positioning: \longtable vs. \tabular

Why is a longtable environment on top of pages vertically placed different to a tabular environment? I'm digging several days on this question and didn't find a way to align the longtable vertically ...
4
votes
3answers
454 views

math size in a table

I have a long table and I want to fit it in one page. Table has number and symbol entries. The size to the table can be reduced if I can reduce the font size. How can I reduce the font size in this ...
6
votes
1answer
745 views

Beamer tables like block structure look-and-feel

I am trying to define a type of table similar to the look-and-feel of beamer blocks. I tried the following (using the tabu for tables), but with no luck. ...
4
votes
3answers
206 views

How to create a table with a headline centered and columns centered?

I use the following code to create a table with a centered headline. \begin{tabularx}{\textwidth}{l|X} \multicolumn{2}{c}{Headline centered} \\ \hline Column1 & Column2 which should be ...
7
votes
2answers
1k views

Enumerate over two columns in tabular environment

I can't seem to figure out the minute details needed to use enumerate inside a tabular environment. If I just sort of brute force the code I can get something similar to what I'm trying to achieve, ...
3
votes
0answers
295 views

Scaling figures / graphics inside table [closed]

I have the following code: \begin{table}[ht] \begin{tabular}{c c c} Name & Number of crossings & Arf invariant \\ \includegraphics[scale=0.5]{../images/unknot.jpg} & 0 & 0 \\ ...
4
votes
1answer
4k views

Having a table in an enumerate environment

I have a problem trying to add a table in an enumerate environment in LaTeX. I want the table to act as if it were just another piece of text. i.e. showing up exactly right next to the \item in an ...
3
votes
3answers
532 views

Need help to adjust horizontal spaces in a table

I am making a table but i am not able to adjust it. Here is a screen shot. i have used following tex code \begin{table}[ht] \centering \begin{tabular}{c c c c c c c} \hline\hline Methods ...
5
votes
4answers
2k views

Center column headings in tabular: multicolumn not respected

I would like to center column headings (and column headings only) in the following table. Why does it work with the first column, but not the second (I thought \multicolumn is the correct approach to ...
2
votes
1answer
357 views

Tabular vs fbox (or other options?) for creating an organized document

I'm currently in the process of trying to make a template that I can use for creating lesson plans for my high school math classes, but am having some trouble figuring out how I can make this be the ...
2
votes
1answer
308 views

Page breaking in vtop/hbox

I'm a new user of Tex and I'm facing a problem related to a very simple situation. I'm currently working on a TeX (TeXLive, no LaTeX is used) generator. This generator builds TeX files containing ...
11
votes
1answer
55k views

How to use \multirow

I can compile this table separately but when I want to compile the whole file, it gives me an error, which is fixed by removing \multirow. \usepackage{multirow} \begin{table}[htbp] \begin{center} ...
6
votes
2answers
3k views

table with tabularx and multirow

While using tabularx and multirow I tried to import this table (made with Word) in LaTeX: but it's not really working. It seems as if there isn't enough space for the text, but shouldn't taburlarx ...
4
votes
2answers
1k views

How manually mimic the bullet in the itemize environment?

I have created the following tabularx environment (using the package tabularx, of course) to serve as a specialized bulleted list for a resume. \begin{tabularx}{\textwidth}{r \p{3in} X r} ...
5
votes
1answer
2k views

Typesetting plus-minus uncertainties with different upper and lower bounds

I'm making a data table and need to include my error bars with my data. $\pm$ works great if the upper and lower bounds are the same, however, several of my data points has a different upper limit ...
2
votes
1answer
211 views

Automatically center array of images inside table cell

I have this kind of table: \begin{tabular}{p{0.5\textwidth}|p{0.5\textwidth}} caption1 & caption2 \\ \includegraphics[params]{path11} \includegraphics[params]{path12} ... ...
1
vote
1answer
163 views

Complex tables - commentry

I have a table which I need to go over multiple pages, hence I am using \usepackage{longtable}. However I am also using \multirow as my comments are simply too long to fit into one! But there are ...
1
vote
0answers
683 views

How to change line width of a column in table? [closed]

How to change line width of a column in table? I colored the table and some column lines aren't appearing, It's so tight that only with zoom it appears ...
17
votes
2answers
20k views

How to merge cells vertically

Is it possible to create a table like this one? The usual structure of tables I use looks like this: \begin{table}[H] \begin{adjustbox}{width=\textwidth,center} % \begin{adjustbox}{center} ...
1
vote
0answers
239 views

How align columns in a tabular environment? [closed]

I want to align the source .tex file in order to reflect final table. Here is the result of calling align-current on my tabular's content. \begin{tabular}{|c|c|} \hline & {\em Execution ...
4
votes
2answers
307 views

How to represent this data as a table?

I am trying to put this in a table inside my LaTeX document. How can I get this? Ctrl-K does it here but not sure how to do it in LaTeX. Left Right Bottom Top ...
8
votes
1answer
426 views

Creating a staircase shaped tableau

I want to create a tableau of vectors in LaTeX, like the one seen on Slide 7 in these slides. But unlike in the slides, I want to have vectors like the one given by the code below \begin{pmatrix} ...
2
votes
1answer
485 views

How to change Cell Height of table and control hline

I have a need to create a table, I have shown a MWE, its producing the table with the text I want. I have two question relating to the attached image. How to change the height of cells. How to ...