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

3
votes
2answers
103 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? ...
1
vote
1answer
34 views

Avoid table overlaying with another column in IEEEtran

I am trying to create a table which is occupying end to end in the IEEEtran paper. If the table comes in the first column, then the text on the right column overwrite the remaining columns of the ...
2
votes
2answers
138 views

Table example made in Google Docs - how to make (would one make) this in LaTeX?

edit -> the emphasis on Google Docs might be a bit much, basically it's just a little table thing, it's not something unique to Google Docs thats just what I happened to use to make this. I made ...
0
votes
0answers
32 views

Custom Command Problem

I have a custom command that I got working with a lot help from this forum but I've run into a problem. When on a regular page it works fine with it adding a changebar to the margin and changing the ...
1
vote
1answer
47 views

undefined control sequence and a problem for compiling a table

I need a help to show this figure correctly. Numbers are not on the center. \begin{table} \label{ch:a:3:4:2:5} \centering %\small \begin{tabular}{c*{5}{d[table-format=2.2]}} ...
2
votes
2answers
36 views

Divide hline when double lines for columns appear, so to make separated columns

I want to create a table where for each cell, its lines do not cross the lines of other cells. Here is a minimal example \documentclass{article} \begin{document} \begin{tabular}{*{2}{|c|}}\hline ...
0
votes
2answers
73 views

How to import CSV files into my own style of tables?

I've been using LaTeX to write lab reports for a year now, which includes manually entering data into tables. However, now I am performing experiments that have way more datapoints that manually ...
4
votes
3answers
83 views

ifnum: problem with multicolumn in tabular

The next code has an error \documentclass{article} \newcommand{\numtest}{1} \begin{document} \begin{tabular}{ll} text A & text B\\ text C & text D\\ \multicolumn{2}{c}{Long Text}\\ \ifnum ...
0
votes
0answers
21 views

How to make a long \twocolumn supertabular table fit within the page width?

I have a very long table that is just taking up too much space in my report. There is not THAT much information so I figured I can just print the table over two columns on one page, thus reducing page ...
3
votes
1answer
49 views

hline not filling up in tabularx

I created a table with the following code: \begin{tabularx}{14cm}{|X|X|X|X|} \hline \multicolumn{4}{|c|}{\textbf{\cellcolor{gray!20}contentcontent}} \\ \hline ...
1
vote
1answer
28 views

change height in specific row in a table (above the row, not below)

As you can see in this horrible figure the ^2 is too close to the line. I know I can use row \\[1.2ex] \hline row but it only adds space below the row, I need space above. Also I don't need to ...
3
votes
2answers
83 views

tables with very long texts

Im trying to generate a pdf using Latex. My problem is with tables that have very long texts in it. For example: This example was made using xtabular. But I also tried using longtable. Is there any ...
0
votes
1answer
56 views

I got the table in right place but the word “Example” become right below the table. How can I fix example above table?

\begin{document} \begin{example} \begin{table}[H]%!t or htbp or htb \label{full_adder_example} \centering \caption{Base sequences from Turyn sequences} \begin{tabular}{|l|l|l|} \hline TrS of lengths ...
3
votes
2answers
127 views

Could someone help me draw the Curly bracket for the tabular like this?

Hi guys, I am trying to draw curly bracket like this by using \multirow command but i can't enlarge the curly bracket, can someone help me out? Here is the commands: \begin{center} ...
0
votes
0answers
9 views

How to have a table span the entire page width [duplicate]

So I'm trying to type up my resume in Latex. I have two addresses I want to list and I would like to have one on the right of the page and one on the left. I'm assuming I can do this with a table but ...
0
votes
0answers
47 views

How to get row height in tabular?

I want to calculate row height that I could change tabular vertical rule. Everything is fine if I don't use superscript. But with superscript I don't get correct height of vertical line (\vline). ...
1
vote
1answer
34 views

How to hide captions below figures using figcaps?

