Linked Questions

32
votes
4answers
71k views

Fancy tables in LaTeX

I am terrible at LaTeX tables. I managed to produce a table, but it looks so basic. How do I make it fancier? Here is the table's code: \begin{table} \begin{tabular}{|l|l|l|l|l|} \hline ...
29
votes
4answers
10k views

Tip on how to make a visually good table

I'm using booktabs to make most of the tables in my thesis. However, I'm not sure if that is the best solution for tables with more than 6-7 rows, as it can be difficult to read (there is no line ...
4
votes
4answers
221 views

Coloring whole row in table/tabular

I would like to color the entirety of the row "Trail 1" and "Trail 3", other than those words themselves (ie just the numbers, but the coloring runs from the \midrule to the next). ...
2
votes
4answers
246 views

Algorithm for 'Plugging in' Values to Tables

Simply, if I have a table of the form: \begin{tabular}{l r r r r r l r r r r r} \hline {}&{}&{}&$n$&{}&{}&{}&{}&{}&$n$&{}&{}\\ \cline{2-6}\...
45
votes
3answers
67k 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 (...
23
votes
3answers
30k views

Example of fancy table using TikZ package

Can anyone share me several fancy table templates? I want to make this thread like a reference so that each time I need a template, I could just go here. If you can, please provide a screenshot for ...
17
votes
3answers
1k views

What is the largest work that has been published using LaTeX?

We have showcases of beautiful works using LaTeX. We have talked about beautiful tables, beautiful thesis, beautiful page headers, even beautiful labels. I am curious to know, what is the largest ...
2
votes
3answers
169 views

Any suggestions on how to make this table prettier and suggestions on whether it's better to make it fit in 1 or 2 columns

How can I make this table look prettier and more elegant than this and do you think it's better to make it fit into one or two columns? I am also opened to making it span over two columns if you think ...
0
votes
3answers
604 views

how to generate a table as below in latex? [duplicate]

I am new to latex and working on my thesis. Can anybody show me the codes how to build this table, I want to do exactly the same thing as in the picture
3
votes
2answers
237 views

Alternate even column width

I am trying to build a table with alternate evenly distributed columns and with each second column aligned to the decimal points. By googling, I arrived to the following code: \usepackage{tabularx} \...
2
votes
2answers
68 views

Tables with paragraphs

What's the best way to create a table with a lot of data (text) ?
2
votes
2answers
716 views

Don't work together: siunitx, multicolumn and uncertainty?

I want a good-looking table with siunitx. I thought I can use the S-table from it to sort the numbers (all decimal points under each other etc.). Unfortunately, It didn't work properly. I get an this ...
1
vote
2answers
68 views

Table spills out of the page margin

I am just learning LaTex. I used stata and got the following { \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{tabular}{l*{3}{ccc}l} \hline \multicolumn{11}{l}{\textit{Panel A: }} \\ ...
1
vote
2answers
213 views

How to create a table like the following picture?

How to create a table like the following picture? I read latex table styles post in here. But I don' t find. begin{tabular}{||c|c|c|c|c|c|c|} \hline \hline$x$ & $t$ & Exact solution $u(x, t)$...
1
vote
2answers
64 views

Properly position labels in enumerate or itemize

Despite a lot of trying, experimenting with and without enumitem I cannot figure out how to shift labels in itemize to the left of the table cell in order to exploit the full cell width. Further ...
1
vote
2answers
743 views

Formatting column separator in a table

I have made a table in LaTeX. The image of the table is given below: The code of the table is as follows: \begin{table}[!ht] \begin{center} \caption{Actors vs Positional Dynamicity (based on ...
0
votes
2answers
125 views

The table of multiple rows and columns

How can I create this excel table in the Latex? All colors are the same for the table inputs. Edit: After the accepted answer; is it possible to remove the vertical lines for the \byfield package? \...
65
votes
1answer
27k views

Is the tabu package obsolete?

When I stumbled upon tabu some time ago it looked quite interesting on a first glance and I intended to learn more about it when I have the time. But, in the comments section of this question posted ...
14
votes
1answer
2k views

Table with rounded corners

I've taken an example of a very cool table from here and I've made some changes to suit my needs, the problem is that the table it's not correctly rounded: Unfortunately it doesn't seem to exist a ...
9
votes
1answer
2k views

longtabu and floats: wrong table breaks on pages with floats

I noticed that the tabu package seems to have problems with its longtabu environment, if it is placed on a page, where a float already is placed. Consider the following MWE: \documentclass[10pt]{...
6
votes
1answer
4k views

Fancy colored array in LaTeX?

I would like to reproduce these kinds of arrays in Latex (probably with tcolorbox) but I have no idea how to achieve this. So is there a way to make these kinds of tables ? Note : I would like the ...
3
votes
1answer
582 views

Table code in LaTeX

Hi there I'm new to StackExchange! I found the following LaTeX code on another post (Beautiful table samples) from User AK16, and tried compiling it but got "! Missing = inserted for \ifnum" and can't ...
3
votes
1answer
88 views

How to remove unwanted blank margin at the end of the row?

Inspired by this, here is an MWE that show a visible margin between the end of the row and the right hand side of the table. That's annoying. Any idea how to remove that? \documentclass[12pt]{article}...
3
votes
1answer
879 views

cmidrule - Why do I have to give the trim value when specifying the space between two columns?

If one uses the @-operator to tweak the space between two columns, \cmidrule needs to be supplied with the width of the trim, otherwise the rule/line looks really awful. Why is that? I'd rather not, ...
2
votes
1answer
839 views

tikz pgf - Add background color to specific cells of a Matrix

Hi i'm interested in how to add background to specific cells of a matrix. I already know a bit about how to build a matrix, my given code looks like: \usepackage{tikz} \usetikzlibrary{arrows, fit, ...
2
votes
1answer
2k views

Package PGF Math Error: Could not parse input as a floating point number

I'm trying to format this beautiful table given as an answer to Beautiful table samples. If you look at the third column, you can see that the unit is given in eV. I would like to add latex formulae ...
2
votes
1answer
107 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} \begin{tabular}{|...
1
vote
1answer
437 views

tcolorbox: auto adjusting column lengths

I am using the code of a good answer provided to Beautiful table samples question: \documentclass{article} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{tcolorbox} \usepackage{tabularx} \...
1
vote
1answer
68 views

How to minimize a text in a table?

My document looks like this: Is there any way to minimize the font to make it look more attractive?
1
vote
1answer
712 views

write latex code in Lyx for tables

I found this template for a table on TeX.SX: Beautiful table samples The table I would like to reproduce is \documentclass[12pt, oneside, landscape]{memoir} \newif\ifblackandwhite % \...
0
votes
1answer
78 views

How do I generate a caption instead of title?

In the following example, I want to generate Table 3.1: AAA as the caption instead of the plain title AAA. To clarify further, I do not want teh caption to be place above or below the table, but the ...
0
votes
1answer
1k views

Nice tables in beamer presentation

I liked the approach shown here. beautiful tables in latex. But when I use it in beamer class, tabularx conflicts with xcolor. What is the solution?
0
votes
1answer
660 views

How can I fit long equation in table in beamer

I would like to insert a pretty table in my beamer presentation by using Beautiful table samples. But my equation does not fit in one line of the table. \documentclass[leqno,mathserif,hyperref={...
1
vote
0answers
48 views

Any good examples of organizing plant info (germination, seedling care, planting, harvesting, etc.)? [duplicate]

I'm making a document to organize my plants (hundreds of different species) and want to have specific info for each. Basically a simplified how-to-care guide for each species, including at least the ...
1
vote
0answers
219 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{...
0
votes
0answers
342 views

data description table [duplicate]

Please how do I produce a table like this? Thanks.
0
votes
0answers
384 views

Beautiful tables with TikZ [duplicate]

Tables generated by LaTeX are usually not good looking. The standard thickness of row and column separators and also the corners where the rules meet leave much to be desired. Are there any examples ...