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

Last two columns in this table rendering as italics

\begin{table} \caption{Dataclasses with example table names, data fields and column names.} \begin{threeparttable} \begin{tabularx}{\columnwidth}{l>{\hsize=0.5\hsize}XD{.}{.}{4.0}D{.}{.}{4.0}} ...
2
votes
1answer
24 views

Columns in a answer-sheet. The second and third column numbered continuously?

I used this instruction by Herbert to prepare my own answer-sheet. However, I have one problem with a numeration of the second and third column. I want to have the second and third column numbered ...
0
votes
2answers
52 views

inserting figures and pictures in table

How can I create the following figure ((see attached picture))?
2
votes
2answers
34 views

Centering vertically and horizontally the table content

I'm trying to replicate this table below: with the following code: \documentclass{article} \usepackage{array,booktabs}% http://ctan.org/pkg/{array,booktabs} ...
0
votes
0answers
17 views

vertical alignment cells

How can I vertically align the text in the cells in order to be in the middle of the cells? \begin{table}[h] \scalebox{0.9}{ \centering \begin{tabular}{c c c| c c c } \hline\hline ...
0
votes
1answer
42 views

Coloring rows problem

I need fill table rows with color, but i have few problem with it: If i do this some columns are overlayed by background (first pic - multirow). I see white borders. (I don't understant why - they ...
3
votes
2answers
90 views

Issues with a complex table

I have to recreate the following table in LaTeX, but I cannot get it to work perfectly. But for now this is what I have been able to get: This is the code I have so far: \documentclass{article} ...
0
votes
0answers
14 views

IEEEtran Table within Text (Two Column Style Page)

We want to create a table, in a two column style page (IEEEtran) which will range in both columns. Unfortunately it is always placed at the top of a new page for the following reason: The *ed float ...
2
votes
1answer
26 views

toprule set up for two sub tables

First thing first, my LaTeX code, \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[letterpaper, top=0.25in, bottom=0.25in, left=0.25in, right=0.25in]{geometry} ...
1
vote
1answer
32 views

How to format the following equation using table

i am trying to write some equations and have trouble with the formatting. I assumed that having a table would be good, but if anyone has a better idea, I wanna hear your suggestion. This is my code in ...
3
votes
1answer
29 views

I am having problems with longtable

I am trying to make a longtable with the title at the top. I am new to writing documents with latex, and I think that I almost have it: \documentclass{article} \usepackage[margin=0.1in]{geometry} ...
4
votes
1answer
25 views

File ended while scanning use of \multicolumn

I used http://www.tablesgenerator.com/# to create this table and loaded all of the needed packages. But it stil doesn't work. I really need this for my thesis. Can someone please help? My code is the ...
2
votes
1answer
28 views

Vertical and horizontal align in multicolumn and multirow

I have big issues with alllign in multicolumn and multirow. In I need vertical allign in multicolumn with content 'a' and 'b'. Also I need horizontal and vertical allign in multirow. Is there way to ...
3
votes
2answers
37 views

How to set up partial toprule and make even sub columns

First thing first, my LaTeX code, \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[letterpaper, top=0.25in, bottom=0.25in, left=0.25in, right=0.25in]{geometry} ...
0
votes
0answers
30 views

To create links to filenames in Pandoc Tables

I am working for better note taking and note using. I asked Textmate if there is a possibility to have links for filenames in LaTeX editing. They proposed the following approach Nothing like ...
2
votes
0answers
28 views

To Select, Add LaTeX and Compile for Automating Pandoc Tables Presentation [closed]

I am trying to automate the presentation of my note taking. I would like to be able to regex all Pandoc tables in my document, add LaTeX around them, compile them and show the result in a pdf. ...
5
votes
1answer
94 views

Extra space when using tabular and overlay

I am trying to make a simple animation to change rows of a tabular from normal text to bold text. I tried to do it with \only and \alt, but I end up getting an extra space in the beginning of the row. ...
2
votes
1answer
21 views

Question marks in pdf file when referring to table

Have a look at the MWE below. In the pdf file I get questionmarks when reffering to the table, rather than a numeric reference. Even if I run LaTeX twice. Any ideas how this can be solved? ...
2
votes
2answers
56 views

problem with Multirow

I am trying to do a table in latex. My problem is I cannot to a multirow for "Apprentissage" cell between the 3 cell : "phrase", "mot" and "vocabulaire" \begin{figure} \centering ...
1
vote
1answer
55 views

Latex table goes out of page border

I have the following table: \begin{table}[htbp] \centering \begin{tabular}{|l|l|} \hline \multicolumn{1}{|c|}{\textit{\textbf{Economic school}}} & \multicolumn{1}{c|}{\textit{\textbf{Drivers}}} ...
2
votes
1answer
64 views

How to work better with tables/columns in notes by LaTeX?

There are many methods to work with tables but I would like to do it flexibly and generically for better collaboration and productivity. External mode in IDE would be nice. I can use any editors for ...
10
votes
2answers
9k views

Automatic line-break in tabular

I'm making a tabular and I'd like to automatically do a like break rather than going beyond the page. This is my tabular code: \begin{table}[h] \begin{tabular}{|l|l|l|} Use Case Navn: ...
2
votes
1answer
50 views

Table overlay in beamer on multiple rows and multiple columns

I want to show columns of a table dynamically. On the first frame I want to show only the first column without the last row. Then on the second frame only the first column with the last row too. Then ...
0
votes
1answer
71 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} ...
2
votes
2answers
70 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} ...
4
votes
1answer
33 views

Issues with tables being moved to next page due to empty space

I have an issue with my tables not wanting to fit onto the pages of my document. As can be seen by the first page, there is plenty of room for the tables, but for some reason on page two there is a ...
1
vote
2answers
80 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 ...
1
vote
1answer
28 views

Centering some cell in table + breaking up a cell

I would like to get a contingency table but I've got 2 problems * First, I would like to splits my columnname. I've tried this (as you can see below) using \, but that didn't work * I would like to ...
4
votes
1answer
121 views

How to make this particular type of box?

I need this type of command. Someone can help me? I do this with tabular and some negative space but it is very difficult to work like this.
1
vote
1answer
60 views

How to add scale to bar plot inside table LATEX

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
34 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
98 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
44 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
46 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 ...
2
votes
2answers
64 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
39 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 ...
1
vote
2answers
47 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 ...
3
votes
4answers
50 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} ...
5
votes
6answers
166 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 ...
3
votes
3answers
28 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
1answer
26 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
160 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 ...
4
votes
1answer
33 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
39 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 ...
2
votes
1answer
23 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: ...
1
vote
2answers
41 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 = ...
1
vote
1answer
32 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
26 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} ...
2
votes
2answers
26 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} ...
6
votes
1answer
165 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} ...