{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
0answers
44 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. ...
0
votes
1answer
5 views

How to mark a float as inline?

I need to insert a a narrow but tall table. To save space, I would like the other half of the page to be occupied by text. At first, I succeeded using using package multicol together with tabular ...
10
votes
3answers
37k views

Caption on tabular environment

I have got codes like the following (generated by Kile). How can I add a caption. I guess I should have used the table environment. Is there any solution now? ...
1
vote
1answer
28 views

How do I move the table to the vertically center ? , and align figure and table together

\begin{figure}[htbp] \centering \makebox[0.5\textwidth]{\includegraphics[width=0.7\textwidth]{figure/ch3/result_s2/book.jpg}} \qquad \qquad \scalebox{0.7}{ ...
0
votes
0answers
9 views

csvsimple Vertical Header

I'm trying to create a table from .csv files using csvsimple. Here are the contents of my file: Degrees,10,20,30,40,50,60,70,80,90 Time,1.33,0.90,0.72,0.63,0.50,0.43,0.41,0.40,0.38 This is a table ...
3
votes
2answers
405 views

Itemize environment within a tabular environment

I've got the following code: \begin{tabular}{r|l} {Column 1 content}&{\begin{itemize} \item Column 2 content \end{itemize}} \end{tabular} But for some reason, the editor I'm ...
1
vote
1answer
39 views

Table Wider than text

I am trying to generate a normal table, but some columns have long lines and this made the table go outside the page margin. How can I adjust the table width ...
3
votes
1answer
30 views

Table with tikz image: vertical alignment

I'm trying to create simple table with tikz pictures and its descriptions on the left side. Unfortunately I cannot vertically center those descriptions in their cells: ...
47
votes
4answers
52k views

Adding space between columns in a table

I notice that the space between each column of a table in LaTeX is not quite wide (at least for me). Is there any way to set this? I found the \hspace, but I don't get how to use this in the table. ...
2
votes
2answers
59 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.
4
votes
1answer
47 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 ...
2
votes
1answer
32 views

table alignment specification

When I use \begin{tabular}{l*{20}{c}} it works perfectly. But when I use \begin{tabular}{l|c*{4}|c*{8}|c*{8}} It gives me error. How can I specify the alignment operator as multiples without ...
1
vote
1answer
59 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 ...
1
vote
2answers
196 views

Avoid a weird error with ltablex

I'd like to have an table over many pages with the same headline. I use the tabularx package, and the ltablex is required according to link. However if I use ltablex I get sticky errors ! LaTeX Error: ...
2
votes
1answer
40 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
32 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} \\ ...
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 | | ______________ | | | || | | || | ______________ | | ...
1
vote
2answers
43 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 ...
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
51 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} ...
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 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} ...
2
votes
1answer
99 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} ...
1
vote
1answer
38 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
29 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} ...
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 ...
0
votes
1answer
22 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 & ...
2
votes
1answer
36 views

Wrapping tables with minipages?

Say I have the following table: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{booktabs} ...
1
vote
2answers
48 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 ...
3
votes
2answers
83 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 : ...
2
votes
1answer
27 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} \\ ...
1
vote
2answers
37 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
55 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 - ...
4
votes
2answers
131 views

Need a Macro for Tables - independent of row and column size

I have created the following macro for Table: \newcommand{\createtable}[7]{ \begin{table}[htbp] \begin{tabular}{|p{8cm}||p{8cm}|} \hline \begin{center}\textbf{\cellcolor{Orchid!25}{#1}}\end{center} ...
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} } ...
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
53 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 ...
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

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
48 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. ...
1
vote
0answers
38 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 ...
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 ...
0
votes
1answer
25 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
171 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
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
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 ...
1
vote
1answer
82 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} ...
3
votes
2answers
781 views

Reduced word spacing when wrapping text in a cell

I'm wrapping text in a table, some of the cells have 4 words in, wrapped to have two in the first line and two in the second. LaTeX introduces a large space between the first two words so that the ...
1
vote
1answer
101 views

What command could I use to get the table of values?

I want to get the table of values as in the following link : Table I wrote the following part of code: \central \begin{tabular}{ | l | l | l | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | } ...