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

2
votes
1answer
23 views

LaTeX alignment in tables

I'm trying to create a custom environment that uses tables to align some stuff. I want the first column to be left-aligned, so I used the command \tabularx{\textwidth}{ l X c X }. This produces the ...
0
votes
1answer
11 views

Why resizebox is not working on my informs template

I have to use informs class for journal Operations research and I have a very large rotated table, I used resizebox to fit it on the page, when I just used the class article, but when I used the ...
1
vote
1answer
24 views

Large table to next page

I have a very large table that extends to at least 2 pages, but the tables just continues down along the bottom of the paper. How can I get it to extend to the next page? And how can I get a bit more ...
0
votes
1answer
66 views
+50

How to use samepage environment in the middle of a table?

I use the following code to generate a document: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
1
vote
2answers
13 views

How to locally change the “Table” caption prefix in table environment

In my memoir document, I have several tables looking something like: \begin{table}[htbp] \centering \caption{This is a caption.} \label{tab:some_table} \begin{tabular}{l p{10cm}} \toprule some text ...
0
votes
0answers
24 views

breaking table row across pages

I am using xtabular package. Is there a way to break a row across pages? In the case of my table, I have some rows that are lengthier than the rest, and this results in a lot of unnecessary empty ...
2
votes
1answer
16 views

Tables with fixed column widths and language switching

I'm trying to typeset a German-Slovak vocabulary list and some grammar. Since table entries might get long, I'm using tables with p-columns. For correct hyphenation, I want to switch to Slovak in the ...
11
votes
3answers
296 views

Explain this macro: double hash with no number, \ialign

This macro is quite old, and I don't know plain TeX very well. MWE: \documentclass{article} \setlength{\unitlength}{0.06em} \newlength{\cellsize} \setlength{\cellsize}{18\unitlength} ...
2
votes
3answers
77 views

Change row vertical alignment in a table

I am trying to produce a table that changes the vertical alignment of the cells for different rows. At the moment I have set up my table so that all the columns are middle and center aligned. However, ...
4
votes
2answers
96 views

Trouble creating LateX table - ieee paper

I am having trouble creating a semi-complicated table. I've already made some work but it is still not like in the image... The main issue is creating that rectangle box and adding that line/column ...
4
votes
2answers
87 views

Vertical Table Alignment - the nightmare

People, I've looked to multiple questions already asked about this theme but I can't find a straight answer! I have the following table: And, as you can see, there are multiple problems! I have ...
0
votes
0answers
19 views

How to change tabularx 'X' command to raggedRight [duplicate]

I want to use the X command from tabular X to evenly space a tables columns. However, the individual comulns are quite narrow, and this makes the justified spacing look really bad. Is there anyway ...
1
vote
0answers
84 views

Drawing a TiKz Diagram within a Table [on hold]

Any ideas on how to draw a TiKz diagram within a table? I made this example of what I need to typeset in Word: I'd love to hear any suggestions, even if it requires reformatting.
4
votes
1answer
39 views

problem with newcommand with line break \\ and tabular inside

I define a new command \nonBranchingRule that takes 3 arguments. Intuitively, it defines a rule where the last argument is a comment (optional argument) for the rule. I want to place the comment under ...
2
votes
1answer
39 views

Table with different colors removes vertical and horizontal lines

I have a table in my documentation, where i'm switching the rowcolor between white(default) and gray. Those rows, where the color is changed with \rowcolor{gray}, disabling the horizontal and vertical ...
0
votes
0answers
31 views

custom column width with multicols using xtab package

How to customize the width of a particular column in table created using xtab? In my case I have the following xtab specification in my document: \documentclass[11pt]{report} \usepackage{xtab} ...
1
vote
1answer
86 views

How do I format this table in latex?

I have this table from Stata: EDIT: After taking Mico's suggestion I was able to create the table with the following codes: \begin{table}[htbp] \caption{Summary Statistics} \label{tab:1} ...
1
vote
1answer
43 views

