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

3
votes
1answer
521 views

Problem with \hline and reference

I am trying to end my table with a \hline. My tex is as follows \begin{center} \begin{tabular}{ l | c || r } \hline 1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7 & 8 & 9 \\ ...
1
vote
1answer
280 views

Conditional inputfile , latex

I am using a conditionalinput file inside my main file %% Out2 doesn't exits %% Out exists I don't want to get caption and table number at position where I don't have file. ...
2
votes
1answer
130 views

table is broken

I tried to make the following form but I couldn't. Also When the address is too much, the table is broken. I apologize. Maybe my question is awkward. thanks. ‎ \documentclass{article}‎ ...
4
votes
2answers
651 views

Removing vertical lines from the table header

This is what I already have, but for the moment. In the left corner and the right corner there are two little vertical lines, I don't want them, but I don't know how to delete them. Anyone who can ...
0
votes
1answer
2k views

Problem setting the width of a column with multirow command

I have an issue with the width of a column, I have a long word in a cell which is larger than the column width, I've tried with \parbox, changing the width of the box and the column, but I can't fix ...
1
vote
1answer
334 views

Table without using booktabs

I would like to know how to create the following table without using the package booktabs. Is this even possible? \begin{table*}\centering \begin{tabular}{@{}rrrrcrrrcrrr@{}}\toprule & ...
11
votes
1answer
24k views

Vertical lines in a multirow and multicolumn table

I am trying to finish this table scheme but I can't figure out what I am doing wrong. I want to convert those discontinued lines into continuous lines and I want to center the label "Total" between ...
8
votes
1answer
2k views

Make numbers in table bold w/o changing width

I want to highlight some numbers in a table using \bf{}. However, the bold numbers also get wider but I want them to neatly line up with the rest. How can I avoid this?
7
votes
2answers
969 views

Getting small font size in all text of a table

I want to have small font size in a whole table. I tried with \small{table code} and \begin{\small}{table code} \end{small}, but it doesn't work. Maybe, I must use a package or any method; please I'm ...
1
vote
2answers
318 views

about \usepackage{graphicx,floatrow} in latex

When I use the code: \usepackage{graphicx,floatrow}, the caption of a table ends up under the table. This does not meet the requirement of Springer (book publisher).
20
votes
3answers
10k views

Vertical table lines are discontinuous with booktabs

I created a table in LaTeX, but there are some problems with the borders. The borders remain open whereas I want them closed. Also, in the last row, I want the vertical line gone, ie I want just one ...
14
votes
1answer
41k views

Multi columns in latex

I am having problems with tables in latex. Here is what I want: Regressors Model 1 Model 2 Coefficient1 Lower1 Upper1 ...
3
votes
1answer
145 views

Undesirable lines with multi rows in tables

I'd like to get your help with a table where I'm using multi rows. It appears lines from rows, it's undesirable. Also I have a weird alignment of the text in cells, title in 6th row isn't centered. I ...
3
votes
1answer
605 views

how to use \loop … \repeat to generate an arbitrary number of rows in a table [duplicate]

Possible Duplicate: Copy table row n times The code below is intended to produce a table with 3 columns and 3 rows (one heading and two empty rows) but it can be seen that it doesn't work. ...
5
votes
2answers
134 views

feedback on my table

I have created a table, inspired by this guide: http://www.tug.org/pracjourn/2007-1/mori/mori.pdf Here is my result \begin{table}[tp]% \centering% \begin{tabular}{cccccc} \toprule% &Table ...
4
votes
1answer
208 views

Creating a specific (locally vertical-first) cell highlighting order in the PDF

I have a table with a bunch of split cells (or large \multirow cells, depending on how one looks at it). This is a minimal example, for the setup I need the table in: \documentclass{memoir} ...
6
votes
1answer
335 views

How to restrict tables under same section

I have a problem in managing tables in LyX. Problem is that I need tables under the same section, but I could not. Can anybody help me in this regard?
3
votes
1answer
625 views

Table right of TikZ image

I created a tree using TikZ and would like to add tabular explanation data to the right of it. The figure definition currently looks like this: \begin{figure*}[h!] \input{tikz/praefixeigenschaft} ...
10
votes
2answers
987 views

