{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
19 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
71 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
300 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
39 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
56 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
59 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
89 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
59 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
57 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
43 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
46 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
25 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
74 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
24 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
45 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
80 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
67 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
105 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
51 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
46 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 ...
2
votes
0answers
41 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} ...
2
votes
0answers
34 views

Gummi won't compile document after compiling bibliography, table error

I'm new to this whole LaTeX thing, and I'm having a problem that I can't even begin to understand. I've written a great big document with several tables and images, and previously everything worked ...
6
votes
2answers
87 views

variations package

I'm trying to set up a table of variations, something rather unique at French schools. To produce them in latex, a special package was written, which predefines everything needed to draw this tables ...
0
votes
4answers
98 views

How to build the table as image attached? I want exactly this table and format. [duplicate]

Hello I have tired to build this table attached following code is my try..I do not know how to bring the same setting \documentclass[preprint,12pt,authoryear]{elsarticle} \usepackage{epsfig} ...
3
votes
1answer
63 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
2
votes
1answer
40 views

Text alignment in the table

I have increased the height of the rows in the table, and now I have a question how to make the text (УТВЕРЖДЕНО, РАЗРАБОТАНО, СОГЛАСОВАНО) in these rows in the center of the rows? ...
3
votes
1answer
33 views

Tabular row spacing

first my code for creating the table: \documentclass{report} \usepackage{booktabs} \usepackage{multirow} \begin{document} \begin{table}[!ht] \begin{tabular}{lccc} \textbf{Cases} & ...
4
votes
1answer
54 views

Braces in Tabular after some of the rows

I have the following code, my problem is that the braces 'A' should be the after row A1 and B1 and the second braces should be after D1 and E1. Hope someone can help? \begin{tabular}{c@{}c} ...
3
votes
1answer
41 views

Label two tabular side by side

I have 2 tabular side by side. How can I label them as (a) and (b) and can be referred from text using \ref. \begin{tabular}{ccc} \hline a&b&c\\ \hline \end{tabular} \quad ...
2
votes
1answer
31 views

Inexplicable table error — 'extra alignment tab' but I definitely have the right # columns; also overfull hbox

I'm having an issue where LaTeX won't accept the main heading row of my table (the third row of code below). When I comment out that line, it works. Here's the beginning of my tabular- ...
2
votes
2answers
235 views

Hash tables using latex

Looking to create a hash table with linked lists in LaTeX like the one below:
0
votes
0answers
56 views

Change numbering section subsection and toc to 1 1a 1b 2 a etc [duplicate]

I need to renumber the sections and subsections in beamer on: 1. Section 1a. Subsectio 1b. Subsection etc. How to do this? But this command does not work in beamer: \renewcommand \thesubsection ...
2
votes
0answers
35 views

why does \hline produce different thickness lines

I am new to LaTeX and so still learning. I am using the following code and am surprised to get the middle horizontal line in bold. Any help would be appreciated. \begin{table}[htbp] \centering ...
3
votes
2answers
65 views

vertical align matrix in table

I am trying to vertical align a matrix to the content of the other cells in a table, and im pretty much stuck. Here is a quick mockup of whats my problem. In fig2 at least the content is aligned ...
0
votes
0answers
26 views

Bold table row style applying to multicolumn

I want to define a bold table row style, also applying to multicolumn entries I created a setup following Make first row of table all bold to define a new command \rowstyle{...} which can be used ...
3
votes
1answer
62 views

Fit Latex Table to Page

I have a table in the following minimal example: \documentclass[a4paper, 11pt DIVcalc, % führt die Satzspiegelberechnung neu aus twoside % einseitiges ...
0
votes
1answer
93 views

How to make table as shown in picture using Latex?

To get table as shown in picture, I used following tex code but resultant table is not as shown in picture, what corrections are required in tex code to get similar result. 1) Table Image (Picture): ...
0
votes
1answer
44 views

How can I label and reference a table without using the table environment

I want to be able to refer to tables that are not enclosed in the table environment. My reason for doing this is that these are statistical tables (yes a relic of times long gone) that I don't want to ...
1
vote
2answers
45 views

How to increase the font size of the tables contents in latex?

The MWE is as follows. When I compile the below mentioned code it results in correct output, but the generated output is very tiny. Is there any way to increase the font size of the table cells, while ...
0
votes
0answers
27 views

How to break table at end of page

I have the following table representing my acronyms. Due to the length of the table, the table does not break at the end of the page. \documentclass[12pt,a4paper, draft, oneside]{book} ...
6
votes
1answer
84 views

Getting certain data out of .txt file

I'd like to use an external .txt file to provide a table in my LaTeX document with data. To achieve this I've taken into consideration the pgfplotstable package and the filecontents package. Both of ...
1
vote
1answer
41 views

Stopping a page-wide table from pushing subsequent column-wide tables down

I'm working on a document using a two-column layout. In it, I have one page-wide table (table*) and several regular column-wide tables (table). Problem is, as the table* is always placed on the ...
1
vote
0answers
61 views

Create a Excel look-alike Table

I want to create a Excel 2016 look-alike table using tabular. It has to show the upper left corner where you see A, B, C etc. The result does not have to contain the "cool stuff": the triangle or ...