{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
0answers
24 views

I want to make a table but its when I want to add a double line, it gives me two tables [duplicate]

So I tried to make a table using this code: \begin {tabular}{|l||c|p{8cm}|} \hline test & test2\\ \hline\hline test3 & test4\\ \hline\hline \end {tabular} Between the 2 rows of thext I ...
2
votes
1answer
32 views

Table doesn't fit page even with rotating

I have two tables (only one is shown in above picture) that are too wide and even with rotating the tables with the sidewaystable package they don't fit to one page. It is a must for me to fit both ...
3
votes
1answer
31 views

Rotating caption title together with table

As presented in the above picture, when I use the command \rotatebox{90} to rotate a table the caption (title) of the table doesn't rotate. How can I make the title rotate with the table? Note that ...
2
votes
1answer
43 views

Conversion of table from tabulary to tabular

I have table A.3 that I want to convert into a layout more like table A.4 so that it fits the text width. I know this is best attained by using tabular. I actually had a solution similar to A.4 ...
4
votes
1answer
53 views

fp alignment in tables

Can anyone explain why the output from these two entries is different? Does anyone know how to make the second one match the first? \documentclass{article} \include{fp} \newcommand\entryOne[1]{ ...
0
votes
1answer
70 views

How to solve a “Misplaced \omit” error in a table?

I'm trying to code table in LaTeX; however, the following code isn't working: \documentclass{article} \usepackage{a4} \usepackage{subfig} \usepackage{xfrac} \usepackage[normalem]{ulem} ...
5
votes
3answers
86 views

separately centered table headers, separately centered table content

edited for clarity: dear texperts: I have an interesting puzzle. I am thinking that the following format is better than one in which the middle column is all 'r' and the right column is all 'l'. ...
4
votes
2answers
39 views

Increase margins from table line to text

In the following tables I'm trying to increase the margins of the two lines below the years (1881 and 1907) so that the text (inhabitants...., km2....) is not so near to the lines. I can't seem to ...
2
votes
2answers
53 views

How to adjust alignment and column width (tabular)?

I would like columns 2 and 3 to be aligned to the right hand side. However, it does not seem to work. Though several questions relate to this issue and my question will probably be marked as ...
1
vote
1answer
55 views

Insert labels inside table rows

I have a long table with different equation, I need to make a label and then refer to them in some cells, trying to do that by putting usual label giving me wrong results in LyX, more precisely if the ...
1
vote
1answer
64 views

\resizebox and page sizes

What is the exact operation and syntax for resizing an object? I am writing a macro package for printing on multiple paper sizes, including A4 2-column, eBook-size, portrait and 9inx6in WEB browsable ...
2
votes
1answer
89 views

How to circle multiple cells? (special case)

I need to circle multiple cells, on different rows/columns. This is a problem which has been solved. However, I have a more particular case of the problem. I need to draw a circle that needs to ...
4
votes
1answer
39 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} ...
3
votes
0answers
168 views

Cell overlay in beamer

I used the code posted in this thread to highlight cells in a table: \documentclass[xcolor=table]{beamer} \rowcolors{1}{gray!30}{gray!10} \makeatletter ...
4
votes
0answers
90 views

Border control for LaTeX tables generated using TeX4ht

In producing simultaneous pdfs and html/word files using xelatex and TeX4ht I have noticed that the table produced by TeX4ht is kind of illogical and is clumsy to clean up and manipulate. I would ...
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 ...
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
44 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& ...
3
votes
2answers
111 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 ...
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
79 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
69 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 ...
3
votes
1answer
56 views

Automatic right justify in table - multiple choice question

My code part \newcommand{\iib}[5]{ \begin{center} \begin{tabu} to 0.42\textwidth {@{}|X[l]@{}|X[l]|} \textbf{A)} #1 & \textbf{B)} #2\\ \textbf{C)} #3 & \textbf{D)} #4\\ ...
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} ...
4
votes
1answer
99 views

Using MinionPro Tabular Figures in Tables and Proportional Figures in text

I am trying to use MinionPro tabular figures in tables because they look much better than proportional figures. However, I would like to keep proportional figures in text. This is the configuration ...
3
votes
2answers
54 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 ...
2
votes
0answers
75 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 ...
1
vote
1answer
113 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 ...
1
vote
1answer
43 views

Formatting columns with multicols and lstlisting

I want to get the code displayed in the picture below to come after the title I have for it. I know I have previously asked this question but it was detailing with enumerated items. Can I get some ...
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, ...
2
votes
0answers
53 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 ...
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. ...
0
votes
1answer
53 views

How to fix table's caption that is overlapping the content.

I have an table: \begin{table}[h] \begin{center} \caption{Test wydajnosci wykonanej aplikacji mierzony w czasie odpowiedzi serwera 000webhost.com w milisekundach na wybrane zapytania.} ...
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 ...
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
2answers
92 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 ...
3
votes
1answer
44 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} ...
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 ...
0
votes
0answers
33 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 ...
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
48 views

table number is off in cross-references

I have a longtable and a regular table that were generated by a statistics package. I am inserting then into an article like this: \input{../Tables/sum_stats.tex} \label{sum_stats} and then ...
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 ...