{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
2answers
57 views

How to space columns evenly in a table with multicolumns?

A hopefully very simple question. Why does the multicolumn in my example below screw up the spacing between the columns below? Obviously I would want columns A, B, and C to be spaced evenly (as they ...
4
votes
2answers
114 views

Align numbers on decimal point in tabular except for the column title

I am trying to align some numbers in a tabular on the decimal point. I have been using the dcolumn option but given that my column title is a year, it aligns also the year on the decimal point, which ...
1
vote
2answers
55 views

How to enter symbols in a tabular environment

Is there a simple way of entering symbols within a tabular environment? I'd like to add a degree symbol and a plus/minus symbol to the table below: \begin{table}[h] \centering ...
0
votes
1answer
74 views

Table questions on multiply row caption

and what I am currently at..... \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[letterpaper, top=1in, bottom=1in, left=0.75in, right=0.75in]{geometry} ...
1
vote
2answers
81 views

Creating a table

I have a table of C++ operator precedence, and it's causing errors. From what I can see, line 9 is a problem, but I cannot see why [] would not properly escape [] I'm sure there are plenty of ...
2
votes
1answer
82 views

How to add scale to bar plot inside table

I have following table with bar plot inside. I would like to add scale (x axis) at bottom of bars. Can anyone guide me how can I achieve that in LaTeX? \documentclass{article} ...
2
votes
2answers
83 views

Draw Dash-like midrule in table environment

I could draw most parts of this table. But I have no idea how to draw dash-liked midrule. Thanks a lot. \begin{table} \captionsetup{labelformat=empty}\ \centering \caption{REVENUE INTEREST}\ ...
3
votes
0answers
54 views

How to use \foreach and \input inside the body of \longtable?

I want to use % option 1 \foreach \x in {1,2,3}{\input{chapter-\x}} instead of % option 2 \input{chapter-1} \input{chapter-2} \input{chapter-3} to make my code much easier to read. :-) Shortly ...
3
votes
3answers
39 views

toprule and bottomrule next to align within table - errors & spacing problems

The following table gives 2 errors: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{tabularx} ...
1
vote
2answers
47 views

Table with COLSPAN and ROWSPAN together?

I need help with my table. I need to (probably) mix row and colspan (see right bottom corner and 2 columns in the center) but i do not know how. Also I need more lines (questions) in 4th column - is ...
1
vote
2answers
53 views

docmute does not work: only the first \input takes effect and the other ones are ignored

My scenario is as follows: mytabclass is a document class only for defining macros to create a table. the body of any input file inheriting from mytabclass can only contain some rows. No other ...
1
vote
1answer
29 views

Errors occur when moving the same code to \AtBeginDocument and \AtEndDocument

My objective is to create a table with the following properties. For even number of items: For odd number of items: The minimal working example is given as follows. ...
5
votes
1answer
169 views

How to create a table (and nothing else) in Latex

I like the look of the tables LaTeX makes (using booktabs). However, I cannot use LaTeX to format my entire document, as it must be written in Word. I would like to make a table with LaTeX, save it as ...
2
votes
1answer
39 views

table - error: Extra alignment tab has been changed to \cr

I get an error message for a table. Strange thing is that I already have a similar table in my file, and thereby I don't get an error message... Can someone help me out? The table is the following: ...
4
votes
1answer
51 views

Formatting and aligning of floating point numbers in table

I've got the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{tabularx} ...
3
votes
2answers
41 views

Making a table so that its title does not widen the columns

I have a table with two columns. Since the entries are single-digit integers, I would like the columns to be only wide enough to contain the entries. With my code, the title makes the columns too ...
1
vote
1answer
37 views

Paragraph column problems

This is maybe noob question but i have problem with paragraph column type 'm'. I was trying a lot of combinations but this problems i can not solve: Text with in is not in the middle (vertical). ...
0
votes
0answers
28 views

Problem with including table in latex report

I am using kile (Ubuntu version) and writing a report. I am unable to include a table using the \begin{table}[h!] command. The errors are like: \begin{document} ended by \end{table}.\end{table} ...
1
vote
2answers
48 views

Make different vertical alignment at cells

I have longtable with 3 columns. I need: 1st column - short word. Vertical alignment = top 2nd column - long text. Vertical alignment = top 3d column - short number. Vertical alignment = ...
2
votes
2answers
41 views

Left justified comment in table caption without caption package

I need to left justify long table captions, without overwriting all the special formatting (font etc.) of the style file I am required to use. I tried to use \usepackage{caption} ...
3
votes
4answers
60 views

Missing equation numbers in aligned environment inside tabular environment

I try to create a tabular environment containing a two-lined description on the left side of an equation on the right side. It looks like this: \documentclass{report} \usepackage[intlimits]{amsmath} ...
4
votes
1answer
42 views

Tabular size \textwidth and exacly columns dimensions in cm?

I need make table which have /textwidth width and its columns have exactly dimensions in centimeters. Specifically - table width: 24cm and columns (in cm): 4,2 ; 7,6 ; 6,4 ; 3,5 ; 2,3 My document ...
1
vote
1answer
30 views

tightly packed tables in a page

I have many tables that I want to squeeze in one page. The output of my current code shows lot of space between two tables. I want to reduce the space between the tables as small as possible and want ...
2
votes
2answers
48 views

Images not spaced properly

I'm placing images into a table, but they aren't lining up vertically, even though they are the same height. A complete example is: \documentclass{llncs} \usepackage{amsmath} \usepackage{array} ...
1
vote
1answer
94 views

Create Table with no borders with columns varying depending upon row number?

I currently have a tag called "specEntry" that uses an env definition to document the following entries: i.e. \begin{specEntry}{\-N\-A\-M\-E\-:} \-f\-o\-o \end{specEntry} ...
2
votes
2answers
39 views

Left-aligned headers but centered entries in the remainder of the column

There are three edits that I want for the table the following code gives. First, I want the column headers left-aligned and the remaining entries in the columns centered. Second, I would like to ...
2
votes
2answers
89 views

Disable \tabulinesep for some rows with tabu package

The \tabulinesep parameter with tabu package provide good paddings for tables with variant heights. But when using it with diagbox package, the paddings cause problem. \documentclass{article} ...
2
votes
2answers
48 views

A table not displayed correctly

I provide two attempts at code to make a table with 4 rows and 5 columns. There are several unexpected features in the tables that are displayed. In both tabular environments, I have ...
0
votes
0answers
17 views

esthetic of typesetting panels within tables

(my question is not so much TeX as typesetting related. it is also related to Tables with multiple panels in LaTeX, R and Sweave .) I have always wondered about how to typeset panels inside tables. ...
6
votes
1answer
190 views

Create table with automatic row numbering

I am trying to create a table with subheading and automatic row numbers. The original table looks like this: The latex to generate the table is as follows: \documentclass{article} ...
1
vote
1answer
91 views

Changing middle line to some other symbol. Latex Table

\begin{tabular}{|c|c|} \hline $ \langle R_1.Y \rangle$ & $ \langle \dot{-}R_2.X, \dot{-}R_2.X \rangle$\\ \hline $\langle a \rangle$ & \\ \hline \hline $\langle b ...
1
vote
0answers
41 views

Tabular error: \begin{tabular}{ c | c | c } [duplicate]

I can't understand this error message: ERROR: Class memoir Error: . --- TeX said --- See the memoir class documentation for explanation. Type H <return> for immediate help. ... ...
1
vote
1answer
36 views

How to apply attributes to a single column of a tabular excluding one cell

I am using this code: \documentclass{article} \usepackage{collcell} \usepackage{array}% actually already loaded by `collcell` \newcommand*{\mymacro}[1]{\fbox{#1}}% Do anything you like with `#1` ...
2
votes
1answer
40 views

Making \xrightarrow longer but without using spaces

I have this table, and as you can see I make the last arrow longer with loads of spaces. Is there a better way to make it as long as the other \plusarrows but at the same time with a centered text ...
4
votes
1answer
44 views

Aligning two tables side by side and adjusting spacing

I read the similar question here, but I cannot manage to adjust the spacing correctly. Following the answers in the linked question, I wrote this: \documentclass[a4paper]{article} \usepackage{float} ...
0
votes
1answer
43 views

Incorrect multirow height

I need to create a table representing hierarchical decisions, something like this: +---+---+---+---+ | | | C | x | | | B +---+---+ | | | D | x | | A +---+---+---+ | | | F | x | | | ...
2
votes
1answer
22 views

Alignment problem of footnotes inside tables

I have a problem with footnotes inside tables. I am using the pifont package to produce dots (\ding{108}). These dots should be aligned. This works very well until I add more then 9 footnotes. Then ...
2
votes
0answers
60 views

One table for all? Searching for a comprehensive yet simple table package [closed]

While I get the concept that LaTeX is different from WYSIWYG editors, formatting tables seems to be a rather complex process in LaTeX (especially for a newbie). I am thinking of the following basic ...
3
votes
1answer
32 views

Tabular in tabular: Strange behavior of rowcolor

Starting with the following document: \documentclass{scrartcl} \usepackage[table]{xcolor} \begin{document} \begin{tabular}{|r|r|} \rowcolor{yellow} \hline Head 1 & Head 2 \\ ...
1
vote
0answers
38 views

Multicolumn - Extra alignment tab has been changed to \cr [closed]

I'm trying to build the following table, but I get the error in the title. I'm sure it has something to do with the \multicolumn function, but I can't see what's wrong with it. Help? \begin{table} ...
2
votes
1answer
42 views

Table caption above, figure caption below in ConTeXt

My definition looks like this: \setupcaptions[location=top] \setupcaptions[way=bysection,prefixsegments=section,headstyle=\bf] And placement of tables ...
3
votes
2answers
74 views

What is the generic workflow to place objects relatively to others (or previously set anchor points) in beamer?

Coming from MS Powerpoint I usually use SmartForms or other objects to highlight specific points in a picture or a table to draw the viewers attention. Just imagine a technical drawing and I want a ...
4
votes
1answer
53 views

How can I use the ampersand (&) as a delineator for tabs in LaTeX3 (expl3)/xparse syntax?

This idea evolved from the question: How can I get a count of the optional arguments with xparse? Problem I cannot get the ampersand to function as a delineator (for tab stops) inside the ...
4
votes
2answers
99 views

Formatting tables

Could you help me formatting these two tables? I'm close to submit my thesis, but I found some problem in formatting these tables. This is the preamble I'm using ...
4
votes
2answers
53 views

Fit table to textwidth AND textheight

The table below was too long to fit the textheight and not wide enough to fit the textwidth. I would prefer the height of the table to conform to the height specified by the commented-out line ...
1
vote
1answer
54 views

Making thick horizontal lines and a thick vertical line in a table

I have the code for a table. What is the default thickness for the lines? I would like to double the thickness for the vertical line to distinguish the "total column", and I would like to double the ...
2
votes
1answer
72 views

Siunitx adding the \cdot and \chemfig to get extra top space in a tabular

i am having a problem compiling, i get an error of missing $ and { also } when i use \si....... [siunitx package] ----> I tried the \sisetup... but it gives me an error, may be it has conflicts with ...
2
votes
1answer
23 views

Table - disable auto numbering

I was wondering whether it was possible to skip numbering one of my tables and carry on numbering the rest as if that table was not there.
1
vote
1answer
49 views

Multirow and Multicolumn with missing lines

I am trying to create a table which uses both multicolumns and multirows, and I am getting some graphical problems. As you can see on below image, the top right corner is missing a line and the ...
1
vote
1answer
32 views

How to properly place a pgfplotstablestyleset in a floating environment

I am trying to make a really basic table with values I read from file using pgfplotstablestyleset. However, the placing of this table seems completely off. If I use \centering it is glued to the right ...