{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
86 views

Issue with itemize inside a tabular [duplicate]

Possible Duplicate: Enumerate/itemize without margins in table cell best practice I'm new to LaTeX. I'm trying to create a tabular and I'm facing the following small issue. I have one itemize ...
1
vote
2answers
1k views

Error in tabular code generated from Excel2LaTeX

I used Excel2LaTeX to create a table in LaTeX and here is the code that gives me an error. % Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption}...
1
vote
1answer
4k views

Table Layout Beamer

I need to create a structure which is similar to Table Layout in the presentation (Beamer). I have rows, and in every row I have some columns (pictures,text). E.g., I mean this: I need only to ...
1
vote
2answers
3k views

Bad spacing of table inside subfigure

I have a figure setup as follows: \begin{figure*}[t!] \centering \subfigure[Part 1] { \includegraphics*[totalheight=2in,origin=c]{ost100} } \subfigure[Part 2] { \includegraphics*[totalheight=...
1
vote
1answer
275 views

What is the best way to setup this statblock as a macro?

I'd like to get a macro setup for this statblock format. Basically, I will be converting an XML document containing the data for the instances within the document. This is a sample of the format I am ...
1
vote
1answer
595 views

How to add equation with cases inside the table

I want to include the complicated equation into one of the cells of my table. I am using tabular environment, additionally I have some multirows. I would like to add something like this: \begin{table}...
1
vote
2answers
762 views

How to make equal width columns?

Based on Leo's answer but I removed one column and replaced the \big) with a vertical rule. Now I want to make all columns have the same width. How to do this? \documentclass{article} \usepackage{...
1
vote
1answer
3k views

Table is overlapping text

I'm using the IEEE format latex files from here: http://mocha-java.uccs.edu/ieee/ I have the following code: \begin{center} \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{UHF/VHF Antenna ...
1
vote
1answer
1k views

Sequent Calculus

What is sequent calculus? See wiki: http://en.wikipedia.org/wiki/Sequent_calculus So basicaly I'd like to produce something like this: Maybe using Tikz?
1
vote
1answer
113 views

Display section and subsection headers on same page with large table or figure

I am struggling to put the table (or figure) on the same page where I have specified my section (subsection). Does anyone of you know how to do this? Here is my MWE. \documentclass[11pt,a4paper]{...
1
vote
3answers
189 views

Trying to make form using tabular and underline?

I am trying to make a form using \tabular{r l} and underlined \hspace to make lines. I am trying to make the hspace fill the available space using \fill, but it isn't working. \documentclass{article} ...
1
vote
0answers
58 views

Missing lines when shading cells [duplicate]

I cannot figure out why lines are not being showed on the shaded columns. Can I get a little help finding what is wrong? EDIT: The MWE follows: \documentclass[12pt, a4paper]{article} \usepackage[...
1
vote
2answers
136 views

Table with multirow and multicolumn

I want to create a table with multirow and multicolumn in latex. I tried some post 1,2,3 to create my table but because I'm new to latex tables so couldn't able to create my table. Please help me with ...
1
vote
2answers
115 views

Why is parskip zero inside a tabular?

I wonder why \parskip is zero inside the tabular environment. How can i make the paragraphs inside a tabular to be equally spaced as outside the tabular environment? I know about \@parboxrestore ...
1
vote
2answers
68 views

Inserting a logo at the left side of the table without changing the width of rest of the rows

I am trying to use this table as a header for my document, the problem when including the logo, the width of the rest of the rows changes. Possible to merge the "cells" of the table on the left ...
1
vote
1answer
41 views

Curly brackets spanning multiple lines (no math env) | Only 1 curly bracket, at 1 side

Adapted from the question: Curly brackets spanning multiple lines (no math env) Inside a tabular environment (non-math context), how to have only 1 curly bracket (e.g. only the left one) spanning ...
1
vote
1answer
62 views

How to center the numbers?

\begin{table}[h] \resizebox{\columnwidth}{!}{ \begin{tabular}{lcccccccc} & $U^{MMM}$ & $U^{MMB}$ & $U^{MBM}$ & $U^{MBB}$ & $U^{BBB}$ & $U^{BBM}$ & $U^{BMB}$ & $U^{...
1
vote
1answer
108 views

How do I center table headings including line breaks? [duplicate]

\documentclass[11pt]{article} \usepackage{geometry} \geometry{a4paper} \usepackage{mathpazo} \usepackage{amsmath} \usepackage{amssymb} \usepackage{booktabs} \usepackage{...
1
vote
2answers
241 views

\num with parameters in siunitx table

I have a couple of different methods to solve a diven problem and I want to compare them in a table. My aim is it to automatically add the relative deviation. I got some problems using siunitx within ...
1
vote
1answer
70 views

Problem with spreadtab package: “Paragraph ended before \ST@left@ii was complete”

I'm having issues with this table and can't find the problem. I'm including all the packages I'm using for customizing the table: \usepackage{spreadtab} \usepackage{arydshln} % For the dotted line on ...
1
vote
1answer
125 views

Table spanning two of three columns in multicol-environment

I have a three-column document where I would like to place a (floating) table that spans the two left columns of the three. The following minimal example works for the placement but overlaps the text ...
1
vote
0answers
61 views

Can I hide the forest root,and let the forest tree same as multi_root tree?

1.Following my question As my forest sample, how can I make a same width in row, and control the row width? 2.I want to use format defining once, and output multi_line data in my c project. 3.Is ...
1
vote
1answer
107 views

how to align the following in a table?

I am trying to have the cell on the left be aligned with the three cells on the right, so that they all start at the same height: \begin{tabular}{lp{2.5in}} \multirow{3}{*}{\raisebox{-.1\height}{\...
1
vote
1answer
69 views

Space Issue in Resume

I have the address, portfolio website fields to the side of my name in the resume. Although I used the flushleft command for the table with contact information etc, they do not seem to appear beyond ...
1
vote
1answer
1k views

Adding a rectangular box with tikz to table (beamer)

I would like to add a rectangular box to my table to highlight some rows. I'm trying to use tikz with the second lot of code from Harish Kumar's answer to a similar question. However, unlike the ...
1
vote
1answer
499 views

table with monospaced and nonbreaking spaces

I have a xtable generated in R/Sweave that I would like displayed in portrait mode in a pdf. The spaces in the spacedSeq should properly align the sequences. How can I force this to be in a monospace ...
1
vote
1answer
312 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 ...
1
vote
2answers
54 views

How to align first \item on baseline in tabular, using modified \baselinestretch

In a beamer presentation (no setspace, no enumitem) I want to use an itemize environment inside the column of a tabular. I want the first \item to be displayed on the same baseline, as the first lines ...
1
vote
1answer
169 views

writing algorithm in a table

I want to write an algorithm such that what I have attached, I am somehow elementary in writing algorithms with latex. I do not want the exact answer, only a tip or an example similar to what I have ...
1
vote
1answer
37 views

Mysterious summing: when calculator 's \ADD macro adds too much inside a table

Background: In my previous question, Robert Fuster taught me how to define a global variable using calculator package. I want to define a "counter" that also works with non-integers. I thus defined ...
1
vote
1answer
176 views

Drawing a vertical line inside a tabular or inside the parallel package (and how to expand parallel to have more than 2 columns)

I would like to thank you all for any help in advance. Might I ask the following question? I am creating a translator document with 2 columns (as you can see in the code). I used the parallel ...
1
vote
1answer
354 views

Flushright or left of a long Table [duplicate]

I have a very long table that cannot be displayed on the page because it is too long and the right hand side of the table has been cutoff. How can I modify the \begin{center} to something else so ...
1
vote
0answers
87 views

How to prevent the borders of colored cell from disappear [duplicate]

the borders of the colored cells disappear in low size and appear when zooming in. Here is my code \documentclass[12pt, fleqn]{article} \usepackage[portuges]{babel} \usepackage[utf8]{inputenc} \...
1
vote
2answers
5k views

Rotate table with caption: “Not in outer par mode. \begin{table}[h]”

I would like to rotate one table with caption however it returns me an error Missing \endgroup inserted ...omparação de Gerenciadores de Documento} Undefined control sequence \end{sideways} ...
1
vote
1answer
83 views

Getting a landscape table to work!

My supervisor requested I make three vertical tables into one horizontal / landscape table. The code for my tables (at least the formatting part) were rather complex and this is my first attempt at a ...
1
vote
0answers
132 views

\rowcolors causes missing vertical lines [duplicate]

When using \rowcolors to alternate row coloring, some vertical lines are missing in the restulting table. \documentclass{scrreprt} \usepackage[table]{xcolor} \begin{document} \begin{table} \...
1
vote
1answer
96 views

rowcolors when space is removed with @{}

When space on either side of a table is removed with @{}, then the color added with \rowcolors will expand beyond the width of the table. In the answer provided to a similar question, this is fixed by ...
1
vote
2answers
50 views

Using locally defined calculator commands inside tables (tabularx)

Inside a table, I want to draw rules. Their length equals the cell length times a predefined ratio (i.e. \rule{\ratio\linewidth}{1ex}). I use the \DIVIDE{A}{B}{\ratio} function of the calculator-...
1
vote
1answer
133 views

\footnotes in environment with \pushftn \popftn

Code proposed by David Carlisle works out-of-the box, cause has no package dependencies. It's comfortable solution of dealing with footnotes in environments needing \footnotemark+footnotetext. I have ...
1
vote
1answer
469 views

Horizontal and vertical alignment of a picture in a table

I want to align a picture in a cell of a table. Following works as I want for the text in the top left cell and the picture is already vertically aligned, but not horizontally: \begin{tabular}{m{0.04\...
1
vote
0answers
44 views

Having Three Sequential Tables Next to each other (2 side-by-side and 3rd below them) [duplicate]

How can I put the first two tables side by side and then add the 3rd table below them in IEEEtrans style document class and at the top/bottom of the page by modifying code below? (I don't want any ...
1
vote
1answer
104 views

3x3 Normal Form Payoff Matrix in LaTeX Tabular Environment

~Disclaimer~ This question is a generalization of this question to the 3x3 case. I would like the same format as the top example in the answer to the above question; That is, "Player 1" on the left, "...
1
vote
1answer
480 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} \...
1
vote
2answers
116 views

Referencing a table in latex

My latex document is given below. \documentclass[12pt]{report} \linespread{} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{caption} \usepackage{relsize} \usepackage[font={small,it}]{...
1
vote
0answers
19 views

Import large table in excel to latex [duplicate]

I have converted a large table in excel to latex. When I put the table in latex, I get part of the table. How to break up the table to span over two or more pages? Here is my code: \documentclass{...
1
vote
2answers
258 views

Table: Column auto-width vertically and horizontally centered

I'm trying to find a method which allows me to have columns with automatic width which are also centered in horizontal and vertical direction, just like tabularx's X columntype just centered. So here ...
1
vote
0answers
28 views

Latex: obtain an empty row with central alignment [duplicate]

Is there a way to produce a table in LaTeX in the way as is depicted in the attached image? I have tried the following code, but I am not able to obtain an entire empty row with, say, "cold cache" ...
1
vote
0answers
175 views

Standalone package errors when creating table [duplicate]

Possible Duplicate: Avoid paragraph due to trailing empty line in standalone file How to make a standalone document with one equation? Below is a MWE of a table that keeps outputting errors ...
1
vote
1answer
396 views

Right-centered columns in LyX

This is very near to my topic: How to align integers on the right, but still center them. However, I do not get it to work under LyX. This is the code I have: \begin{table}[H] \centering \begin{...
1
vote
1answer
64 views

How to get siunitx to centre columns of integers correctly

I've just discovered siunitx, which seems to do what I want with tables, that is centering a column but keeping numbers decimal aligned. I find it doesn't work for a column of integers (say 99, 9, 99, ...