{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
0answers
13 views

How to let table stay in example environment? [duplicate]

My table is choosing not to stay in the example environment I created for it, however the text I placed in there are included. I notice that when I remove the table environment and let tabular remain, ...
2
votes
1answer
38 views

How to use subfigure to make the following table of figures

|Fig A| FigC| |Fig B| - | FigC should span the entire column. Thanks for the help.
4
votes
2answers
96 views

Big picture with several smaller ones on the side

I'm trying to achieve an effect like _____ ___ ___ | | |___| |___| | | ___ |_____| |___| but I can't get it to allgn correctly to the top. I tried with two minipages, the second ...
3
votes
3answers
64 views

missing | in multirow

missing | in 3 multirow, dont know what to do :C \begin{table}[htbp] \begin{center} \begin{tabular}{|c|c|} \hline Rango de Tiempo $[s]$ & Viscosidad $[\frac{cm^{2}}{s}]$\\ ...
1
vote
1answer
55 views

how i put the text in the middle of a tabular and a figure?

I try to put the text in the middle of the tabular and the figure but when I transform the document in PDF the text doesn't stay in the middle. How I can solve this problem? ...
4
votes
2answers
51 views

Vert whitespace in tabular

How do i create some vert whitespace above and below text in the tabular below? \documentclass[landscape]{article} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
33 views

Change appendix table numbering for list of tables in table of contents

I am creating a document with multiple chapters, which each have a set of appendices, and a table of contents that includes a list of tables and figures. The numbering for the tables in the chapter ...
3
votes
2answers
75 views

Table size and multirow problems

I'm beginner and have some problems with a table. The table is to wide and I tried to solve it with multirows. But I don't get how to have the line break in the first column or if there is a easier ...
4
votes
1answer
95 views

Reproduce a PDF table with colored vertical semi lines

Hi I'm really new to LaTeX. I've started learning yesterday and my plan is to recreate our medical reports from a design PDF to dynamic LaTeX PDF. My problem is to create these semi-vertical lines ...
1
vote
1answer
35 views

Problem with tabularx's vertical spacing

I have a problem with the way tabularx (or is it booktabs?) is handling vertical spacing between horizontal lines and the cell content / background color. MWE: ...
3
votes
3answers
65 views

How do I centre a list of equations with a fixed set of right labels beside them?

Like this: A sort of 2-column grid layout, where the left column is 80% of the width and centre aligned, while the right column is left aligned.
0
votes
0answers
50 views

Table section in article

Good morning everyone, it was about a year I wasn't using latex, and now that i'm writing an article I'm really struggling a lot for basic stuff. I would simply need to add a section for tables in a ...
4
votes
2answers
270 views

Why does this use of \textwidth cause pdflatex to crash (not exit!)?

I ran into this problem when playing around with tables. \documentclass{article} \begin{document} \begin{table}[h!] 400 MHz \qquad 800MHz \centering \showthe\numexpr\textwidth\relax \tracingall ...
0
votes
0answers
31 views

I need to make the certificate page in latex as follows..plz help me find an answer because i am gettting the following error message [duplicate]

[![enter image description here][1]][1] here is the error message ! Extra alignment tab has been changed to \cr. <template> \endtemplate l.40 & \multicolumn{3}{l}{\bf Seminar ...
1
vote
1answer
58 views

“Extra alignment tab has been changed to \cr” error in a multicolumn table

I got this error: ! Extra alignment tab has been changed to \cr. <template> \endtemplate l.41 & \multicolumn{3}{l}{\bf Head of Department } \\ When I attempted to compile my ...
2
votes
2answers
48 views

How to set latex table columns from the rightmost margin?

I want to display a table in latex. Currently I have the following situation. \usepackage{array} \newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1}} \begin{table}[h!] ...
0
votes
0answers
15 views

mtable into LaTeX: ! Missing } inserted.<inserted text>}

I am trying to write my thesis with LaTeX (first time using it) and I am struggling with making some tables. I am using toLatex in R to produce an mtable, which gives me the following code: ...
2
votes
0answers
49 views

