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

2
votes
2answers
72 views

How can I resolve this figure margin issue caused by geometry margin options?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage{tikz} \usepackage[english]{babel} \usepackage{blindtext} ...
2
votes
1answer
36 views

\multirow without extra &s

It is possible to somehow modify \multirow so that it works like this: \documentclass{memoir} \usepackage{multirow} \begin{document} \begin{tabular}{ll} \multirow{3}{*}{Tall cell} & First ...
2
votes
1answer
27 views

Show table headers on each page

I have a table that takes about three pages to display and I'm using the longtable package. It's three columns by about 80 rows. On the first page, I have headers for each of the columns. Is there a ...
1
vote
2answers
40 views

Why table border is not complete

This is the code of my table and the border is not complete and i don't know why \begin{table}[htbp] \centering \caption{Aertssen values for m and n \cite{aertssen3}} \begin{tabular}{|c|cccccccc|} ...
2
votes
2answers
36 views

Alignment of numbers in table with wide columns

I have a table with numbers which get aligned using the S column type from siunitx. Some numbers are put into \multirow and with the \tablenum macro the alignment works perfectly as long as the ...
3
votes
2answers
87 views

How to obtain a justified paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
3
votes
1answer
9k views

Reduce space before and after tabular environment

I have a document with many occurrences of \begin{tabular} ... \end{tabular} I have been unable to find a global command that will reduce the vertical space before and after this environment. ...
0
votes
1answer
47 views

Table does not display in List of Tables

I'm including a table: \begin{table}[htb!] \centering \csvautotabular{results.csv} \caption{Results} \end{table} And in the top of my document, I have: \listoffigures \listoftables However, all ...
2
votes
2answers
48 views

Equation and image aligned on beamer slide

I'm trying to make a beamer slide which has some matrix equations and an image lined up with each other. Here is my attempt: \begin{frame}\frametitle{Transportation polytope constraints} A ...
0
votes
0answers
34 views

LaTeX Print Order

I have built a complex CrossTab report (a massive table with multi-page rows and multi-page columns) that has page numbers that are generated by my macro script rather than with the built-in LaTeX ...
2
votes
1answer
26 views

Using \ContinuedFloat creating errors with table captions

I have a figure in my document that has 10 subfigures, and overflows onto two pages. I have used two figure environments and \ContinuedFloat to get the correct lettering between subfloats. The problem ...
2
votes
4answers
108 views

Need help to make a table

I need to make a table which looks like . I have written my code below. \documentclass[12pt]{article} \usepackage{latexsym} \usepackage{amsmath, times, amsfonts, mathrsfs, amssymb} ...
0
votes
2answers
68 views

Help for reproducing a complex table in latex

Here is the table that i want to reproduce in latex, could someone help me.
1
vote
2answers
88 views

Positioning text in rows in a table

I am using following code for placing table in my presentation \begin{frame} \frametitle{Economic theory vs. Socionomic Theory} \begin{table} \begin{tabular}{l l} \toprule \textbf{Economic voting} ...
3
votes
2answers
41 views

How to top center a picture in a table cell?

Hello I'm very new to LaTeX, and how it works. I want to make a table with 6 columns and x amount of rows. \section*{\centerline {Counter-Strike: Global Offensive}} Her finder du information om de ...
0
votes
0answers
32 views

Title and table position in a paper

I am writing a seminar paper with latex, and currently working on Appendix. The problem is, that i want the title and the explanation of the table be on top of the page, but somehow LaTeX shows it ...
4
votes
1answer
28 views

Write the caption of table in left

I want write the caption of table like this: \documentclass{article} \usepackage{caption} \begin{document} \begin{table} \caption{Caption} \label{tab:1} ...
5
votes
2answers
53 views

Is it possible to put a psmatrix inside a table?

I wanted to create a table in which one column is a diagram that uses psmatrix, and the other column is text. I got the following error: "Forbidden control sequence found while scanning use of ...
1
vote
1answer
58 views

Table Column Width Error

I'm trying to produce a table in LaTeX and I almost succeed. The table is this one: My question is: why the fourth column of "Gennaio", "Febbraio" and "Maggio" isn't as the same width as the rest? ...
2
votes
1answer
30 views

Using \cellcolor in powerdot

I'm trying to highlight some cells in a table in powerdot and \cellcolor doesn't work. How can I color some cells or rows in powerdot. This is the table I used in a report and I'm trying to add to my ...
0
votes
1answer
84 views

How to force multiple tables onto a single page?

I am doing the final layouting pass on a book, and while LaTeX does "the right thing" most of the time, and the occassional ugliness can be tweaked with minor touches to the text, there are cases ...
6
votes
2answers
83 views

Placing the table caption inside the top row

\documentclass{article} \begin{document} \begin{table}[!h] \caption{Caption (not here)} \centering \begin{tabular}{|cc|} \hline \multicolumn{2}{|c|}{Table 1---Caption(should be here)} \\ Property A ...
1
vote
1answer
26 views

Tablefootnote in table* environment?

Is it possible to use the tablefootnote package in the table* environment? With the following minimal example, I see the footnotemark in the table, but no footnote text ...
8
votes
1answer
149 views

Arrows in tables, or matrices

I have been experimenting with LaTeX for a couple of years now, but still consider myself a neophyte. I spent much of yesterday trying to create a table. I am trying to create a table with three ...
2
votes
1answer
24 views

Custom padding for colums in latex