I'm using figcaps to move the figures at the end of the document and to generate a list of figures. The figcaps package displays the figure captions two times: once in the figure list and once below ...
1
vote
2answers
96 views

Repetitive table in Tikz

I'm trying to make a repetitive table in Tikz, but couldn't find any examples for how to do this. Here's how I wish my table would look like in Tikz: I tried firing up some standard table ...
2
votes
1answer
25 views

How do I change the numbering system of table captions?

Normally when a table is captioned, it comes out as "Table 1: Blah blah...", but I want to change it to "TABLE I. Blah blah..." How do I do that? So far, I've figured out how to change the title and ...
4
votes
2answers
61 views

How to remove footnote separator underneath table

\documentclass[a4paper,12pt]{book} \usepackage{booktabs} \usepackage[hang,flushmargin]{footmisc} \begin{document} \begin{table}[h] \begin{minipage}{\linewidth} \begin{tabular}{@{}lrr@{}} \toprule A ...
1
vote
2answers
67 views

positionning the boxes

As I have understood latex uses boxes, I thought it would be easy to do what I want as I know how to make these boxes (took me a few hours, but ok). But no. I can't find the tricks, eventhough I am ...
2
votes
1answer
70 views

Customize tabular with tikz: extract width of a column

Currently I use this custom type of tabular (with packages tikz, booktabs, etoolbox): \def\head#1\\{\shead#1&\\} \def\shead#1&#2\\{\color{white}#1\ifstrempty{#2}{\\}{&\shead#2\\}} ...
2
votes
1answer
51 views

Line Arrows for Tabular Integration Table

I've recently reviewed this question to try to make a table for Integration by parts: Tabular integration by parts I tried using the code sample from it but LaTeX gives me a rendering error with ...
1
vote
0answers
22 views

Embedding tables into questions in exam class documents

I am writing a test in the exam class and having a bit of trouble. I'd like to embed a table into a question but doing so produces the "multiply-defined" warning and breaks the flow of the questions ...
1
vote
1answer
26 views

How to reduce row height using multirow, multicolumn

the following code produces a table with larger row heights than needed. I have already defined new columns (for coloring the columns). Any ideas how I can shrink the row height? ...
0
votes
1answer
60 views

This table is not running

Hi I need some help running this table. Here are my codes \begin{center} \begin{tabular}{lcc} \hline \noalign{\smallskip} & mpg & mpg & mpg\\ \noalign{\smallskip}\hline ...
3
votes
1answer
54 views

Summarize parts of a table with curly brackets

I would like to create a table (cf. attached figure) and use curly brakes to summarize some of the cells. I did a lot of research and found this solution (Curly brackets around a table), but it ...
6
votes
4answers
156 views

Unit column in table with square brackets and siunitx

The header might be a bit weird. But I would like to add a specified column type that is reserved to units. For instance, take a look at the following working example: ...
4
votes
3answers
77 views

Aligning table headers to the bottom

I have a table with table headings (which are rotated 90 degrees clockwise because of their length) that needs to be aligned to the bottom. How to do that? Here is my code: \starttext ...
4
votes
3answers
79 views

Help to make braces in array with sidenote type detail

I am trying to make an array like this with the braces two lines long with details like a sidenote. I tried: \begin{array}{c} \sin&\leftrightarrow&\tanh\\ ...
1
vote
2answers
69 views

Put a text in the middle of a column

I have the following code: \documentclass[12pt]{article} \newlength{\mylen} \settowidth{\mylen}{the title} \begin{document} \begin{tabular}{|l|c|} \hline the title & number \\ \hline ...
2
votes
2answers
38 views

Set the width of a column according to the first line and wrap text

I have the following code: \documentclass[12pt]{article} \begin{document} \begin{tabular}{|l|} \hline the title \\ \hline very very very very long \\ \hline \end{tabular} \end{document} The code ...
2
votes
1answer
36 views

Remove the vertical borders of a table row

I have the following code: \documentclass[12pt]{article} \begin{document} \begin{tabular}{|l|} \hline line 1\\ \hline \\ \hline line 3 \\ \hline \end{tabular} \end{document} The code draws a ...
2
votes
3answers
102 views

