{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
1answer
173 views

how to break lines in a table?

my code is here \begin{table}[t] \centering \bgroup \def\arraystretch{1.2} \begin{tabular}{|c|c|c|} \hline Frucht graph & Graph $K_3$ & An homomorphism from Frucht graph to $K_3$\\ ...
2
votes
1answer
139 views

How to make this table?

I've been struggling to get the following result: Table N°: Title(1--footnote) ---------------------------- Category Values ---------------------------- One 200 Two ...
3
votes
1answer
224 views

How can I convert the tables and math in a latex document to one of the markup languages supported by github's wiki?

I wrote some software documentation in Latex, but need to get it into a more lightweight format. I used pandoc to convert latex to markdown, but it did not do a very good job of converting tables. ...
4
votes
1answer
257 views

Why do I have to choose between global and local settings for siunitx tabular behaviour?

This is a follow up to Numbers in tables: align by decimal point *and* flush right?. In a tabular set with siunitx, I can give formatting options or in the \sisetup{} command or in the ...
7
votes
3answers
362 views

Position both math environment and tikz picture in the tabular

\usepackage{tikz} \begin{document} \begin{tabular}[b]{@{}ccc@{}} \begin{tikzpicture}[grow=right,sloped] \tikzstyle{level 1}=[level distance=2cm, sibling distance=2cm] \tikzstyle{level 2}=[level ...
3
votes
1answer
323 views

Add space to previous row

I have a table that looks somewhat like this: Group 1 1 2 Sub point 1 3 Subpoint 2 3 Group 2 3 4 Sub point 4 5 Pie! 3 1 Group 3 4 7 Cake? ...
0
votes
1answer
67 views

How to change the endpoints of a picture in Latex but still keep the same length?

I am trying to make a table in LaTeX with 2 columns and 10 rows. Each row represents a different city and each column will represent a parameter. In each column I want to draw the mean and the ...
6
votes
3answers
464 views

How to keep tables readable in code

What is the best practice for creating and updating tables in Latex? I am using Texmaker but I find it hard to update a table like adding entries or adding a column. I have to count entries which is ...
4
votes
1answer
452 views

Multirow tables

Firstly I am very sorry for I know not how to make the TeX code works here. I am trying to have multirows for the first and last columns and following is the closest I could get. Could you please ...
3
votes
1answer
73 views

How can I list tabulars in the contents, or make tables with invisble captions

Is there a way to have simple tabulars be listed in the list of tables? I'd even put them in by hand if I knew how.. My tables look like this right now: \begin{center} \begin{tabular}{l c l} ...
6
votes
1answer
1k views

Difference between [h] and [H] in float position

I'm trying to choose the positions of my tables but I can't figure out the difference between [H] and [h]. I've seen both advised over my search. If I use [h] the row spacing is different than [H] ...
2
votes
1answer
85 views

Formatting a table

I am trying to format a table but everything errors since I am trying to put a display environment in an array (I also tried a tabular) environment. \documentclass{article} \usepackage{mathtools} ...
11
votes
4answers
20k views

Table with foot note

I have a table and some of the number inside has some symbol like * and ** which should be explianed as footer ( at the end of the table not the page) I dont know how to do that and I dont want to ...
3
votes
0answers
504 views

Evenly split the columns of a multirow table in lyx

I would like to have a table like this: % Preview source code %% LyX 2.0.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. ...
3
votes
1answer
317 views

Typesetting chord progressions

For this to work, you need to install the New Real Book fonts and the experimental realbookchords package by cgnieder, then compile with XeLaTeX or LuaLaTeX. I'm working on a simple set of macros to ...
5
votes
3answers
215 views

How to execute codes inside a macro?

I use Michael Wichura's old Table macros (see http://www.pctex.com/addons.html) in several places, and I need to access them from within another macro. The problem (I think) is that some of the ...
9
votes
2answers
310 views

Making table cells independent of one another

I'm making a table of molecule structures and some information about them. A minimum working example looks like this: \documentclass{article} \usepackage[version=3]{mhchem} \usepackage{chemfig} ...
1
vote
1answer
130 views

How to make a multi-definition inside table

I have a function with multi-definition And I want to take it into a table. But i don't know how do that. Please help me, the image below is the result I want to have.
9
votes
1answer
666 views

Copybook for calligraphy

What is the best way to place each letter in a square as following: I want to learn Chinese calligraphy and make copybooks for calligraphy by myself, any help or suggestion will be appreciated!
2
votes
1answer
566 views

Table Numbering And Caption in Same location

My table and caption are located on the same line and this started happening after I used a different class file for the conference I am applying towards. Here is a picture of what I mean: (Normally ...
6
votes
1answer
2k views

Creating multiplication table of symmetric group S_3

How one can create multiplication table of symmetric group S_3? (In that table 6 columns and 6 rows) Edit: here some progress: \begin{table} \begin{tabular}{l|llllll} ~ & e & a ...
1
vote
1answer
109 views

Referencing table [duplicate]

I have a big problem with referencing my tables. Below is how I do it. The pdf seems to know which table I refer to (the reference links me to the right table), but instead of a number it writes "??". ...
1
vote
1answer
242 views

Using `minted` environment inside a `tabu` table

I am trying to use a piece of highlighted code using the minted package inside a tabu table: \documentclass{article} \usepackage{minted} \usepackage{longtable} \usepackage{tabu} \begin{document} ...
3
votes
1answer
870 views

Plot with Min/Max bar and two average points

I am trying to stop using Excel charts in my academic papers and rather use something more LaTeX integrated such as Tikz. My current Excel chart looks like that: As can be seen, any combination from ...
1
vote
0answers
31 views

how can i add more space on Table [duplicate]

My code is here. \begin{table}[t] \centering \begin{tabular}{|c|c|c|} \hline Graph $G$ & Graph $H$ & An isomorphism between $G$ and $H$\\ \hline ...
7
votes
1answer
4k views

\textheight in LaTeX does not correspond to the size of the frame when using \resizebox

I am trying to add a table to my Beamer presentation and is trying to resize it to the frame. To illustrate here is a working example where the table is originally too high to fit into the page. When ...
4
votes
1answer
190 views

get width of longest line in table column

Question In a longtable, how do I retrieve the width of the longest line for each column? Background I'd like to use the longtable environment in combination with the ltablex package. The latter ...
4
votes
2answers
241 views

Parsing rows (`\\`) and tab characters (`&`)

I have a use for parsing what would look like tabular input data, except that it isn't part of a tabular environment, but rather the argument to a macro. So I developed two macros, \readTABrow which ...
5
votes
1answer
595 views

How to adjust the width of a wrap text sideways column header in tabular [duplicate]

I am trying to create table as below, in Texmaker. here i am facing following issues. To wrap text the column headers from 4 to 6 and align it center. Hspace on paragraph [row 3 last column] is ...
2
votes
0answers
178 views

Document class with table in the header [closed]

I'm trying to write a document class in which the header of the first page has a table. The header of the following pages should have another table. Well, I solved this problem in the .tex file (user ...
1
vote
2answers
483 views

Missing vertical line in longtable

I'm missing the vertical line at the right! What can I do? \documentclass[twoside, 12pt,a4paper]{article} \usepackage[utf8]{inputenc} \renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing ...
2
votes
0answers
175 views

HTML-style table definition?

Is there any LaTeX environment which lets you express a table in a similar logical fashion to HTML or MediaWiki tables? Size defined by the number of cells found, rather than pre-specified in the ...
2
votes
1answer
763 views

How to vertically center a table cell content when using sideways?

I have the following table: \documentclass{article} \usepackage{graphicx} \usepackage{multirow} \usepackage{adjustbox} \usepackage{rotating} \begin{document} \begin{table}[htbp] ...
6
votes
2answers
116 views

Alignment in multicolum [duplicate]

I have a problem with alignment in a multicolum, here's the code \begin{table}[H] \caption{Statistic values of dementia epidemiology over the world.} \begin{tabular}{ccrccc} \hline ...
11
votes
3answers
5k views

Table with TikZ

I should create a table like the one here as example. I think that the best way to do a table like this one is generate some labels and use them to colorize the nodes in order to make it more ...
9
votes
3answers
367 views

Defining tabular rows with macros using `\ifnum` leads to `Incomplete \ifnum`

I am trying to define tabular rows using a macro which shall perform an conditional definition of the tabular row according to a given parameter. Please consider the following MWE: ...
4
votes
1answer
1k views

Adjustbox on a landscape page makes a table too small

I am trying to use adjustbox to scale down a table that is too large for a landscape page, but when I use it, the scaled table is much smaller than it needs to be relative to the size of the page. Any ...
3
votes
1answer
303 views

Adjust caption length to table length in hvFloat environment

I am trying to create a sideways-table with multi-columns. As I want title and table on the same page, I am using the hvfloat package. I'd like to get a caption that is as wide as my table, but it ...
1
vote
1answer
152 views

how to include subfigures in list of figures or sub tables in the list of tables

Currently, \listoffigures and \listoftables display only the root and not the sub parts. I there any way to make them display sub parts as well? I tried searching but found nothing that I can use ...
15
votes
2answers
22k views

How to make double cline in tables?

I want to draw a double cline in a table where the first column is multirow With double \hline I can draw a full double horizontal line but double \cline{i-j} seems to have the same effect with ...
1
vote
1answer
238 views

Few level enumerate across few rows in table

I would like to create result like below: First I was trying to do it using tabbing, but it doesn't work inside enumerate. So I found that it can work with table. How can I do this? ----- EDIT ...
2
votes
2answers
167 views

Need help with long and wide table; tried longtabu, longtable, sidewaystable and nothing seems to fit!

I've literally been spending hours, trying to fit this long and wide table with a series of packages: tabu, longtabu, tabularx, sidewaystable, but nothing seems to fit. This is for a thesis so I ...
1
vote
1answer
926 views

Newcommand for table

I have to use certain table format again and again, so I decided to create a new command for better tex file readability. Table as such works but when I put a working table header then it gives me a ...
6
votes
2answers
179 views

Formatting inside a table

\documentclass{article} \usepackage{float} \usepackage{mathtools} \newcommand{\unit}[1]{\hat{\mathbf{#1}}} \begin{document} \begin{table}[H] \centering \begin{alignat*}{4} ...
1
vote
0answers
71 views

Unknown compilation error [closed]

I have a really strange compilation error in LaTeX. What is wrong with this piece of code which LaTeX sees but won't say. I really would like to say more about this problem, but it is really ...
2
votes
1answer
641 views

Vertically center elements in table doesn't work

I am trying to vertical and horizontal align items in a table. I tried to follow what I found on the internet, including on this site, but it seems not to work for the last column. Here is what I ...
3
votes
1answer
1k views

Calculations in Table using spreadtab

When I use this piece, \documentclass[a4paper,12pt]{report} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.65in]{geometry} \usepackage{multirow} \usepackage{spreadtab} \usepackage{url} ...
0
votes
1answer
201 views

PDFLatex tables are covering up text

I have a series of images that I'm displaying using a table environment. However, pdflatex places my table over the references portion of my paper. I've tried [htb!] options for the table, and it ...
4
votes
2answers
102 views

create label for graphics inside table cell and also add to table of contents

I would like to create a few command that allows me to reference figures inside a table and add the reference to the table of contents. \newcommand\fig[2]{ \addtocounter{figure}{1} ...
1
vote
2answers
185 views

How to insert images in a table's colum?

I want to display my testing on some images. And i want to display it in the table. so the table has 3 column. first : number 2nd: image 3rd:sentence \begin{table}[!h] \centering ...