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

0
votes
0answers
22 views

list of tables, figures and table of content is not updated

I use \section and \subsection for Table Of Content, and \caption for table and figures but just chapter 1 sections appear in the list, no figure and table updates in the list, what should I do?
0
votes
0answers
28 views

Table rows ending up on different pages

I have a large table and I have tried other techniques but the rows are ending up on different pages. Below is the code: \begin{center} \begin{longtable}{ |p{2cm} | p{2.6cm} | p{2.4cm} | p{2.1cm} ...
1
vote
1answer
35 views

Column misalignment with multicolumn command

I have the following code that generates a table \begin{tabular}{|c|c|c|c|} \hline \multicolumn{4}{|c|}{A} \\ \hline \multicolumn{2}{|c}{B} & \multicolumn{2}{|c|}{C} \\ \hline D ...
1
vote
0answers
23 views

Selecting font features for tabular data

I am writing my thesis using (among others) the KOMA-script and fontspec packages. I would like to select the default sans serif font (and add some font features) for my tables. I know how to do this ...
0
votes
1answer
27 views

insert \hline in datatool importing .csv

I'm trying make a table with the datatool package and a .csv created from an Excel file. I'd like this code to be as generic as possible since I will have to import a lot of .csv in this document. ...
3
votes
2answers
30 views

Vertical alignment of figure in a tabular. (Automatic width)

I'm trying to align photos and text vertically and horizontally in the middle of each tabular. I've tried the 'array' package but it seems like I need to define the width of the column. I want the ...
4
votes
1answer
14 views

Issues lining up multiple columns in beamer

I am working on a slide to use for a presentation. Right now the bottom left table does not line up with the bottom right table. I would like for the first row of each table to line up as the first ...
2
votes
1answer
24 views

labeling figures as table

P.S. I have figured it out. I simply added \begin{table} \end{table} instead of figure environment I am new to latex, trying to figure out how to write a simple paper. I have a figure (a jpeg ...
1
vote
2answers
40 views

Creating a multi-column table with dynamically wide columns from a CSV file

I'm trying to make a multi-column table take dynamic values, read from a CSV file. The current table looks like this and has been formatted manually with tabularx, without any multicolumn package ...
3
votes
2answers
44 views

Write vertically over several cells

First of all, sorry for my possible bad English as it is not my mother tongue. Here is my problem: I can't get my table to do what I want and even though I looked everywhere, I didn't find the ...
4
votes
1answer
67 views

Using Multirow in tables created with a TikZ matrix

I need to incorporate multirow in the following table, and I keep coming across errors. I found the following example for a great formatted table with colored cells and rounded corners here. I have ...
2
votes
1answer
30 views

Aligning a column to the center of the page

To showcase some variables, I wrote a very simple table: \begin{table}[H] \centering \begin{tabular}{rcl} $-0.3858 * 10^{5}$ & for & $H_2O + COS \rightarrow H_2S + CO_2$ \\ $-0.6927 * ...
4
votes
1answer
28 views

Colored Cells and Cell Contents Aren't Aligned As Expected

I'm trying to color some cells in a table, with the cell contents being centered vertically as well as horizontally. I can't seem to get the numbers - which seem to align with the header fine - to ...
1
vote
1answer
37 views

cell colour overlaps cell borders

This is a question that seems to be asked quite often so I apologise for the repetition. I looked in the answers already given and tried out several of them, but none seems to be the solution to my ...
0
votes
2answers
38 views

How to reduce tabular column margin or is there whole alternativ?

I want to demonstrate a number of transformations from one eigenstate to the other in one line: At the moment I am using a tabular with the code: \documentclass{scrartcl} \usepackage{lmodern} ...
5
votes
3answers
192 views

Creating a simple table diagram with arrow annotation

Many investent fund factsheets have a simple risk diagram as below, along with the annotation: How would one recreate this in TeX? I though of using a table but perhaps some sort of tikz picture ...
1
vote
1answer
33 views

Tables does not fit [duplicate]

I have a pretty long table which is of the size of one page. The thing is that I want that this table is broken in pieces if my whole text is about to jump to the next page so that one part of the ...
2
votes
1answer
38 views

Trying to display a 40 x 40 table in landscape mode

My first problem was just trying to get the table to look OK. I did this by adding a "double align" (two &'s between elements) and a \tiny font size. When I put the table in landscape mode, I get ...
3
votes
3answers
108 views

Trying to fit a table in the width of a paper

I am trying to make the width of the table equal or less than the width of the paper so it will fit in it. I wrote the code of the table below but it doesn't fit in the paper as shown in the figure ...
0
votes
1answer
27 views

pgfplotstabletypeset with the use of multirow and the vertical line problem

Please bear with my clumsy codes here. I am using multicolumn and multirow to custom-made a header but are having trouble. I will use an example csv file to illustrate what I am trying to do. My csv ...
0
votes
0answers
16 views

Why row color overlaps with row border [duplicate]

I am using the following latex code to highlight some row of a table useing rowcolor command. However the table borders in those rows are overwritten by the row color. Why is it happening? How can I ...
0
votes
1answer
35 views

two tables of same size tikz

I am creating two tables with the following code (tikz package} \documentclass[twoside,11pt]{article} \usepackage{tikz} \usepackage{url} \usepackage[T1]{fontenc} \usetikzlibrary{positioning} ...
0
votes
1answer
31 views

Adjust table to fit within the page

I am generating a table but I dont know why it's getting out of the page! [\begin{tabular}{|*{3}{l|}*{5}{c|}} \hline \textbf{Participant} & \textbf{Systèmes} & ...
3
votes
2answers
47 views

Unexpected behaviour of multicolumn/minipage in tabularx

Please take the following MWE into account : \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{array} \usepackage{booktabs} \begin{document} \textbf{Array A :} ...
1
vote
0answers
32 views

Huge space before xtabular

Description I have a tex file similar to the following, where I use xtabular in multicols enviroment. However, I find that xtabular starts a new column when there is enough space for an entry. Also, ...
2
votes
1answer
36 views

How can I horizontally align text in a multirow element?

In the tabular environment, horizontal alignment is traditionally achieved using such arguments as l, c, and r for the table spec. However, when \multirow (from package multirow) is used, the chosen ...
1
vote
1answer
50 views

How to vertically center image in table cell

I am trying to place an image in the first column of a 4 column table. However the image is going over the top horizontal line. How can I set the image in the center of the cell so that the top ...
0
votes
1answer
26 views

Why resizebox is not working on my informs template [closed]

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 ...
4
votes
1answer
42 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 ...
1
vote
1answer
26 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 ...
2
votes
2answers
20 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
31 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 ...
3
votes
1answer
21 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 ...
0
votes
0answers
20 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 ...
4
votes
2answers
97 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 ...
4
votes
1answer
42 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
46 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
34 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
44 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
44 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} ...
4
votes
2answers
100 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 ...
1
vote
0answers
86 views

Drawing a TiKz Diagram within a Table [closed]

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.
11
votes
3answers
310 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} ...
1
vote
1answer
87 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} ...
2
votes
1answer
36 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 ...
2
votes
1answer
54 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 ...
0
votes
1answer
69 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] ...
7
votes
7answers
690 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 ...
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
33 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 ...