Table not looking good tabularx

I'm trying to make a table in Latex but I'm not expert in it and it's not looking good. Below is what I did but the result is not fitted and not looking good so if anyone could please how I can ...
1
vote
1answer
52 views

How to use background on a single row or column in table?

When using simple tables in Context (\starttable command), can one place a background on specific rows and/or columns?
1
vote
2answers
96 views

How to draw this picture in Context?

I want to typeset a figure that expresses how some quantity consists of other quantities, and graphically depict that in a table like form. I have currently done this using a simple table format, and ...
1
vote
1answer
28 views

csvsimple creating multiple lines out of one entry

Data looks like this: name,job,age John,student,21 Frederik,student,18 Johnson,professor,49 I'd like to generate a table, that when for the first time a new job show up (the list is sorted by job), ...
1
vote
1answer
43 views

Overlay table with arrows

I have a table that I want to overlay with arrows to show which cell in one column is connected to which cells to another column. Something like that: Is this possible? I could use an external ...
3
votes
2answers
31 views

Make eledmac footnotes available in tabular environment

Is there a way to make eledmac footnotes available in tabular environments? The \savenotes and \makesavenoteenv commands from footnote.sty don't work here anymore. In the following MWE, footnotes ...
3
votes
1answer
35 views

Vertical alignment in tables without multirow

My MWE is \documentclass[a4paper,11pt]{book} \usepackage{array} \usepackage{lipsum} \begin{document} \begin{center} \begin{tabular}{|>{\centering\arraybackslash}m{2cm}| p{8cm} ...
1
vote
1answer
44 views

Changeable thickness of lines within table

I am working on a table that @David Carlisle fixed for me in this topic: Formatting pbox in table for neat distribution of text The tex for the table is below: \documentclass[a4paper]{article} ...
0
votes
0answers
22 views

TOC for two line header

My table of contents gets broken up as some of my headings consist of two lines. For legibility on a paper form, I have them tabbed in for indentation purposes. I use the soft enter and it just drops ...
3
votes
2answers
73 views

Formatting pbox in table for neat distribution of text

For the purpose of a paper I am writing I have some very big tables. I couldn't fit the numbers inside the boxes so I used pbox. The problem is that now the numbers within the box aren't distributed ...
2
votes
1answer
52 views

Long (two-page) table in twocolumn document

I'm trying to include a not too lengthy table of mathematical notation definitions in a paper I'm writing. The paper is in twocolumn mode, the definition table has to span both columns, because ...
1
vote
1answer
45 views

Xtabular: how can I convert to a single column?

I am taking the example provided for a two column table in the following document, and modifying to suit my needs: http://tug.ctan.org/macros/latex2e/contrib/xtab/xtab.pdf I need to convert this to ...
2
votes
1answer
58 views

Tabular inside listings

I'm trying to get this with this style but I'm getting the error ! Misplaced \omit. \multispan ->\omit \@multispan Here is a MWE: \documentclass{article} ...
2
votes
1answer
41 views

Include a table as label in pgfplots

I would like to have as a symbolic x coordinate a tabular. Is this possible? Below is a MWE that has all the required elements. \documentclass{article} \usepackage{pgfplots} \begin{document} ...
2
votes
1answer
37 views

Tabular gets aligned to the right for no obvious reason

I have a tabular which gets aligned to the right while I use \centering. I'm using the article class with only the packages babel and array. The code I have: \documentclass[paper=a4]{article} % A4 ...
6
votes
2answers
130 views

@{} removing the vertical line for the header row of table

I'd like to remove the horizontal spacing between the text and table lines. I am using @{}, but it removes the vertical line of the table for the first row. Does anyone know why? ...
1
vote
2answers
37 views

line break within table column

I have looked up many of the previous posts on this....but of no avail.....I need a solution to break a line within a table column, without a break appearing at the table edge of the second row....my ...