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

footnotemark equivalent for tablefootnote

There is an option to mark the same cross reference in footnote using footnotemark. Can I do the same for tablefootnote? MWE: \documentclass{article} \usepackage{tablefootnote} \begin{document} ...
1
vote
1answer
35 views

Troubling making a 4 digit addition formatted in columns

Hey I've been using LaTeX for about an hour, no experience in CS. Can anyone help me with this? \arrayrulecolor{} \[ \begin{array}{*4r} & & &8\\ & & &8\\ &...
2
votes
0answers
36 views

how to adjust the header of a table ?

I'm trying to use a table in my these. I have used this code from this list of tables : \documentclass{article} \usepackage{tabu} \usepackage{longtable} \usepackage[table]{xcolor} \definecolor{...
3
votes
0answers
59 views

How to draw a table with shared cells?

Starting from such a table: \documentclass{article} \begin{document} \begin{table} \begin{tabular}{|l|c|c|} \hline & Property 2 & Not property 2 \\ \hline Property 1 & ...
1
vote
0answers
36 views

How to write an algorithm as a column inside the table

Let us consider the following code and the algorithm corresponding to it \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{algorithm2e} \begin{document} \begin{center} ...
0
votes
0answers
44 views

How to convert .ods to latex?

When I use calc2latex I receive the error message "BASIC Runtime Error: Object Variable not set" Using Ubuntu 16.04
0
votes
0answers
25 views

What is wrong with my Tabular format? [duplicate]

I want to write a table with 6 columns and 5 rows. I tried the following, but couldn't give me a table. Could someone please help me? \begin{center} \begin{tabular}{ | l | l | l | l | l | p{1cm} |} \...
4
votes
2answers
46 views

How to merge the contents of the table cell without using multirow and multicolumn?

