{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
3answers
130 views

How to add vertical space after \hline without breaking vertical lines in a table

I have seen similar questions on the matter (Question 1, Question 2) of adding vertical space and not breaking vertical lines, the solutions suggested are to add space after the \\ using \\[0.1cm] for ...
0
votes
1answer
38 views

Selecting font size in a table

I have the following table decleration: \begin{table}[H] \caption{Tree construction table for subsample 1} \centerline{ \scriptsize \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline %%%%%VALUES%%% \hline ...
2
votes
1answer
97 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 ...
9
votes
1answer
167 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. ...
1
vote
1answer
37 views

Problems when including diagonal line in a table cell

I am trying to use this solution which uses tikz, however I cannot get it to compile properly. I get the error: Misplaced \omit. ...llcolor[HTML]{EFEFEF}\diag{0.2em}{1cm}{a}{b} Searching for that ...
0
votes
1answer
50 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
2answers
33 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 ...
0
votes
1answer
33 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
40k 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
30 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}{ ...
3
votes
2answers
455 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
48 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
40 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: ...
52
votes
4answers
54k 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
76 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
59 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
36 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
70 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
217 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
2answers
38 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
0answers
35 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
56 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
24 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
65 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
2answers
51 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
105 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
46 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
41 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
36 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 ...
2
votes
1answer
42 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
56 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
99 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
46 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
69 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 ...
4
votes
2answers
152 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
48 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
46 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
80 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
51 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
51 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
54 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
29 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 ...
2
votes
2answers
345 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
33 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
30 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
84 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
827 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
109 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 | } ...
3
votes
2answers
54 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} ...
1
vote
2answers
31 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 ...