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

1
vote
1answer
25 views

Adding the character & in LaTeX table [duplicate]

My question is easy but I currently haven't the response. How can I add the "&" as a normal char inside a table row? If I try to use $&$, I have an error.
0
votes
0answers
24 views

width of table cell

I'm playing with a class file and the exact positioning of the text by using the textpos package depends on the exact width of a table cell. Is there a way to obtain this width, say by using ...
3
votes
2answers
92 views

Insert text in-between rows in a table

I'm trying to achieve the following effect: +------------+---------+ | Col1 Col2 | | +------------+---------+ | Value 1 | Value 2 | | Value 3 | Value 4 | Text goes here... | Value 5 ...
1
vote
2answers
50 views

How to use tikzpicture with tabular

I'm trying to place my graphs into the same figure vertically. However, I couldn't use tabular with tikzpicture to do it. \begin{figure}[] \begin{center} \begin{tikzpicture}[scale=0.9] ...
1
vote
2answers
45 views

Merge column headers in table typeset using pgfplotstables

I have a table where the columns are narrow, except for the column headers. I am typesetting the table using pgfplots, and I need a way to specify that certain header columns should be merged. MWE ...
0
votes
2answers
47 views

Placing sources or graphics and tables

I would place my graphic and/or my tables "sources" as shown in the picture attached to this post and I don't know how to do this? Could you help me please
1
vote
0answers
41 views

Latex longtabu problem at page break

I am using longtabu for a table in a latex document. It gives a wired result at page break. Notice that the 'continue' part of the table is stuck in the page before the break. Page 14 shown in the ...
0
votes
1answer
60 views

Table and Tikz figure not displaying using this article template

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Journal Article % LaTeX Template % Version 1.3 (9/9/13) % % This template has been downloaded from: % http://www.LaTeXTemplates.com % % Original author: % ...
2
votes
1answer
47 views

Format table number alignment

