{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
61 views

New text header line in tabular?

I want to insert headers in table, but somehow I am not able to do so. The bold line in below text, I want these to just insert between rows as headers. From below code, column from 2nd to last are ...
0
votes
1answer
99 views

Drawing the following table

How can i produce the above table in latex? The first column width i want to be small. The second and third and fourth i want to be of desired size. Is it possible to do it. Also I want thick lines ...
7
votes
1answer
792 views

wrong positioning of figure with tabular in xelatex

I recently updated MikTex and it seems Xelatex is not able to place figures correctly anymore. Before updating all figures were shown correctly. I work with Texworks and Miktex 2.9 Here it is the ...
4
votes
1answer
667 views

Table width with multicolumn

I am producing lots of tables automatically with Stata (perhaps its useful to know that the top, content and bottom of the table are produced separately and then pasted together into one file I ...
3
votes
2answers
190 views

multirow position not correct, how to fix it?

I have three figures to be put in a way subfig1 -------subfig3 subfig2 And height(subfig3)=height(subfig1)+height(subfig2), so that the top of subfig3 is aligned with the top of subfig1, and the ...
5
votes
1answer
336 views

Clashing multirow with tikz

In order to get a diagonal line in a cell, I picked up a piece of code from Diagonal lines in table cell The code adapted to my situation works fine until I decide to use multirow. Here is the MWE. ...
2
votes
1answer
118 views

Table to set images on cover page, but text in the cell is not completly centred

First of all, excuse my English. I'm trying to make a cover page, I have made it on Word, but in LateX is much harder to do. Is like this, Same sized images at rigth and left of the text, textwidth ...
4
votes
1answer
142 views

Three graphics with tables of data

I need to create a figure like the following. If I have the color plots saved as png images (ie. test.png, rans.png and ddes.png), what would be the best way to create this sort of graphic in LaTeX?
3
votes
1answer
335 views

Making rotated adjustbox fit into cell

I tried \rotatebox, but was unable to make the rotated text vertically fit into one cell so I opted for \adjustbox instead. \documentclass{article} \usepackage{float} \usepackage{multirow} ...
2
votes
1answer
95 views

“align” inside “table” because of table caption - how to do pagebreak?

I have a table: \begin{table} \begin{align} \nonumber b_{1} & = 0,200 & \beta_{1} & = z \\ \nonumber b_{2} & = 0,022 ...
1
vote
1answer
495 views

full page table within paragraph

I have several large tables in my thesis. Some of them are about 2/3 of a page, and placing them at the top of a page works fine, even when a paragraph has to be broken to allow for the space. My ...
6
votes
1answer
615 views

\bfseries and alignment in table

I'm trying to highlight some decimal-point aligned entries in two large tables which are arranged in two columns. I'm using \bfseries to do this and unfortunately this seems to be affecting the ...
3
votes
1answer
76 views

Why is the final column of this table running off the page?

\begin{document} \begin{exe} \ex \begin{tabular}{ l l l } & + -naqa (diffuse) & + -nuqa (placer) \\ \hline alli- `dig' & `knock over or destroy, to throw something to the floor' & ...
6
votes
1answer
11k views

Error on tabular latex

I'm getting an error on latex and don't understand why ... The purpose was to create some tables on latex, but it is getting me some error which i don't really understand ... Any hint for me please ? ...
4
votes
1answer
265 views

LaTeX: Rotated header lines in table beginning in the same line

i have a table with rotated text. All these header lines should start near the second \hline (similar to "Abs.") like hline C BC BCD 1 BCD l BCD o BCD Frequency CABCD Abs Rel hline ...
3
votes
1answer
752 views

Use \ldelim with tall rows

I would like to put a brace in front of some table rows. I found a similar question here and in an answer the use of the bigdelim package is suggested. The problem is, it does not seem to work if a ...
10
votes
1answer
130 views

How to include icons in table?

Question I want a table with little icons on the left and corresponding descriptive text on the right. However, LaTeX seems to make this as painful as getting your teeth pulled out, and my current ...
3
votes
1answer
333 views

Exhaustive Information about text alignment in Tabular

The purpose of this question is colleting the exhaustive information about text alignment in tabular environment and it's derivatives. As base, let us use the possibilities of Microsot Word's tools. ...
4
votes
1answer
247 views

Modify the \textwidth of all subsubsections compatible with adjustbox

I have a very simple document which is a succession of tables within subsubsections of the document. \usepackage{geometry} \geometry{verbose,landscape,a4paper,lmargin=1cm,rmargin=1cm} This is my ...
7
votes
2answers
410 views

Why is my tabular wider than the sum of its columns’ widths?

It's simple to create the tabular with columns of fix width, e.g. \begin{tabular}{|p{95mm}|p{95mm}|} \hline a & b \\ \hline b & b \\ \hline c & b \\ \hline \end{tabular} However, the ...
2
votes
0answers
26 views

Forcing latex to place table floats before the end of subsection [duplicate]

I have a chapter, where my data tables are big and cover whole page. I have few subsections with different results shown in tables and I don't want them to mix up. So, right now I have more or less ...
6
votes
1answer
71 views

Macro limited in scope to the tabular cell in which it is invoked?

How do I reuse cell delimiter of a tabular environment (usually ampersand) for delimiting a macro parameter? Like this (which unfortunately doesn't work): \def\mymacro#1&{#1} ... ...
2
votes
1answer
613 views

Table and its captions on different pages

I have a really long table that fits the whole page (in fact it's a really wide table that I have rotated by 90 degrees): \begin{table}[!pht] \caption{ ... some quite long description } ...
3
votes
1answer
414 views

Package minted: \mint Command Not Working Inside tabularx Environment

The question, How to embed a minted environment inside a tabular environment?, addresses a similar issue, but I am using: the tabularx package, and the inline \mint command Is there a workaround ...
4
votes
1answer
536 views

using mathml in htlatex makes it lose the table p-width specification in generated html

It took me a while to find the cause of this. when giving p{} for table column width, and also using mathml option, then htlatex losses the width specs in the generated HTML table. It is very simple ...
2
votes
1answer
664 views

Reduce float size to fit page

I've got a longish sidewaystable which currently is to large for its page. At least with \footnotesize it is. With \scriptsize it becomes too small, which looks strange and is hard to read. Is there ...
2
votes
1answer
244 views

How to alternately shade rows in a table [duplicate]

I'm having trouble finding anything that will work with this checklist table that I have set up. I was hoping someone might have some suggestions. \usepackage{colortbl} \begin{center} ...
4
votes
1answer
76 views

Tabular in dtx documentation

How to make table in .dtx documentation with vertical bars? % \begin{tabular}{c|c} % |sf| & \emph{mathsf}\\ % \end{tabular} fails, because |foo| is magic for verbatim.
1
vote
1answer
3k views

Unwanted blank page prepended to large table

Problem-ku: A page-long table Gets a blank page prepended I do not want this The table is very large (69x20) but fits on one page. Here's the code I'm using at the beginning and end of the ...
5
votes
1answer
216 views

Grouping cells in a tabular environment

I'm drawing a grid structure using a tabular environment. Some cells are empty, some cells are filled and some cells contain a symbol. Nothing spectacular there. \documentclass{article} ...
2
votes
2answers
4k views

Vertical alignment of text and figures in a table

I am trying to put together a table with both images and text, but I keep having problems to get the vertical alignment right. Ideally I would like to have both the text and images in the centre of ...
7
votes
3answers
565 views

Irregular tables in LaTeX

Is it possible to create a table with a layout as this one? If yes, what packages should I use?
9
votes
1answer
4k views

Midrule that extends only over some of the columns in booktabs

I hope this isn't a silly question, the thing is that I want to create a table with a midrule applied in just some cells, I mean something like that (just between Item, Animal and Description): ...
5
votes
2answers
633 views

Table formatting

I am working on the table \documentclass{article} \pagestyle{empty} \usepackage[landscape]{geometry} \usepackage{multirow} \usepackage{booktabs} \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}} ...
6
votes
1answer
810 views

Disappearance of the table title/caption, when using colortbl

I'm formatting a manuscript according to the PNAS style, as prescribed in http://www.pnas.org/site/authors/LaTex.xhtml When I color my table using the package colortbl, the title/caption disappears ...
6
votes
1answer
764 views

how to decouple alignment of rows within a column in LyX?

How do I decouple the paragraph alignment of rows within a column in LyX? I would like my top row to be aligned in the centre, and all subsequent (content) rows to be aligned left. However, whenever ...
1
vote
0answers
150 views

Infinite Loop in Babel with Rotating Sidewaystable [closed]

I don't know whether this is a babel or a rotating bug, and I have filed a report with Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710031), but perhaps someone knows a workaround. The ...
2
votes
1answer
155 views

Table going past margins

I'm trying to create a header for my resume. I'm almost happy with the result, but there's a small formatting issue. I'm using a table to control where my name and contact info are placed. My name ...
5
votes
2answers
127 views

Use a nested enumeration as a column of a table

I am creating a list of requirements in a table in which the first column should be an enumeration, such that each requirement is identified by a unique number. Some requirements also have sub ...
2
votes
0answers
42 views

Table spanning two pages horizontally? [duplicate]

Is there a way to have the overflow of a table too wide for the page to continue horizontally on the next page? I'm trying to create two pages with a table each where every row is adjacent to same ...
3
votes
1answer
266 views

How to align a tabular cell right and centre?

I've vertically centered a column of headings as suggested in an answer to this post using array and m{}. How can I also right-align those headings? Here is a picture of my current table and the ...
5
votes
1answer
170 views

How to make a figure consisting of a table of subfigures and headings?

I've got 3x3 images that I'd like to arrange in a table with row and column headings. All images have the same dimensions. I still want the caption to read "Figure 1.1" and not "Table 1.1". One way ...
7
votes
3answers
230 views

Adjusting command behavior based on argument type

I have a following command in my latex document: \newcommand{\ApplyGradient}[1]{ \pgfmathsetmacro{\PercentColor}{100.0*(#1+0.2)/1.3} \textcolor{black!\PercentColor}{#1}} ...
2
votes
1answer
516 views

Vertical alignment (top, center, bottom) of figure and two texts in tabular

Based on Tabular alignment of text and figure, my question is how can I get t, c, b alignment of all 3 elements that make part of tabular. The t and c works fine, but not the b. ...
3
votes
1answer
2k views

Why the tabular column specifier C doesn't work?

I'm using the tabular enviroment \begin{tabular} ... \end{tabular} inside of the beamer class \begin{frame} ... \end{frame} tags. In standard latex documents, i often use something like ...
5
votes
1answer
303 views

Tabular alignment of text and figure

For an exam paper I'm preparing, I want to properly build a top page header, with the university logo, and two block of text side-by-side (for course, department, etc.). I have already seen some ...
7
votes
1answer
343 views

How to force LaTeX to print a table in an even-numbered page

Is there a way that I can force a table to be printed in an even-numbered page? One thing that comes to mind is to print a blank page before it if the table happens to be in an odd page but this makes ...
3
votes
1answer
339 views

exsheets and the final grade table

I am trying to build an exam using the excellent exsheets package. My problem is with the last table, the one that has the grades. Somehow, it seems that \hline does not provide a full table with ...
3
votes
1answer
381 views

Writing under a Table

I made a table with the tabular environment and I wanted to continue writing (under it) but the words are moved to the next page. I used: \makeatletter \setlength{\@fptop}{0pt} ...
4
votes
1answer
628 views

Aligning tikz nodes to tabular cells?

I would like to make a Zwicky Box by using tabular combined with an overlaying tikzpicture. How can I (semi-)automatically align nodes to the vertical and horizontal center of their corresponding ...