Guides

Learn how to make tables in each format, and how to move a table from one program to another. Each guide shows the code and the table that it makes.

LaTeX tables

  • How to make a table in LaTeX

    Learn to make tables in LaTeX and Overleaf, step by step: the tabular environment, lines, captions and references, booktabs rules, merged cells, long text, and the errors that you will see first.

  • LaTeX tables cheat sheet

    Examples of LaTeX table code: lines, merged cells, column widths, colours, captions, long and wide tables. Each example shows the table that LaTeX makes from it.

Markdown tables

  • How to make a table in Markdown

    The Markdown table syntax of GitHub, GitLab, Reddit and Obsidian, with examples: alignment, formatting and line breaks in cells, merged cells in HTML, the mistakes that break a table, and tables in Discord and Slack.

HTML tables

  • How to make a table in HTML

    HTML table code with examples: the table elements, borders and stripes with CSS, colspan and rowspan, captions and accessibility, column widths, tables that scroll on phones, and tables in e-mail.

Text tables

  • Text tables: ASCII, Unicode and reStructuredText

    Draw tables with characters for code, terminals and chat: ASCII and Unicode tables, reStructuredText grid and simple tables, and how to convert text to a table in Word, Excel and Google Sheets.

Wiki tables

  • How to make a table in MediaWiki and Wikipedia

    The table syntax of Wikipedia and other MediaWiki wikis: rows and cells, the wikitable class, alignment and colours, merged cells, sortable tables, and the mistakes that break a table.

Convert tables

  • Excel to LaTeX: convert a table from a spreadsheet

    Convert a table from Excel, Google Sheets or LibreOffice Calc to LaTeX code: copy and paste it, or import the .xlsx file. Keep the merged cells and formatting, and convert LaTeX tables back to Excel.