{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
0answers
9 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
4
votes
4answers
89 views

Make a sentence into two lines to make column width narrower.

I have a table that has multiwords and columns \documentclass[12pt, twocolumn]{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{lipsum} \begin{document} \lipsum \begin{table}[ht] ...
1
vote
1answer
30 views

Set width of tabular column to the width of tabular numerals

Take the following code: \documentclass{article} \usepackage[oldstyle, tabular]{libertine} \usepackage{array} \newlength{\period} \settowidth{\period}{9999--9999} \begin{document} ...
2
votes
3answers
71 views

What's wrong with my table?

I am trying to write the following entries in a table \begin{table}[h] \centering $\begin{array} \toprule k & \lbrace c_{kj} : j=1, \cdots , 8 \rbrace \\[1ex] 1 & \lbrace 0 , 190 , 359 , ...
0
votes
1answer
40 views

LaTeX table help [duplicate]

Does anyone have or can derive any LaTeX code of the form of this tricky table? Thank you \documentclass{article} \usepackage{multirow} \begin{document} \begin{tabular}{|cc||c|c|c|} \hline ...
2
votes
0answers
20 views

!h float parameters for table environment [duplicate]

Latex float parameters look messy to me. I was reading this which says, You can force LaTeX to use one given position. E.g. [!h] forces LaTeX to place it exactly where you place it (Except when ...
1
vote
0answers
27 views

Longtable breaking into very small sections over many pages.

I'm writing a paper in the format of Monthly Notices of the Royal Astronomical Society (MNRAS- mn2e). I seem to be having quite a few issues with my tables for it. I have several long tables that ...
3
votes
1answer
45 views

Sideways table not centered in the page

I'm writing a paper in the format of Monthly Notices of the Royal Astronomical Society (MNRAS). I have several tables I need landscaped since they are too wide. I have used the sideways table command ...
1
vote
1answer
33 views

Removing indention before first table column

I want to remove the space before the first column entry of a table environment in a CV, in order to align it with the section header. The output looks as follows: I am aware that it might look ...
1
vote
3answers
56 views

How to use table in text format as regular table (and reference to it)

I have such text table: Descriptive statistics ================================================================= Statistic N Mean St. Dev. Min Pctl(25) Median Pctl(75) Max ...
2
votes
1answer
29 views

Problem arise displaying table caption

I am facing and issue regarding table caption. The code is the following: \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{gensymb} \usepackage[version=3]{mhchem} ...
4
votes
2answers
102 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} ...
0
votes
0answers
10 views

I am having problems with table placement [duplicate]

Hi I am sorry if this is a repeat, I tried to find a similar problem but I could not. I am making Cayley tables and I quite like the ease of the code I am using, but something strange keeps happening. ...
4
votes
1answer
42 views

LaTeX places table outside of page margin

I'm using the KOMA class scrbook with the font Tex Gyre Pagella (11pt) and onehalf-spacing. I am placing a table float with the position options "htb", but both pdflatex and lualatex place the table ...
1
vote
0answers
25 views

Transforming my table in longtable

I've been trying to transform my table into a longtable desperately for the past hours. I looked at numerous examples, checked the documentation but I cannot get it working. So I have a pretty long ...
1
vote
0answers
9 views

Error after inputting frmttable stata table

I am using the Stata user written command frmttable to create journal-like tables and to write them to LaTex. When I use the command \input{... .tex} the table is displayed like I want it, but LaTex ...
3
votes
2answers
115 views

An error in my table

I am trying to write the following entries in a table \begin{table}[h] \begin{center} \begin{tabular}{@{}llllllll@{}} \toprule $c_{ij}$ & 1 & 2 & 3 & 4 & 5 & 6 & 7 ...
0
votes
1answer
28 views

Table not displaying in desired location [duplicate]

I am writing a lab report and I want to display the a table underneath my Results section. This is my code: However, the result looks like this: Why is this the case? Thanks!
5
votes
1answer
37 views

How to change row height without using renewcommand?

I have a very large table and in order to make it fit the page I need to shrink its rows. I managed to obtain the desired effect by using \renewcommand{\arraystretch}{0.9}. However, the journal for ...
4
votes
1answer
23 views

How to place individual tables in the subtable environment each on a separate page?

Complete beginner here. I have two (landscape) tables that belong together (one caption, each table has its own subcaption). I'm using the subtable environment and everything works - apart from one ...
2
votes
2answers
31 views

Align text and image in table

My table looks like this: The left column will contain words, like it is now, and in the right column I want to add these small pictures (some are a bit bigger than this one) in every row. I have ...
1
vote
1answer
34 views

Refer to a table as figure

I have a table where I have put pictures (plots) in each cell. The whole point of making this table is for comparison of the plots. However it does not look good to refer to this set as a table, ...
1
vote
1answer
19 views

table extrude from solution envrionment's frame in exam document

I'm using the exam class, and I have tables in it's solution environment, but I found that a table extrudes from the frame of the solution environment at the bottom of the page, see the image shot ...
4
votes
3answers
57 views

Aligning headers with column better

The columns are slightly offset from the headers. I've tried playing around with a bunch of things (which is why the code is a bit of a mess now). Any suggestions how to fix this? ...
3
votes
3answers
85 views

'Undefined control sequence' error when typesetting table

The error is Undefined control sequence. Here is the code: \begin{table}[htb!!] \center \begin{tabular}{|c|c|c|c|c|c|} \hline \multicolumn{2}{|c|}{Experiment} & Initial tip deflection ...
1
vote
1answer
50 views

Table unnecessarily starting from next page in latex

How can i stop my table in latex to start unnecessarily from next page leaving a huge space in previous page? How can i force to start just after the heading. Please help, here is my code: i am using ...
0
votes
2answers
54 views

Align and format table

I have these two tables: I want that the first table (descarga de recursos) aligned with the second table (ver boletines) I tried to do the tables with online editors like http://truben.no/table/ ...
1
vote
0answers
12 views

How to concatenate expr into the pgfplotstabletypeset?

I have a file with time in seconds and I want to make a expression inside the pgfplotstabletypeset to convert the seconds into 2h35m40s. I only get how to convert to hours, minutes and seconds but ...
2
votes
1answer
34 views

siunitx table with separate-uncertainty is too wide

I'm using a tabular environment with the siunitx type S and the package option separate-uncertainty, like in the example below. In the resulting document, the columns are too wide, and the 3rd column ...
0
votes
0answers
23 views

IEEEtran table formatting doesn't work

I'm totally new to this so any insight would be greatly appreciated. I want to create a document using IEEEtran and despite trying on multiple operating systems and editors I can't seem to get tables ...
1
vote
1answer
50 views

Simple import of data with special characters for table

I'm currently trying to import a set of data from a file (comma or tabbed delimited, doesn't matter) for creating a table. Below is an example of this data (DH parameters in case you're curious): ...
2
votes
2answers
33 views

Two tables in two columns

I have following problem: I have two tables..... Table one: \begin{table}[h] \begin{tabular}{|c|c|} \hline \textbf{A} & \textbf{B} \\ \hline \end{tabular} \end{table} Table two: ...
5
votes
1answer
47 views

centering column headers in siunitx table column

In this table with some big numbers the column headers centered over the decimal point look odd to me. And, too, the columns seem a little too wide. I've puttered a bit with other answers here and ...
9
votes
4answers
420 views

How to recreate this table?

See what I'm trying to do here. The MWE I've managed to come up with is as follows: \documentclass[12pt]{article} \usepackage{makecell} \usepackage{cals} \begin{document} ...
16
votes
4answers
2k views

Tip on how to make a visually good table

I'm using booktabs to make most of the tables in my thesis. However, I'm not sure if that is the best solution for tables with more than 6-7 rows, as it can be difficult to read (there is no line ...
0
votes
0answers
10 views

Coloured cells in Tabular printing over table lines [duplicate]

I'm using Tabular and XColor to color some cells of a table, but some of the coloured cells are "printed above" the lines of the table (see attached image, which shows part of the table). How could I ...
3
votes
1answer
39 views

Vertical lines in LaTeX (tabular vs pgfplotstabletypeset)

Why don't these 2 tables have identical vertical lines? \documentclass{article} \usepackage{array} \usepackage{booktabs} \usepackage{pgfplotstable} \usepackage{pgfplots} \begin{document} ...
0
votes
1answer
19 views

List of tables when dealing with table inside figure

I'm in bit of a problem when dealing with my homework. I'm suppose to create the document with few figures (images) and the tables. Images are properly rendered in the last pages. However, one table ...
0
votes
1answer
42 views

Ignore numbering of some tables

I have a document with two tables. I want my second table to be Table 1 both in List of Tables and caption. \documentclass{article} \usepackage{tabu} \usepackage{longtable} \begin{document} ...
2
votes
3answers
52 views

tabular - changing column separator

Is it possible to change default column separator character (&) for tabular environment ? I find it convenient to edit content of table in LibreOffice Calc and save it as csv file. This csv file I ...
1
vote
3answers
55 views

Multirow and rotated column headers

I want to typeset a table with rotatetd column headers (so far it works) stretching over multiple rows. The problem seems to be that multirow does not adjust the tables row heights, thus I have to do ...
1
vote
2answers
52 views

Input a tex file in my document, but it's not placed well

Recently, I input a .tex file (just name it as table1.tex, which contains a table I needed in my paper) in my main document, but it's not placed well, I want it be in the middle, but it's on the ...
0
votes
1answer
30 views

Drawing double hline with longtabu

I'm trying to draw a double horizontal line with longtabu \begin{longtabu}{|l |l |} \hline 0 & 1\\ \hline \hline 1 & 0\\ \hline \end{longtabu} ... however, all I get is a thick line. When ...
6
votes
3answers
85 views

Aligning equations that also include text

I am trying to align a list of descriptions of various variables used in a statistical analysis. In case it is relevant, the text-width of a single column is 75mm. I have tried various environments ...
3
votes
1answer
28 views

Vertical alignment of tikz matrix and tree

I want to display a table as a tikz matrix next to a tikz tree in the same figure environment. Using the baseline option in every tikzpicture worked to align both pictures on the top for the case with ...
5
votes
4answers
75 views

Tables with centered columns of specific width?

I like it when tables have centered columns (e.g. |c|c|c|). However, I have width restrictions. The most obvious solution to force a table to be within a certain width is to do |p{2.5cm}|p{2.5cm}|, ...
2
votes
2answers
35 views

Increase table row height but not separation from surrounding text

I would like to construct a table environment that accepts an argument that controls the vertical space between rows but does not influence the vertical separation of the table from the surrounding ...
3
votes
0answers
30 views

Table reference does not show the word 'Table' [duplicate]

I'm trying to refer to a table in my report, but the reference wouldn't include the word 'Table' as follows. Any ideas why? :) The LaTeX code is as follows: \documentclass[11pt,a4paper]{article} ...
2
votes
1answer
37 views

IEEEtran Tabular Won't Fit Into 0.7in Margin

Using IEEEtran, I am trying to combine two tabulars in a single double-width table* environment. (This is the only way I could figure out to correctly order the tables in the paper, otherwise LaTeX ...
0
votes
1answer
32 views

Error in caption of table?

Hello I create a table but when add the caption I face the error as in the picture shown. Also I need to have repeat the header of table in each page. please help me. \begin{landscape} ...