{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.

learn more… | top users | synonyms (2)

8
votes
3answers
415 views

lining figures in tables and math, old style figures in text

I’m using TeXLive 2012, up to date on Ubuntu 12.10. When I use the libertine package with the option osf and newtxmath for math fonts, I get oldstyle numbers everywhere, but I only want to use them in ...
0
votes
2answers
66 views

Multicolum Table

I am new to latex and i would like to draw this table shown in the picture. Any help is highly appreciated \begin{landscape} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|} \hline Characteristics & ...
3
votes
1answer
35 views

tabular and lstlistings - When importing code in column 2, paragraph in column 1 moves down

A problem surfaces when formatting my ten-page long document and I'm going to try to post all the code that relates to the issue, but know that I'm fairly new to LaTeX so I may not realise some parts ...
3
votes
1answer
33 views

Sidecaptions next to sidewaystables

I'd like to place a caption left/right next to my table which is rotated by 90 degrees. So the caption should be next (e.g. bottom right) to the table and both, the caption and the table should be ...
54
votes
6answers
44k 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 this ...
5
votes
2answers
90 views

How to put numbers in parenthesis in the S column using siunitx package

In the following minimal code, when I replace the l columns by S I get an error message saying invalid-number!! Invalid numerical input '(4.36)'.!! See the siunitx documentation for further ...
1
vote
1answer
36 views

How do I make \footcite work in a tabular?

How do I make \footcite work in a tabular? \documentclass{memoir} \usepackage{threeparttable} % nice tables \usepackage{biblatex} \begin{document} \begin{threeparttable} ...
3
votes
3answers
69 views

rotate table (90 degrees) and stretch to fill whole page

i'd like to rotate a table (90 degrees) and stretch it to fill whole page. That's what i've got so far: \documentclass{book} \usepackage{tabularx} \usepackage{adjustbox} \begin{document} ...
10
votes
1answer
11k views

Page-wide table in two-column mode

I want a table that is as wide as the whole page in a document with option twocolumn. The table has to be inserted on the bottom of the page, but that is not necessary. I've tried: \begin{table*}[b] ...
4
votes
3answers
62 views

Increase vertical space in table

Creating a table using tabulary I am confronted with the problem that the lines of my table are too small, resulting in that the formulas touch the borders of the table. The code I used is given ...
11
votes
1answer
1k views

break a table on two columns

I have a table that is quite long (less than a page, by the way) and quite narrow; to save space I wish to have it, let's say, on two columns. Referring to the following image, I wish to have the ...
1
vote
0answers
22 views

tabular not move on the next page? [duplicate]

I am new with latex and I use texmaker for documentation . I begin tabular tag but the problem is all the date in tabular tag is embed on the current page . It is not moving automatically on the next ...
1
vote
1answer
39 views

Fix tables at a given PAGE so that Table is not moving down when adding texts above it?

I have looked over all the possible duplicate questions this whole day, and I still can not find an explicit solution to my problem. I'm thinking to fix my table, wrote in tabular, at a given PAGE. I ...
3
votes
0answers
54 views

TeX capacity exceeded with a 13 columns 18 rows spreadtab

Originally I had a spreadsheet with 13 columns and 18 rows. Applying pdflatex or xelatex to this sheet I got: ... cell K15 ! TeX capacity exceeded, sorry [save size=80000]. Then I reduced the ...
9
votes
2answers
97 views

Error when using defs inside a macro to write a row in a table

