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

3
votes
2answers
102 views

Table in itemize

Is it possible to include a table in itemize? \begin{itemize} \item item 1 \begin{tabu}[X X] \toprule 150 & 150 \\ bottomrule \end{tabu} \item item 2 \end{itemize} The alignment should be: ...
7
votes
2answers
106 views

Restarting Rowcolors

This should be a simple question. I am using \rowcolors{1}{}{lightgray} to alternate coloring of rows in a table. Is there a way to "restart" the re-coloring after a certain point so that I ensure ...
3
votes
1answer
34 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 ...
0
votes
2answers
69 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 & ...
1
vote
1answer
38 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} ...
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 ...
0
votes
0answers
57 views

LaTeX table rules disappear when using Adobe Reader [duplicate]

I created a PDF document using LaTeX (TeXShop on a Mac) and used the LaTeX command \cellcolor to create colored cells in tables. When I view the document with the Adobe Reader some table rules of ...
3
votes
1answer
40 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 ...
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 ...
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 ...
3
votes
0answers
55 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 ...
3
votes
3answers
70 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} ...
1
vote
1answer
41 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 ...
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} ...
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 \\ } ...
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.
2
votes
0answers
61 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
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 ...
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 ...
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 ...
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
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 ...
4
votes
2answers
93 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 ...
4
votes
2answers
43 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
43 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
43 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 ...
9
votes
2answers
248 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 ...
11
votes
2answers
623 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 ...
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 ...
1
vote
1answer
72 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} ...
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 ...
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
37 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 ...
7
votes
4answers
501 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 ...
8
votes
1answer
117 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 ...
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} ...
2
votes
0answers
30 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} ...
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? ...
1
vote
1answer
60 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? ...
3
votes
2answers
49 views

Table: problem in right most vertical line :(

\documentclass[11pt,a4paper,onesided]{report} \usepackage[utf8]{inputenc} \usepackage[showframe, nomarginpar, left=1.5in, right=1in, top=1.5in, bottom=1in,]{geometry} \usepackage{array} ...
2
votes
1answer
32 views

How to add font commands to a pgfplotstable header cell?

I'm trying to change the cell color and text color of the header of a pgfplotstable. Changing the cell color is not that much of a problem because I can just prefix the row with \rowcolor: ...
4
votes
2answers
140 views

How to vertically align text in table cell?

Here is the latex code to create a table in BibTxtMng \begin{table}[!htbp] \centering \caption{Spanish Traffic Sign according to the color and shape \cite{Paper12}} ...
4
votes
0answers
61 views

Sortable table by clicking on headings [migrated]

Is it possible to create a table in TeX and compile into PDF, which would have its column headers so, that clicking on them would sort the (numerical) table content by that column? I understand that ...
1
vote
1answer
53 views

Table: vertical alignment with variable height [duplicate]

I have the following code \usepackage{tabularx} \begin{document} \begin{table}[t] \begin{center} \renewcommand{\arraystretch}{1.3} \begin{tabularx}{\textwidth}{crX} \hline \textbf{Chapter} & ...
4
votes
2answers
112 views

Making an unfilled circle including a number in a table

I wonder is it possible to highlight a number enclosing with an unfilled circle next to a line in a listing or table like the image below? \documentclass[english,a4paper,12pt]{report} ...
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} ...
2
votes
2answers
60 views

How can I move my table on top of the page?

How can I adjust my table on the top of the page? I want to move slightly my table on top. Should I use some margin or padding command in order to that? \documentclass[english,a4paper,12pt]{report} ...
4
votes
2answers
76 views

Missing \endgroup inserted error in a table

I am getting 'Missing \endgroup inserted morekeywords={class,run}]' on line 16 while running the tex. I am using TexStudio. How can I solve that problem? \documentclass{article} ...
4
votes
2answers
55 views

Heading of paragraph on left side

I want to list something in my document. Each point in the list has a short heading (one word, for example "Usecase"). This word should be on an own column to the left of the text which gets added ...