\documentclass{article} \usepackage{graphicx} \begin{document} \begin{table} \renewcommand{\arraystretch}{1.2} \centering \setlength\tabcolsep{0.5em} \scalebox{0.84} { \begin{tabular}{|l|l|l|} \hline ...
-1
votes
1answer
114 views

hi guis iwant to help me [closed]

indeed help me in this problem when I write new subsection enter as shown in table belwo
14
votes
2answers
165 views

How to align horizontally two tabular environments

I have this table (a table environment containing two tabular environments). I need the two tabulars to be placed side by side. But I need the second tabular to be align horizontally (same height that ...
6
votes
3answers
135 views

How to only show text?

I have a document for a student research project and want to know how many pages content without figures, listings and tables i have. My university does differentiate between content and figures,... ...
6
votes
2answers
48 views

Precision setting lost when postprocessing rows

I want to generate a formatted table from a CSV file: with every other row in a different color using 4 digits precision for numbers Right now I can't seem to have both. Here's an example code to ...
-1
votes
2answers
64 views

How to fit long equation into a cell of table and how to use table in general

I am using tabular for the first time and found it to be unbelievably difficult to use. But the primary goal for now is to fit a long equation into the cell of a table \pagebreak \section{List of ...
1
vote
1answer
43 views

table and box over certain cells

I was trying a way to make a box for a certain part of my table like the following Is there a way to create the red box? My code so far for the table: \begin{tabular}{cccc} \toprule &...
0
votes
1answer
21 views

How to control vertical spacing before and after Itemize within the tabular environment?

After asking this question about how to add some spacing between two row in a tabular environment, I figured out some strange behaviour of the itemize command within the tabular* environment. Using ...
1
vote
1answer
29 views

Issue with row spacing in tabular environement

I have the following macro to format all my table together inside of my CV. \documentclass[a4]{article} \usepackage[left=1.5cm,top=2cm,right=1.5cm,bottom=2.5cm,nohead,nofoot]{geometry} \setlength{\...
1
vote
1answer
46 views

Table keeps going off the text width

I have been using LyX 2.1.4 on Manjaro Linux. LyX works great and I get great quality work done on it, however what keeps me from moving my workflow into LyX is this annoying problem with tables. If ...
1
vote
1answer
50 views

how to create a table with the text of columns centered and justified?

I'm a new with Latex, I'm trying to create my Thesis . But I'm stuck in how to create a table. I have tried to use this link which make latex tables online. but I didn't succeed to create my table ...
1
vote
0answers
25 views

Out of margin for longtables

I have a longtable in latex which span in two pages... the table is coming out of the margin when using tufte-book template. Appreciate if anyone can help here.
1
vote
1answer
34 views

How to center longtable both horizontally and vertically

I have the following longtable, I want to center its content both vertically and horizontally, So far I've successed in centering it in one of them using the array package and newcolumntype \...
0
votes
0answers
47 views

How to construct table later

I'm trying to update my simple exam template. I want to place the grade table before the questions. The number of questions and the grades are not ready during the construction of the table. It works ...
2
votes
0answers
26 views

Collecting and analyzing data presented in tables

I have data presented in tabular environments and I want to process it, in LaTeX, in ways that require for multiple cells to be analyzed together. That's in addition to typesetting the cells ...
4
votes
0answers
36 views

\write at the beginning of a table cell adds spurious vertical space

If a tabular column of type p (or a few others such as tabularx's X) starts with a write, this inserts some vertical space. MWE: \documentclass{article} %\usepackage{array} \newcommand{\writethis}{\...
2
votes
2answers
52 views

Math mode in table headers (tabularx)

I am editing a document, using a custom class. The author has numbers with a bar over them in a table header, e.g. $0.58\bar3$. However, when I try to compile it I get the following errors: ! Package ...
0
votes
1answer
27 views

Vertical center cell

Why is not vertically centered the second column, while the first one it is? \begin{table}[h!] \centering \begin{tabular}{|>{\raggedright\arraybackslash}m{0.4\textwidth}| >{\raggedright\...
1
vote
1answer
23 views

Tabular row height of header with vertical allignment

How to set the row height of a single row (the header in this case) with vertically center alignment? Here's my MWE: \documentclass{article} \begin{document} \begin{tabular}{@{\extracolsep{\...
0
votes
1answer
30 views

Latex table error, Forbidden control sequence

Im trying to make a table in LaTEX and my code looks like this: \begin{table}[H] \centering \caption{Comparing all interactions with time at each timestep. The model for All are the full model shown ...
1
vote
1answer
25 views

Tablecolumn alignment

Below is my latex code for my table. But the table is not aligning properly. Also, I am getting an error "extra alignment tab has been changed to cr". Please help me. Thanks in advance. \begin{table*...
2
votes
1answer
38 views

Why sections between these tables are not shown at the required position?

I'm totally new with Latex and I'm facing this problem using tables: I have a certain number of tables with the exact same structure, when I define subsections between them the subsections do not ...
3
votes
0answers
36 views

alternate row colors for only some columns

I'd like alternating row colors for only specific columns (and in a perfect world, also only a subset of rows), with a table using multirow and multicolumn. I've found that putting \rowcolor{COLOR} ...
4
votes
1answer
56 views

Autofit a table to the column width

I am creating a two-column document using latex. I use the option \columnwidth to autofit a table to the column width, as shown in the following figure. The second column Value is too wide. How do I ...
1
vote
1answer
33 views

Minipages with figure and tables side by side: Alignment of captions

I want to place a figure next to a table. To do so, I use the minipage environment. Here's the MWE: \documentclass{article} \usepackage{caption} \begin{document} {\centering \begin{minipage}[t]{0....
1
vote
0answers
18 views

DTLoad from Start to End Record?

Assume I want to use DataTool to display CSV data in a Latex Table. However, my CSV table, is say 1000 lines long, and I can only display 50 on a page. So I what I am looking for is a solution to ...
1
vote
1answer
25 views

Create custom tabular environment

In the process of creating a beamer template from a PowerPoint template, I am trying to create a tabular environment with colored rows, lines between the rows and specific header and footer styles. ...
2
votes
1answer
84 views

Multiple column and row table in latex

I want to draw a following table in latex EDIT: MWE: \documentclass{article} \usepackage[british,UKenglish,USenglish,english,american]{babel} \pagenumbering{gobble} \usepackage{multirow} \...
0
votes
1answer
25 views

Table column combine

I want to create a table of the following format. How do I combine the two columns CD into A and EF into B.
7
votes
3answers
295 views

A note with the dangerous bend symbol: how to vertically center text and symbol?

I want to make a command (to be used mainly with the beamer class) which typesets a text note with a dangerous bend sign \dbend on the left, the two vertically centered with respect to each other. I'...
6
votes
1answer
79 views

Linenumbers in longtable

I have to add line numbers to a document. It would be nice if the line numbers are also printed (and counted) inside tables. Consider the following example: \documentclass{scrartcl} \usepackage{...
0
votes
0answers
21 views

How to obtain a specific table with a missing cell [duplicate]

How should I proceed to obtain the following table: What I've tried is: \begin{tabular}{ | c | c | c | c | c | } \hline 7 & 4 & 7 & 9 & 27\\ \hline 10 & 9 & 9 & 6 &...
1
vote
1answer
40 views

Error while setting column width in Latex: Package array Error: Illegal pream-token (3cm): `c' used

This is my code to build a simple table. \begin{table} \small \centering \begin{tabular}{ l{3cm}|l|l|l} .... \hline \end{tabular} \end{table} But, I am getting the error Package array Error: ...
4
votes
1answer
42 views

Misplaced noalign when using rowcolor

I am trying to create a table with colored rows and colored hrules between the rows, but I am getting a "Misplaced \noalign. \rowcolor" error. The following example reproduces this problem: \...
1
vote
1answer
28 views

Justify caption

For my figures and Tables the caption text is formatted to start in the middle. For the tables only however, I need it to start from the left. I tried using \flushleft command for it but it did not ...
2
votes
3answers
44 views

Table : Overfull hbox

When I compile the following code, I get the error overfull hbox and I cannot see the right end of the table. Does anyone know how to fix it ? \begin{center} \begin{tabular*}{\textwidth}{c @{\...
0
votes
0answers
20 views

Column borders don't extend from row to row, horizontal cantering

I'd like my table borders to extend throughout a row, they don't; and entering text is problematic, it's vertically entered but to horizontally centred. Any suggestions? \begin{tabular}{|c|c|c|c|c|} ...
1
vote
0answers
32 views

Using table in Latex. text overwitten

I'm using this code \begin{center} \begin{tabular}{ | l | l | l | p{5cm} |} \hline Day & Min Temp & Max Temp & Summary \\ \hline Monday & 11C & 22C & A clear day with lots of ...
7
votes
2answers
296 views

How to create a table automatically for a homework in statistics?

I want to create a long table containing some statistical data, such as the sample, the average, and the variance, etc. I am using the pgf package and its various extensions to do this. Here is a ...
0
votes
2answers
30 views

Question on formatting a Tabular Column

I had a few questions. When I was making a document containing a table containing 10 columns, I was not able to bring all the columns in the page.I tried to fit it by making the margin width 1cm by ...
1
vote
0answers
26 views

Footnote missing when used with table, tabularx

I'm using fithesis3 class and I'm unable to get to work table + tabularx + footnotes + footnote references. I have tried \tablefootnote - http://tex.stackexchange.com/a/35328 \scrextend (\footref) ...
0
votes
1answer
49 views

How can I be sure that there are also lines between the boxes that are empty

I have a problem with Latex, TeXmaker (program). I would like to make a table but the last two boxes are empty, but how can I be sure that there are also lines between the boxes that are empty? Now ...
2
votes
2answers
44 views

Vertical and Horizontal alignment in table

Question: Here i made a simple table. My question is very simple how can i align text inside the table horizontally and vertically? MWE: \documentclass[12pt, a4paper]{article} \usepackage[a4paper,...