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

6
votes
2answers
80 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
97 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
56 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
39 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
28 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
53 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
36 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
30 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
193 views

Hash tables using latex

Looking to create a hash table with linked lists in LaTeX like the one below:
0
votes
0answers
55 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
34 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
56 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
21 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
60 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
92 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
40 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
39 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
26 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
77 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
28 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
58 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 ...
0
votes
0answers
10 views

Missing some vertical and horizontal lines n tabular environment with colour [duplicate]

I have about 20-30 tables, and sometimes the vertical/horizontal lines and borders won't show after I have added >{\columncolor[gray]{0.8}}. \noindent ...
3
votes
1answer
80 views

ifthenelse in Latex

I have a table in Latex and in the left part of it I have an empty boxes (\Square), I want to replace them to the \xBox in case if the certain value has been picked. I wrote command ...
0
votes
1answer
25 views

Error message: Extra alignment tab has been changed to \cr

Hello I am getting this error with a table of images. \begin{figure}[h] \centering \begin{tabular}{c c c c c} (a\includegraphics[scale=0.3]{A.jpg} & ...
0
votes
1answer
29 views

\newcommand for the row numbering

I want to have an automatic numbering of the rows in my table and I have a command for that, but it doesn't work correctly and I don't know how to fix it. Can someone help me to rewrite it? ...
2
votes
0answers
50 views

How to remove tabcolsep in the first column of all tabulars in one place?

I want to vertically align the first column of all my tables the text. I can change the \tabcolsep using @{} but I how can I declare this in a single place as a default value? Edit: I added an MWE ...
0
votes
1answer
34 views

AMSMath package not working for csvautolongtable package

I have the following table: ID,Ln,La,N$_{I}$,Period$_{I}$,$\sigma_{I}$ 4,05:18:11.71,-00:01:35.7,13,45,3.56,1e-4 .... I am trying to create the table with the following code: ...
2
votes
2answers
41 views

Execute a macro based on number of columns in tabular environment

I want to define a special case of the tabular environment where each column heading is underlined, but there is a gap between each underline, like this: \begin{tabular}{c c c c c} Col1 & Col2 ...
2
votes
2answers
78 views

Text in the table

I have a table which work perfectly fine when I put not a lot of text inside of it, but when I'm trying to add text with a lot of words it's just doesn't display text correctly. I guess I should use ...
2
votes
1answer
44 views

siunitx per-mode and math in s-column

I am trying to use an siunitx s-column with per-mode = reciprocal for an units column but want to have my unit multiplied with a power. If there is a native way to do this with siunitx I missed it, so ...
0
votes
1answer
23 views

Single column Tabularx

I would like to create a fixed width, single column tabularx with centered text which is entirely enclosed. For some reason the width of the cell does not take the table with. How can I archieve this ...
1
vote
3answers
60 views

Center a large table and make text fit in a cell

I have created two tables but I can't make them look as I desire, and also they are larger than the page margins so they aren't even centered. I want them to look like the pictures attached, but can’t ...
3
votes
1answer
36 views

Centre vertically rotated text in table

So far I've a table with rotated text but it's appearing at the very top as you can see. I want the text in column 1 to be vertically centred in it's cell. The code I have is below. ...
1
vote
1answer
26 views

Question about section placement for tables and figures

I am having a problem with my table environment and the section headings. In particular, I'm not sure why my table and figures section seem to be placed together without the table to split them. This ...
2
votes
1answer
41 views

Tabular with prescribed width and options

My purpose is to reproduce this document : I want to create a tabular, but I want the first column to be, for example, of 6 centimeters in width. Other point : sometimes I need a lot of room in a ...
0
votes
2answers
52 views

i tried to create a table. But the letters are running out of column. let me know y

this was the code which i used: \documentclass{article} \usepackage[english]{babel} \begin{document} \begin{center} \begin{tabular}{ | 4 | 4 | 4 | p{5cm} |} \hline Sr. no & ...
2
votes
2answers
60 views

Aligning chemical equations in a table

I have a table containing some chemical equations, some with more than one line. Can I align all of them at their reaction arrows without some much space around it? Dividing the reactions into parts ...
2
votes
1answer
37 views

Align text by numbers in table columns

I need to align the text in columns by decimals in the numbers. However the numbers go together with text so I can not simple use dcolumn package in 5th column as in the 1st one. If I split to more ...
1
vote
2answers
23 views

Multicolumn in tabular for beamer error

I am trying to make a multicolumn but I am getting an error stating that I am running into an "undefined control sequence" when following the advice from the following post: multicolumn table ...
1
vote
0answers
23 views

How To Centralise Multicolumn with Specific Column Width

Is there a way to force a multicolumn with column width specifiers to centre the context? For example, if I specify a new column type with a specific width, my column can still be centralised. ...
1
vote
1answer
54 views

multicolumn table with a legend in latex

I'm not very experienced in drawing tables in latex, but for this paper I have no choice. Please forgive me, if this is a stupid question. So, here's my preamble: \documentclass[a4paper, ...
0
votes
2answers
36 views

How to make text at center of column in a table

i have to add a table in my report. See the picture .How I can change the code so that text in each columns fits in the middle of each box. If you see the last column the text in on extreme left side ...
1
vote
1answer
29 views

Hyperlink not working for glossaries in table

I am making a glossary list that appears in a two column table, but the hyperlinks now are no longer working when I use this custom style. Can someone explain how to fix this? \documentclass{article} ...
1
vote
1answer
52 views

Strange black box appearing in first table [closed]

I'm currently in the process of finishing my ph.d. dissertation. I have had a strange black field the first table in the second chapter of my dissertation for quite some time now and i simply cant ...
1
vote
1answer
36 views

Make a csvsimple longtable appear on the list of tables

My question is somewhat related to my previous one (See Underfull \hbox warning about alignement in a csvsimple table I need to add a caption to a csvsimple-generated longtable, but if I enclose my ...
0
votes
1answer
59 views

Resolve rowcolor and column separator clash?

I want to create a table with Text aligned around the separator "V-" and color it using \rowcolor. The normal column separator @{V-} doesn't work with \rowcolors, thus I'm searching for a way to do it ...
0
votes
2answers
44 views

How to have row lines in table span only some given percent of each column?

I'm trying to make a table where the row lines only span a percentage of each column (say 75% centered on the middle of the cell). In other words instead of connecting column lines like this "H" they ...
0
votes
0answers
14 views

Minipages in a table - alignment issues

I am working on a table and I faced with alignment problems. how can I put more space around vertical headings and center them? how can I center minipages inside table cells? Here is my ...
2
votes
1answer
57 views

Signatures side by side

It's been a while since I last used Latex, so please bear with me. As the title reads, I'd like to have two signature side by side (50% each) at the bottom of a medical report. This is what I ...
1
vote
1answer
44 views

Underfull \hbox warning about alignement in a csvsimple table

The following csvsimple table keeps returning warnings of the type: Underfull \hbox (badness 10000) in paragraph at lines: \csvreader[no head, longtable=|p{\dimexpr ...