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.

Filter by
Sorted by
Tagged with
0
votes
2answers
34 views

what is wrong in this table [duplicate]

could any body please tell me what is wrong in this table? \begin{table}[!h]\label{Table} \caption{Running times in seconds on symmetric MINLP.} \begin{tabularx}{\textwidth}{c>{\centering}Xc} ...
1
vote
0answers
10 views

How to remove table from top of new pages but first page in IST-UL Lab Guide template?

I downloaded a tex template. This template has a table on top of every page. However, I don't want to have the table on top of every new page, but the first page. How do I remove the table from every ...
2
votes
1answer
33 views

Centering table caption

I created a table in a 2-column paper to fit just on 1 column. Everything is okay, except for the table caption position. When I dont use tabularx the table caption position is good. I tried the ...
1
vote
2answers
17 views

Use a command to enlarge cells in a table

I have used a code to create tables, however, when I try to enlarge a cell that line of the image disappears. Any ideas to fix it? This is the code: \documentclass[a4paper,12pt]{article} \usepackage[...
2
votes
1answer
24 views

Vertical Alignment of Tabular Within Tabular

I am attempting to put a tabular with another tabular to put cell entries on multiple lines. However, when doing so, it appears that the two images in adjacent cells are aligned at their baselines, ...
1
vote
3answers
75 views

Tabular* \extracolsep is ignored, table borders do not meet nicely

I'm trying to use a tabular* environment to create a simple table with two centered columns that are spaced apart so that the table fills the entire page. \documentclass{article} \begin{document} \...
1
vote
2answers
36 views

Adding a large brace next to a table: Beamer

I have the following table in Beamer: I would like to add a large curly brace "{" on the left of the table (outside) spanning the first three rows and add some information concerning these rows ...
1
vote
1answer
21 views

\cmidrule not working on second column

I have been trying to get a line under the first cell of the second row but instead the command is working on the first row. While it is working on the others. my code: \documentclass[conference]{...
1
vote
1answer
30 views

Compatibility of bigdelim and rowcolors

\documentclass{standalone} \usepackage{bigdelim} \usepackage[table]{xcolor} \begin{document} \rowcolors{2}{green!25}{green!75} \begin{tabular}{cccc} \ldelim\{{3}{*}& 1 & 2 & 3 \\ ...
0
votes
0answers
21 views

Misalignment with PDF

I seem to be having issues with the pdf creation. It seems that certain sections are being moved before certain figures or tables. "5 Overview" being placed in front of the table. It should be 4 ...
0
votes
1answer
25 views

Centering Text in Cell

I am really confused as to why there is no centering on the second table. Two of the columns have shifted to the left. Why is the 2nd table no longer centered like the first table is? Why does the ...
0
votes
1answer
23 views

Column widths when columns around

Similar to my last question but now I'm uncertain as to why the column widths have changed. The last column in the first table now needs to be the first column in the 2nd table. How can I keep the ...
0
votes
1answer
19 views

Location of text in table cells

I'm trying to make a test for my students and make a table for multiple choice answers. it looks like this right now. below is my code. \bgroup \def\arraystretch{4} \begin{table}[hbtp!] \begin{...
0
votes
1answer
25 views

Switching columns of two tables

I need to switch the 1st and 2nd columns. I can't figure out where to put the A! The table on top is the original. The one on the bottom is what I am working on. \documentclass[12pt, onecolumn]{...
0
votes
4answers
31 views

tabcolsep for a single cell

I would like to use nested tables instead of multirow, I have this example \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} %\tabcolsep0pt %this makes the second table \...
1
vote
1answer
20 views

Recentering text in cell in Latex Table after adding an image to the cell next to it

I have created a 3x3 table in Latex, where the the two cells in the first row to the right are merged. It looks something like this: However, when I import the image, the text to the right (first ...
2
votes
2answers
53 views

Center text in multirow table

I'm begin in LaTeX and I generated the following table with the help of an online table generator. However, I have some issues with the centering of some cell contents. Here is my code: \...
1
vote
1answer
34 views

Horizontal line in table cells

Is there a simple way to draw a horizontal line in one (or more, but not all) cells in a table, as shown in these examples (SQL database diagrams). (The line indicates "primary key".) Something like ...
0
votes
2answers
43 views

Text is not aligned left after table/pagebreak?

the table in my essay is followed by a pagebreak (as shown in the example), however, the {Heading} (text) is not properly left aligned. How can I solve this problem? Thanks, \pagebreak \sffamily \...
1
vote
1answer
38 views

Can't write square brackets inside a table: Bad math environment delimiter

I am working on this thesis template. I need to start a text with square brackets and the word inside the brackets ends with underscore, like: [test]_text But I am getting an error: Bad math ...
2
votes
2answers
65 views

How to make this table fit nicely into one page of beamer?

\begin{table}[ht] \caption{Using Quasi-Experimental Variation} \begin{center} \begin{tabular}{@{}lccc@{}} \hline \hline & & Is the Good Rival in Consumption?: (Yes) & Is the Good ...
1
vote
1answer
23 views

How to break lines for the big bullet for tabular listings on a CV?

I’m currently writing my CV using LaTeX and had a question. I’m using a tabular command to make large bullets on the left and list the details on the right. What I’m going for is: But the code that ...
2
votes
2answers
134 views

Typesetting a fancy grid of figures

So, I need TeX to arrange the page as can be seen below. More specifically, to arrange vector graphics .pdf figures in a rectangular grid, with strict fixed boundaries, captions below and possibly ...
0
votes
0answers
35 views

How to can I change the environment around a table to a table enviroment?

I made a table with tabular which works fine. However, in order to apply the commands such as \sffamily, \centering etc. I put it into a figure as another table environment did not work (I possibly ...
2
votes
2answers
39 views

Reducing the line spacing for a rotated table cell

I'm trying to reduce the line spacing for the rotated table cells in order to reduce the width of the table and to make it look nicer. Also the cell "Material" looks kind of crammed. This is what it ...
1
vote
2answers
37 views

how put more in one of the columns

how I can fix the fourth row? \begin{table}[!h]\label{Table} \caption{random symmetrized instances.} \begin{tabularx}{\textwidth}{c>{\centering}Xc} \toprule Name & The ...
2
votes
3answers
77 views

Table that summarizes all equation of my document

how would I go about automatically making a table that includes all of the equations that are in my document and their label? Let's assume I got this code: \documentclass[11pt,german,a4paper]{...
0
votes
0answers
29 views

Table causing issue

I am trying to make the following table.... \begin{landscape} \pagestyle{empty} \small \setlist[enumerate]{nosep, wide, label=\textbf{\arabic*}., ...
2
votes
2answers
46 views

Why my table overlap in a 2 column using a conference LaTeX format?

I tried to write a table and added in the required usepackage in a conference given LaTeX template. But cannot figure out how to make the table centre and line. It output: \documentclass[a4paper,...
1
vote
1answer
27 views

How to adjust image and text location in a table?

I am trying to create a long-table which contains images in two columns and number in third. This is the code I used: \begin{lontable}[h]{c|c|c} \includegraphics[width=0.2\textwidth]{sample.png} ...
0
votes
1answer
25 views

Getting something Indented and I do not understand why

Please consider the following LaTex code: \documentclass[a4paper,11pt]{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{array} \usepackage{float} \restylefloat{table} % define the title \...
1
vote
2answers
59 views

How to write a text in center of the cell in latex table?

I have this code: \documentclass[article]{elsarticle} \begin{document} \begin{table}[H] \centering \caption{Material properties of the PETG and PETG+CF for different designs} \resizebox{\...
3
votes
2answers
49 views

Two Tabulars Side by Side in Threeparttable

I'd like to have two tabulars side by side in threeparttable environment which is also in table environment due to floating option. However I am getting the tabulars one on top of the other. I prefer ...
5
votes
3answers
253 views

How to modify the direction of this arrow?

I'm modifying this code to have an arrow as in the picture. I'm tried but unable to reach my goal. Please help me modify it! Thank you so much! \documentclass[12pt]{extreport} \usepackage[left = 1in, ...
1
vote
0answers
14 views

How to get vertical line on right-hand side using rotated columns?

I'm making a large table using solution from Rotated column titles in tabular user Martin Scharrer. However, this solution seems to prevent any right-hand vertical line from showing up in the header. ...
3
votes
2answers
135 views

Table Formatting in LaTex

I am trying to create a table having the following outlook. Any ideas why in the 1st column in the 2nd and 3rd merged rows are not aligned vertically in the middle like the 3rd row??? The same ...
3
votes
2answers
40 views

adjusting vertical spacing between tabularx environments

In the following code, the result looks like this on the first page (when compiled with pdflatex) There is quite a lot of vertical space between the tabularx environments on the first page. I imagine ...
0
votes
0answers
20 views

align text content of tabular cell vertically relative to image in nearby cell [duplicate]

I'm using a slight variation of the solution indicated here to insert a picture of a signature next to the name of the person who signs in a document with the following code: \documentclass[11pt]{...
1
vote
1answer
31 views

How to align tables and labels?

How can I change the style of the first table to be the same as the second one? \begin{itemize} \item[\textbf{c)}] \setlength{\arrayrulewidth}{1pt} \arrayrulecolor{SkyBlue} \begin{...
1
vote
1answer
38 views

Why does my minipage not work?

I just can't get my minipage to work. I wanted to put the two tables side by side - the easiest way possible, as my LateX skills are "basic". Therefore, I basically followed the instructions that were ...
1
vote
2answers
57 views

Background color for complete table

I would like to have an entire table (including the caption) with a background color. I already found solution for cells and rows (which also did not work perfectly), but not for the whole table. Can ...
0
votes
1answer
22 views

For IEEE ACCESS Template Error encountered in table code when complied. Error message: Undefined control sequence. \sisetup

\documentclass{ieeeaccess} \usepackage{cite} \usepackage{amsmath,amssymb,amsfonts} \usepackage{algorithmic} \usepackage{graphicx} \usepackage{textcomp} \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em ...
2
votes
1answer
56 views

Oscola biblatex numerical index (table of authorities) not sorting correctly

The BL-Oscola package implements the OSCOLA legal citation format. It generates multiple indexes - tables of authorities - with separate tables for cases, legislation etc. For European Union cases it ...
2
votes
2answers
82 views

How to convert a table with multicolumns from excel to latex

My question is that different cols have different widths. each row has multicolumns whose widths change. How do i have a macro which allow me to input such table from Excel to Latex. Thanks in advance....
1
vote
2answers
34 views

Latex: Table: Define column width relatively

With this code I can divide all 4 columns in equal withs. {@{}*{4}{p{.25\textwidth}@{}}} How can I say (for example): column 1: 20 % column 2: 30 % column 3: 25 % column 4: 25 % Please give a ...
0
votes
1answer
43 views

Latex cant read from my .dat file

I wrote a .dat file from Matlab. this data has 8 columns each having 1x101 values. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots,tikz,graphicx} \title{ Experimental ...
0
votes
0answers
24 views

{Sidewaystable} appears too far left and does not respect margins set with {geometry}

I'm using the sidewaystable environment because the table is too long to fit portrait-wise on the page, so it must go landscape. It appears in the correct place in the text, but appears too far to ...
1
vote
1answer
19 views

\multirow with top-align functionality incompatibility issue?

I am working on a document, in Overleaf, using \multirow in the usual fashion to make my tables look less crowded. I would like to vertical (top) align my multirow cells. However, I'm seeing ...
0
votes
1answer
20 views

Longtable behaviour of adapted \hline (\nobreakhline)

I work with longtables and a workaround with \nobreakhline. Somehow the workaround does not really work as the real \hline if two lines should be put after each other. So I want the same apperance as ...
2
votes
2answers
52 views

Tables with paragraphs

What's the best way to create a table with a lot of data (text) ?

1 2 3 4 5 254