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

1
vote
1answer
30 views

Table exceeds page width

I'm new to Latex and, in order to make a table, I'm using the CTAN Excel to Latex package. The generated code is as follows: \begin{table}[htbp] \centering \caption{Add caption} ...
1
vote
2answers
49 views

Table not appearing properly

I'm using the below script to display the table, but it is not fitting in my page. \begin{table}[h] \begin{tabular}{l|lllllll} \hline sssssssss/sssss ss ssssssssss & sssssssss & ssssssss ...
1
vote
2answers
26 views

Compressing table to text width in tabular environment

I am trying to reduce the size of a wide table to match the width of my text for my thesis. I have looked at other posts but none of the code seems to work for me. I have tried different combinations ...
0
votes
1answer
22 views

Help to make table of content

I have been struggling to make a table of content to my thesis, can anyone help me with this? I was looking for a complete code where I could just put the names on the chapters and sections, but didnt ...
1
vote
2answers
26 views

Are table captions expected to be placed below the tables in the article class?

In the article class, is table caption supposed to go below the table? Common practice in academic writing is that table captions should go above the table; does the article class (I checked also ...
1
vote
1answer
39 views

Fit a table without changing the font size

I have large tables and they tend to no fit within the page so i used {adjustbox}{width=1.0\textwidth} but this make the font extreemly small. Is there a way that i can fit the table without ...
4
votes
1answer
26 views

The table labels are working fully

I am assembling my thesis, and have the following two tables: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} \begin{document} ...
3
votes
2answers
45 views

I am trying to include the title into one line

I have the following longtable thanks to the community's feedback and documentation: \documentclass{article} \usepackage[margin=0.1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} ...
2
votes
2answers
37 views

How can I make the columns in this longtable narrow so the table looks nicer

I have made the following longtable thanks to the help of this forum and other documentation: \documentclass{article} \usepackage[margin=0.01in]{geometry} \usepackage{longtable} \centering ...
1
vote
2answers
23 views

\phantomsection inside tabular: alignment problems

I would like to use \ref and \label for two lines in a table, which can be done using \phantomsection: \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \begin{document} ...
1
vote
1answer
34 views

put a plot inside a table

i want to :) well as you can see \documentclass[french,12pt,oneside,openright]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[a4paper]{geometry} ...
0
votes
1answer
24 views

Make all longtables in a document full page width

I have a set of documents with lots of tables using the longtable package. I am looking for a way to force all tables full page width. I know that this can be done by setting this in the preambles: ...
0
votes
0answers
20 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
25 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 ...
2
votes
2answers
36 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
46 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 ...
0
votes
0answers
15 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
27 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
33 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
31 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} ...
3
votes
2answers
93 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} ...
4
votes
1answer
28 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 ...
1
vote
0answers
39 views

Space between \hline\hline in `longtable`

I'm trying to use one longtable in my thesis while all others are created with table and tabular environment. I tried to find help visiting this link. But there only one type of table (longtable) is ...
3
votes
2answers
38 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
1answer
56 views

LaTeX error for siunitx in a longtable environment

I've been working on a large document which makes frequent use of \include{}ed longtable environments and siunitx. Recently, longer expressions using siunitx have been causing compile errors which I ...
7
votes
1answer
115 views

Automating extraction of Markdown-formatted tables from an (incomplete) LaTeX document

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. ...
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 ...
0
votes
2answers
53 views

inserting figures and pictures in table

How can I create the following figure ((see attached picture))?
5
votes
1answer
95 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
22 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? ...
0
votes
0answers
32 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
2answers
58 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 ...
2
votes
1answer
77 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 ...
1
vote
1answer
60 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}}} ...
1
vote
1answer
60 views

writing algorithm in a table

I want to write an algorithm such that what I have attached, I am somehow elementary in writing algorithms with latex. I do not want the exact answer, only a tip or an example similar to what I have ...
4
votes
1answer
36 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 ...
3
votes
2answers
84 views

Footnote in multirow & longtable doesn't print

Why footnote is printed with multirow when I use mpsupertabular environnement and not in the longtable, & how may it run ? Thanks for yours solutions. Here an exemple : the note 3 isn't printed : ...
1
vote
1answer
29 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 ...
2
votes
1answer
55 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 ...
4
votes
1answer
122 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.
2
votes
2answers
38 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
101 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
48 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
72 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
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
62 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
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
41 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
30 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} ...