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

1
vote
1answer
35 views

Table with figure (include caption for figure) side by side.

I want to create a table with image on side by side. The problem I encountered is the alignment of the table. Can anyone fix the code to make the Lambda_1 and Lambda_2 become the caption for each ...
3
votes
2answers
58 views

How to have columns of different sizes using tabularx and make table respect page height?

I am using Kile and I am trying to learn how to use tabularx to have tables that fit within the width of my pages. However, I have two big problems: I have to use X for column size and therefore ...
2
votes
0answers
46 views

Organizing tables and figures with captions horizontally and vertically

I need to organize my tables and figures (with a separate caption for each one) in the following manner: -------- -------- | | | | | | -------- | | Fig 7 | | ...
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 ...
5
votes
3answers
121 views

How to make a table on more then one page by using the table environment

EDIT [Like some comments below are remarking the table environment doesn't allow tables over more then on page. However the solution works fine] I need to make a table over more then one pages. The ...
4
votes
1answer
82 views

Issues With Tabular And Left-Side Spacing

I'm having an issue where my "Course Work" section, which is tabular, is offset by a space or two - whereas ever other section lines up perfectly. I've read up on the tabular environment but could ...
0
votes
3answers
41 views

Making a table with several lines in each box

I'm trying to make a large table where each of the boxes has several lines of text underneath each other. I have tried \newline and \linebreak to get onto a new line, but neither work. The command \\ ...
2
votes
1answer
37 views

Force Kile to create tables that are inside the page width

I am using the Tabular Wizard on Kile to create a \tabularx environment for one of my tables, and I want it to fit inside a page. Currently this is my setup: {% ...
1
vote
1answer
27 views

Avoid a weird error with ltablex

I'd like to have an table over many pages with the same headline. I use the tabularx package, and the ltablex is required according to link. However if I use ltablex I get sticky errors ! LaTeX Error: ...
1
vote
1answer
65 views

break on @ symbol in table cell

I have a table that often overruns the width of the page. I figured out that if I format the cells as paragraphs with a set width then LaTeX will wrap the contents of the cell. However, the column ...
2
votes
1answer
46 views

Kile creates special character in empty cells for tables

I am using Kile as a Latex editor, and I particularly like the Tabular Wizard. However, when a cell has an empty value, Kile adds a special character, a pink ×. When I try to compile the document ...
2
votes
1answer
43 views

White space between caption and sidewaystable

I am using a sidewaystable from the rotating package. I am trying to add some white space between the caption and the table (caption is placed above table). I tried using ...
4
votes
1answer
56 views

Table with equal columns

I need a table with 4 rows, 3 columns and a partial horizontal line in column 2-3. I tried: \documentclass{article} \begin{document} \begin{table} { \begin{center} \begin{tabular}{|c|c|c|} \hline ...
3
votes
1answer
141 views

Latex Table giving me an error

\begin{table} \begin{tabular}{|c|c|c|c|c|} \hline \multicolumn{5}{|c|}{\textbf{Table 1:}Unfiltered Water}\\ Concentration of analyte in sample & Avg & Std Dev & RSD ...
-1
votes
1answer
48 views

How to make the third vertical bar disappear in the third row of my table?

How to make the third vertical bar disappear in the third row of my table?
0
votes
0answers
31 views

Why does the vertical bar disappear in one cell of my table? [duplicate]

For some reason, the third vertical bar fails to appear in the third last row. Why? \begin{center} \begin{tabular}{|c|c|c|} \hline & & & \\ \hline & & & \\ \hline & ...
1
vote
1answer
56 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 ...
2
votes
1answer
92 views

Eliminate reference to chapter in table caption (memoir class)

I'm editing a book using the memoir class. Each chapter has a different author, and I restart numbering of all elements at the start of each chapter. So far, so good. However, I want to eliminate the ...
5
votes
3answers
127 views

Creating a special table with different row lengths in latex

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

Reducing height of multicol separator line

I am bodging a table using multicol and rule so that I can have cells of dynamic sizes and populate it using a macro rather than manually. It mostly works, however I would like to reduce height of ...
3
votes
3answers
3k views

Text wrapping in multirow columns [duplicate]

How do I make the long multirow cell wrap its text? Ideally I'd like to be able to specify a width for the entire column. The text should also be centered both vertically and horizontally. ...
-1
votes
1answer
101 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
134 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 ...
5
votes
2answers
136 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 ...
28
votes
5answers
2k views

How to produce a list of prime numbers in LaTeX

I would like to write a LaTeX script that produces all the prime numbers between the numbers n and m, where n < m. How can I do this? I feel it shoud not be that hard, but I cannot seem to program ...
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
45 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 ...
38
votes
1answer
821 views

Table in the shape of an arrow

Is it possible (and not too difficult) to draw a table in the shape of an arrow? I think it's best explained giving an example: I'd like to draw a table almost exactly like this. However, the 2nd, ...
1
vote
1answer
75 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
55 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 ...
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} & ...
3
votes
2answers
55 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 ...
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
45 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 ...
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
55 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
41 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
41 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
110 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
4
votes
1answer
85 views

Re-newing a column type

Package array has a \newcolumntype but seemingly no \renewcolumntype. But it makes a lot of sense to have a column type X whose meaning could be changed depending on context. When one does ...
5
votes
2answers
83 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 ...
2
votes
3answers
148 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 ...
8
votes
3answers
9k views

vertically align text in table in LaTeX

Probably a straightforward problem. Why is the final column not center aligned vertically? Here is the code I'm using: \documentclass{article} \usepackage{array} \begin{document} ...
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
48 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 ...