I am trying to achieve the following: MyProjectName %some-space/padding% with PersonName %fill space until right aligned% DurationDates This is what I have: \newcommand{\headerrownew}[3] { ...
2
votes
1answer
30 views

Finding the width of \bf text for sizing a paragraph in a table

I have this structure, which builds a table exactly the width of the text, split into two columns. I want the left column to be exactly the width of the longest words in the column, but to still be a ...
0
votes
0answers
25 views

vertical distance between captions and tables

I was wondering if anyone knows how to always achive (fix the length) the same vertical distance between caption and table in beamer? For instance for some of my tabels, I am getting a quite different ...
1
vote
0answers
26 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: ...
1
vote
1answer
56 views

putting notes below table

I'm having trouble putting notes below the table -- I put several notes below the table but the footnote seems to stretch, making the table longer than necessary. Would there be a way to fix this? ...
1
vote
1answer
27 views

How to use double line in Lyx tables

I want to have double lines in the top row in my tables in lyx. I searched through the site but could not find how to do this.
3
votes
1answer
34 views

alignement problem with table and fancyhdr

I'm having a problem with allignement in header handled with fancyhdr. Here is my code \documentclass[a4paper,italian,10pt]{report} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
0answers
66 views

Square root long division method

I wanted to draw the working column for this method of finding square roots: http://youtu.be/UnshaiwljGY Here is an image example of the process: But I am unable to draw it because I am new to ...
1
vote
1answer
25 views

Aligning Table Notes in Three Part Table

I am using the threeparttable environment to make tables. The table notes are always indented. How can I get the notes to start flush with the table? \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
25 views

Increase width of caption's horizontal lines in algorithmic and listings

I've been able to increase the width of the horizontal lines honoring the second answer in LaTeX tables: How do I make bold horizontal lines (typically \hline)?. Now, I'd like to do the same in ...
3
votes
2answers
55 views

Problem with a large table

I'm trying to make a table that's a little complex. I'll try to explain what I want with a picture of a table from word: I'm new to latex, so I have two questions. How can I make such table look ...
1
vote
2answers
33 views

Format table column widths to fit single column of twocolumn document

I am using a two column format, and I would like the following table to fit in one column, along with text wrapping on the title row. How do I do this? Thanks. \documentclass[10pt,twocolumn]{article} ...
4
votes
1answer
58 views

Is there a way to reduce the gap between double hlines (\hline\hline) in the tabular environment?

\documentclass{article} \begin{document} \begin{tabular}{c | c} cell 1,1 & cell 1,2\\ \hline\hline cell 2,1 & cell 2,2\\ \end{tabular} \end{document} I would like to reduce ...
0
votes
0answers
15 views

\otoprule not appearing

I am using a two column format, and for the following table the \otoprule line after the first row is not appearing. \documentclass{sig-alternate} \usepackage{array,graphicx} \usepackage{booktabs} ...
5
votes
1answer
40 views

Preserve tab and newline characters in command argument

Following the question Tab not as extra alignment tab I managed to use the tab character as column divider '&' and the newline character as line break '\\' in an array (or tabular) environment, ...
0
votes
0answers
22 views

putting footnote within table using \minipage

I tried to put a footnote within a table and then place the footnote beneath the table, which worked pretty well except for the ugly line that would not go away in the bottom. I think this is because ...
3
votes
3answers
76 views

Centering a table inside text block

I have a table in my document, but for some reason it is not in the middle of the page, as I can see more whitespace at the right side. Here is the source code for the table: \begin{table}[H] ...
5
votes
2answers
455 views

How to eliminate the \\ at the end of a longtable

I define a macro \mycmd like this \newcommand\mycmd[2]{{some complicated format #1}&{some complicated format #2}\\} to simplify the input. So I can just write: sometext \begin{longtable}{cc} ...
3
votes
2answers
49 views

Loops and Tables

I'm trying to use LaTex to produce our family diary for next year. It's a page per week with a column for each person. I have the basic layout working: \documentclass[10pt]{article} ...
0
votes
0answers
22 views

Expand table columns proportionally to textwidth

I have a simple table: \begin{table}[h] \begin{tabular}{|l|l|l|l|l|} \hline First entry & 2nd & 3rd little longer & Forth & Fifth\\ \hline\hline 4.7\% & 11.7\% & 2.5\% ...
3
votes
2answers
118 views

specifying a longtable not to split

I am using longtable in my report as I have many tables that are longer than a page. To make it consistent, I am using longtable for all the tables. Many times because of page settings, a small table ...
7
votes
2answers
85 views

How to determine the width I can use in a table

I have a table of fixed width in which I want to put some thing such as a figure or another box. But the problem is that I can't determine the width of the object that I want to put in the table. I ...
15
votes
2answers
23k views

Increase LaTeX table row height

How to increase the height of the rows in a LaTeX table?
2
votes
2answers
84 views

Tabular with linespacing

Moin, I want the rowspacing behavior to be default. So this: \usepackage{longtable} % ... MAGIC ... % \begin{longtable}{ccc} entry1 & entry2 & entry3 \tabularnewline entry4 & ...
2
votes
1answer
56 views

Macro for tables that take as arguments the column and row dimensions

I am working with tabulars formatted in a consistent way. Sometimes the tables are 3X3, 3X4, 4X4 etc nXm in general. As it is I have a macro for each of these tables: \matrixIIIC, \matrixIIID etc. Is ...
1
vote
1answer
52 views

Mathematical formulas in a table

I would like to draw such a table in latex with some mathematical formula. Could you please help me to do this?