Adding an image in every cell of a table

I am trying to insert an image in every row (apart from the first row of each column) but every time I try to insert an image in the last cell of each row it does not work, please see below. ...
2
votes
1answer
34 views

Table in landscape with caption in normal orientation

Is there a way to have a table rotated using the lscape package and have the caption above or below it in normal (portrait) orientation? Any help much appreciated. MWE: ...
0
votes
0answers
16 views

Force latex to break line in minipage tabular, so the content is visible on the page and not out of it

I want to compare JSON and XML in an tabular minipage. I wrote myself 2 commands to simplify this task, but it did not turn out as expected. The content of the minipage tabular is going out of the ...
1
vote
2answers
50 views

to vertically align text in center in table when other cells are rotated

I am trying to move first cell text "Assembly" to the center of cell. I already tried raisebox, parbox and many more things but nothing worked. Please help me. And, I don't want to change the rotation ...
0
votes
2answers
32 views

Command \multirow not working for tables

I want to build a table like this: But I'm having trouble at making the multirows. In order to build the line four of the table my attempt is: \hline \multirow{5}{*}{\begin{turn}{90}Senso de ...
1
vote
0answers
16 views

how to align caption,notes in revtex4-1 from the begin of table?

\documentclass{revtex4-1} \usepackage{tabu} \usepackage{caption} \begin{document} \begin{table}[htp] \begin{footnotesize}\captionsetup{justification=justified,singlelinecheck=false} ...
1
vote
2answers
60 views

lyx: table goes out the page margin

how to solve this problem? I tried to change the font size and text width and none helped
1
vote
3answers
293 views

I got an ugly table instead of a sharp and neat one!

This is a piece of code that I'm using to implement my desired table, but I got unwanted extra lines at the left side of the table. Also, I want to call the table "Table 1", but LaTeX keeps calling ...
0
votes
1answer
38 views

Using of \multirow with alignment in longtable

I've made a longtable and now try to add sells "lang1-2-3-4" like here: Could you please correct my code for longtable. \documentclass[a4paper,12pt]{article} \usepackage[T1,T2A]{fontenc} ...
2
votes
1answer
51 views

How to make table split in two pages

I am writing a paper using elsarticle document class. However the article contains a long table which is sent to the next page, in the middle of the page although I have specified the position as ...
2
votes
1answer
50 views

Caption doesn't display correctly

I've been searching for quite some time to find an answer to my question, but I can't find anything I can use. When my caption text exceeds the width of the line, it is displayed just like standard ...
6
votes
1answer
87 views

Splitting a page into cells

I want to print "stickers" with on it : * a barcode * a validity date * maybe some others informations. I have A4 papers of stickers : 65 stickers : 38mm x 21mm ; 5 columns, 13 rows. Stickers I am ...
0
votes
0answers
11 views

Extra alignment tab [duplicate]

I'm receiving the error Extra alignment tab has been changed to \cr. ...Page Load\\time with\\Multiple Objects} & when trying to typeset the following snippet \begin{table}[!ht] ...
1
vote
3answers
53 views

Change Table Cell width

I want to replicate this in latex, where the cell of the bottom row is not as wide as the others on top, so far my code and output is: \begin{center} \begin{tabular}{|l | p{13cm}|} \hline ...
2
votes
1answer
47 views

Eliminating little white vertical lines in tabular* caused by colortbl/colorcell

In a larger project, we have trouble producing tables that look "just right" because use of colorcell leaves little vertical lines between colored cell areas. I've made a minimal table that ...
0
votes
0answers
13 views

How to use table in right way in ltex using IEEE conference [duplicate]

