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

5
votes
2answers
67 views

Why is text being positioned above the table?

%---------------------------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS ...
1
vote
0answers
25 views

Latex Tables with linear and non linear combination of coefficients

I am calculating some coefficients combination in Stata and I am trying to report them on LaTeX. As you will know, when you perform a linear (or a non linear) coefficients combination on Stata it is ...
3
votes
2answers
34 views

Add double hline in table below caption

I would like to insert a double \hline below the caption in my table. The caption is positioned at the top of my table. MWE is below. The %\hline \hline line is where I would like the double \hline ...
2
votes
0answers
11 views

How do I move table caption placement in pandoc-converted docx file?

I have the following table: % latex table generated in R 3.2.2 by xtable 1.7-4 package % Tue Aug 25 12:42:23 2015 \begin{table}[ht] \centering \begin{tabular}{rr} \hline & \# of Applicants \\ ...
1
vote
0answers
16 views

Table positionion won't do what I want

I want to write a report Portfolio (Berichtsheft in german) with LaTeX. There has to be a table where I can write in what I did everyday, split up in work hours. And under that two fields where we can ...
108
votes
7answers
126k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
1
vote
0answers
15 views

Very Wide Table Spanning Multiple Pages in LaTeX

I am writing a two column IEEE paper (standard IEETran). I want to create a table that spans multiple pages in LaTeX. I have tried longtable and that breaks pages rightly. However the problem is my ...
2
votes
1answer
23 views

Placement of table in IEEE paper

I am trying to create a table in the IEEE conference paper that I am writing. The table is after two 2 para but when I typeset, it goes in the top the colum! I cant understand why this is happening. I ...
2
votes
1answer
2k views

How to change the height of a (multi)row in tabular with math

I have the following code: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[htbp] \centering \begin{tabular}{lcccl} \textbf{Irland} & - & ...
3
votes
1answer
46 views

How to fit the content of the cells in this table?

Well, surely this is a duplicate, but I have troubles with the alignment of a huge table. In fact my problem is to determine the width of each column properly, especially when the columns are narrow, ...
2
votes
1answer
37 views

Custom Table Coding for Table Cells

Below is my code Normal Table: \documentclass{article} \begin{document} \begin{table} \caption{Sample Table.\label{tab:active_distance}} \begin{center} \begin{tabular}{lcccc} \hline H1 & H2 ...
1
vote
1answer
49 views

table on a double page

I'm having a really wide table with lots of rows. Transposing or splitting is not an option. Searching the internet did not lead to any usefull findings. is the a possibility to build a table like ...
11
votes
5answers
2k views

How to write a code to find the Pythagorean Triples

I want to write a code to make a table contains Pythagorean Triples (see picture) automatically. That is mean from the formulas $a^2 + b^2 = c^2$ , we can get the Pythagorean Triples I used ...
2
votes
1answer
46 views

Build special table header (multicolumn, rotated) automatically

I have to build lots of tables similar to my MWEm only more complex and with many more columns. Manually adjusting the cmidlines and column width etc. is very annoying. What can I do to automatically ...
1
vote
2answers
43 views

Landscape mode makes landscape page too small

I used the instructions from how-to-change-certain-pages-into-landscape-portrait-mode to create a table with plots in landscape mode. The page is turned , but with the left side up, instead of ...
1
vote
1answer
20 views

Width of table captions when using threeparttable in memoir

In the MWE below, I would like the table caption to be left aligned, and have a maximum width as the width of the table. ...
3
votes
1answer
47 views

Get element from a table

I have the following table: \begin{filecontents}{table.dat} a 0.70 b 0.58 \end{filecontents} and I am trying to access at the elements with the command \pgfplotstablegetelem{0}{0}\of\table but ...
3
votes
0answers
45 views

LaTeX table star positioning (double column tables)

How do I tell my table* to be on top of the same pages as the paragraph I want? I know of the question http://stackoverflow.com/q/1673942/659634. Which does not answer how to work with double column ...
2
votes
3answers
44 views

