{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
28 views

how to construct table inside table in latex

I would like to construct a table look like the picture below in latex:
0
votes
0answers
18 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 ...
0
votes
0answers
12 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
3answers
76 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
30 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 ...
1
vote
0answers
23 views

pandoc, convert .docx to .tex while retaining the table structure in .docx format

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? ...
1
vote
1answer
32 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
28 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 ...
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}{ ...
2
votes
2answers
25 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 ...
1
vote
1answer
42 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
32 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: ...
4
votes
1answer
48 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
2answers
61 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
41 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} \\ ...
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
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} ...
1
vote
2answers
53 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
39 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
31 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
44 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
34 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 & ...
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 | | ______________ | | | || | | || | ______________ | | ...
2
votes
1answer
38 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
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} ...
2
votes
1answer
28 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
40 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
59 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
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 ...
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
22 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
25 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. ...
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
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
193 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
47 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} ...