I am having a few problems with the following code: \documentclass{standalone} \usepackage{booktabs} \usepackage{siunitx} \begin{document} \begin{tabular}{ l S[table-format = 4.2] ...
1
vote
0answers
51 views

Generating practice sheets for characters

I'm currently learning japanese, and since they have different characters, I'm doing some practice where I make a table, in which each cell contains the pronounciation of one of their characters, and ...
0
votes
0answers
20 views

How to add conditional text to a latex table and get rid of warnings after running pdflatex in ubuntu 14?

I would like to format a entry to a table in latex by \newcommand{\muNNN}[1] { \ifnum #1=99999 \multicolumn{1}{|r}{-} \else \multicolumn{1}{|r}{\num{#1}} \fi } It works ok when \muNNN{99999} so ...
0
votes
0answers
20 views

Ref to table without actually having a table [duplicate]

I would like to generate TOC entries for tables, without actually having a table but something other in place (a image) The background is, that in my document are some tables, which were quite big ...
1
vote
1answer
33 views

Space between columns wider than usual in table - How can it be fixed?

I have a table but still struggling. Would be great if you could help me out with the following questions: a) Even having two times $\toprule$, I get only one thick line in the pdf. How can both be ...
1
vote
2answers
46 views

Create a table with specified column widths and centre spacing in tabularx

I would like to create a table where I can adjust the overall width of the table, hence the tabularx environment. However I am having difficulty in configuring my tables such that I can control: The ...
0
votes
1answer
48 views

text adjustment in table

Hello I put the text in the table but I need to set when the sentence finish the number is go to the next line, not appear after the previous text. see the red highlight, I want the numbers start in ...
1
vote
1answer
24 views

Tabular uneven column bars

Does anyone know why my double line is shorter than the other single lines? \documentclass[]{article} \begin{document} \begin{figure} \centering \begin{tabular}{l||c|c|c|c} ...
3
votes
1answer
52 views

Coloring vs. adding a hatched pattern for table cells

I'm trying to come up with a nicely formatted work plan as a table, but the coloring of individual cells messes completely the row coloring of the table as the following code shows: ...
5
votes
2answers
54 views

Breaking inline math within longtable or tabular

So, I've got the following code: \documentclass{memoir} \usepackage{longtable} \begin{document} \begin{longtable}{p{0.4in}cp{2.75in}p{1.8in}} Symbol & Unit & Describes & Equivalent ...
2
votes
2answers
32 views

Vertically align text in the table cell with modified arraystretch

I have created simple table which purposefully has all cells, except first row and first column, blank. \documentclass{book} \usepackage{rotating} \linespread{1.2} \begin{document} ...
1
vote
1answer
25 views

\multirow inside table

I have following MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[color=red,opacity=0.1,contents={}]{background} \usepackage{hyperref} \usepackage{indentfirst} ...
2
votes
1answer
68 views

Creating complex table with multicolumn and multirow

I am trying to recreate the following table in a more simple format in my latex document. However the more I work on it the more messy it gets. I cant really understand how to properly align every ...
1
vote
1answer
56 views

Improve table with several multicolumns and multirows

I've been working on a table with several multicolumns and multirows. Though the table is almost done, there are some details that I'm not very confortable. I don't think the last row Exarcebations ...
0
votes
1answer
43 views

wrapping text in table

For some reason, the text in my table is not wrapping up and I keep getting the error: Extra alignment tab has been changed to \cr.. can anyone help with making a simple table with wrapping the text: ...
2
votes
2answers
70 views

Unable to create table. Missing number treated as zero error

I coded the following table: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[]{booktabs} \title{table} \author{subham.soni007 } \date{March 2015} \begin{document} \begin{table}[h] ...
3
votes
2answers
41 views

tabularx column width not behaving as expected

I'm trying to reproduce the following tabular design as close as possible: This is what I have right now: \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{tabularx} ...
3
votes
1answer
66 views

how to make 4 subtables in one row latex

I wanted to place tables horizontally side by side, so i used subtable to create (3 x 2) structure in this way (this is how one of my pages looks like): \documentclass[11pt,a4paper]{article} ...
1
vote
0answers
49 views

Coloring single cells in tabular

I've for a while tried to color single cells in a tabular enviroment. So far, I've tried the following \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{color, ...
5
votes
2answers
50 views

Shifting a tabular environment down in an enumerate environment

I've seen several related questions on this website, but nothing for my particular problem. Consider the following MWE: \documentclass[12pt]{article} \usepackage[margin=2cm]{geometry} ...
3
votes
1answer
28 views

Minipage with tabular inside ignores vertical alignment

I am trying to align a minipage that has a list inside. Using a tabular environment for the list results in the minipage ignoring the [t] option (or any other, as far as I can tell). On the other ...
1
vote
1answer
31 views

Long wide table vertically overflows

I am trying to typeset a long and wide table using this code. Whatever I do the table is not page-breaked. Instead it vertically overflows the space allocated for it. As you can see the last rows of ...
0
votes
0answers
42 views

how can i fit long equation in pretty table in beamer Warsaw

i would like to pretty table in my presentation in beamer by using Beautiful table samples but my equation can't fit the table in one line ...
1
vote
2answers
202 views

How to create a page with a structure like this?

How to create a page with a structure like this? Will there be appropriate to use the table if I need to have all of page like this?
4
votes
1answer
53 views

How to force the column names to be evenly distributed if I need to align by decimal point?

I am a new learner with table, and I had this strange problem with my huge table. Here is the partial code which can replicate the issue: \documentclass[floatsintext,man,12pt,a4paper]{apa6} ...
1
vote
0answers
56 views

Align fixed-width columns to the decimal point

I define a new column type for a fixed width column with centre aligned text as follows: \newcolumntype{d}[2]{>{{\rightdots{#1}}r<{\rightdots}\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} ...
1
vote
1answer
49 views

Wrong table placement

I have following MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[color=red,opacity=0.1,contents={}]{background} \usepackage{hyperref} \usepackage{indentfirst} ...
0
votes
1answer
23 views

How to put Verbatim inside \multicolumn in tabular?

I need to put Verbatim text in tabular cell, which works fine, except when I want to extend the cell to all the columns, then I get an error File ended while scanning use of \FancyVerbGetLine. ...
1
vote
3answers
62 views

Aligning text in a table- right, left or center

I am trying to align the text in a table, but somehow the first cell with the year (1848) is not aligned. How can I fix this? Another question is: how can I specify if I want to align the text right, ...
6
votes
3answers
67 views

putting figures in tabular with foreach (or an alternative)

I have a number of figures coming from experiments; they are indexed with an integer number, and they are not always consecutive. Given a list of the indexes, I need to put them in a tabular of, say, ...
0
votes
2answers
74 views

How to justify right and left the scientific values in table

As seen in the picture below, the length of some scientific values are shorter than the others due to use of + and - sign. + sign occupies more space than -. Values are aligned left by default. How to ...
3
votes
4answers
54 views

Unequal width to columns in table

The following tables gives me unequal length for the row "Tower". WIll you guys please suggest me such that the column is divided exactly in the centre? \begin{landscape} \begin{table}{Variable ...
2
votes
3answers
633 views

How can I create a simplex tableau like this in LaTeX?

I want to create a table like this in LaTeX: How would I do that?
5
votes
1answer
72 views

Calculations in PGFplots \addplot3 inline table

Plotting a rectangular patch with the code \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis} \addplot3[patch,patch ...
0
votes
1answer
45 views

Latex - tablex - config

I'm writing a paper and need to insert various tables. I already created a table in Latex and I inserted it into a subsection, but when checking the pdf, the table doesn't appear in that subsection, ...
1
vote
1answer
43 views

How to put notes under table in LYX

I'd like to ask how to write notes under the table (in float) in LYX? I found the following, but it is strangely written (how can a table be at the same time out and in the float???): 'Table ...
1
vote
0answers
40 views

How can I align the cells vertically?

I'd like to align my table cell vertically and horizontally.... can anyone help here is my code \begin{table}[htbp] \small \centering \caption{comparisons} \subfloat[Approximation accuracy ...
0
votes
0answers
19 views

Pagebreak, newpage, vspace all not working after a Table

I have a section of my document composed of two tables. The following section is a section composed of figures. Between the two sections I want a page break. I have tried \pagebreak, \newpage, \vspace ...
0
votes
1answer
29 views

Lines dividing Table don't align

I've created a table with 3 columns: \begin{table}[htbp] \begin{tabular}{ p{6cm} || >{\centering\arraybackslash} p{3cm} || >{\centering\arraybackslash} p{3cm} } \hline \text Dummy ...
3
votes
1answer
67 views

Connect rows in tables with arrows

I can create with the next code fragment two tables nearby: \documentclass{article} \begin{document} \begin{tabular}{ll} \begin{tabular}{ccc} A & B & C \\ \cline{1-3} 1 & 2 & 3 \\ ...
7
votes
2answers
789 views

What is the use of @{}?

Can someone explain the use of @{} in table formatting as in: \begin{tabular}{@{}cp{0.45\columnwidth}p{0.25\columnwidth}@{}}
0
votes
0answers
37 views

LyX 2.1.3 on Windows 8 Best Long Multi-column Table

I was wondering what the best 'LyX' way was to create a long multi-column (>5 columns) table with unigrams as in Figure 5.8 here. I have seen similar solved queries for LaTeX but I have not been able ...