Help with table multicolumn [duplicate]

I'm going crazy in trying to draw the following table in LaTeX: Can you help me please? Thank you in advance Here's what I've done: \begin{tabular}{c c c} A & \multicolumn{2}{c}{B}\\ E ...
10
votes
2answers
268 views

Appending an empty row after every 5 or 10 rows in LaTeX table

I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks! \documentclass{article} ...
2
votes
1answer
31 views

Latex Table is moved by Appendix Chapter Heading

In the screenshot we see two tables and I want them on the same level.. I am pretty new to Latex so I really dont know what to do.. Thanks in advance!
0
votes
0answers
13 views

lscape not working for the Table

I am using the landscape command ... it actually turns the page but not the table \begin{landscape} \begin{table} %\begin{center} \caption{Existing bone turnover markers} ...
1
vote
0answers
44 views

Why is my table rendering in a nonsensical place?

I'm using TexWorks and am trying to use the following table: \begin{table}[] \centering \begin{tabular}{ll} \( a+b=b+a \) & \( a \cdot b = b \cdot a \) \\ a & a \\ a & a \end{tabular} ...
3
votes
2answers
46 views

Tabu table is too wide though there is enough space to shrink

I'm trying to make this table to fit to \textwidth. The first column has column type X from tabu package which should make it work. But it does not. Adding the "to \textwidth" option dosen't have any ...
3
votes
1answer
43 views

vertically and horizontally center content of complex tabu table

I'm having this MWE and want to horizontally and vertically center the x's in the last row (the numbers are for debugging purpose only). I've tried an appraoch with \newlength{\xlength} ...
2
votes
1answer
54 views

Alignment inside the table in tabular

I created a table, but the last column is moved to the left, although I set it as central. I cannot find what I am doing wrong, so if someone can suggest me how I can solve my problem I would be very ...
5
votes
2answers
106 views

How can you put multicolor backgrounds in a table entry?

I'm wondering if these is a simple way shade an entry in a table with multiple background colors. Image attached shows between 0-3 colors per table item entry.
4
votes
4answers
208 views

siunitx error: “invalid-number” Invalid numerical input 'e'

Well I've been working in some tables and for the number alignment I normally use the siunitxpackage since Mico helped me with this question. But I've had in these new tables an error I don't ...
0
votes
0answers
42 views

Problem with duplicate copies of material in a table

I'm writing my PhD thesis and I have a problem with duplicate occurrences of material in tables. I'm doing a simple table for example: \begin{table}[h!] \centering \begin{tabular}{|l|c|c|c|c|c|c|} ...
1
vote
1answer
17 views

Missing padding for S column in tabularx

I am trying to create a table that has a filling column in between. However, my last column (an S type) has not padding on the right side for reasons I do not understand. Here a MWE ...
1
vote
2answers
43 views

aligning text in a cell of a table

How to vertically align short stack in a cell of a table? I am using "\shortstack" and would like it vertically centred in the cell of a table
3
votes
3answers
197 views

Help with “missing $ inserted” in table* environment

I receive 20 error because of missing $ inserted. However. I put $ before and after each symbol. Here is my code: \documentclass[twocolumn]{article} \usepackage{blindtext} \begin{document} ...
1
vote
0answers
45 views

Cell borders in table disappear in different zoom levels [duplicate]

I'm using Miktex 2.9 and TexnicCenter 2.02 and I would like to have a gray column in my table. I found some examples on the internet. They work, but if I use them, some of the cell borders (only in ...
1
vote
1answer
21 views

Table with large math column?

I want do something like: \begin{tabular}{ll} Text explanation in the left column. Math on the right. & $\int_0^1 \sum\limits_z$ \\ \end{tabular} However, in the above, the math renders in ...
35
votes
2answers
65k views

How do I color table columns?