I have a problem with this code snippet: \begin{table}[!h] \caption{Top three primes accounted by 97\% that support \texttt{DHE\char`_EXPORT}} % title of Table \centering % used for centering table ...
3
votes
1answer
37 views

Change font in all tables of the document

I would like to change the default font in all tables of my document. Instead of the Computer Modern Roman font I prefer Bitstream Charter Mathdesign (the same family), which is "condensed": ...
2
votes
2answers
38 views

Why is \setlength ineffective inside a tabular environment?

Why is \setlength ineffective inside a tabular environment? Here is an MWE: \documentclass{article} \newlength{\globallength} \newlength{\locallength} \begin{document} ...
1
vote
1answer
23 views

siunitx: how to get bold, aligned and separated in a table? [duplicate]

I have the following siunitxtable: \sisetup{separate-uncertainty=true} \begin{tabular}{ l S[table-format=6.0, table-figures-uncertainty=5] S[table-format=6.0, table-figures-uncertainty=5, ...
3
votes
1answer
63 views

Dynamic Table based on Json File

I'm trying to add in a dynamic table based on a two-dimensional array that is stored as JSON in a file on the disk. I've got no control of the file, as it gets pulled in from a web-service and ...
2
votes
1answer
27 views

Changing a column type to centered

I am trying to change this code in the DYI calendar \newcolumntype{W}{>{\hfill\normalfont\footnotesize}p{\WkdayColWidthMonthTblYC}<{\hspace*{0.5em}}@{\extracolsep\fill}} to make the column ...
0
votes
0answers
10 views

\rowcolor overwrites vertical table border [duplicate]

\documentclass[a4paper]{article} \usepackage[margin=0.5in]{geometry} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{amsmath} \usepackage{graphicx} ...
1
vote
0answers
23 views

Set rowcolors to one specific longtable

I have several longtable defined in my tex file, and I have set alternate colors to the table with \rowcolors{2}{gray!5}{white} in the preamble of the file. The problem with this solution is that all ...
2
votes
1answer
41 views

table layout inside a newcommand

I wonder if I can define something similar to the \newcommand that places the values inside a pre-defined table (tabular) template. If you see the table above, imagine you would duplicate that many ...
1
vote
1answer
64 views

TeXStudio doesn't recognize self-defined commands in external file

I'd like to define some tables as commands (MWE) in an external .tex file, because there are a lot of settings for them. This external file gets included in the main document by the \input{} command. ...
2
votes
0answers
51 views

h/v centering in tabular

I'm trying to get my cells in a tabular environment horizontally and vertically centered. MWE to be found at the end. I tried different orientations: c, which does what it is supposed to, as well as ...
5
votes
1answer
64 views

Problem with aligning numbers with brackets surrounding them

english is not my native language, but I will try to explain my question the best way I can. My problem is the extra spacing between the L and T column which apparently comes when I write the numbers ...
3
votes
1answer
89 views

\rowcolor overwrites column divider

I have a strange issue where my rowcolor command is overwriting the column separator in some PDF viewers. Acrobat (unfortunately) is the only one that has the rendering issue. The issue exists in ...
0
votes
1answer
48 views

Resizing tables in Latex

I have a problem with fitting two tables in my TEXSHOP File to the right size. Below I attached a screeshot, showing that the table is clearly too small to be visible. My code is the following: ...
2
votes
1answer
40 views

tabu package \end{tabu} error

ShareLaTex is 'finding' several errors occurring at the line \end{tabu} I'm fairly new to latex and I'm struggling to spot what the problem is. Any help would be appreciated, here is the code: ...
4
votes
2answers
45 views

Defining an environment for aligning elements in a table and labeling them alphabetically

I'd like to automate this process in an environment as far as possible: \documentclass[12pt,ngerman]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{babel} \begin{document} ...
2
votes
1answer
31 views

How to allow pagebreaks in long “cells” in a table?

was asked to renew our medical-result-printing-system. pdflatex seems to be best tool to do this. A kind of table would be fine to put the data in a structured way. Unfortunately some data Fields can ...
1
vote
0answers
31 views

Highlight first rows and first columns of a pgfplotstable

I'm trying to change the background color of the cells FOO and BAR and also the ones with the values (1 and 2) in the following MWE: \documentclass[12pt]{article} ...