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

5
votes
1answer
1k views

Percentage symbol with csvsimple package

I'm using package csvsimple to read .csv files. The problem is, in some of the cells I have percentages, like: a,b 1,10% 3,16% If I leave the %s, everything after the first % is omitted, that is, ...
3
votes
1answer
192 views

ConTeXt mkiv: Footnote inside tabulation

I need to include a \footnote inside a tabulation environment. I adapted the example from ConTeXt wiki, but at compiling the content between \starttabulatehead and \stoptabulatehead doesn't show up ...
4
votes
2answers
2k views

Vertical and horizontal alignment with tabu package

Another question led me to use tabu for the purpose of fitting one column to its content while allowing the others to stretch equally. This is my current code: \documentclass{article} ...
5
votes
2answers
101 views

How can I made the final column in a table paragraph formatted (line breaks), while still being constrained by the total table width?

I have a table that will have substantial amounts of text in the final 2 columns, and I can't figure out how to define the columns in a way that works for that. My original attempt was as follows: ...
2
votes
1answer
346 views

Automatically change the text width for all table environments using memoir

I'd like to redefine the table environment in a document I'm writing so that the tables and captions are wider than the text block. I'm using the memoir class, and an example given in the manual is ...
6
votes
1answer
194 views

Boxing some cells in tabular enviroment

I would like to make a table in LaTeX, where I box some of the cells within my table. And I would like to be able to nest boxes so that I can have a box in a box. Here I have an example of what I ...
9
votes
1answer
894 views

Spacing after itemize inside a tabular

I have a problem with the spacing after an itemize inside a tabular. \documentclass[12pt]{article} \usepackage{lipsum} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{framed} ...
2
votes
1answer
975 views

Problem with beamer xcolor and cellcolor

I'm having trouble changing the cellcolor in beamer. I've loaded xcolor alongside beamer, and specified the svgnames and table options; \documentclass[xcolor=svgnames,smaller,12pt,table]{beamer} ...
2
votes
3answers
3k views

Control column width with left alignment in tabular

I want to make a table with a bigger than default column width for the first column. The text in this column should be left aligned. Here is my code. \begin{tabular}{llll|l} Address1 ...
3
votes
1answer
308 views

A macro for looping through a pgfplotstable set by cell

Hi following on from the following question on multi-line headers with pgfplotstable, the solution was to set each affected cell individually. I decided to throw together a command to do that but keep ...
9
votes
1answer
640 views

Lost float in exam class

For some reason, I can't seem to put a figure or a table environment inside a solution environment while using the exam class. It produces a float is lost error. Has anyone found a way to bypass this ...
5
votes
1answer
146 views

Text wrap in multicols

The following LaTex code (credit) features a table within muticols: \usepackage{multicol} ... \begin{multicols}{3} \subsubsection{Another Subsubsection} Lorem ipsum dolor sit amet, consectetur ...
3
votes
1answer
782 views

siunitx align numrange

ave a table with a table in which I use \numrange of the siunitx package. I would like to center align that column at the range-phrase. If I align it left, it sort of works, but if I align it center, ...
6
votes
1answer
3k views

Tikz inside table

I want to create a two column question with a Tikz shape. The problem here is that I cannot align the text and the shape. Text should have a left-top alignment, shape can have either center-center or ...
4
votes
1answer
850 views

multi-page two column table in a single column document

I have looked through and tried quite a few probable solutions but am unable to get this right. I am posting the best minimal example I currently have of what I am trying to accomplish here. Being ...
4
votes
1answer
596 views

Multi line header for pgfplotstable

I have a dataset in csv file format that I'm loading into pgfplotstable. I can't change the format of the original csv, and being financial data it has a column of item names and two or three ...
5
votes
2answers
1k views

How to make TeX fit rotated text into table cell?