How to render a double bottom border on a single table cell?

How to render a double bottom border on a single table cell? In the example table, \begin{table}[htbp] \begin{tabular}{|l|r|r|} \hline Item & Sales & Total \\ \hline Item 1 & 10 & ...
3
votes
2answers
459 views

multipage tables with ctable package

Does anybody know if it is possible to have a multipage table with the package ctable (I know that it is possible with longtable)? My code is the following: \documentclass{article} ...
8
votes
1answer
386 views

Custom environment with fancy text indentation

I am trying to typeset text by breaking it into smaller cameos, numbering each cameo, and putting a heading. See below for an example of how I want the typeset text to look. The code with which I ...
7
votes
1answer
686 views

In-row table page break

I'm stuck on a problem for hours. I'm using the tabularx environment to create a double-column table where the second column takes up several lines. An example of that table is shown here. Since such ...
13
votes
1answer
4k views

Problem with multicolumn color tables

edition might be grateful since i don´t know how to name this problem. English is not my native idioms. Also I don't know how to interpret this problem as well on so apologies in advance. I am ...
5
votes
1answer
1k views

Row colored with alternatingly with \taburowcolors is pink

I'm making a table with tabu having alternating row color, but I'm getting a pink row, which is not a color that I defined. The code: \definecolor{lightb}{RGB}{217,224,250} \begin{table} ...
4
votes
1answer
919 views

pdfpages error : includepdf + addtotoc / addtolist

PDFpages produces this error. How could I fix it ? Package pdfpages Warning: There's something wrong with the entries (pdfpages) of `addtotoc'. Not all entries were (pdfpages) ...
1
vote
0answers
69 views

Place side by side two tables [duplicate]

Possible Duplicate: How can I have two tables side by side? I would place two tables side by side in the same row. How can I do? what packages I should use? does is exist a simple way to ...
6
votes
1answer
3k views

Alignment at the center of two multicolumn

I would center 10e-1 and 10e-3 at the center of the 4 multicolumn. How can I do? \usepackage{siunitx} \usepackage{multirow} \usepackage{booktabs} \begin{table}[htp] \centering ...
6
votes
1answer
2k views

Align siunitx columns in numbers table

Here is a table but it has a problem: the column of 1, 20, 50, and 100 aren't perfectly aligned to others. How can I do that? MWE \documentclass{article} \usepackage{siunitx,booktabs,multirow} ...
2
votes
1answer
291 views

table inside a main table

I want to have a table which contains many tables. I want its caption also. MTab1 and 2 are single col and row matrix. length of Mtab1 and 2 should be equal to T1 and T2.It means Row of MTab1 = 7 ...
4
votes
1answer
564 views

pdfpages + hyperref : hyperlinks in list of tables pointing wrongly to first page of document

In the TOC, the hyperlinks are pointing correctly to the pdf document included with pdfpages But, in the lists of tables / figures, the hyperlinks are pointing wrongly to the cover page of my ...
2
votes
1answer
184 views

Why can't this table compile?

I had wrote following table in TexMaker, when I write it without \usepackage{xepersian} it works but when I want to compile it with that package too, program will hang! But I don't see any mistakes ...
3
votes
2answers
2k views

Adding horizontal and vertical lines , matrix

