Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
This site is currently in read-only mode; we'll return with full functionality soon. Follow @StackStatus or visit our status blog for more info.

Questions tagged [tables]

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

1
vote
1answer
38 views

Ltablex errors in long and wide table

Good morning everybody. I have an issue with trying to make a multi-page table inside my thesis by using the package ltablex. The issue is that the table doesn't continue in the next pages; the code ...
1
vote
1answer
15 views

Centering table data under right-aligned tabularx header

I'm trying to align the following table so that the "21" is centered under its header. \begin{table}[h] \centering \begin{tabularx}{1.09\textwidth}{|cll>{\raggedleft\arraybackslash}X|} \hline \...
0
votes
1answer
27 views

How to align table contents by decimal point?

I've searched online and on this forum. I haven't found an appropriate solution to my issue. I am trying to align the numbers in my table with their decimal point. I'm not exactly sure how to go about ...
0
votes
0answers
16 views

Entering x-y plots (sigmoid fn) or add images into come latex table cell [closed]

I am writing a thesis with an expectation matrix within. This requires some cells to include functions within, wither horizontal lines or sigmoid functions. Is there a means of doing this please? I ...
1
vote
1answer
30 views

Changing invoice class tab

This is from an older question, But I'm wondering how can I change the below code to have the quantity tab to say "items" instead of "hours? \documentclass{invoice} \def \tab {\hspace*{3ex}} \...
4
votes
2answers
84 views

centering a caption under a table

I have a table with two columns and 12 rows. I require the table to appear on the left hand side of the page (which I can do), however, the caption is centered on the page. I would like to place the ...
1
vote
0answers
35 views

Use paracol to simulate a longtable?

