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

3
votes
2answers
22 views

How to \caption a longtable imported from a file by \input{file} and use a smaller font?

I'm generating a boring longtable from a database into a file. My goals are: Import the generated longtable into another document. The longtable data is dynamic and must be imported periodically. ...
2
votes
3answers
38 views

Table does not show up using \documentclass[man]{apa6}

I use \documentclass[man]{apa6} and my table will not show up when compiling the .tex. I use the following code: \documentclass[man]{apa6} \usepackage{enumitem} \usepackage{amsmath} ...
1
vote
1answer
25 views

How to create a custom “short” table of contents

I'm very new to Latex and I need to make two table of contents, one in the beginning and one in the end. The one in the end should be very detailed and the one in the beginning should just be a ...
1
vote
1answer
31 views

How to make the table in latex?

I already install all the packages but its still not working error given below Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption} ...
0
votes
2answers
32 views

How to create a table with table of contents like attributes?

Is there a simple way to create a table of contents like table? In detail i want the same layout like the toc, the same width and especially the filling of the white space with dots, but with a ...
0
votes
0answers
31 views

How to create a multicolumn color table?

How to create a multicolumn color table look like this picture but i meet problem with multicolumn color tables? Please help me create it! Thanks your help.
0
votes
0answers
12 views

Tables: text wrapping and maximal stretch

I have a table with say two columns, the first column contains only small items, in the second column is some text, something like this: \begin{tabular}{lp{0.8\linewidth} 1 & Lorem ipsum ...
1
vote
1answer
20 views

Writer2Latex table border removal

I'm using Writer2Latex to convert my .odt file, created in Google Docs and downloaded as .odt format, to .tex. It works but because there is no way to create columns of text in Google Docs other than ...
1
vote
0answers
53 views

Problems with “simple” table

After lots of attempts, I've been unable to get a table exactly as the one below. I don't know if somebody could give me some advice. . I took the code of another table and managed to get this: ...
0
votes
0answers
17 views

Table make it nicer and single space columns

my friend done the table for me but I am not satisfy from the current table, I need to have it in 1 page or 2 pages (squeeze it). The first row (header) need to be vertical. \if 0 \begin{landscape} ...
3
votes
2answers
73 views

A single row background colour

Below is my code. How do I add a background colour to the first row (only the first row, please)? \begin{table}[!htb] \centering \begin{tabular}{c c c} \toprule ...
4
votes
1answer
9 views

Using bytefield as parameter to self-defined macro raises error

I defined a simple LaTeX macro \bansen which takes a single argument: \newcommand{\bansen}[1]{#1} Unfortunately, I noticed that I can not use a bytefield environment as a parameter for this macro ...
2
votes
1answer
37 views

Pandoc: convert .docx to .tex while retaining the table structure from .docx format in output

The problem I have is that when I convert a document using Pandoc from .docx to .tex, the tables get messed up. Is there a way to use pandoc that will retain the proper table formatting in .tex? ...
0
votes
0answers
17 views

File ended while scanning use of \pgfplotstabletypeset@opt

{{Constructs},{Items},{SLoadings},{CR},{AVE} {Social Needs},SN1,0.66,0.762,0.677 ,SN2,0.72,, ,SN5,0.71,, {Social Influence},SI1,0.7,0.785,0.609 ,SI2,0.68,, ,SI3,0.74,, ,SI4,0.65,, ...
1
vote
1answer
51 views

how to construct table inside table in latex

I would like to construct a table look like the picture below in latex:
1
vote
0answers
32 views

Incorrect Typesetting while referencing to a table

I would like to make reference of a table that I have introduced before. However, after I try to typeset the first time, I have double question marks like this table ??. I know that I need to ...
1
vote
3answers
88 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
35 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
79 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 ...
7
votes
1answer
118 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
33 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
36 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
26 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
29 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
29 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
410 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
45 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
35 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
62 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
49 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
61 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
198 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
42 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
34 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
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
45 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
18 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
54 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
23 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
46 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
40 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
32 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
27 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
39 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
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 : ...