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

5
votes
3answers
129 views

Creating a special table with different row lengths in latex

How can I have a table like the following picture in latex?
-1
votes
1answer
103 views

Boolean algebra [closed]

\documentclass{article} \usepackage{amsmath,amssymb} \usepackage{graphics} \begin{document} \begin{center} \textbf{\LARGE BOOLEAN ALGEBRA}\\[20pt] \textbf{\large PROJECT}\\[15pt] \end{center} \large ...
6
votes
4answers
135 views

How to fill a dynamically generated table with dynamic content?

how do I generate a tabular dynamically while filling it with dynamic data? Example: Let's say I have \def\N{10} and I want to generate a table with \N columns, where the top cell of each column ...
1
vote
1answer
60 views

csvsimple erros building csv table

I want to use the csv package to insert tables into my document. I am importing csv by using the \usepackage{csvsimple} command. Then, in the code, I use \csvautotabular{Tables/test} to create the ...
5
votes
2answers
139 views

Horner scheme with a tabular

I know there exists a standard code for a Horner scheme. But I would like to get the following tabular. I've got the next code but I can't find how I get that little vertical line at the right ...
2
votes
3answers
52 views

How to seprate words into two lines in one cell? [duplicate]

The table is too wide, and I want to make it narrower by wrapping the Second under the First, how should I achieve this? The latex code looks like this currently: \begin{table*}[t] \centering ...
4
votes
2answers
45 views

How to get a cell colored in \bordermatrix?

I tried to use \cellcolor as suggested in color only a cell of a table but it didn't work. Can it be done? That's my code: \documentclass{beamer} \usepackage{colortbl,xcolor} ...
-1
votes
1answer
54 views

Lots of tables, no go [closed]

I have a file with +30 tables that I would really like LaTex to parse but of course it gets all floaty and can't decide where to place them and so goes belly up. Any suggestions on on how to get this ...
3
votes
1answer
39 views

How to add tables to a list?

I would like to have these two tables as items of this list. Currently they are appearing outside the list, on the top of the page. \documentclass[12pt, oneside]{article} \usepackage[brazil]{babel} ...
0
votes
2answers
46 views

Creating a table within a longtable

I have created a longtable by using information from the question asked here. Now I want to create a table with two columns with 3 rows each within the right part of this long table. A pictorial ...
1
vote
1answer
77 views

Make the footnote in a table at the bottom of current page

Finally, I add footnote in a table. But it does not locate in the bottom of the page. It is below the table. And, \usepackage[bottom]{footmisc} does not work in my case. How could I make the footnote ...
0
votes
1answer
56 views

How can I create full page table with varying column widths?

Concretely, this is what I want to do as described in this picture. Create two columns, one of larger width and spanning the whole page. I understand there is multicolumn but I can't seem to make it ...
3
votes
2answers
56 views

how to put words in several lines in one cell?

The table is too wide, and I want to make it narrower by wrapping the Second under the First, how should I achieve this? The latex code looks like this currently: \begin{table*}[htbp] \centering ...
4
votes
3answers
46 views

adding significance levels under regression result table

I have a table as the following: \begin{table}[htbp]\centering \caption{Dependent Variable: Enrollment} \begin{tabular}{c c c c} \hline\hline \textbf{Variable} & \textbf{Model 1} & ...
2
votes
1answer
17 views

\the\thislevelcount is available inside a ForEachX loop, but \thislevelitem is not (the forarray package)

I'm trying to loop though a comma delimited list and print out the elements in a table. Here is the code that works half-way for doing this: \documentclass[10pt,a4paper]{article} % ...
1
vote
0answers
39 views

Add horizontal lines for selected shaded cells

I was trying to add a thicker horizontal line for columns 2-13 (above columns A, B, and C in the following example). My code did not not work for shaded columns. Any suggestions? Thanks in advance. ...
4
votes
2answers
46 views

Including a Table in a Figure Environment

In order to close the vertical space between this figure and table, I'd like to place the table inside the figure environment. Is that possible? %!TEX TS-program = xelatex %!TEX encoding = UTF-8 ...
2
votes
1answer
62 views

Nested itemize in a table column

I find it very useful to keep outlines in omnioutliner because you get the outline and table functionality in one. I would like to write a macro that converts the outline document to a LaTeX table ...
7
votes
3answers
176 views

How do I use the ampersand (&) inside a foreach or conditional (or other group/environment) when building tables?

I am trying to build a table, and inside the tabularx environment I would like to have a loop, something like (here is a MWE): \documentclass[10pt,a4paper]{article} \usepackage{tabularx} ...
1
vote
1answer
56 views

Text color in natural table heading in ConTeXt

I'm new to ConTeXt and having a problem with colors of header in a "natural table". I want to have the text in the header displayed as white, and not gray. Here is what I have right now ...
1
vote
0answers
71 views

Is there a decent table editor for use in LyX?

Is there a decent editor to create tables for inclusion in LyX? The standard table editor can't even do the most simple things in a straightforward manner.
4
votes
2answers
42 views

Use varwidth to make a paragraph center in a table

The following code does what I want, except the V acts like the p option, but I want the m option. \documentclass[12pt]{memoir} \usepackage{varwidth} \begin{document} \begin{tabular}{lV{2in}}\hline ...
4
votes
1answer
42 views

Center cell borders when using \multicolumn

MWE: \documentclass{article} \begin{document} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline &\multicolumn{2}{|c|}{1} & \multicolumn{2}{|c|}{2} & ...
0
votes
1answer
111 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
152 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
122 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
51 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
111 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
68 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
38 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
57 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
121 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
40 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
53 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
30 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
32 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
64 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
74 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} ...