I've found question How do I fill table cells with a background color?, but the link to the documentation isn't helping me at all. I'd like to know how to color a table column given my column code, ...
2
votes
1answer
88 views

How can branch if I'm in a halign or not?

Edit: It seems that I can use \noalign\bgroup before the \halign. That's fine. But how do I test that I'm inside the halign group? I'm able to write an own if, but it would be better to ask tex for ...
2
votes
3answers
48 views

Wrap text in the first column of a table, before a multicolumn environment

I'm using this code snippet to create a table with multicolumn. Since the headers of the columns are long, I've rotated them 90 degrees. \begin{table}[H] \centering \caption{Accuracy of Bayesian ...
3
votes
1answer
65 views

professional cv spacing issues

I've been trying to figure out how to format this section of Professional CV from ShareLaTeX to make the vertical spacing more tight. The vertical bar between columns tends to leave more space than ...
2
votes
3answers
58 views

Really big table and I cant fit it in one page please help!

I have this table, and I cant fit it, Ive tried using adjustbox and resize but it wouldnt fit all of it in a page. please help! \begin{table}[h] \centering \caption{My caption} \label{my-label} ...
12
votes
3answers
2k views

How to use siunitx and tabularx together?

I'm using the tabular features of siunitx (for what it is worth: v1.3 since I'm on TexLive 2009) to align numbers in tables, eg. \begin{tabular}{ p{1.5cm} S S S } bla & 1.23 & 4.5 & 67.89 ...
0
votes
0answers
21 views

How to use tabularx and siunitx together with siunitx 2.6h / texlive 2015

This is a follow up question of this question: How to use siunitx and tabularx together? Updating to texlive 2015 (with siunitx 2.6h) seems to have broken the accepted answer. So the question is How ...
2
votes
2answers
470 views

Converting Word or Excel tables to Latex

Is there a plug in or something that can convert Ms Word or Ms Excel tables exactly as they are (with borders etc) to Latex? I have used http://www.ctan.org/pkg/excel2latex but it removes the lines in ...
1
vote
1answer
47 views

How can i deal with the justification of my text in tabularx?

How can I center the two last columns of my text in the next table? \documentclass[headsepline=true,paper=letter,headings=big,bibliography=totoc,x11names,DIV=10]{scrbook} \usepackage{typearea} ...
3
votes
1answer
35 views

Table title in uppercase ieeetran class

I'm using the \documentclass[journal]{IEEEtran} and the table title appears in lower case letters as: (Table I.) But, it is supossed that whitin this class the table title should go in uppercase, I'm ...
5
votes
2answers
646 views

Alignment of table header in column with decimal numbers using siunitx

I have a table with decimal numbers aligned at decimal point. In the column header, I have a % sign. In the code snippet given below, the percent sign is aligned at the left in the column, but I would ...
1
vote
1answer
61 views

Multirow table with variable number of rows

I'd like to format a table in which first column has a single line of text, centered vertically across a variable number of rows. Currently, I am using a IfEqCase and adding an entry in the first ...
3
votes
1answer
52 views

Alignment issues in a table

Consider the following example: \documentclass[ a4paper, 12pt, landscape, danish ]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage[ hmargin = ...
2
votes
1answer
45 views

Including Large Table that has 36 rows in a beamer frame

I have following table which I need to include in a beamer presentation : I have read this post . I think I only need to adjust in this \begin{tabular}{*{27}{l}}. But I don't know how is to do that ...
2
votes
1answer
36 views

Grouping of aligned table columns in combination with multicolumn and a long header

I want to create a table with three pairs of columns. The pairs should be identifiable based on the horizontal distance between the different pairs of columns. Each pair of columns consists of a ...
3
votes
1answer
68 views

siunitx: Bold single numeric cells with turned off alignment

Having a table with numeric values, I want to achieve: Automatically grouping digits into blocks of three Highlight some cells in bold However, no alignment is needed. To achieve the first, I use ...