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

How can I align the two tables?

Why my tables below are not horizontally aligned? My MWE: \documentclass[ignorenonframetext,xcolor={table,svgnames}]{beamer} \usepackage{tikz} \usepackage{amssymb,amsmath} ...
1
vote
1answer
72 views

How to scale figures and table to text width?

I'm inserted figures and tables in my document in the following way: \begin{figure}[!htbp] \centering \includegraphics[width=110mm]{figure.jpg} \caption{The caption.} \label{fig:label} \end{figure} ...
1
vote
1answer
64 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
2answers
149 views

Mcq Answer Grid

I'm trying to create beautiful Mcq (Multiple Choice Question) Answer Grid so could someone help me please to improve it with the following needs: Add Arguments to get automatic row-column numbers in ...
1
vote
2answers
46 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
2answers
93 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
0answers
18 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: ...
1
vote
1answer
61 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
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
81 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. ...
1
vote
1answer
78 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
1answer
70 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
1answer
95 views

Row Padding, Row by Row

Here's my MWE that is almost right... except for the excess padding in the top row which I would like to reduce to 0.2cm. The rest, I'd like to keep at 1.5cm. ...
1
vote
1answer
106 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
2answers
125 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
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}$ & ...
1
vote
3answers
174 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
1answer
39 views

Cell padding and scientific notation doesn't work in both tables

I have made the following two: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{pdflscape} \usepackage{longtable, caption, cellspace, booktabs} \setlength\cellspacetoplimit{4pt} ...
1
vote
1answer
398 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
1answer
75 views

Creating a list of labels automatically for use by datatool

The following is partly a followup to an earlier question, and Enrico's answer, as given in Automatically creating a table from datatool using references in the text. The method outlined there works, ...
1
vote
1answer
265 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
1answer
862 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
102 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} ...
1
vote
2answers
67 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
2answers
103 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} ...
1
vote
3answers
73 views

Tables and figures slightly wider than text in article class

I have some tables and figures which are (slightly) wider than the text width. This results in them aligning with the left side of my text and going far out in the right side instead of actually being ...
1
vote
3answers
226 views

Vertical lines in a table

% Table generated by Excel2LaTeX from sheet 'paper2' \begin{table}[htbp] \centering \caption{Comparison of the CCSHR estimators based on beta and logit-normal distributions} ...
1
vote
1answer
371 views

How to add a table in footer

How can I add a table in the footer in LaTeX? I was trying to add a table that has three rows and 2 columns. In the left column, text is left-aligned, and In the right side column, text is ...
1
vote
2answers
254 views

How to automatically break “a long word with underscore” in a cell of table, using longtabu package?

I use longtabu package for creating tables, because the table can be very long (several pages) and i need automatic linebreak(or wordbreak) if the sentence(or a single word) in certain cell is too ...
1
vote
2answers
219 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
2answers
325 views

Want to make the colorful table in LaTeX

I make this Table MS Word. But I am interest to make this Table in LaTeX % Table generated by Excel2LaTeX from sheet 'Sheet2' \begin{table}[htbp] \centering \caption{Add caption} ...
1
vote
1answer
1k views

How to change cellspacing of a table in latex?

I've tried searching the answer here, but I did not find it. I have a plenty of 25x25 table with long entries. The table should fit in an A4 sheet of paper. I tried using "landscape". It helped a bit, ...
1
vote
1answer
281 views

Table Caption below the Table

I am writing a paper and I would like to have the caption of the table below the table instead I have it on top of it. This is my code: \documentclass{article} % The style file \usepackage{imav} ...
1
vote
1answer
269 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
84 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
0answers
56 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} ...
1
vote
1answer
157 views

How to create a specific table in LaTeX?

I only know the basic concepts of creating a table in LaTeX. I want to know if it is easy to make a table like the one below and how:
1
vote
0answers
27 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
130 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
2answers
473 views

Why won't my \otoprule command work in table formatting?

Primer: I'm very new to LaTeX. I am creating a table with the following code. Here is part of the table: \usepackage{tabularx, multirow, booktabs} \begin{table}[tp] \caption{Rain garden site ...
1
vote
1answer
187 views

How to remove multiline space within cell value (in Table)?

This refers to my following question. Setting single row height with multirow \documentclass[11pt,table,a5paper]{article} \usepackage{array,ragged2e} \usepackage{graphicx} ...
1
vote
1answer
515 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: ...
1
vote
0answers
821 views

LaTeX error when using Lyx: Bad mathchar (32768) [closed]

I have been getting this error message when ouputing my LyX document: Bad mathchar (32768), with the following explanation: "A mathchar number must be between 0 and 32767. I changed this one to ...
1
vote
2answers
262 views

Linebreak in table cell at document margin

In order to allow line breaks within a table cell, I use \parbox. But when the cells I want to have line breaks in are in the last column of the table, the best thing would be to break them at the ...
1
vote
1answer
406 views

revtex4-1 and colortbl doesn't fill cells

The MWE below shows that the \cellcolor command doesn't properly fill a table cell in revtex4-1 where it would do so in a simple article. Can anyone help me get fills that extend to the boundaries of ...
1
vote
3answers
304 views

Table footnotes without footnote marks

In my table I would like to use footnotes for more detailed description. Therefore I'm currently using \parnotes. Unfortunately \parnotes also creates footnote marks which I don't want to have. ...
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}} ...
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
0answers
168 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 ...
1
vote
1answer
508 views

Use of \hiderowcolors & \showrowcolors within LyX

Loading the xcolor package with the [table] option provides the command(s) \rowcolors(*) for alternate table row coloring. Any attempt, however, to use \hiderowcolors and \showrowcolors inside table ...