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

0
votes
0answers
34 views

Why does tabbing inside tabular create extra vertical space?

MWE: \documentclass[english]{article} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{array} \renewcommand{\arraystretch}{1.5} \usepackage{booktabs} \...
0
votes
1answer
79 views

\onecolumn introducing empty page

I have a 1.5-page two-column table in a two-column document, which I created with \onecolumn and xtabular. Unfortunately, this introduces an empty page before the table. How can I remove this empty ...
1
vote
0answers
68 views

Horizontal alignment problems in table

This is a follow-up question to "Alignment issues in a table". Consider the following code: \documentclass[ a4paper, 12pt, landscape, danish ]{article} \usepackage[utf8]{inputenc} \...
2
votes
2answers
39 views

Maths in stretched cells

Here is a minimal working example of my table : \documentclass[10pt,a4paper]{article} \usepackage{color} \usepackage{amsmath} \usepackage{colortbl} \usepackage{array} \definecolor{myblue}{rgb}{0.866,...
2
votes
1answer
85 views

Header in a box, with dynamic content

I'd like to reproduce this header : I would like it to appear at the top of every page, with the default font, and the date and the page should update dynamically. The "edition" and "reference" ...
1
vote
1answer
41 views

Adding a title caption with some specific style

I am a newbie to Latex, this is an example of creating a table from the wiki latex tutorial https://en.wikibooks.org/wiki/LaTeX/Tables. \begin{tabular}{llr} \hline \multicolumn{2}{c}{Item} \\ \...
1
vote
2answers
65 views

Fit a table into Latex

I am trying to fit a table in Latex. My table is so wide so I tried to change the page into landscape. However, this does not work. I have used these packages: \usepackage{amsmath} \usepackage{...
0
votes
0answers
33 views

How can I edit this code so that no numbers display on the right hand side

\usepackage{tabularx} \newcounter{matchleft} \newcounter{matchright} \newenvironment{matchtabular}{% \setcounter{matchleft}{0}% \setcounter{matchright}{0}% \tabularx{\textwidth}{% >{\...
0
votes
0answers
59 views

Clean inner upper left corner with single horizontal line (\hhline) and doube vertical line (||)

\documentclass[12pt]{scrartcl} \usepackage{hhline} \usepackage{verbatim} \begin{document} The basic table looks like: \begin{tabular}{|c||c||c|} \hline \multicolumn3{|c|}{1 + 2 + 3} \\ \cline{...
1
vote
2answers
86 views

Error in creating table

I am having a slight problem with my code. TexMaker is indicating that it is the first line of the content part (i.e. the row starting from '1') but my experience with Latex tells me it is do with the ...
3
votes
2answers
276 views

Reduce the space between two lines in a latex table

I am writing a table in latex in which one entry (an algorithm name) is too large. I divided its content in three lines as it is shown in the following table: \begin{tabular}{lccc} \toprule \...
4
votes
1answer
101 views

RefugeePhrasebook - help needed to produce PDF [closed]

Hello everyone (and sorry for x-posting), I want to call your attention to a volunteer project that has been very active in the last couple of weeks, aiming to collectively produce and distribute ...
1
vote
1answer
83 views

Getting a landscape table to work!

My supervisor requested I make three vertical tables into one horizontal / landscape table. The code for my tables (at least the formatting part) were rather complex and this is my first attempt at a ...
1
vote
1answer
55 views

Tstrut and Bstrut seem to be messing up the centering of my table

I'd like to have some spacing between the hlines of my table, but Bstrut and Tstrut (which I understand are the standard ways of dealing with this issue) are adding unwanted empty characters that are ...
2
votes
1answer
77 views

Align table and wrap text arround it

I'm trying to do something I'm not sure I can. So, let me explain. I have an enumerate environment. Inside of it, there are 5 images within an array and then a table. To the right of that table I ...
2
votes
1answer
83 views

\hline not covering the whole of the cell

I am using the answer shown here provided by egreg: How to put a matrix of images? However I would like a line between the graph and the caption under the graph. I tried doing it by modifying the \...
0
votes
0answers
145 views

What's wrong with my table? The multirow package shows some error

I would like to make a table with multirows, but when I try to load the multirow package, the program alert some mistake and I don"t know what's the problem with this: \documentclass[xcolor=table]{...
2
votes
1answer
221 views

desired horizontal alignment of pgfplots' axis in tikzpicture environment inside tabular environment

this is the first time I ask a question on this site (benefited from a lot of answer, though). I have problems with horizontal alignment of pgfplots' axis inside a tabular environment. My target, ...
3
votes
2answers
81 views

Misaligned caption and table when positioned side-by-side

I wanted to put the caption of a table to its left, so I tried taking the approach suggested in this answer. As pointed out in the only comment to there, I had a misalignment issue as well. The ...
0
votes
0answers
52 views

what is the code for merging two columns or two rows in a table in MikTex 2.9 on windows 8

I want to insert 2 column having common name.What is the code for it. I am using MikTex 2.9 on Windows 8.
7
votes
1answer
199 views

Tabular with lines in hand drawn style

According to this possibility with tikz pictures (Simulating hand-drawn lines) is there any way to get "hand-drawn lines" in tabulars?
2
votes
1answer
100 views

Left justified, fixed width columns in table not working correctly

Thanks to this answer I can create left justified fixed width columns in my table. However, I would like to ask if anyone else has encountered the problems with the last column not working as it ...
2
votes
2answers
100 views

How to create an grouped histogram with table annex

I am trying to code the following graph with latex. Can someone do it? (grid settings and colors are not important) the table is the following \begin{filecontents}{table.dat} T L F LF 400 0....
0
votes
0answers
56 views

Problem “Go to Page”, Footnote in Table

MWE \documentclass[a4paper,11pt]{book} \usepackage{tabularx} \usepackage[svgnames]{xcolor} \usepackage{footnote} \usepackage[colorlinks=true,linkcolor=blue]{hyperref} \makesavenoteenv{tabular} \...
1
vote
2answers
112 views

Left curly brace in tabular environment

I have following code: \begin{IEEEeqnarray}{c} y = \beta_0 + \sum\limits_{i=1}^{m}{\beta_i x_i} + \sum\limits_{i = 1}^{m} \sum\limits_{j \geq 1}^{m}{\beta_{ij} x_i x_j} + \epsilon \label{...
3
votes
2answers
297 views

Two tables do not align vertically

\documentclass{article} \begin{document} \begin{figure} \centering \begin{tabular}{*{3}{c}} 1 & 1 & 1 \\ 1 & 1 & 1 \\ \end{tabular} \vspace{3mm} \begin{tabular}{*{3}{c}} 1 & 1 &...
3
votes
1answer
62 views

Can overhang be set for a single cell in a table in colortbl?

I can set colors for individual cells using cellcolor in the colortbl package, and set the overhang for a whole row, but using the 'obvious' solution to set the overhang for a single cell doesn't seem ...
3
votes
1answer
188 views

Force all figures but not tables to the end of a document

I wanted to put all my figures at the end of my pdf. I was advised to use: \usepackage[nomarkers, nolists]{endfloat} which worked great. However, my tables are also placed at the end of the ...
4
votes
2answers
441 views

Does `ruledtabular` environment from revtex4-1 break the S column in `siunitx`?

I am trying to used the revtex4-1 document class for a paper, and I want to align the decimal point in columns of numbers. I am trying to use the S column type from the siunitx package. If I use the ...
1
vote
2answers
40 views

centering in a table and avoiding of gaps

I have the following document with a table. There are two things that are not like I want them to be. First I want the text in the fourth column to be in central position (like in the first three ...
2
votes
1answer
80 views

Position of \caption gets counter incremented twice [duplicate]

So, this example was bugging me: \documentclass[12pt,a4paper,twoside,DIV=9,BCOR=2cm,openright,parskip=never]{scrbook} % \documentclass{article} % \usepackage{floatrow} \usepackage{subcaption} % \...
1
vote
1answer
64 views

Create a coordinate system or diagram from values in an existing table

I have a table in a document that looks like this: \documentclass{scrreprt} \usepackage{array} \begin{document} \begin{table}[htpb] \centering \captionabove{occurrence of X by year} \begin{tabular}{||...
1
vote
2answers
32 views

Getting desired space between table and header

\begin{figure} \centering \begin{tabular}{ccccc} 1 & 2 & 3 & 4 & 5 \\ 6 & 7 & 8 & 9 & 10 \\ & & & & \\ & & (a) & & \\ \end{tabular} \...
2
votes
1answer
68 views

Cannot use sqrt in tabular

Whenever I use \sqrt in a tabular, I get this error: ! Missing $ inserted. Example code to reproduce the error: $\begin{tabular}{l}\sqrt{2}\end{tabular}$
3
votes
1answer
829 views

Split a cell diagonally in a table to write proper titles

I am trying to split the "Score\exp" cell diagonally where I can write "score" in one half and "exp" in the other half, any ideas? My code: \begin{table}[htbp] \centering \caption{Add caption} ...
0
votes
1answer
190 views

Design of complex table layout

Is it possible to reproduce what this image is showing in LaTeX?
1
vote
1answer
45 views

Change padding of a large table won't fit if put in table environment [closed]

I have a large table, which I used the following command to cut its size: \renewcommand\tabcolsep{.16667em} \renewcommand\arraystretch{0.3} It works perfectly well and it fits into one page. ...
0
votes
0answers
21 views

Colouring tables [duplicate]

\begin{table}[htpb!] \centering \begin{tabular}{|{>{\columncolor[tudelft-cyan]}c}|c|c|c|c|c|} \hline Number&Feed&Direct flow of carrier gas (Nl/min)&Swirl flow of gas (Nl/min)&Total ...
3
votes
1answer
81 views

How do I enclose each table column of a particular row in parenthesis

I am a novice in Latex and have very little idea about writing latex macros. I have a collection of hundreds of tables to be incorporated in a document. In each table I need to have certain rows ...
0
votes
1answer
76 views

Why text is going out of cell when using \textbf in table and tabular block?

Why text is going out of cell when using \textbf in table and tabular block? In this snapshot MLP is a normal text but SVM and LR are \textbf. What should i do? Code sample (A part of the code): \...
0
votes
0answers
14 views

Tabular inside table - wrong position of table [duplicate]

I use a tabular within my table. Problem: The table position itself on top of the page, so that the section "Appendix" is not it's header (as I want it to be). Code: \section*{Appendix} \begin{...
2
votes
1answer
77 views

Subcaption of figures in a table

There are two ways I would like to describe the figures in the table: put sub caption under each figure (preferred) or insert the description directly in the figure. To create a table of figures, I ...
1
vote
1answer
26 views

Table width reducing for a table with few long lines

I am working on a table in a 2-column document. How do I get the table to fit the column My table tex: \begin{table}[h!] \centering \begin{tabular}{l|ccc|ccc} \hline Sequence & \...
3
votes
1answer
287 views

How do you draw a bimatrix for game theory using Osborne's sgame.sty guide?

Martin Osborne has a powerful guide on creating bimatrix for game theory https://www.economics.utoronto.ca/osborne/latex/ I am not familiar as to how I can incorporate a .sty file to my latex. I was ...
0
votes
1answer
74 views

how to adjust the position of my table

This is the case, when I type in: (a)\\ \begin{table}{h!} ... \end{table} (b)\\ ... I hope the table appears right below (a)(I leave enough space for the table), and then below the table is (b). ...
1
vote
1answer
208 views

How to use Nested multicolumn and multirows

I want to make a good table on table but I am not an expert. Below is my code for the label \documentclass{article} \usepackage{times} \usepackage{multirow} \begin{document} % Article top matter \...
0
votes
1answer
81 views

Blank page after chapter title when table is used

I am having a problem with a blank page appearing after the title page whenever only a table is in the chapter. So the chapter is 2 pages, the first is blank and the other is where the table is. Any ...
2
votes
2answers
108 views

Vertical rule in tables with multicol span

I am trying to create a table to compare to set of methods for various parameters. My tex: \begin{table}[h!] \centering \begin{tabular}{l|ccc|ccc} \hline Sequence & \multicolumn{3}{c}{...
0
votes
2answers
159 views

Remove whitespace above and below itemize in a table [duplicate]

I have a table where some cells contain a bulleted list produced by itemize. I want to present these lists in a compact way. I use the enumitem package and \setlist[itemize]{nosep} (plus other ...
2
votes
2answers
154 views

Long variable names in table

I have a long variable name (first column, row three) in a table, is there a way I can separate the variable in two lines? This is my table: % Tabla 6 test de tendencia paralela \begin{table}[htbp] \...