{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
1answer
26 views

Declaring array of integers

Is it possible to declare in TeX array of integer numbers ? What I am trying to do is to declare new tabular environment for very long tables spanning accross multiple columns and (or) pages. My ...
1
vote
1answer
23 views

Color text in a table

Is there a way to color text in an entire table without using environment tabu? For example, change the color of text in every cell to red.
2
votes
1answer
32 views

How can I reduce the width of a table?

I'd like to put this table in a page: \begin{table}[h] \begin{tabular}{ccccccccc} \hline \textbf{No.} & \textbf{Author (year)} & ...
2
votes
2answers
28 views

Centering text in a table

I have a table which needs to expand to the width of my page and I do this by \begin{table}[H] \centerline{ \begin{tabularx}{\textwidth}{|X|X|} \hline \textbf{Number} & \textbf{Probability} \\ ...
1
vote
1answer
17 views

Cell padding and scientific notation doesn't work in both tables

I have made the following two: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable, caption, cellspace, booktabs} \setlength\cellspacetoplimit{4pt} ...
1
vote
2answers
42 views

I have almost finished my table format

Sorry for so many questions, but I am assembling my thesis' table. Thanks to the community's help, I was able to generate the following table: \documentclass{article} ...
1
vote
2answers
49 views

I am trying to convert specific columns into scientific notations

I have the final table: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} \usepackage[table]{xcolor} \usepackage{siunitx} ...
1
vote
1answer
35 views

Automatic Table Widths

This is probably a really simple question, but I don't know what keywords this question might have so I have trouble with searching it over the net. Anyway below is a code I wrote for a table. ...
1
vote
2answers
26 views

Troubles with dcolumn package - how to use underscores?

I do have following table: \documentclass[11 pt, oneside]{thesis} \usepackage{dcolumn} \newcolumntype{d}[1]{D{.}{.}{#1}} \begin{document} \begin{tabular}{p{0.2\textwidth} d{2.2} ...
1
vote
2answers
40 views

Adjusting table to textwidth

I have a table that stretches over the total horizontal space of my page. However, I want its length to be equal to the textwidth. I tried some things I found at similar question but nothing seems to ...
0
votes
1answer
20 views

Border with multirow and multicolumn

Following example: \usepackage{multirow} \begin{tabular}{cc|c|c|c|c|c|} \cline{3-7} & & \multicolumn{5}{c|}{something} \\ \cline{3-7} & & AAA & BBB & CCC & DDD & ...
0
votes
0answers
34 views

Change geometry of single table [duplicate]

I have a wide table, which by default makes the page look like: | xxxxxx | | xxxxxx | | ______________ | | | || | | || | ______________ | | ...
2
votes
1answer
34 views

Wrapping tables with minipages?

Say I have the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{booktabs} ...
2
votes
1answer
97 views

How could I modify the following table?

Thanks to the generous help of this forum, I have generate the following table: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} ...
2
votes
1answer
26 views

Adjusting column size in Latex table

I am using the code below to get a simple table but I need to adjust the width of each column. \begin{table}[H] \centerline{ \begin{tabular}{|c|c|} \hline \textbf{Group} & \textbf{Count} \\ ...
2
votes
3answers
26 views

Make last column take all remaining space in longtable

I want to create a table using longtable where all columns have a fixed length except the last one, which should take all remaining space. The table itself should be full page width. I tried the ...
1
vote
2answers
35 views

Using long table to split a table across multiple pages

I am using the excel to latex add in to generate tables from excel, however, when the table is too long it is not split automatically between 2 (or more pages). Is there any easy way to do this? I ...
0
votes
1answer
19 views

table with values above vertical lines and/or over

I would like to be able to have a table like the one in the picture (hand drawn) below. I am not familiar with tikz, or proficient power latex user, and mostly use them by examples. If anyone can ...
2
votes
1answer
48 views

Infographic - need help!

Infographics enable us to communicate incredibly large sets of data in a way that is interesting, meaningful, and engaging to others. I have been trying to create a simple Infographic with TeX - ...
1
vote
2answers
47 views

How do I fit this table to the frame in Beamer?

\documentclass{Beamer} \begin{document} \begin{table} \begin{tabular}{l l l} \toprule Band & & \\ \hline Total stop band & No propagation possible & All of the incident field is ...
2
votes
1answer
42 views

Rotate my table to be vertical

I'm using the below script to rotate the table, but it keeps giving an error l.208 \end{table} \documentclass[12pt]{report} \usepackage{float} \usepackage[centertags]{amsmath} \usepackage{amsfonts} ...
0
votes
1answer
17 views

Lyx still inserting blank pages between tables in floats

I have a Lyx document with many tables and figures in floats after the bibliography. Lyx is inserting a full blank page (with a page number) between Table 1 and Table 2. Note these tables are rotated, ...
1
vote
2answers
44 views

I am trying to highlight specific rows with a light red color

I have the following table: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable} \begin{document} \begin{landscape} \begin{longtable}{ r *{7}{l} } ...
0
votes
1answer
23 views

How do I fix vertical spacing between tables?

I have a document with about 50 tables in it. If one of the tables goes over the page, LaTeX automatically sends that table to the next page. The issue is that LaTeX increases the spacing between ...
2
votes
2answers
43 views

Shorter notation for a two column table?

I am trying to create a document containing a lot of tables, layed out like in the following Word mockup: While I think I could use the tabular enviroment to create this, this would be quite messy. ...
2
votes
2answers
78 views

How to modify the table command to make it perfect

I am trying to insert my table to the left column of a two columns paper. I want my table looks like this format: The following is my command, the table I create looks ugly! Can anyone give me a ...
0
votes
1answer
23 views

Reduce floating table vertical space in [H] environment

My document contains 5 parts vertically. "Header" Contains three minibox placed horizontally. Gap filled with \hfill. Giant row One. Table envoironment, [H] used to located the table. Giant row ...
1
vote
2answers
161 views

Converting Word or Excel tables to Latex

Is there a plug in or something that can convert Ms Word or Ms Excel tables exactly as they are (with borders etc) to Latex? I have used http://www.ctan.org/pkg/excel2latex but it removes the lines in ...
1
vote
1answer
29 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
46 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
25 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
36 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
41 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
35 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
32 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
23 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
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 ...
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 ...
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} ...
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} ...