{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} 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
1answer
128 views

Creating complex tables with multicolumn on different lines on latex

Can someone help me creating this table, I can't figure out how \multicolumn work. I can get to the first two rows of the table but no further. Please help. Thanks
46
votes
3answers
2k views

Is there a tool to make a complicated Table like this one (“Auswahlliste” from “Pahl/Beitz Konstruktionsmethodik”)?

I’m developing a product as a part of my thesis for my university in Germany. We are supposed to use standard methodology for decision making. One of the tools is called “Auswahlliste”. (I don’t even ...
2
votes
3answers
158 views

Helvetica neue for a table

How can I set Helvetica Neue font (with a specified size and color - i.e. 9) for all the tables in my LaTeX file? I'm trying with \fontfamily{helveticaneue}\selectfont but it doesn't work and ...
5
votes
2answers
85 views

expl3 code with tabularx

In a nutshell: I've seen code for creating tables programmatically using tabular. Can it be done using tabularx? If so, how? I'm a math teacher, and I'd like to create a "problem set" environment in ...
5
votes
1answer
123 views

Problem aligning binary and hexadecimal numbers in siunitx table

Could you tell me what's wrong with next code? I want to get a three columns tabular where numbers are typeset with typewriter family and centred below its header. Numbers won't have any decimal part, ...
2
votes
1answer
53 views

Table too wide to go out of the page.

I have a table, which seems to be too wide for my page and it pops out of the page border. In lyx, it is like And in PDF, it looks like, it is going out of the page border. How can I address such ...
1
vote
0answers
39 views

Set Table width and separate some rows [duplicate]

I'm trying to make the table take the line width of the paper but I don't know how to do this. I want it to look like this: However, it's appearing like this: This is the script I used: ...
0
votes
1answer
38 views

Table desturbingly floats into align environment functions

this is my code \begin{align} S(\Theta)&=\ln\left|\nu(\Theta)\right|\label{eq:S_theta}\\ \intertext{where $\nu(\Theta)$ is the determinant of the covariance matrix of the responses, which are ...
3
votes
2answers
112 views

Theorem Inside Tabular Environment

I'm putting together a Beamer presentation and want a theorem to appear on the left side of the slide and a picture on the right side. I tried to accomplish this with: \begin{frame} ...
1
vote
2answers
37 views

Rotate text next to right brace in multirow environment

The following LaTeX creates a simple table with some rows grouped with a right curly brace: \usepackage{multirow} \usepackage{bigdelim} ... \begin{tabular}{l|l|l|r} \hline $a$ & $b$ & ...
4
votes
1answer
69 views

\int_incr:N inside tabular environment

I started learning LaTeX3 a few weeks ago and I'm currently playing around with tables. Here is my code: \documentclass{article} \usepackage{expl3} \ExplSyntaxOn \cs_new_protected:Npn ...
2
votes
1answer
39 views

Specified Column Width, Centered Positioned Colum with Doouble Line (with bold line) in first row

How to create similar to this table in LaTeX for IEEE Transaction I am trying to make using similar to this one but cant make similar to the attached sample. \usepackage{array} \begin{table} ...
4
votes
1answer
59 views

Lyx Table has unwanted extra column (in an additional row) with APA

I am encountering this strange problem in LyX when my table ends up having additional "legs" as seen in the figure below. The document class article apa, doc is what seems to be causing the problem. ...
1
vote
2answers
39 views

Table: Column auto-width vertically and horizontally centered

I'm trying to find a method which allows me to have columns with automatic width which are also centered in horizontal and vertical direction, just like tabularx's X columntype just centered. So here ...
4
votes
1answer
129 views

longtable caption formatting

I'm having some troubles with captions in longtable tables. I'm trying to typset for a thesis (so am using a class that I didn't write) and my school requires double spacing for body text but single ...
4
votes
1answer
43 views

The right way to draw a slashbox without content in a table?

Here is a part of my table: \begin{table*}[t] \begin{tabularx}{\textwidth}{|l|l|l|X|X|X|X|} \hline ...
2
votes
1answer
28 views

Table with multiple columns error

I've been working on the following table: \vspace{1mm} \begin{table}[hb] \begin{tabular}{cc|c|c|c|c|l} \cline{1-6} & & \multicolumn{2}{ |c| }{\bf Annotator B} \\ \cline{3-4} ...
1
vote
1answer
42 views

tabular operators in a custom environment code?

My question concerns the combination of the tabular environment and the \DeclareDocumentEnvironment command (from the xparse package). How do I set up an environment that contains in its code some of ...
3
votes
1answer
55 views

How to remove unncessary whitespaces between two lonely figures on page

Im sure it's an easy question but I cant figure it out and I was searching google for different keywords crossing my mind but couldn't find a relevant post. I have two tables which are positioned on ...
1
vote
1answer
31 views

Semantic table markup with environments inside {tabular}

I run into issues trying to markup tables semantically in LaTeX. Background Either standard \hline together with \firsthline and \lasthline from array.sty (I think) or \midrule, \toprule and ...
1
vote
0answers
14 views

Fancyref using wrong table number [duplicate]

I am currently working on my thesis and I discovered a nasty problem. I use the following code to reference a table: \fref{tab:alternatives} Now I defined the table like this: \begin{table}[h] ...
2
votes
1answer
33 views

Splitting a code listing inside a longtable

Is there a way to have code listings split across multiple pages when included inside a longtable? For example, the following code: \documentclass{article} \usepackage{listings} ...
5
votes
2answers
66 views

ConTeXt TABLEs, how to automatically fit table size with text with \setupTABLE

When I type something like \bTABLE \bTR\bTD abc\eTD\bTD abcdefg\eTD\eTR \bTR\bTD 123456789\eTD\bTD 1234\eTD\eTR \eTABLE in ConTeXt, it automatically sets the column widths to fit the text contained ...
1
vote
1answer
76 views

Trouble creating basic tables

I am currently writing my dissertation in LaTeX, ran into a brick wall creating a simple table. I want it to look similar to this (Quick mockup done in Numbers) The main issues I'm facing resolve ...
5
votes
1answer
68 views

Table widths have changed - rerun LaTeX

I have an application which stores LaTeX documents, and then (when the user clicks on a link) renders them into PDF files to be downloaded or viewed. This works well in general, but I'm running into ...
4
votes
3answers
57 views

cellspacebreak macro

(I am rolling my own little system to take my LaTeX file and convert it to reasonable HTML and Epub. I have run into the following problem.) I would like to keep my tabulars very simple. There are ...
0
votes
0answers
58 views

How to prevent the borders of colored cell from disappear [duplicate]

the borders of the colored cells disappear in low size and appear when zooming in. Here is my code \documentclass[12pt, fleqn]{article} \usepackage[portuges]{babel} \usepackage[utf8]{inputenc} ...
7
votes
4answers
152 views

Options for creating tables with repeated elements

I have a situation where I have a tabular environment with repeated labels: \documentclass{article} \begin{document} \begin{tabular}{ll}\hline Label 1 & Bunch of text\\ Label 2 ...
1
vote
1answer
91 views

Why is $ required around \oplus in a math environment?

I wrote the following: \begin{equation*} \begin{tabular}{c|c|c} P & Q & P \oplus Q \\ \hline \text{T} & \text{T} & \text{F} \\ \text{T} & \text{F} & \text{T} \\ \text{F} & ...
3
votes
2answers
112 views

Resize a tabular object to textwidth

I have a table which its width exceed the textwidth of the document, but I want reduce its size to fit the textwidth space. I have tried the resizebox command but it doesn't work at all. ...
5
votes
3answers
228 views

Table with arrows between cells

I want to create a table with arrows between some cells, for which I've used tabularx and TkiZ. I have the following problems: Text in cells aligned vertically to the center and at the same heigh ...
13
votes
3answers
728 views

How can I create this game-tree in Latex?

I have the following figure: As of now I create this in Word/Powerpoint and paste the screenshot in a LaTeX file. Is there a way to create this natively? Also, what would be the advantage of doing ...
5
votes
0answers
62 views

Convert sequence to table [duplicate]

I'm trying to write a macro that converts a sequence to a table. The following code works fine: \documentclass{article} \usepackage{expl3} \begin{document} \noindent \ExplSyntaxOn \seq_new:N ...
8
votes
1answer
44 views

Unwanted indentation in custom environment inside tabular

I created two custom environment and a custom command to easily display an overview of modules and classes they contain in tabular format. However, I end up with unwanted indentation for the the first ...
3
votes
4answers
155 views

Help with a booktabs table

I'm a relatively new user to Latex, and this is the first time I am attempting to construct a table for my thesis. I would like the table to look like this: Following some research on the internet, ...
2
votes
1answer
38 views

Aligned equations in tables [duplicate]

I'm new to LaTeX. I'm trying to create a table where one of the cells contains aligned equations. The naive approach of nesting an align environment inside the table environment does not work: ...
2
votes
2answers
60 views

\cline is in tables too thin (when using coloured cells)

I'm having an issue where \cline appears to be drawn under the fill for table colours. With \hline With \cline (to remove the line above the cell I want blank) The line is still there, only ...
6
votes
4answers
125 views

Enumerate environment without vertical space in tabular

I am trying to typeset a hierarchical proof structure as defined by Leslie Lamport in How to Write a Proof. In particular, I am trying to typeset the portion Assume: 1. $r \in \mathbf{Q}$ ...
1
vote
0answers
49 views

Missing lines when shading cells [duplicate]

I cannot figure out why lines are not being showed on the shaded columns. Can I get a little help finding what is wrong? EDIT: The MWE follows: \documentclass[12pt, a4paper]{article} ...
3
votes
3answers
84 views

Adding column space with a specific setting

with the following settings how can I add space between columns or just move them in the middle as they're positioned on the left side? The table looks great but I do not find a way to move column or ...
2
votes
2answers
76 views

Minipage make different space between tables

I have the following problem. I use a minipage to show two table next to each other. As you can see in the figure the first two rows of the tables are okay, but the thrid has a problem with the ...
3
votes
1answer
107 views

Figure overlaps Table

When placing a table then a figure, the figure overlaps half the table.. Here is what the tex looks like: \begin{table}[h] ...
1
vote
0answers
41 views

How to use a single count for tables and figures? [duplicate]

In a short document, I wrote reference-based sentence, which ended up reading : With the previous example (figure 1), the features used are presented in table 1. I would like both figures and ...
4
votes
2answers
52 views

page overflowing in table environment due to content outside tabulars

We made a command to print our software requirements but now that we hit things that use a lot of space we have an overflow issue. We used a table environment to keep everything together and avoid ...
3
votes
2answers
39 views

Limit spanning of hline like cline

Is there a way to limit the length of a hline, so that it behaves like a cline? What I want to achieve is to have the the double lines you will get, when calling \hline twice. What I basically want ...
2
votes
1answer
51 views

Rotated multipage table at start of chapter

I'm working on an article in which I have to put a large and wide table. This table is directly at the start of a new chapter. Because it is very wide, I want to rotate this table (or use it in a ...
2
votes
0answers
35 views

Place sidewaystable at the end of document (below instead of above list of figures)

I've seen a lot of questions concerning how to place a sidewaystable (I'm using the rotating package) floating in the document, but not one on how to place it at the end. My documentclass is ...
1
vote
0answers
41 views

Basic table creation [closed]

I'm having problems creating a basic table. I'm using an R package to produce LaTeX output. This is what it gives me: \begin{tabular}{rlrrr} \hline Disorder & Correlation & StDev & N \\ ...
1
vote
1answer
66 views

How to center the table in Latex

I have got a simple code to generate table in Latex. \begin{tabular}{ | c | c | c | } \hline symbol & value & unit \\ \hline $z Na$ & 11 & - \\ \hline $z F$ ...
2
votes
1answer
36 views

Adding labels to two side by side tables [duplicate]

I've places two tables side by side, but I can't get the labels right. \begin{table}[ht] \begin{minipage}[b]{0.45\linewidth}\centering \begin{tabular} {l | l | l} a & a & a ...