Making a table look nicer

I have this table with the following codes: Table \ref{tab:2} lists all the variables in the model: \begin{table}[htbp] \caption{Variable Descriptions} \label{tab:2} \begin{center} ...
5
votes
1answer
40 views

Beamer - rendering table borders while uncovering rows

I have a table with borders that I am trying to reveal row by row. However, the borders are rendering badly: \documentclass{beamer} \begin{document} \frame{ \frametitle{Title} ...
7
votes
7answers
663 views

How can I typeset this correspondence in LaTeX?

I am looking to create a "table" or something similar in LaTeX where I show correspondence/mapping between a natural number and some other natural number, as indicated in the picture below (please ...
0
votes
0answers
49 views

Excel-like Capabilities in LaTeX [on hold]

Has anyone developed a package for computing Excel-like computations in LaTeX for table? Something like average a column, or something along those lines? I know LaTeX isn't good for math, but it seems ...
2
votes
1answer
31 views

Top align content of a table in beamer

I am trying to include a media inside a table as: \item \begin{tabular}[t!]{p{5cm}l} some text here & \includemedia[ activate=onclick, width=0.45\textwidth ...
10
votes
4answers
19k views

Table Border Options

\begin{tabular}{|c|c|c|} Column 1 & Column 2 & column3 \\ \hline second row & & \\ \hline \end{tabular} Please help me with table border options. Using | I can draw thin solid ...
0
votes
1answer
64 views

How to display contents of a tree grid in a latex table

I am working on displaying a nested bill of material in tree grid in a latex document. Is there a package available that can help with this? A short example of my current table \begin{table}[h] ...
2
votes
1answer
52 views

Longtable Errors

When I complile my latex I'm getting all sorts of errors. No matter what I try and change in my code I get several different errors. I've been at this for about a week so I may need help to work this ...
2
votes
1answer
1k views

Table Cell Alignment - Last Column 'Misbehaving' - Simultaneous Vertical and Horizontal Alignment Problems

I am going a little crazy with alignment in the tabular environment. In the following code I would like both the top-left cell 'Green Die', and the last cell in the 2nd row '6' to be aligned ...
5
votes
1answer
46 views

I have a problem with a very simple table

I have a problem creating a table. Here is the code: \begin{table} \centering \begin{tabular}{| l | c c c c | c c c c |} \hline\hline \multicolumn{1}{l|}{} & \multicolumn{4}{ |c| }{Errore \% con ...
3
votes
1answer
32 views

Table in a two column page

I'am trying to do a table in a two column page, the table is wide. So I try with this code, but the problem is that the text within the table are align on the right.. Can I change it to the left ...
0
votes
0answers
14 views

Table always on next page [duplicate]

I am writing on a document where I often have the situation that a table is at the end of a page, but then Latex puts the table on the next page. Now the problem is: The text that is supposed to be ...
1
vote
1answer
36 views

How to create a table which has large amount of text with centralized text

Sample image What all should I do to create a table as shown in the figure Using something like \multirow makes it very difficult for manually splitting the line Using p{some cm} in table leaves ...
13
votes
2answers
6k views

Dotted line instead of \hline in table environment

I am trying to get a dotted line in the table instead of \hline, but I can't get the output. arydshln and dashrule packages are available to get the dashed line, but I can't find any packages to get ...
2
votes
2answers
84 views

How to keep tables closer?

I am finding it a bit difficult to keep the tables where I wanted them. I can't seen to make a MWE either. But the document is uploaded here. Basically, say the text (~\ref{}) is on page 70 and the ...
0
votes
1answer
21 views

Table & pspicture

My table and pspicture seems to be conflicting. \documentclass[12pt]{book} % Default font size \usepackage{pstricks-add} % for geogebra \usepackage{tabularx,array,booktabs} % for stretching ...
1
vote
1answer
56 views

Positioning and spacing of tables

I'm new to LaTeX and I already know that my question seems too stupid. Actually I'm writing a text as follows: The exact dimensions of the system are listed in Table……\\ \begin{tabular}{|c|c|} ...
4
votes
1answer
96 views

caption of a table

I've got the following code: \begin{center} \sffamily \captionof{table}{Codexample} \begin{tabular}{ll} \topule[2.5pt] exampleline & example \\ ... \bottomrule[2.5pt] \end{tabular} \end{center} ...
0
votes
0answers
33 views

Prevent table from splitting a paragraph when table moves to next page [closed]

I have a series of tables that take up over a page of space. In total there are 5 separate tables. It seems that because they go off onto the next page they split the paragraph that follows them in ...
1
vote
1answer
21 views

Missing \endcsname inserted in table

MWE \documentclass[a4paper,11pt,twocolumn]{report} \usepackage[left=2cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
2
votes
1answer
24 views

How can I “force” pgfplotstable to be under a heading

Due to a recommendation on this board, I have decided to use pgfplotstable in my lab reports to import data from a CSV and print it out as a table in LaTeX. However, in a section such as my ...
1
vote
1answer
68 views

How to define potential page breaks in a long table?

I have a huge table that covers multiple pages: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
4
votes
1answer
59 views

Recreating a simple table from Kenneth French's website (link in the description)

I need someone help with recreating the following table in latex: link: http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/Data_Library/six_portfolios.html Here's what I have: \begin{tabular}{ ...
0
votes
1answer
23 views

Multirow to combine cells

I'm trying to make a table as shown below with all the horizontal and vertical lines. Please help.
0
votes
0answers
29 views

Big table in TexStudio

I want to set this table using the following environments: \documentclass[12pt, a4paper]{report} \usepackage{amsmath} \usepackage{amssymb} \usepackage{textcomp} \usepackage{graphicx} ...
3
votes
1answer
31 views

Problem with expansion of \@ifnextchar inside tabular environment

I'd like to define a macro that expands to \hline and \cline inside the tabular environment depending on the next character: \documentclass{standalone} \makeatletter ...
3
votes
1answer
40 views

Improving readability of a big table (vertically-centering rows and using space)

This is the first time I make a table with chemistry formulae inside cells. I'm having trouble improving its readability. Questions How do I make all rows vertically centered? How do I remove ...
3
votes
2answers
101 views

Plain Tex: Get cell in table to span multiple rows, and contents to be centered

For PlainTeX (I did find similar questions for latex): Q 1: How to ensure upper left cell is two rows tall? Q 2: How to ensure entry in upper left cell is vertically and horizontally centered? ...
2
votes
1answer
45 views

Adjust the table width to be the column width

I am trying to make the table wider, I already made an adjust box with text width but nothing happed .. anyone can help me please? My code: \begin{table}[htbp] \centering \caption{Three ...
5
votes
2answers
43 views

Why do I get this badbox error?

\begin{table}[H] \centering \begin{tabular}{|p{2cm}|p{2cm}|p{2cm}|p{2cm}|p{2cm}|} \hline Applied voltage amplitude & Voltage amplitude at clamper diode & Average Voltage using PMMC & DC ...
3
votes
1answer
43 views

Table - APA6 class - rotating (with caption and table notes)

I am trying to rotate this table with its caption and its table notes in APA6 class. I want to keep the default settings (table goes to the end of paper). In my earlier approaches, I managed to turn ...
1
vote
1answer
125 views

How do I create this complicated table in latex?

How do I create it? Also how to add some colors to the cells? I have uploaded the image in wrong orientation. Please correct it and help me. Thank you.
6
votes
3answers
3k views

Using LyX, how can I make a 6 column table with the second row having multiple lines of text?

Using LyX, how can I make a 6 column table with the second row having multiple lines of text? I am trying to create the following layout in LyX: I'm using LyX 2.0 for mac. What are ways to ...