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

2
votes
3answers
592 views

How can I create a simplex tableau like this in LaTeX?

I want to create a table like this in LaTeX: How would I do that?
5
votes
1answer
55 views

Calculations in PGFplots \addplot3 inline table

Plotting a rectangular patch with the code \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis} \addplot3[patch,patch ...
0
votes
1answer
44 views

Latex - tablex - config

I'm writing a paper and need to insert various tables. I already created a table in Latex and I inserted it into a subsection, but when checking the pdf, the table doesn't appear in that subsection, ...
1
vote
1answer
23 views

How to put notes under table in LYX

I'd like to ask how to write notes under the table (in float) in LYX? I found the following, but it is strangely written (how can a table be at the same time out and in the float???): 'Table ...
1
vote
0answers
39 views

How can I align the cells vertically?

I'd like to align my table cell vertically and horizontally.... can anyone help here is my code \begin{table}[htbp] \small \centering \caption{comparisons} \subfloat[Approximation accuracy ...
0
votes
0answers
15 views

Pagebreak, newpage, vspace all not working after a Table

I have a section of my document composed of two tables. The following section is a section composed of figures. Between the two sections I want a page break. I have tried \pagebreak, \newpage, \vspace ...
0
votes
1answer
27 views

Lines dividing Table don't align

I've created a table with 3 columns: \begin{table}[htbp] \begin{tabular}{ p{6cm} || >{\centering\arraybackslash} p{3cm} || >{\centering\arraybackslash} p{3cm} } \hline \text Dummy ...
3
votes
1answer
62 views

Connect rows in tables with arrows

I can create with the next code fragment two tables nearby: \documentclass{article} \begin{document} \begin{tabular}{ll} \begin{tabular}{ccc} A & B & C \\ \cline{1-3} 1 & 2 & 3 \\ ...
7
votes
2answers
781 views

What is the use of @{}?

Can someone explain the use of @{} in table formatting as in: \begin{tabular}{@{}cp{0.45\columnwidth}p{0.25\columnwidth}@{}}
0
votes
0answers
31 views

LyX 2.1.3 on Windows 8 Best Long Multi-column Table

I was wondering what the best 'LyX' way was to create a long multi-column (>5 columns) table with unigrams as in Figure 5.8 here. I have seen similar solved queries for LaTeX but I have not been able ...
2
votes
2answers
72 views

How can I create a double border/table around every page of the document excluding the headers/footers?

I am a newbie to LaTeX... Outside of the title page and ending pages, I am trying to create a fixed size border/table that will be around every page (excluding the headers/footers) of the document. ...
0
votes
1answer
45 views

Table caption before the table

I'm creating this table \begin{table}[htbp] \renewcommand{\arraystretch}{1.3} \setlength{\tabcolsep}{2mm} \centering \begin{tabular}{!{\vrule width 1.2pt}c!{\vrule width 1.2pt}c!{\vrule width ...
1
vote
1answer
23 views

Trouble aligning table cells

I need to wrap the text in two table cells. However, when the text has been wrapped correctly in cell (1,1) and (1,3), the text on the first row in the table do not align. \documentclass[b5paper, ...
1
vote
1answer
39 views

Manual line break in tabular (tabu) breaks the layout of other columns if not using X column parameter

I know this problem has been discussed many times, and the proposed solutions were to use yet nested parboxes inside table cells, but I would like to avoid that. Up to now, I was using my table with ...
2
votes
2answers
46 views

The \multirow command do not allow a multiple lines content inside itself

I want to draw a table like I use the m parameter because the rest rows of the table need it. However if I use a \multirow command to combine some rows, the m parameter of columns will not take ...
0
votes
1answer
37 views

Create a table that fills a page with empty rows

I'm trying to create an inventory sheet for our lab, and as such I need a large blank table. Is there a better way to do this then copy and pasting \midrule&&&\\ over and over again? I'd ...
4
votes
1answer
38 views

How to alternate row color and specify column color simultaneously in LyX

I'm trying to set column 0 of my table to gray as well alternate its row colors, for example: I've managed to get the alternative row colors working by inserting the ERT before the table: ...
1
vote
1answer
30 views

Cannot make \arraybackslash work after defining custom columns

I use: \usepackage{array} \newcolumntype{fwLa}[1]{>\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} ...
4
votes
1answer
72 views

Repeating the same column type

I'm using package numprint to create a table which automatically formats its columns. However, the table has many columns. Right now, my table definition looks like this: \begin{tabular}{l n{2}{3} ...
4
votes
2answers
92 views

Specify the row heights of a table

I need to draw a tabular like this one The all rows could be a line stretch less than 1 (I set to 0.5) so as to fit the whole table on the page. The height of the others rows which are different ...
5
votes
1answer
58 views

Erroneous depiction by use of `\draw` and `\fill` commands in PGFplots `axis` environment

I am trying to use table data to construct a patch surface plot. In doing so, I use pgf/tikz, pgfplots, pgfplotstable and the command \edef. My code: \documentclass{standalone} \usepackage{amsmath} ...
1
vote
0answers
29 views

longtabu conflicts with tabu on page header

I have a complex page header that I manage to obtain by having a tabu on chead Then I have a longtabu on my document \documentclass[a4paper,11pt]{article} \usepackage[top=14cm, ...
1
vote
1answer
26 views

Errors using tabular

I have the following code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} \usepackage[fixamsmath,disallowspaces]{mathtools} \begin{document} ...
2
votes
1answer
19 views

Fitting a table in the page with no column names broken by hyphenation

I´m trying to fit a table in the page so it has text width and looks fine. In fact, the code below fits the table, but it breaks column names (e.g. "Ditado" becomes "Di-tado"). It´s possible to do ...
4
votes
1answer
68 views

Recreating formatting of an Excel table using simplecsv

I'm trying to recreate a wholesale price list in LaTeX so that the data can be updated automatically from CSV files. I'm able to import data using \csvautolongtable but I'm struggling with the ...
2
votes
1answer
42 views

Call to coordinate for creating a patch gives an error

I'm trying to construct a patch in pgfplots by means of table data. In attempting to do so, I also use the \coordinate command. Minimum working example: \documentclass{standalone} ...
2
votes
1answer
40 views

circle in a tabular [duplicate]

How can I circle some numbers in the following tabular, keeping the dimensions of lines/columns/cells constant, and avoiding crossing between circles and lines of the tabular ? Thanks ! Bruno ...
2
votes
1answer
190 views

Fancy two-column table from scratch

I tried making my own customized two-column table, but got stuck: \documentclass[twocolumn]{article} \begin{document} \begin{figure} \title {table}{Fancy two-column table} \centering ...
0
votes
0answers
22 views

Rotate table in appendix result in a redundant page between the table and the appendix header

I am new user of latex and now writing my thesis with it. I am trying to fit a long table in the appendix. I use \rotatebox to make the table fit like this: \documentclass[12pt,letterpaper]{report} ...
2
votes
1answer
20 views

Caption content dependent on table name

I have a table environment with a set caption. I want the caption to be singular for tables with one row and plural for tables with multiple rows, all using the same environment. Is that achievable ...
3
votes
2answers
70 views

Last column in a table is too wide

I have been trying to create a table detailing the changes in speed over time, and have noticed that the last column (22 seconds) is disproportionately wide. Is there any way I can reduce the size of ...
3
votes
1answer
74 views

How to avoid typesetting any cell if a table is empty

Following How can I define a macro that adds a row to a table that has not yet been printed?, I came up with a macro (\AddToTable) that “builds” a table, i.e. appends its argument as the last row of ...
-1
votes
1answer
48 views

Draw double top/bottom lines with different line width in table

There is a table draw with excel. How to copy it in \LaTeX code? The difficulty is at the top line and bottom line, which are double lines with different line width.
1
vote
2answers
49 views

Displaystyle for “lim” (global) in tabular-environment

I want to use a tabular-environment and within it some math formulas (limits). But I want \lim to be in displaystyle (without using display-function each time or defining a new command). My MWE: ...
4
votes
1answer
46 views

Using Rowstyle with S-column of siunitx

Is it possible to use a rowstyle with S-column provided by sinuitx? When I try the following the S-column does not allign the numbers (they are not even recognized as actual numbers): ...
2
votes
1answer
53 views

Change position of figure in fancytikzposter

I downloaded the source from fancytikzposter and I am trying to insert the figure inside. I met the problem with the figure, I don't know why all of my figures just move to right. I tried to add ...
5
votes
2answers
34 views

\newcolumntype with automatic & insertion

In brief: I want to define a new tabular column type using \newcolumntype from the array package which is designed to be not occuring as the last column in tabular environment but adds an automatic ...
2
votes
1answer
26 views

How to remove List of Figures page generated by package figcaps

I am using the figcaps package to place my Figures and tables at the end of the document. However, I do not want the List of Figures page that appears with figure captions before the actual figures. ...
6
votes
3answers
93 views

How to change width of concrete \hline in table?

How can I change concrete \hline width? Maybe does anything exist like \hline[2mm]? PS: \setlength{\arrayrulewidth}{2mm} is inadequate in my situation because it changes all lines width in a table.
2
votes
1answer
50 views

How to remove vertical space before list in table cell?

I want to get very compact lists in table cells, but there is still a vertical space before the first list item (see screenshot below). How can I remove this vertical space? LaTeX code for example ...
5
votes
3answers
110 views

loop and char &

I can't find the problem in this code \documentclass{article} \newcount\mt \newcount\mtt \newcommand{\mttab}[2]{% \mt=0 \loop \advance\mt by 1 \mtt=1 {\loop ...
4
votes
1answer
32 views

Inputenc error with some minus signs on a table

First of all, I'm new to writing in latex. So this might be a dumb question. I'm trying to do the following table: \documentclass[12pt, letterpaper, twoside]{book} \usepackage[utf8]{inputenc} ...
2
votes
1answer
62 views

Problem with table formating

I'm trying to make a table with the cells centered vertically. Any solution I've found is giving me errors or not working. Here is a minimally working version of my code: ...
0
votes
0answers
29 views

how to stop table from going out of the page under LyX?

Here is the table source code: \begin{table}[H] \begin{tabular}{|c||c||c||c||c||c|} \hline & \textbf{Inspiration for new clothes} & \textbf{Purchase clothes/year} & \textbf{Period of ...
4
votes
3answers
57 views

tabular: vertical align minipage in table (top)

I have a poster consisting of two columns. In one of the columns I have placed two figures next to each other. To get a nice tikz-frame around each figure I had to put them into minipages each (I did ...
1
vote
3answers
36 views

Additional space in p-type column swallowed by other cell

I want to add extra vertical space after table rows on a row per row basis. Consider the following MWE: \documentclass{article} \begin{document} \begin{tabular}{p{3cm}p{5cm}} Here... ...
3
votes
2answers
223 views

Super-primitive 2-column table in LaTeX

I would like to build a simple 2-column table that will let me attach, to one of the lines in the table, a marginal note in the right margin, for example: A B CC DDD ...
0
votes
1answer
32 views

text wrapping and vertical alignment of text in a table

http://en.wikibooks.org/wiki/LaTeX/Tables contains an example on how to do text wrapping in tables by using p{5cm}: \begin{center} \begin{tabular}{ | l | l | l | p{5cm} |} \hline Day ...
0
votes
1answer
45 views

draw different type of table

Hello I want to draw this table in the Latex but as I'm new and try for some hours cannot do it correctly.
3
votes
2answers
44 views

Adding horizontal labeled horizontal arrows in multicol environment

I have attached a picture of what I am attempting to create. The issue is, when trying to do this in Latex, I am messing up my spacing. I want to add a bold black arrow between the top two tables and ...