\documentclass{article} \usepackage{paracol,lipsum,calc} \begin{document} \setlength\columnseprule{.4pt} \setcolumnwidth{0pt,.55\textwidth,.4\textwidth,0pt} Add Title \begin{paracol}{4} \raisebox{...
3
votes
1answer
36 views

How to remove table border

This could be a silly question, but how would you modify my code so that the portion of the line indicated is removed? \documentclass[]{article} \usepackage[margin=0.5in]{geometry} \usepackage{...
2
votes
2answers
39 views

Strange behavior of tabular when a second \multicolumn is added

The original question is about placing figures inside a tabular and trying to adjust them like this: with a code similar to this: \documentclass{article} \usepackage{graphicx} \usepackage{array} \...
0
votes
0answers
35 views

I want solution for the following problem [duplicate]

this is the code.i want to the simulation result analysis section first then the subsection parameter but the code does not show this.how can i solve this??????? \begin{figure*}[ht] \includegraphics[...
1
vote
2answers
47 views

LaTeX the table out of page

I want to create table like this . I don't know how to create header of table like that. This is Latex script. \begin{table*} \centering \caption{Some Typical Commands} \begin{tabular}{|c|c|c|c|c|c|...
1
vote
1answer
19 views

How to align horizontally the rows between X type columns?

I have a table with short and long headings. I'm using tha column type X from the tabularx package. The headings are aligned to the top, how can I align the headings horizontally in the middle? \...
1
vote
1answer
22 views

Vertical fill for text under table at end of section

Hi I wasn't sure how to create a descriptive title for this issue. It is a bit weird. When I have a table near the end of a section and text is above and below it, the text will move to the bottom of ...
2
votes
2answers
36 views

Better margins in tabular's cells containing math-mode

I have this code % !TeX encoding = UTF-8 \documentclass[utf8]{article} \usepackage{multirow} \begin{document} \begin{table}[htp] \centering \begin{tabular}{|l|c|c|} \...
1
vote
1answer
62 views

Inscrease bullet points spacing

I have a table which I did for my MSc thesis, that worked just fine: However, now I want to use that table for an article. I have copied the code, but the bullet points from the 2nd column are too ...
0
votes
1answer
48 views

Space between two words in a table LateX

I am trying to set a table in which I want to include some pictures. I tried different models of table, but I have two problems : 1. The table is really long and can not fit in one page. I can't find ...
3
votes
2answers
32 views

Aligning the vertical gap of cells in tabular environment

\begin{table}[h!] \caption{File Menu} \begin{center} \begin{tabular}{ll} \hline \textbf{Menu Icon} & \textbf{Operation} \\ [0.5 ex] \hline \hline \\ \includegraphics[scale=0.7]{Icons/3x/...
2
votes
2answers
34 views

Underfull \hbox (badness 3148) in paragraph

I'm getting the warning message Underfull \hbox (badness 3148) in paragraph at lines xxx-xxx I guess it is related with spacing between the words Sums of squares, but I don't know how to fix it. I'...
1
vote
2answers
31 views

Lack of spacing in a complex table structure

Following this post, I have another table in latex: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{tabularx} \usepackage[math]{cellspace} \setlength{\...
1
vote
2answers
33 views

Issues Fitting Generated Table to Width

I have reviewed quite a few posts on here, yet everything seems to be breaking my table, so I figured I'd just post my probem and ask for help. I generated a table using https://www.tablesgenerator....
1
vote
2answers
40 views

Background and text color when making a table

I want to get the background colors of my table similar to this table, but not sure how to change the text to white and the background of the top column and rows to black. Ive used the following ...
0
votes
1answer
22 views

Missing page numbers while using the tocloft package

I need to use the tocloft package because I edited my list of figures and tables that it displays "Figure/Table 1..." in bold text before the name using \renewcommand{\cftfigpresnum}{\bfseries Figure/...
2
votes
2answers
41 views

cells not centering after multicell

I'm trying to create a tabular with all the cells centered. I have found a way to make this possible but all the cells have to contain: \multicolumn{1}{|c|}{"Text"} Is there a way to center the text ...
0
votes
0answers
55 views

how to remove the extra lines in top and bottom of the table

I am using iet template, but while using that I am unable to make the table width according to the table content.width is coming full length of the double column space. \documentclass{cta-author} \...
0
votes
1answer
43 views

How to avoid the appearance of extra top and bottom lines in a table

I am using iet format. While creating a small table top, mid, bot lines of the table extend to full length of the double column format of the page. How to remove that extra lines. I need only over the ...
1
vote
3answers
44 views

Lack of spacing in table due to text blurring into the borders

Following is my Latex template: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{tabularx} \begin{document} \begin{table}[] \footnotesize \centering \begin{...
2
votes
1answer
32 views

Figure and Table not aligned

I'm trying to align a table and a figure in Latex, but I`m not getting the results I want. I followed this answer : Table and figure side-by-side with independent captions This is the code I used \...
2
votes
3answers
44 views

xelatex + tabular: align a cell to character and skip entering that char in certain rows

In my CV, I list my past (and a recent) jobs. For example: \begin{tabular}{r@{\emph{ – }}l | p{11cm}} \emph{Jun 2013} & \emph{Aug 2013} & Work position at Company\\ \end{tabular} However, ...
2
votes
2answers
39 views

Extra alignment tab has been changed to \cr. } using table, tabular and resizebox

I've reveiwed all the other threads on this topic and have not been able to figure it out. It must be something I'm completely missing. I recieved the error above "Extra alignment tab has been ...
2
votes
2answers
73 views

two or more footnotes in a table

My question is different form the question Footnote in tabular environment because I already know how to set footnotes in tabular environments. But I don't know how to correctly use two ore more ...
0
votes
0answers
19 views

How to add the cross vertical line in two column table [duplicate]

how to add the cross vertical line in two column table. There should be cross vertical line in below. My code is starting like this: \begin{table*}[t] \centering \caption{cap} \scalebox{0.67}{ \...
3
votes
2answers
83 views

Misplaced \omit.\multispan ->\omit@\multispan. I expect to see \omit only after tab marks or the \cr of an alignment

I made this table that after compiling works properly but I got the message above: can anyone please help me in order to understand what is wrong? \begin{tabular}{cp{1.5cm}p{1.5cm}p{1.5cm}p{1.5cm}p{...
5
votes
2answers
78 views

Specifying a starting column with colortbl package and xcolor

I have a table that I have attempted to set up as follows (contrived example): % Preview source code %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless ...
1
vote
0answers
50 views

Spanning Table on Two Pages in IEEE Journal Transaction?

I am trying to put a table in IEEE transaction paper which is extremely long and will span on two pages. But I am unable to do it using current packages that I am using: Any suggestions would be ...
0
votes
1answer
14 views

\multicolumn error in tabular

In awesome-cv, the defination is \newcommand*{\cventry}[5]{% \vspace{-2.0mm} \setlength\tabcolsep{0pt} \setlength{\extrarowheight}{0pt} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\...
1
vote
1answer
28 views

error with hrule and arraystretch

When trying to produce a table with \renewcommand{\arraystretch}{1.5} I get an error that I cannot put an \hrule there. \documentclass{scrreprt} \usepackage{siunitx} \begin{document} \begin{...
0
votes
0answers
33 views

Latex Table (Graphix) Help! Is it possible to draw? [duplicate]

I would like to draw these following diagram (table or graphix) in latex (i attached them), is it possible?
2
votes
1answer
59 views

Right-centered columns in tabular*

I'd like to right-center a column within a tabular* environment. See the following snippet: \begin{tabular*}{\textwidth}{l @{\extracolsep{\fill}} llc} \hline \textbf{Art} & \textbf{Stundensatz} ...
2
votes
3answers
54 views

table data crosses the column

% Table generated by Excel2LaTeX from sheet 'Sheet1' \documentclass{article} \usepackage{tabularx,booktabs} \usepackage{multirow} \begin{document} \begin{table}[htbp] \centering \caption{Add ...
1
vote
1answer
31 views

diagonal split is not aligned in table

diagonal split is not proper aligned. how to align it. \documentclass{article} \usepackage{tabularx,booktabs} \usepackage{diagbox} \begin{document} \begin{table}[htbp] \centering \caption{Add ...
-1
votes
2answers
82 views

How I can write this multi-column and multi-row table in LaTeX? [closed]

I am trying to write the table but not succeeded. How can I write the attached table in LaTeX. Please see the table. I am trying to write this table in LaTeX but not succeeded.
0
votes
1answer
33 views

Latex multiple tables with different colors and header alignment

I am trying to have different tables in my report. Some of them I need to have the headers one color (black with white text) and different rowcolor (Table 1). While others I need only the headers to ...
4
votes
3answers
128 views

Writing text next to a table

I have this code: \begin{center} $\left.% Use `\left.` if don't want arrow on this side. \begin{tabular}{r r r } \toprule strength & region & comments \\ \midrule $H_B \ll H_0$ & Landau ...
0
votes
0answers
33 views

My table starts numbering at 2, why?

I have a table that is in scriptsize and when compile my code numbers itself at 2.2 instead of 2.1. It is intended for my second chapter. Does anyone know what I should do to start numbering this ...
3
votes
2answers
53 views

Tabular environment - text vertically positions itself by bottom of tikz picture in adjacent cell

I would like to get my text (actually a matrix) to vertically center itself in its cell. Instead, it centers itself based on where the bottom of the tikz picture in the adjacent cell lies. This adds ...
4
votes
1answer
48 views

Colored cell removes line

I have a problem with coloring a cell in a table because it removes the upper line of the cell. I already found out that there are some issues with \cellcolor and \cline but I couldn't come up with a ...
3
votes
1answer
24 views

Listing within tabular — alignment

I have the following code where $q_1$ aligns in the middle. I would like to align it with the top line (SELECT). Is there a way to do that? \documentclass{article} \usepackage{listings} \lstset{...
1
vote
1answer
39 views

Stretching table

I defined a custom command to produce a table I have to do for various experiments: \newcommand{\exptable}[3]{ \begin{center} \renewcommand{\arraystretch}{1.5} \begin{tabular}{ccc} \...
0
votes
1answer
32 views

How can I change the font size of my table?

For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table. Here's my code. I hope ...
1
vote
1answer
52 views

LaTeX with markdown and tables

I'm trying to build up a new documentation system using Markdown and LaTeX. After several hours most things are running smooth, but tables are a bit complicated. Most of the text can be written with ...