{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
0answers
22 views

table alignment specification

When I use \begin{tabular}{l*{20}{c}} it works perfectly. But when I use \begin{tabular}{l|c*{4}|c*{8}|c*{8}} It gives me error. How can I specify the alignment operator as multiples without ...
2
votes
3answers
45 views

vertical alignment of paragraphs in separate paragraphs of text

Writing text in two-column format and I would like the lines of text to agree between both columns. Right now I use 12 point font on both sides, but the equations on one side are larger than on the ...
4
votes
0answers
43 views

deluxetable error (Illegal pream-token (\string): 'c' used \startdata) when using \rowcolor and \specialcell

I'm having an issue with deluxetable and am given the following errors: Package array Error: Illegal pream-token (\string): 'c' used \startdata Package array Error: Illegal pream-token (\string): ...
8
votes
2answers
416 views

1.5 + 1.5 > 3 : difficulties aligning columns in tables

I made 4-column table and a separate 2-column table. I thought if the columns were twice the size they should align but they don't. What is the problem? \documentclass[12pt]{article} ...
3
votes
1answer
3k views

Fix column width with tabularx

I want to create a table with 100% width? The first two columns should have a minimum width and the last column should have the rest width. The text in the last column (except the first cell) should ...
0
votes
1answer
41 views

Recreate table-like graphics

I'd like to recreate a calculation similar to: I tried using a table with blind cells and \swarrow, but the arrows are to steep. A second try was using xymatrix, but the distances between the rows ...
0
votes
0answers
15 views

float: Table* not working

I am trying to squeeze a wide table with contents onto a page. I have tried selecting the span columns option that turns it into float:table* but instead of the table squeezing and the contents ...
5
votes
1answer
2k views

wide table in a two-column document

I have a two-column LyX document. I want to add a table that will be as wide as the entire page, so that it will not have to be squeezed into a single column. I found some suggestions: table too wide ...
0
votes
0answers
48 views

Latex copy formatting table

How can i copy formatting table from latex pdf? To word or email message? When I copy - paste table from pdf paste only text, without formatting tables line. Part of my .tex: ...
0
votes
0answers
19 views

Unwanted white space with knitr+booktabs package

I want to include a table in my latex document that I create using knitr package. I "call" the table using: \begin{table}[H] \begin{centering} <<r second part}>>= kable(Per_cond, ...
3
votes
1answer
27 views

How to allow a cell to expand into its left neightbour

I want to make a cell overflow to the left. In this Question: Allowing cell to overflow without affecting indentation we learn how to make an overflow to the right(row 1), but I cannot manage to ...
1
vote
2answers
65 views

Multicolumn table with wrapping

I am trying to create a multicolumn table, with the column heading split in to two lines and each column has two subcolumns (except the first one). It is not working. Any help ? ...
3
votes
2answers
107 views

Prettify booktabs table with subheadings/categories

I basically want to list attribute names and a attribute description in a table. The attributes belong to a certain category. The idea is to list all attributes in one table to avoid creating multiple ...
7
votes
3answers
157 views

Automatically generating table using \multido

First: This question is similar to Generate rows in table using \multido (or something similar). Consider the following code: \documentclass{article} \usepackage{siunitx} \usepackage{multido} ...
19
votes
4answers
2k views

Generating a table of glyphs with XeTeX

I am trying to get XeTeX to generate a table of all the possible glyphs of a given font, but can not figure out how to make XeTeX know how many glyphs the font has, so I have to specify an exact ...
5
votes
1answer
37 views

Is it possible to ignore (not typeset) a column of a tabular by modifying its preamble only? [duplicate]

Is there a convenient way to not typeset a particular column in a tabular environment by modifying only the preamble of the tabular? That is, without modifying the body of the tabular itself? My ...
0
votes
1answer
35 views

Part of my table is not placed in the pdf output

I used this code using an online website : here to create my table, my first problem is that it can not merge the first row, then also I couldn't design it the way you see in the image attached ,is ...
0
votes
0answers
29 views

Tables and Figures are appearing at the end of Chapter

My Table and Figures in Chapter 4 of my thesis are appearing at the end of chapter instead of within the text where I want them to appear. Before these table and figure everything is fine in this ...
0
votes
1answer
60 views

Table and Tikz figure not displaying using this article template

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Journal Article % LaTeX Template % Version 1.3 (9/9/13) % % This template has been downloaded from: % http://www.LaTeXTemplates.com % % Original author: % ...
2
votes
1answer
62 views

Fancy table of tables

I'm trying to create something similar, but not identical to, this table. That is, I want to have one page-size table (two columns), and then within each cell be able to have additional tables, ...
0
votes
1answer
49 views

Latex text goes out of bottom margine and get clipped

Following is the code that gives the wired result. \documentclass[a4paper,12pt, oneside]{book} %enable linespacing commands% \usepackage{setspace} %set onehalf line spacing \onehalfspacing ...
3
votes
2answers
92 views

Insert text in-between rows in a table

I'm trying to achieve the following effect: +------------+---------+ | Col1 Col2 | | +------------+---------+ | Value 1 | Value 2 | | Value 3 | Value 4 | Text goes here... | Value 5 ...
0
votes
0answers
24 views

width of table cell

I'm playing with a class file and the exact positioning of the text by using the textpos package depends on the exact width of a table cell. Is there a way to obtain this width, say by using ...
1
vote
2answers
45 views

Merge column headers in table typeset using pgfplotstables

I have a table where the columns are narrow, except for the column headers. I am typesetting the table using pgfplots, and I need a way to specify that certain header columns should be merged. MWE ...
1
vote
2answers
50 views

How to use tikzpicture with tabular

I'm trying to place my graphs into the same figure vertically. However, I couldn't use tabular with tikzpicture to do it. \begin{figure}[] \begin{center} \begin{tikzpicture}[scale=0.9] ...
0
votes
2answers
47 views

Placing sources or graphics and tables

I would place my graphic and/or my tables "sources" as shown in the picture attached to this post and I don't know how to do this? Could you help me please
2
votes
1answer
47 views

Format table number alignment

I am having a few problems with the following code: \documentclass{standalone} \usepackage{booktabs} \usepackage{siunitx} \begin{document} \begin{tabular}{ l S[table-format = 4.2] ...
1
vote
0answers
41 views

Latex longtabu problem at page break

I am using longtabu for a table in a latex document. It gives a wired result at page break. Notice that the 'continue' part of the table is stuck in the page before the break. Page 14 shown in the ...
0
votes
1answer
48 views

text adjustment in table

Hello I put the text in the table but I need to set when the sentence finish the number is go to the next line, not appear after the previous text. see the red highlight, I want the numbers start in ...
1
vote
0answers
51 views

Generating practice sheets for characters

I'm currently learning japanese, and since they have different characters, I'm doing some practice where I make a table, in which each cell contains the pronounciation of one of their characters, and ...
2
votes
1answer
68 views

Creating complex table with multicolumn and multirow

I am trying to recreate the following table in a more simple format in my latex document. However the more I work on it the more messy it gets. I cant really understand how to properly align every ...
0
votes
0answers
20 views

How to add conditional text to a latex table and get rid of warnings after running pdflatex in ubuntu 14?

I would like to format a entry to a table in latex by \newcommand{\muNNN}[1] { \ifnum #1=99999 \multicolumn{1}{|r}{-} \else \multicolumn{1}{|r}{\num{#1}} \fi } It works ok when \muNNN{99999} so ...
10
votes
3answers
3k views

Border matrix with multiple indices on top and bottom

How can I write a matrix where there is an index at the top and also at the bottom? \bordermatrix doesn't seem to have an option for multiple indices.
0
votes
0answers
20 views

Ref to table without actually having a table [duplicate]

I would like to generate TOC entries for tables, without actually having a table but something other in place (a image) The background is, that in my document are some tables, which were quite big ...
0
votes
1answer
101 views

How to display contents of a tree grid in a latex table

I am working on displaying a nested bill of material in tree grid in a latex document. Is there a package available that can help with this? A short example of my current table \begin{table}[h] ...
1
vote
1answer
33 views

Space between columns wider than usual in table - How can it be fixed?

I have a table but still struggling. Would be great if you could help me out with the following questions: a) Even having two times $\toprule$, I get only one thick line in the pdf. How can both be ...
1
vote
2answers
46 views

Create a table with specified column widths and centre spacing in tabularx

I would like to create a table where I can adjust the overall width of the table, hence the tabularx environment. However I am having difficulty in configuring my tables such that I can control: The ...
3
votes
1answer
64 views

how to make 4 subtables in one row latex

I wanted to place tables horizontally side by side, so i used subtable to create (3 x 2) structure in this way (this is how one of my pages looks like): \documentclass[11pt,a4paper]{article} ...
1
vote
1answer
56 views

Improve table with several multicolumns and multirows

I've been working on a table with several multicolumns and multirows. Though the table is almost done, there are some details that I'm not very confortable. I don't think the last row Exarcebations ...
1
vote
1answer
24 views

Tabular uneven column bars

Does anyone know why my double line is shorter than the other single lines? \documentclass[]{article} \begin{document} \begin{figure} \centering \begin{tabular}{l||c|c|c|c} ...
3
votes
1answer
52 views

Coloring vs. adding a hatched pattern for table cells

I'm trying to come up with a nicely formatted work plan as a table, but the coloring of individual cells messes completely the row coloring of the table as the following code shows: ...
2
votes
2answers
31 views

Vertically align text in the table cell with modified arraystretch

I have created simple table which purposefully has all cells, except first row and first column, blank. \documentclass{book} \usepackage{rotating} \linespread{1.2} \begin{document} ...
1
vote
1answer
25 views

\multirow inside table

I have following MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[color=red,opacity=0.1,contents={}]{background} \usepackage{hyperref} \usepackage{indentfirst} ...
2
votes
2answers
70 views

Unable to create table. Missing number treated as zero error

I coded the following table: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{booktabs} \title{table} \author{subham.soni007 } \date{March 2015} \begin{document} \begin{table}[h] ...
0
votes
1answer
43 views

wrapping text in table

For some reason, the text in my table is not wrapping up and I keep getting the error: Extra alignment tab has been changed to \cr.. can anyone help with making a simple table with wrapping the text: ...
3
votes
2answers
41 views

tabularx column width not behaving as expected

I'm trying to reproduce the following tabular design as close as possible: This is what I have right now: \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{tabularx} ...
1
vote
0answers
56 views

Align fixed-width columns to the decimal point

I define a new column type for a fixed width column with centre aligned text as follows: \newcolumntype{d}[2]{>{{\rightdots{#1}}r<{\rightdots}\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} ...
5
votes
2answers
50 views

Shifting a tabular environment down in an enumerate environment

I've seen several related questions on this website, but nothing for my particular problem. Consider the following MWE: \documentclass[12pt]{article} \usepackage[margin=2cm]{geometry} ...
1
vote
0answers
49 views

Coloring single cells in tabular

I've for a while tried to color single cells in a tabular enviroment. So far, I've tried the following \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{color, ...
3
votes
1answer
28 views

Minipage with tabular inside ignores vertical alignment

I am trying to align a minipage that has a list inside. Using a tabular environment for the list results in the minipage ignoring the [t] option (or any other, as far as I can tell). On the other ...