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

1
vote
1answer
77 views

Complicated trilingual dictionary, help formatting to look more professional?

This dictionary is for Taiwanese, English, and Chinese. First off: Here's an example PDF of the first few entries: http://goo.gl/aNfGnN And here's the full .tex in its current state: ...
4
votes
1answer
38 views

Can \pbox{max width}{text} be used in tex4ht

Can \pbox{max width}{text} be used in tex4ht? If it can't, is there an alternative that will let me wrap text (manually or automatically) in htlatex. In my reading there was an option ...
3
votes
2answers
82 views

Adjusting exact height of the table rows

I am trying to adjust exact height of the row in my table, but the output is not good: \documentclass[a4paper]{article} \usepackage{array} \usepackage{color, colortbl} ...
6
votes
1answer
108 views

Fully Customized Table in Latex

Is it possible to have a customized table in LaTeX that has the following features? Be able to define Width and/or Height for specific row/column Be able to highlight/color a specific row or column ...
1
vote
1answer
134 views

Tables or other ways to achieve complex page layout

Posting it as a new question, also related to this question as well as maybe relevant in this context of table formatting... What about some things that, to my knowledge, no (other) word processor can ...
3
votes
2answers
106 views

Cross out arbitrary table cells with diagonal line

I'm looking for a way to use a diagonal line to cross out a table cell which may or may not be empty, and without having to manually specify the cell's width and height. (It would also be great if ...
2
votes
1answer
52 views

Wrong numbering of tables in appendix

I have an appendix with 26 tables. Strangely, table 22 which should be positioned after table 21 gets automatically positioned after table 2 (cf. picture). This happens for the two tables that I use ...
5
votes
2answers
74 views

Tabular fixed width

I'm using the p column type in order to force the width of the columns of my table. However, the total width of the table becomes larger that the textwidth. Here is a MWE: \documentclass{article} ...
1
vote
1answer
20 views

Add vertical line in tabular head when using multicol

I have the exact opposite problem described in this question : Remove vertical line in tabular head In my case, I am using this code : \documentclass[a4paper, 10pt]{article} \usepackage{booktabs} ...
4
votes
1answer
43 views

array and command in column' s definition of table

to develop a specific class, I would like to define columns in a table by a macro definition. Like in this MWE \def\titi{c|c|c} \begin{tabular}{\titi} a& b&c\\ a& b&c\\ a& ...
4
votes
2answers
104 views

How to make whole longtable align to the top?

\item \begin{longtable}[l]{l l} 1 & 2 \\ 3 & 4 \\ 5 & 6 \\ \end{longtable} Inside an enumerate environment, the above code produces a longtable that is not beside the item number but ...
4
votes
1answer
77 views

tabu package - gaps in vertical lines

I'm in the unfortunate situation that I have to make a table in LaTeX which has thick vertical lines. Since this does not seem to be possible with the default tabular environment, I chose the tabu ...
5
votes
2answers
68 views

Brackets spanning multiple lines in a single column inside table

I would like to typeset round brackets so that they span multiple lines inside a tabular environment, but only for a specific column. In the example below, I would like the brackets to appear around ...
2
votes
2answers
46 views

Using floatrow or \FBWidth to prevent captions from wrapping around

I have two tables side by side like so: \documentclass[11pt,reqno]{amsart} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{amssymb} \usepackage{color} \usepackage{enumerate} ...
1
vote
1answer
109 views

table over two columns in twocolumn mode [duplicate]

Here's my code: \documentclass[fleqn,10pt]{SelfArx} \setlength{\columnsep}{0.55cm} \setlength{\fboxrule}{0.75pt} \definecolor{color1}{RGB}{0,0,90} \definecolor{color2}{RGB}{0,20,20} \begin{document} ...
1
vote
1answer
38 views

You can't use a prefix with `\char"FB': error when importing csv into latex

I'm trying to use the package csvsimple to create a table from a csv file. This worked so far, but when I try to add new figures/tables afterwards I get multiple errors. It looks like the \end ...
14
votes
2answers
355 views

Very slight discontinuities in table borders

Tables in LaTeX all seem to have slight discontinuities in the outside vertical borders - little notches that are only really visible if you zoom in. Example: \documentclass{article} ...
3
votes
2answers
53 views

Table spacing and alignment

I'm having some problems with tables: 1) Right now cells are centrally aligned (horizontal & vertical). I would like to centre the cells horizontally only so that the text remains at the top of ...
6
votes
4answers
311 views

How to extract each pair of two adjacent cells of a table into a separate tight page?

For the sake of simplicity, I provide a table as follows. I cannot make it simpler because simplification probably no longer match my real scenario. The code below was written by me and modified ...
2
votes
0answers
73 views

How to generate a professional table in LyX? [closed]

Many academic journals ask authors to make tables in a professional style, i.e., only have horizontal rules (usually 3 horizontal rules) without any vertical rules. In LaTeX, the booktabs package ...
2
votes
3answers
75 views

Table format is not proper

I have a weird problem. My table is not formatted properly. \documentclass{article} \begin{document} \begin{table} \centering \caption{Dataset Description} \setlength{\tabcolsep}{0.15cm} ...
2
votes
0answers
52 views

Multiple Table Horizontal Alignment

I am trying to put up multiple tables together. (Scroll down for MWE). I can not figure out why the last table is misaligned. I tried the solution here but it did not work for me as I am not using the ...
9
votes
2answers
105 views

Automatic tabulars : create a table from a list

I just found out about the commands \autorows and \autocols in the memoir class that will wrap a list into a table. For example \autorows{c}{5}{l}{one, two, three, four, five, six, seven, eight, ...
0
votes
0answers
29 views

ltablex - Multirow problem: rows don't continue to the next page

I'm writing a thesis document and I have many longtables with tabularx, so I've decided to use the package ltablex for that matter. The problem with multirow is that it doesn't seem to cross pages ...
3
votes
2answers
57 views

Tabular environment misalignment with the section title

Why do I have this misalignment of the table respect to the section title? How can I get rid of it? \documentclass{article} \begin{document} \section{Education} \vspace{\baselineskip} ...
0
votes
0answers
40 views

create table with multicolumns and multirows

the code I am workin on this thsi \documentclass{article} \usepackage{array} \usepackage{booktabs} \usepackage{multirow} \newcommand{\head}[1]{\textnormal{\textbf{#1}}} ...
2
votes
1answer
24 views

hide specific table, keep cross-references and caption in \listoftables

I have some supporting tables in an article that need to be submitted as a separate pdf file, however I need the cross-references and table numbers with captions (\listoftables) in the main document. ...
5
votes
2answers
68 views

Positioning of text in table cells

In the above depicted table I am not happy with the positioning of the text "Job category" and "Distribution of 1000...". Ideally, I would like the job category text to be aligned in the centre of ...
3
votes
2answers
90 views

Table width bug

I'd like my table to look like it does in the top picture. If I delete either LINE-A, or LINE-B, in the code below, it works. If I leave them both there, however, it results in the wrong width of the ...
1
vote
3answers
85 views

How to setup a cheatsheet with a table-based layout?

I have lots of data, with small records and a relatively small amount of fields; for the sake of this example imagine that I have a database of x-thousand people were I just save relatively short ...
3
votes
1answer
41 views

How to use booktab or type this Table in REVTex4 / REVTex4-1

I wish to type this table in REVTex, however, the code below does not work for \documentclass{revtex4} but only for \documentclass{article}: \documentclass{revtex4} ...
6
votes
3answers
547 views

Tabular with automatic \hline

Is there a package or simple command that will insert an \hline after every line in a tabular environment? It is rather annoying to do it all manually, and it seems like there should be a simple way ...
0
votes
0answers
20 views

scaling position of a graphic image in a table

I am trying to scale an image of a circle in the left of the exercise , the exercise is written in form of a table made of 3 columns, one for the points, the second is for the question and I want the ...
12
votes
2answers
21k views

Vertical alignment in tabular cells with variable height

I have the code: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{tabularx} \usepackage{lipsum} \begin{document} \begin{tabularx}{\textwidth}{ | X | c | } \hline \lipsum[1] ...
0
votes
0answers
32 views

Vertical alignment in tabular with overlays

In a beamer presentation, I use tabular with m columns in order to center content vertically. When I exchange the content of a cell via \visible, vertical alignment doesn't work anymore: ...
4
votes
1answer
93 views

Using \multicolumn{<cols>}{p{<width>}} sets last column inappropriate

I want to add a table note below the table using the \multicolumn command. Explicitly, I don't want to use the threeparttable style. As you can see, the 6th column is set with more space to the ...
3
votes
1answer
82 views

Optimizing width of table (tabulary)

I'm trying to fit this table to the width of the page, however, whenever I try to change the header width with the command {p{}} it doesn't adjust the width of the three main headers Population, ...
1
vote
3answers
86 views

Shortstack in table entries

In order to optimize the width of some columns so that the table fits the text, I used \shortstack. Now, however, I am not satisfied with the look of the header (cf. picture). The header text in the ...
2
votes
2answers
59 views

Colored text in a dcolumn table

I want to highlight text in a table using my own color definitions. The table is a dcolumn table. It doesn't work, I get the error messages ! Missing } inserted. and ! Extra }, or forgotten $. three ...
1
vote
1answer
65 views

'Copyrightbox' becomes 'Table' caption prefix

I'm quite new to LaTex ACM sig-alternate template and I'm preparing a camera ready version for a proceeding. At first the latex engine gave me the error of no float type 'copyrightbox' defined then i ...
3
votes
2answers
81 views

How to centre the horizontal text in table

\documentclass{article} \usepackage{multicol} \usepackage{multirow} \usepackage{array} \usepackage{rotating} \usepackage{makecell} \begin{document} \begin{table} \small \caption{Studies on ...
3
votes
1answer
406 views

table of tables using memoir

I need help to create a "table of tables" using memoir. I'd like to use the booktabs features embedded in memoir. What I'm trying to typeset is something like subfloats, having two 2x2 matrix of ...
5
votes
1answer
1k views

Latex Table giving me an error: Missing $ inserted

\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 ...
0
votes
1answer
37 views

Vertical lines within cell

I'm trying to replicate the folowing table in LaTeX with booktabs: However, I have trouble making the vertical lines. Here's what I have so far: \begin{tabularx}{\textwidth}{l | c c c c c c c c c ...
0
votes
1answer
46 views

Unable to add symbol in header of table [duplicate]

So, here is a table: \begin{table}[h] \begin{tabular}{llllllll} \rowcolor[HTML]{EFEFEF} \textbf{foo} & \textbf{bar} & \textbf{foobar} & \textbf{fsj} ...
3
votes
3answers
84 views

Conflict between areaset and sidewaystable with tabularx

I have a problem with one large table, and I could finally narrow it down by reducing the preamble and commenting out some lines. The Problem: I have a table defined like that (please see the MWE ...
0
votes
0answers
19 views

why is the placement of the table wrong? [duplicate]

I'm new Latex, I want to use make a table, and it works fine. the problem that I have is the position of table in the document : \chapter{chapter description } \section{section name } ...
4
votes
2answers
121 views

Tabular columns have different width

I have the following simple tabular environment: \begin{center} \small \begin{tabular}{|c|c|c|} \hline \multirow{2}{*}{$cm(ag)$} & \multicolumn{2}{|c|}{Number of agents in}\\ \cline{2-3} & ...
6
votes
4answers
115 views

Create row tables like for cycle from counter

I have a counter and I want to create a table with as many rows as the counter automatically. Each row should be numbered. Thanks
1
vote
1answer
35 views

Extending a line in the Table

I wish to have a Table setting like the following graph with an extra line inserted between a and b. Namely, I wish to extend the line separating 1, 4 and 2, 5 to the line separating a and b. The ...