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

Aligning and wrapping the text vertically in a table with multicolumn environment

My code is as follows: \usepackage{array} \usepackage{multirow} \usepackage{graphicx} \begin{table}[h] \centering \begin{tabular}{>{\centering\arraybackslash}m{1in}|l|l|} \cline{2-3} ...
0
votes
1answer
51 views

How to draw a table with annotation? (screenshot inside)

I need to draw a table like this into my paper. I know to draw a table but I'm not sure how to annotate it (rows and columns) with indexes. Do you have some example how to do it in LaTex?
1
vote
1answer
44 views

Table too big for one page

I've done a table but it is way too big in order to be displayed on one page. Does someone know a way how to change the table so that it fits? Thanks in advance. \documentclass[12pt]{article} ...
2
votes
2answers
839 views

How to make such a nice table in LaTeX?

Below is an example, it seems rather complex for me. I can only make a table with dark lines, and don't know how to make the dark lines hollow ones. Is there a way to embed such a fancy table in ...
2
votes
1answer
44 views

Tabularx ou Tabulary environement populated by csvsimple information

I am currently using csvsimple to import table data. Some of the cells information is too long and I would like to dynamically manage the column width. I have been trying to add the tabularx or ...
1
vote
1answer
42 views

specified column width

I'm using the following code for the table. Currently it is set up so that I can change the width of all column (except the first one) to the same width. Can someone help me tweet it so that I can ...
2
votes
2answers
43 views

switching between newcommand and default

I've defined the following macro: % makes tables more readable \renewcommand{\arraystretch}{1.1} \setlength{\tabcolsep}{5pt} Which add extra tabbing space in the tables. However, in one place ...
2
votes
1answer
33 views

Arithmetic in tabular lengths ( p{…} )

I'm trying to do some simply arithmetic for a dynamic column type in tabularx. What I want is to be able to calculate (n-1) * X. I tried to use the calc package, but I just cant figure it out. ...
2
votes
0answers
43 views

How can I use \multicolumn in a \pgfplotstable table?

In my experiments with pgfplotstable, I've run into some bumps: merging multiple columns adding formatting commands to text within cells Problem I cannot seem to properly add a \multicolumn{}{}{} ...
5
votes
3answers
158 views

Generate a table with 19 arguments using key-value interface

I'm doing my bachelor thesis, and need to make a table with lots of data. I want to make a macro for that table, since I'm going to use it a few times. Considering egreg's answer in this question, ...
0
votes
0answers
130 views

I need this tikz and tabular sketch at the right of my presentation, and an itemize at left, but too much length

I need this tikz and tabular sketch at the right of my presentation, and some text at left. Unfortunatly the text is at left but in the down part of my frame, I need it at the center and starting ...
1
vote
2answers
42 views

Automatically setting table row height

When creating a table, Latex sometimes doesn't fit the row height well, making the content intersect with the borders as in the following: Notice how the first row is too short while the second ...
3
votes
3answers
65 views

Tabularx and multicolumn

When I try to use multicolumn inside a tabularx environment, I get this weird behaviour; where the column doesn't fill the whole width. Anyone know why this is happening, and how I can fix it? ...
3
votes
1answer
52 views

hatching table cells fails when using positioning

I'm trying to hatch some table cells by following the code here. It seems to work fine, but then when I change the positioning to \begin{table}[!h] the hatching stops showing up. The correct result ...
4
votes
1answer
46 views

Vertical bar in a math mode inside tabular

I cannot get the | line to appear in a fraction in a tabular. Could someone please tell me what I am doing wrong?? \documentclass{article} \usepackage{amssymb, amsmath} \begin{document} ...
2
votes
2answers
41 views

Fit wide table to landscape page - Legibility

I have a wide table to fit in a landscape page. I'm trying a combination of changing the font size of the header paragraph changing the font size of the table contents resizing the table in a ...
1
vote
3answers
69 views

How can I improve the style of this table in latex?

I would like to center all the elements of the table and improve the style of this one. \begin{table}[h] \begin{tabular}{|l|r|l|l|} \hline \multicolumn{1}{|c|}{text} & ...
1
vote
1answer
32 views

How to create lines for all cells of the table (pgfplotstable)

How to create lines for all cells of the table in a package pgfplotstable? There is my code: \documentclass[a4paper,12pt]{article} \usepackage{ucs} \usepackage{amsmath} \usepackage{pgfplotstable} ...
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
46 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
417 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
158 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
30 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
63 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
50 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
47 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
48 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
48 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
43 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 ...