{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
2answers
27 views

Line spacing and alignment issues in tables with multiline cells

While trying to create tables with multiline cells, I run into some line spacing and alignment issues. The following code creates two tables: \documentclass[10pt]{article} \usepackage[english]{babel} ...
0
votes
1answer
19 views

How to make automatically line break when use longtable?

I use longtable package to produce a table covers two pages, but if there are too many words in one column, the sentence can not switch to the next line automatically, see picture, the 4th column. ...
3
votes
2answers
42 views

Hide content of tabular environment [duplicate]

I would like to create a pdf file that containes only the table captions, but not the content of the table. So I tried to redefine the tabular environment in the preamble of my document (it is ...
1
vote
1answer
29 views

Tabular size exceeding page size

I am making a table which includes single columns and 2 - merged columns. I am encountering two problems, first the data is very long and is not places within the area of the page, it exceeds the ...
1
vote
0answers
21 views

Issue with tabular environment [duplicate]

As I am currently tutoring a calculus student, I am creating a mock exam in LaTeX. I have a question concerning a portion of my code which I have displayed below, though, I do not know if displaying ...
2
votes
0answers
56 views

Any alternatives for longtable package? (produce tables can continue to the next page)

I have a program and I want to output the program results as PDF. I am considering to use LATEX to do the work. My results may contain many big tables, I just realized it is not so direct to output ...
4
votes
2answers
61 views

Using pgffor's \foreach to place graphics into a tabular

I want to arrange EPS graphics (included via \includegraphics) in a tabular using \foreach. Currently this is done without any loops like this: ...
3
votes
3answers
104 views

Vertical alignment in table

I am making a table with LaTeX, and I have trouble with vertical alignment of the texts. When I have \hline, the text crosses the line. Here is the code: \begin{tabular}{lcccc} \hline\hline & ...
3
votes
1answer
27 views

Problem in combining header, table, and href

I am trying to make a specific header for the first page while the header for the rest of the pages will be the same but different from the first page. The header for the first and the second pages is ...
1
vote
1answer
45 views

Table with width assignment

I am trying to create a matrix in texmaker when using the wizard-->quick tabular i get a table, but I want to have equal spacing between the columns , so at the option i choose fixed column width when ...
3
votes
2answers
63 views

Formatting this table

I am terrible at creating tables, the following is the code from Excel2Latex % Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption} ...
2
votes
1answer
40 views

tabu to textwidth yields a table wider than textwidth

I have a code for a table that should fit to textwidth, but for some reason it doesn't. Any ideas why? \documentclass {article} \usepackage [T2A] {fontenc} \usepackage [utf8] {inputenc} \usepackage ...
7
votes
2answers
79 views

minipage horizontal alignment

I'm using minipage to put two tables next to each other, and instead it is putting them in vertically. It seems like this is usually caused by having blank lines between the minipages, but that isn't ...
2
votes
2answers
62 views

How can I typeset a table whose lines do not extend to row and column headings? [duplicate]

Is there an easy way to convert this table (with complete lines) into that one (with incomplete lines; the image is "Photoshopped" for illustration)? Note that I want to get rid of the initial ...
0
votes
0answers
11 views

In Eclipse how I can view table content in the Latex Table View?

I am using texlipse plugin to write the latex document. As you can see from the following figure when you put a table and corresponding data, then you can see the data information in Latex Table ...
2
votes
2answers
76 views

embedding listing code into tables?

I want to create a simple table in this case with the first column having snippet of code, and the secon column describing it. The command \java is just defined as: ...
3
votes
2answers
55 views

How to fit the table into landscape mode

The below method works great for a regular table. I was wondering if there is a command phrase to shrink/resize the table in the sideways mode. I think problem is because of \textwidth which obviously ...
1
vote
0answers
21 views

How to center the column headers in a Table? [duplicate]

In a hurry.. \begin{tabular}{p{.5in}|p{1in}|p{1in}|p{1in}} \hline \multicolumn{1}{|c|}{S. No.} & {|c|Book Name} & Author & \multicolumn{1}{|l|}{Publisher}\\ \hline a & b & c ...
5
votes
1answer
44 views

Newtheoremstyle head aligned with top of tabularx

Here's an example : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{tikz} \usetikzlibrary{shadows} ...
1
vote
0answers
30 views

longtable next to longtable [no multicolumn]

I'd like to place multiple tables (two or three) next to each other, with the following requirements: They need to be able to span accross pages They need to be aligned next to each other I need to ...
4
votes
2answers
34 views

Line breaks in custom command that uses tabular environment

I am using a resume template I found here - http://www.davidgrant.ca/latex_resume_template There is a custom command, based around the tabular environment, which is in the MWE below. I would like to ...
0
votes
1answer
24 views

Strange extra line after forloop in a tabular table

I'm trying to generate table lines (tabular environment) with forloop macro. I've got strange extra line after forloop. \documentclass {article} \usepackage [utf8] {inputenc} \usepackage [english] ...
2
votes
1answer
32 views

How to keep a nice table, it won't line up properly

Basically i'm trying to make a 2x8 table with a variable in the first column with horizontal lines but it won't line up and keeps adding the word "height" into the table when viewed as a pdf. I can't ...
1
vote
1answer
50 views

How to add images inside the table in beamer

I need to insert the images in the table in Beamer as shown below The shown figure should be one frame in beamer and table must have the boarder I am using "Torino" theme in my beamer can any ...
3
votes
3answers
42 views

Columns are not the same width in a table

I have the following code for a table, but I can't figure out why 2 columns are wider: \newcolumntype{C}{>{\centering\arraybackslash}p{2em}} \begin{table}[h] \centering ...
2
votes
2answers
54 views

How to make sideways table with horizontal text in a cell?

I need to make such table in LaTeX: I came up only with this: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{table} \rotatebox{270}{ \begin{tabular}{|c|c|} \hline ...
0
votes
1answer
53 views

Creating special table [duplicate]

How can I create a table such as following: I do not know how can I have A and B in the middle of four rows ?
1
vote
2answers
57 views

Scan a cell of a table with lines

Is there any way in latex to scan a cell of a table with horizontal, vertical, diogonal with lines? I want similar thing as in below figure. Thanks.
2
votes
0answers
39 views

Problem with framelines in tables

I am having a problem with LaTeX at the moment, which I seem completely incapable of solving. I am trying to create a simple table which has 4 columns and (should have in the end) 36 rows, including a ...
2
votes
1answer
19 views

missing value in multirow envoirnment of a table in beamer slide

i want to add this table in beamer, but when i use multirow envoirnment , values aginst multirows is not showing in the table. my MWE is as \documentclass[xcolor=table]{beamer} ...
5
votes
1answer
50 views

How to obtain a fixed gap between columns in a table?

How can I center a column of a table which is raggedleft/raggedright at a specified position? Basically the length between W and X, X and Y and Y and Z should be the same, W should be raggedright, Z ...
2
votes
2answers
33 views

Multiple columns in table, problem with alignment

The following code generates a table: \begin{table}[!t] % increase table row spacing, adjust to taste \renewcommand{\arraystretch}{1.3} \caption{An Example of a Table} \label{table_example} ...
0
votes
0answers
18 views

Landscape and header formatting

Hello I am really new at this. I am trying to represent a .pdf with the following specifications: -a4 papper -orientation: landscape -Special header with three divisions -after header divide in 4 ...
0
votes
1answer
22 views

Footnotes next to each other in a sideways table?

How can I put footnotes next to each other in a sideways table? The para option for footmisc does not work here. Minimum working example: \documentclass[11pt]{article} \usepackage{rotating} % to ...
2
votes
1answer
27 views

Align text in multiple rotated multicolumns

I have a table with figures and rotated text in the first two columns. I don't understand 2 issues: How I can align and especially center the text? With the images I included (all same size and ...
1
vote
1answer
21 views

hyperlink in table of beamer

I am preparing a slide in beamer. One page of my slides is a table. I would like to use other pages to explain the table, I am thinking of adding sth like hyperlinks, if I click a cell of a table, ...
2
votes
2answers
75 views

Lots of text in one table cell

I need to place lots of text in one table cell. I tried to use longtable, but it seems to work, say, only on a row basis and gives terrible result in case when one row isn't fit in a page. Something ...
0
votes
0answers
23 views

Customizing Multiline captions

I would like to have a caption which is centered and has multiple lines. For example, \documentclass{article} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \rule{5cm}{3cm} & ...
2
votes
1answer
38 views

How to combine ‘float’ and ‘longtable’ packages functionality

I want to use exact placement for my table. As I read on SO it can be done with [H] option for table environment provided by ‘float’ package. But this doesn't seem to work with longtable which I have ...
3
votes
2answers
53 views

Including a subfigure and table inside a figure environment

I want to include a table and an image as two subfigures in a macro figure environment. Apparently the code compiles but it isn't placing the elements how I want: The table and the image side by side ...
1
vote
2answers
55 views

File ended while scanning use of \Gscale@box@dd

I am getting this error for a while now, and I can't seem to fix it?! Here is my code - my table won't even load because of this error. \documentclass{article} \usepackage{hyperref} ...
2
votes
1answer
28 views

Shortcut to declare alignment of many columns in a table

Suppose I have a table with 20 columns that should all be centered. Is there a way to declare the alignment without literally counting out 20 c's? Something like c{20} might be the syntax. I feel like ...
1
vote
1answer
44 views

Inserting single character in only one column

I just want to know how to insert a single character like $ in only one column of a table. To be precise I don't want that character in my heading, but in all other data rows of the corresponding ...
0
votes
1answer
53 views

How to use \multirowcell?

This question is connected to another one I asked some days ago: How to do a table with multiple multirows_. The problem I have is that my text does not fit nicely in the \multirowcell and I haven't ...
3
votes
2answers
49 views

Unexpected behavior of arraystretch and figures in table cell

Using the graphicx and the includegraphics command, I want to place a figure in a table cell. In addition, I use the arraystretch command the increase the padding of cells. Unfortunately, I get a ...
4
votes
2answers
122 views

(How) can CSV data be transposed for display in tabular

I can use the csvsimple package to automatically display data from a CSV file in a tabular environment. Can the same be achieved in transposed (rows to columns and vice versa) form , as shown by the ...
2
votes
1answer
92 views

TikZ tree beside table

I would like to place a TikZ tree beside a table. The document type is apa. So the tree has four branches and therefore I want to place a 4 x 6 table to the left of the tree. The height of the ...
2
votes
1answer
65 views

Wrapping text around a table in enumeration environment with cutout and parshape

I borrowed the code for my MWE from here. I want to put the table to right side and have difficulty in understanding parshape command. What is the purpose of 15 26pt\linewidth 26pt\linewidth ...
5
votes
2answers
66 views

Table with multiple rows and columns

I just want to create a table with multiple rows and columns, here is a very suitable solution:Table rowspan and colspan, but can anyone help me to get a variable column width rather than the equal ...
4
votes
1answer
50 views

Making hhline work together with arydshln

I am trying to create Optimality Theory tableaux (a specific type of tables used in linguistics). These tableaux generally look like the following - the important thing is that both the first column ...