For the following MWE \documentclass{article} \newcommand{\cmd}[5]{% \def\tA{#1}% \def\tB{#2}% \def\tC{#3}% \def\tD{#4}% \def\tE{#5}% \tA & \tB & \tC & \tD & \tE \\ } ...
0
votes
0answers
27 views

Table won't stay anchored in two colums article [duplicate]

I'm trying to put a table placed in the two columns of an article. This I can do. The problem is it won't stay in the middle of the text. Here is my code, \documentclass[11pt, twocolumn]{article} ...
25
votes
3answers
3k views

How can I make a table that takes up more than a single page?

I've got data that I need to include in a table, but there's a lot if it. I've played with the font size and table formatting as much as I can, but the table still won't fit on the page. Is there ...
1
vote
0answers
43 views

How to make this following table? [duplicate]

I don't know how to make the diagonal line at the top left.
3
votes
1answer
48 views

Avoiding breaks in vertical bars in a tabular environment

I'm having problems defining the width of a vertical line. I want those 2 lines in the pic to join: \documentclass{article} \begin{document} \begin{tabular}{r|p{11cm}} \ {Feb, 2014 - } & Master ...
0
votes
1answer
52 views

Math in a table

Im trying to put some \times and \power in a table, but it isn't quite working. \usepackage{mathtools} \usepackage{amsmath} \begin{tabular}{| p{3cm} | p{9cm} } \hline \bf hardware & \bf ...
2
votes
0answers
60 views

Tables in LaTeX

What is the fastest/easiest way to create and edit tables on LaTeX on a Mac? I need a fast way to merge cells, add and delete rows e.t.c. I have tried using lyx and some online table generators but ...
0
votes
1answer
58 views

Equation with \argmin inside table

I want the equation to properly show the argmin tag with variable at the bottom inside a table. In my case it is showing as a subscript. I tried everything but cant get this done. The following is a ...
3
votes
1answer
58 views

longtable within table environment?

I have several tabulars and a threeparttable that are all included within a table environment (\begin{table} precedes them), so they all have common numbering and appear in the tables section at the ...
2
votes
1answer
82 views

Alignment issue with longtabu

I'm using longtabu to create a table. This is the code: {\footnotesize \begin{longtabu} to \textwidth {|l|c|c|l|l|c|c|c|c|} \hline \textbf{Frame} & \textbf{Cam} & \textbf{ID} & ...
2
votes
1answer
47 views

Place a column vector surrounded by square brackets in a 3-column table?

I have a 3 column table and in the third column I am representing a $20\times 1$ vector. I would like to put square brackets on each side of this vector. ...
1
vote
0answers
20 views

Last element in each row of a matrix getting pushed to next line [duplicate]

The following matrix is not displaying all elements in each row on the same line, the last element in each row is getting pushed to the next line. If I delete the last element then the matrix displays ...
4
votes
2answers
92 views

Multi-layered table

I'm a bit stuck at the moment. I want a table like the following (quickly drawn in Word, and I don't want the vertical lines as displayed - I'm using booktabs). The reason I'm making such a table is ...
1
vote
1answer
40 views

tabular operators in a custom environment code?

My question concerns the combination of the tabular environment and the \DeclareDocumentEnvironment command (from the xparse package). How do I set up an environment that contains in its code some of ...
3
votes
2answers
69 views

Latex tables, text follows tables to the next page

I really appreciate your help and cooperation, I'm happy to find replies to all my questions in your platform :) I'm very new to LaTex and have a question: I'm using the tabularx environment and don't ...
1
vote
1answer
56 views

Align Text as right or left in a tabular environment

How can I arrange text in tabular environment. For example, the Main and Email to start at left align and the contents in right column to left align ? \begin{tabular}{c|l} {Mail} & 1234 XXXX ...
8
votes
1answer
115 views

Dotted line instead of \hline in table environment

I am trying to get a dotted line in the table instead of \hline, but I can't get the output. arydshln and dashrule packages are available to get the dashed line, but I can't find any packages to get ...
4
votes
2answers
42 views

Rotating text at the side of a table?

In the following code I want to rotate the text 'Probability' 90 degrees and have it in a column to itself at the left hand side of the table. I would also like vertical bars either side of the top ...
2
votes
1answer
42 views

How to horizontally align text in rows below rotated text?

I have a table with rotated text in the uppermost columns, however in certain rows the X's are not horizontally centered. I thought that having the \centering or perhaps the origin=c command would ...
2
votes
1answer
41 views

Table exceeds page width (tabularx and tabulary)

I'm trying to fit this table to the page width but I can't. I tried the tabularx environment and the contents got mixed. I tried also the tabulary environment: it's better, the contents are not mixed ...
0
votes
0answers
140 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 ...
11
votes
2answers
617 views

Make an C programming language array in LaTeX

Im wondering if I can do some kind of table in LaTeX in order to show my C array nicely in text? I did something like this in KolourPaint: Tried to do the same with LaTeX tables, but with no ...
1
vote
1answer
71 views

How to write multiline in a cell of table in latex?

I have multiline table. \documentclass[11pt,table,a5paper]{article} \usepackage[top=2cm, bottom=2cm, outer=2.1cm, inner=1cm,twoside, headsep=26pt]{geometry} \usepackage{collcell} ...
9
votes
2answers
247 views

Three tables side by side, want only one caption

I have three tables and I want to use one caption under them. I tried the following but then nothing prints except the caption - \begin{figure}[!h] \begin{table}[h] \centering ...
5
votes
1answer
28 views

Setting the width of columns that are aligned with the dcolum package

I try to have a table with some columns aligned with respect to the \pm sign. I managed to do that with the dcolumn package. However, I do not know how to set the columns to a fixed width. How could ...
3
votes
1answer
22 views

positioning table inline with text

I have following piece of code: \section{Skills} \begin{CV} \item[Computing:] C/C++, Python and Matlab \item[CAD Tools:] GNU Radio, Xilinx ISE, Active HDL, MikroC, Keil uVision, Altium Designer, ...
1
vote
1answer
36 views

Cell lines of table not aligned cleanly

I'm trying to make a small table, but where only certain cell lines are drawn. I followed a general code outline I found elsewhere (the "Spanning in both directions simultaneously" part of this ...
1
vote
1answer
59 views

Control vertical space of a caption in a given figure

I have used \captionsetup before mentioning the \caption{} I couldn't find a proper setting of this property. How can I adjust the caption's margin in order to illustrate it clearly? ...
1
vote
1answer
55 views

Ignore whitespaces inside of a table

I would like to eliminate blank parts of a table. Here is my LaTeX snippet: \documentclass[english,a4paper,12pt]{report} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{listings} ...
7
votes
4answers
500 views

How can I draw this table

Is there any possibility to write "Effects on" directly above "Monitoring Pollution" Code is: \textbf{Effects on} \newline \begin{tabular}{c c c} \begin{flushleft} \textbf{Small increases in ...
4
votes
1answer
54 views

Weird output in tabular environment

I created a table and I didn't use \\ in the last line before the final \hline (which I know is wrong) and in the last cell with its contents was also a word "height". Where did that word come from? ...
5
votes
1answer
78 views

Possible to wrap multiple rows within a column at one time?

I am producing a document that has "interlinear" qualities. As such, it would be much simpler if I could wrap multiple lines of text at one time. Here is an example of what I want: Let's take these ...
18
votes
4answers
361 views

Avoid repeating [hbt] and \centering for every table

In a document I'm writing, I'm using the familiar [hbt] option for my floating tables, and I center them. I'd like to avoid repeating that every time I'm creating a table. I assume it's easy to add ...
1
vote
0answers
33 views

siunitx table leading zeros

How to preserve the leading zeros of the errors in a table using siunitx' S column type. \documentclass[ngerman,english]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
6
votes
2answers
82 views

table and caption distance

I am quite new to Latex, and I was wondering, if there is way to change the distance between the caption and the table. If you compile this example you can understand what I mean. ...
2
votes
0answers
29 views

siunitx table alignment

I want to align both the numbers and the text to the left using siunitx' S column type. I tried: \documentclass[ngerman]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...