A= [0.7577 0.7060 0.8235 0.4387 0.4898 0.7431 0.0318 0.6948 0.3816 0.4456 0.3922 0.2769 0.3171 0.7655 0.6463 0.6555 0.0462 0.9502 ...
1
vote
1answer
398 views

Adjusting header and footer and graphics, landscape,

\begin{landscape} \begin{figure} \centering \includegraphics[width=0.9\textwidth, angle=0]{epsFig.eps} \caption{Insert caption} \end{figure} \begin{tabular}{ l | c || r } \hline ...
3
votes
3answers
2k views

Changing fraction style in LaTeX as generated by Matlab

A= [0.7577 0.7060 0.8235 0.4387 0.4898 0.7431 0.0318 0.6948 0.3816 0.4456 0.3922 0.2769 0.3171 0.7655 0.6463 0.6555 0.0462 0.9502 0.7952 ...
1
vote
1answer
2k views

Multirow Nested Table

I am trying to built a 6x6 table which contains mutlirows. My code is \documentclass[a4paper,11pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{multicol} ...
1
vote
1answer
2k views

Visual editor for multi-column table layout [duplicate]

Possible Duplicate: Comprehensive list of tools that simplify the generation of LaTeX tables Is there a visual tool which can generate tex code for more complex tables as shown? The idea is ...
10
votes
2answers
2k views

How can I draw a Karnaugh map

Can you please help me drawing the kmap as shown in the link. A sample of the circles around the 1's is sufficient. *Edit** I made the following code. Can you help me now in completing this ...
3
votes
2answers
7k views

Including a Matlab table in document

Using Matlab I got a table. Now I want to integrate in a LaTeX document. I assume it works like including an image in a document. A = [1 2 3; 4 5 6; 7 8 9]; latex_table = latex(sym(A)) latex_table = ...
13
votes
2answers
19k views

Center only heading text in a table

I need your help. I want to get a heading text center aligned, but the rest of the table, left aligned only. I tried with some advice in other post: \multicolumn {number of columns}{type of ...
10
votes
2answers
331 views

Best practices longtable

I have a long table with the explanation of 50 items (the MWE displays only 9). I believe this is hard to read. How do I make it easy to read? \documentclass[10pt,cleardoublepage=empty,twoside]{book} ...
4
votes
1answer
130 views

Left aligning without extra space between words in tables

Here is the illustrating code: \documentclass[letterpaper, 10pt]{article} \usepackage[margin=1in]{geometry} \usepackage{array} \usepackage[none]{hyphenat} \begin{document} \begin{center} ...
2
votes
1answer
176 views

Tabular has empty row after hline

I made 100 of tabulars like this and never had this problem. I want to end the tabular with an \hline, but after that there is a new line with 2 lines. How do I get rid of it? \begin{table}[H] ...
5
votes
2answers
753 views

htbp and longtable

I am applying a longtable environment. I would like to use something like [htbp] in order to put the table in the next page. Every time I do it gives me an error. Now I am solving the problem with a ...
3
votes
2answers
3k views

Using tabularx, multirow, and parbox for line-wrapping

I am using a multirow inside a tabularx, but because the multirow doesn't wrap, I am putting the multirow's text inside a parbox environment: \begin{tabularx}{\textwidth}{@{}XX@{}} \toprule blah ...
3
votes
1answer
755 views

TAB command and \caption

Is there a way to add a description to this collection of cells? Something like \caption command. I tried but to no avail \begin{TAB}(e){|c|c|c|c|c|c|c|c|c|c|c|}{|c|c|c|c|c|c|c|c|c|c|c|} 0 & 1 ...
2
votes
1answer
1k views

How do I typeset a table with a caption within a tabularx within another table with a caption?

Unfortunately, it keeps bugging me with forgotten \endgroup, float(s) lost, not in outer par mode and so on. In other words, why can't I do something like this (the actual table is significantly more ...
4
votes
2answers
264 views

colored table with some bold colored lines

How can I have a table with the following specifications: The top and bottom lines are bold and all other horizontal and vertical lines are normal. The whole table lines (including top and bottom ...
4
votes
3answers
352 views

How do I draw cells around numbers/letters?

Given this: 0 1 2 3 t e s t How can I draw cells around numbers and letters as well? Of course they also have to be centered. I tried the table command but I got stuck \begin{table}[ht] ...
5
votes
1answer
82 views

How do I forward a length from a command into a column specifier?

I'm using longtable where I want vertical bars separating cells, although not for the table headers. I have 8 columns (but show only 3 here as example) and want to re-use the same lengths on the main ...
9
votes
3answers
495 views

Is it possible to make an underfull tabulary spread out?

With this MWE \documentclass{article} \usepackage{tabulary} \begin{document} \hrule \begin{center} \begin{tabulary}{\textwidth}{|L|L|L|} foo&bar&baz \end{tabulary} \end{center} ...