This is what I have in HTML: <style type="text/css"> table, th, td { border: 1px solid black; border-collapse: collapse; padding: 2px; margin: 2px; } th { background-color: #dddddd; ...
1
vote
1answer
514 views

Putting footnotes on same page as table that references them

I've got a \tabularx with two \footnote marks immediately followed by two \footnotetext. I would like them to show up on the same page, but tex is pushing the table to the following page making ...
6
votes
3answers
609 views

Build table with different cells sizes

I have written this code for the table shown bellow on the left but I like to make some modifications so it looks like the table on the right. Can you help me? ...
1
vote
1answer
410 views

How can I set the default 'table border style' in LyX layout?

I want to specify the style of table borders (formal vs. default) in a LyX .layout file. How can I do that?
3
votes
1answer
3k views

Line spacing in wrapped table text

I have a document where the text is set to double spacing. I have some text inside tables, which I use the paragraphy specifier for. It wraps properly, but spacing is set to single. Is it possible to ...
0
votes
0answers
48 views

Creating tables from files [duplicate]

Possible Duplicate: How typeset a numeric table from a CSV file I use the pgfplots package to add graphics to my LaTeX documents. Usually I have a data set in a .dat (plain text) document ...
2
votes
1answer
235 views

Dec sep align & \multicolumn incompatibility?

As I did not get any answer, I decided to split the two question so that they appear less daunting. The initial question I am referring to is this one Here is a table with regular alignment mixed ...
4
votes
3answers
458 views

math size in a table

I have a long table and I want to fit it in one page. Table has number and symbol entries. The size to the table can be reduced if I can reduce the font size. How can I reduce the font size in this ...
6
votes
1answer
749 views

Beamer tables like block structure look-and-feel

I am trying to define a type of table similar to the look-and-feel of beamer blocks. I tried the following (using the tabu for tables), but with no luck. ...
9
votes
4answers
11k views

Text alignment on top with multirow command

\begin{table}[!h] \centering \caption{Titel} \resizebox{.95\columnwidth}{!}{% \begin{tabular}{p{4.5cm}p{10cm}p{3.5cm}} \hline Name & ...
4
votes
3answers
206 views

How to create a table with a headline centered and columns centered?

I use the following code to create a table with a centered headline. \begin{tabularx}{\textwidth}{l|X} \multicolumn{2}{c}{Headline centered} \\ \hline Column1 & Column2 which should be ...
3
votes
1answer
2k views

Wrapping multicolumn in tabu

How do I get the text within a multicolumn to wrap when using tabu? I am hoping that tabu makes it somewhat easier than having to specify p with a manual specification of the width ...
3
votes
3answers
532 views

Need help to adjust horizontal spaces in a table

I am making a table but i am not able to adjust it. Here is a screen shot. i have used following tex code \begin{table}[ht] \centering \begin{tabular}{c c c c c c c} \hline\hline Methods ...
2
votes
2answers
4k views

Center table on landscape page

I have a rather wide table for which I have a designated page in landscape mode. The rest of the document is in portrait mode. Currently, the first row of the table begins at the very top of the page ...
5
votes
4answers
2k views

Center column headings in tabular: multicolumn not respected

I would like to center column headings (and column headings only) in the following table. Why does it work with the first column, but not the second (I thought \multicolumn is the correct approach to ...
2
votes
1answer
308 views

Page breaking in vtop/hbox

I'm a new user of Tex and I'm facing a problem related to a very simple situation. I'm currently working on a TeX (TeXLive, no LaTeX is used) generator. This generator builds TeX files containing ...
5
votes
2answers
3k views

Tabularx can't center some column

I'm trying to create a timetable using tabularx environment, but i can't find a way to center all columns. Using this code: \documentclass[11pt,oneside, landscape]{article} ...
2
votes
1answer
360 views

Tabular vs fbox (or other options?) for creating an organized document

I'm currently in the process of trying to make a template that I can use for creating lesson plans for my high school math classes, but am having some trouble figuring out how I can make this be the ...
2
votes
1answer
442 views

How can I vertically fit a large table to the page?

I am trying to fit my large vertical table into one page... I started with \documentclass[a4paper,12pt]{report} \usepackage[pdftex]{graphicx} \usepackage{booktabs} \begin{document} \rotatebox{90}{ ...
3
votes
1answer
379 views

Stretched columns when trying to color individual cells

I'm trying to make a time plan for a project using tables in LaTeX but I've run into a small problem. The table below will look fine until I try to colour individual cells by adding ...
10
votes
3answers
6k views

Fill space with dots within table

I would like the whitespace between two items within a table to be filled with dots. Please consider the following picture to get the idea. So far I tried to achieve this output with the following ...
4
votes
1answer
714 views

Positioning of text in cells/tables

I want LaTeX to place the text of some of the cells in my table (using tabularx) at the bottom of the cell. Right now all the text I write in the cells will be positioned at the top of each cell. Can ...
11
votes
1answer
56k views

How to use \multirow

I can compile this table separately but when I want to compile the whole file, it gives me an error, which is fixed by removing \multirow. \usepackage{multirow} \begin{table}[htbp] \begin{center} ...
2
votes
1answer
567 views

Left aligned multi line equations and \newenvironment

I'm building a table of integrals, for my own use. I need simple things: equations must be left aligned, sometimes I need alignment on the equal symbol and to save space sometimes I need 2 equations ...
4
votes
1answer
4k views

Having a table in an enumerate environment

I have a problem trying to add a table in an enumerate environment in LaTeX. I want the table to act as if it were just another piece of text. i.e. showing up exactly right next to the \item in an ...
3
votes
1answer
4k views

Change alignment locally inside a tabular cell

I want to align some specific cells inside a LaTeX table. I tried using center enviroment inside cell, but it didn't work-Error: Undefined Control Sequence \begin{center}. I also tried with \centering ...
6
votes
2answers
3k views

table with tabularx and multirow

While using tabularx and multirow I tried to import this table (made with Word) in LaTeX: but it's not really working. It seems as if there isn't enough space for the text, but shouldn't taburlarx ...
3
votes
1answer
473 views

table of tables using memoir

I need help to create a "table of tables" using memoir. I'd like to use the booktabs features embedded in memoir. What I'm trying to typeset is something like subfloats, having two 2x2 matrix of ...
4
votes
1answer
2k views

top-of-page positioning: \longtable vs. \tabular

Why is a longtable environment on top of pages vertically placed different to a tabular environment? I'm digging several days on this question and didn't find a way to align the longtable vertically ...
5
votes
1answer
2k views

Typesetting plus-minus uncertainties with different upper and lower bounds

I'm making a data table and need to include my error bars with my data. $\pm$ works great if the upper and lower bounds are the same, however, several of my data points has a different upper limit ...
1
vote
0answers
693 views

How to change line width of a column in table? [closed]

How to change line width of a column in table? I colored the table and some column lines aren't appearing, It's so tight that only with zoom it appears ...
1
vote
1answer
163 views

Complex tables - commentry

I have a table which I need to go over multiple pages, hence I am using \usepackage{longtable}. However I am also using \multirow as my comments are simply too long to fit into one! But there are ...
1
vote
0answers
241 views

How align columns in a tabular environment? [closed]

I want to align the source .tex file in order to reflect final table. Here is the result of calling align-current on my tabular's content. \begin{tabular}{|c|c|} \hline & {\em Execution ...
17
votes
2answers
21k views

How to merge cells vertically

Is it possible to create a table like this one? The usual structure of tables I use looks like this: \begin{table}[H] \begin{adjustbox}{width=\textwidth,center} % \begin{adjustbox}{center} ...