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

13
votes
2answers
16k views

Table rowspan and colspan

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. I want: Fixed width columns and fixed height rows; Centered cells ...
0
votes
1answer
39 views

Forcing a single column, full width table

I am writing multiple documents like paper.tex, report.tex, book.tex etc. They all have different formats like single/double column, landscape/portrait etc. All these (wrapper like) document tex ...
2
votes
1answer
41 views

Asymmetrical Composition of images

I am desperately trying to arrange my images as in this sample figure for my paper and I am stuck. Has anyone been able to do this successfully and could give me some pointers? It should be noted ...
5
votes
3answers
4k views

Automatic line-breaks in tables?

I'm writing a short tabular CV that I have to add to my thesis. I thought a quick way would be to use a table for that purpose: \begin{tabular}{ll} 2009-present & very long text 1, very ...
0
votes
1answer
57 views

Typesetting a worksheet

I'm trying to create a very basic worksheet in TeX. I just want a document that gives some instructions and then lists a few problems in a grid, the same way you'd see in a math textbook for a ...
1
vote
1answer
31 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 ...
26
votes
2answers
37k views

Vertical spacing of a table cell

I want to tabulate formulas, but I find that the lines of the table cells are too close together, and this is aesthetically unsatisfactory. Example (formulae copied from wikipedia): ...
7
votes
4answers
414 views

How to extract each pair of two adjacent cells of a table into a separate tight page?

For the sake of simplicity, I provide a table as follows. I cannot make it simpler because simplification probably no longer match my real scenario. The code below was written by me and modified ...
1
vote
2answers
70 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 ...
2
votes
1answer
39 views

how to Insert an English table into a persian text written by the use of xepersian package

I am writing a in \documentclass{report} and I use \usepackage{xepersian}. In a separate .tex file I created a table which is written in English. I want to put this table in my text using \include ...
0
votes
1answer
33 views

Color midrule in tabularx [duplicate]

I have created a table using tabularx. Can I color the \midrule instead of having it colored black as default?
1
vote
1answer
34 views

Table/figure in custom environment

having a custom defined environment, how would it be possible to have figure/table under the defined environment? \newenvironment{example}[1]{% \begin{exa}[#1] }{% \end{exa} } and ...
0
votes
1answer
47 views

Print list in columns

I have a long list. I want to reduce the length this list uses. Can I somehow encapsulate all the entries in an environment which prints all the entries in a "3-column table", making me use more of ...
2
votes
3answers
101 views

Table row & column spacing (not padding!)?

I need space between rows and remove white lines between the columns. All the answers I found only referenced array stretch and \tabcolsep, which I use and like, however, these only change the ...
0
votes
0answers
19 views

Is it possible to generate ordered pairs with STcopy in spreadtab?

I'm using the spreadtab package to generate outputs for a two-variable function. I can create a table with separate columns for the x and y variables, then use those to compute everything, like this: ...
3
votes
2answers
47 views

item tabulator same line

I want to put the item in the same line as the tab. Please have a look on my screenshot, how i actually want it to have. \item Bewertung: \begin{tabular}{l l c } & TestTest: & Test \\ ...
1
vote
1answer
29 views

Centering numprint-formatted table columns

Consider the code \documentclass{standalone} \usepackage{array, numprint} \npstyleenglish \begin{document} \begin{tabular}{n{3}{0} n{3}{0} >{{\npunit{\%}}}n{2}{1}} {{\# successful}} & {{\# ...
2
votes
1answer
38 views

table with values above vertical lines and/or over

I would like to be able to have a table like the one in the picture (hand drawn) below. I am not familiar with tikz, or proficient power latex user, and mostly use them by examples. If anyone can ...
1
vote
2answers
30 views

Reduce space between two tabu environments

I have a document with two longtabu tables. The problem is that there's too much vertical space between them (as marked by the red line): I'd like to reduce this space whilst otherwise preserving ...
2
votes
1answer
47 views

Referencing custom environment

I am using \begin{figure} \includegraphics{} \caption{Caption} \label{fig:fig_name} \end{figure} and \begin{table} \begin{tabular} .... \end{tabular} \caption{Caption} \label{tab:table_name} ...
2
votes
1answer
44 views

Missing \endcsname inserted when trying to make subtables

I'm trying to make 2 subtables with 2 different captions inside of a table, but I keep getting the following error: Missing \endcsname inserted. <to be read again> \relax l.9 ...
13
votes
5answers
18k views

Newline in a table cell which is centered

This question may look like a duplicate but, none of the answers given to the possible duplicates contain the answer to this specific case. I have a tabular, say \begin{tabular}{ccc}. While adding a ...
1
vote
2answers
65 views

Better table code and coloring table

First thing, I got a table, which looks fine in PDF, but sort of "ugly" in code, and I would like to present as below, \documentclass{article} \usepackage{ragged2e} \usepackage[utf8]{inputenc} ...
1
vote
1answer
53 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}$ & ...
0
votes
1answer
52 views

How to create a specific form of table?

I'm unable to create this table on latex
1
vote
1answer
42 views

Help to make table of content

I have been struggling to make a table of content to my thesis, can anyone help me with this? I was looking for a complete code where I could just put the names on the chapters and sections, but didnt ...
1
vote
1answer
73 views

Fit a table without changing the font size

I have large tables and they tend to no fit within the page so i used {adjustbox}{width=1.0\textwidth} but this make the font extreemly small. Is there a way that i can fit the table without ...
0
votes
1answer
65 views

How to repeat cell content with slight modifications on next page for longtable using multirow using LaTex

Given this approach: How to Repeat Cell Content on Next Page for \longtable using \multirow What if I wanted to slightly "modify" the text that is repeating so that on the originating page I want to ...
0
votes
0answers
52 views

I can't figure out how to ccreate a complex latex figure with lots of formulas

For practice, I am trying to emulate a figure from a paper I found. It looks like this: Right now, what I have looks like this: I think I managed to get the two blocks on the top right, using ...
0
votes
0answers
24 views

compile timeout error message in table

I have this table in LaTex and it gives me a compile timeout error message and I don't know why. What is wrong with it? \begin{table}[h] \centering \begin{tabular}{|r|r|r|r|r|} \hline Tipo de sensor ...
2
votes
1answer
100 views

Drawing a hash table lookup scheme on overleaf engine with tikz package

As far as I know this is a Tikz table. Could you give me a background on how to make those fancy shadows as well as the dots between table cells? Also, any example of a similar table would be a ...
3
votes
1answer
36 views

toprule set up for two sub tables

First thing first, my LaTeX code, \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[letterpaper, top=0.25in, bottom=0.25in, left=0.25in, right=0.25in]{geometry} ...
2
votes
1answer
46 views

How to insert a multicolumn among columns?

I want to create a table in latex in which I have a multicolumn among columns. something like the following: How can I create it?
2
votes
0answers
21 views

LaTeX - Let table be page wide in the IEEE template [duplicate]

I'm currently using the IEEE template, as it allows for the use of floats within a two column document. I am trying to make a table the width of the page (spanning both columns) at either the top or ...
2
votes
2answers
102 views

fractions in table

I have a table with three columns, in the second and third sometimes appear fractions: \documentclass{scrartcl} \usepackage{array} \newcolumntype{C}{>{$}c<{$}} \begin{document} ...
51
votes
2answers
8k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
1
vote
0answers
28 views

Lstlisting caption: Number style [closed]

When adding a listing to my document, the caption style differs from figures or tables. E.g.: \begin{lstlisting}[language=C,captionpos=b,caption=This is foo,label=src:foo] ... \end{lstlisting} ...
4
votes
2answers
108 views

Creating a formatted table from a list of words

I am working on putting together a grammar book which has a lot of bilingual examples, and simultaneously trying to learn the memoir class. The book will have many tables which look like the ...
2
votes
3answers
91 views

Error in the table. The vertical line exceed a row of the table

This is the fragment of the table that I am having a problem with: \captionof{table}{Risultati sperimentali per il dominio Rovers} \begin{tabular}{|c|cc|cc|cc|cc|cc|} \cline{1-11} ...
1
vote
1answer
47 views

Having problem in alignment in the resume document class

I am using the document class "res" for making my CV and I have some problems in aligning the sections. Like in the below image, the Address Lines are not aligned with the Test in the Research ...
3
votes
2answers
4k views

Creating tables with borders in IEEE conference two column format

I'm new to LaTex. I'm trying to find some sample code that shows how to create a single column table with borders (and if possible a grey header row) in a two column paper.
10
votes
1answer
385 views

Is there a package for automatically managing table headers and formatting?

Is there a package for automatically managing table headers and formatting? For example I don't want to have to manually embolden every header entry individually, not to mention the extra clutter ...
1
vote
2answers
57 views

Align table columns with tikz picture

I want to align some columns of a table automatically with some lines y-coordinates in a tikz picture and have no idea how to go about it. Moving the table into place via tweaking column widths and ...
1
vote
1answer
66 views

How to create LaTeX example codes using verbatim and large braces?

I read this question it's useful but isn't exactly what I need. My problem consists in create an array, table or something like that with two columns. In the left one I need to put LaTeX code with ...
2
votes
1answer
85 views

How to add scale to bar plot inside table

I have following table with bar plot inside. I would like to add scale (x axis) at bottom of bars. Can anyone guide me how can I achieve that in LaTeX? \documentclass{article} ...
3
votes
2answers
85 views

Fix column width of table

I have two tables in this code: \documentclass[a4paper,11pt]{article} \begin{document} \title{} \author{} \date{\today} \maketitle \section{Header} \begin{table}[!htbp] \centering \footnotesize ...
0
votes
0answers
32 views

landscape multipage table issue with following page

I have a large table which I want to present in landscape with a caption. Everything is working so far, except that I am having a blank page in front of my table. I found out that I should use the ...
0
votes
1answer
22 views

I can't seem to solve this Table align error. Please help [duplicate]

\documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{listings} \usepackage{amsmath} \usepackage{amssymb} \begin {document} \begin{tabular}{|c|c|c|} \hline Characteristic & ...
1
vote
0answers
14 views

How to change font type faces in table row? [duplicate]

Is possible to change font faces in whole row on similar way as it is possible for columns? \documentclass{article} \usepackage{array} \begin{document} \begin{tabular}{>{\bfseries}c ...
1
vote
3answers
120 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} ...