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
50 views

How can I customize a table?

I created this table in MS Office; how can I obtain this table in LaTeX? This is the code I tried, the result wasn't that good in terms of centering cells and columns. \documentclass{article} \...
-3
votes
2answers
40 views

How to create a table like the following?

I want to create the following table without the estimated value(only two columns), I'm unsure what to do: EDIT: Since my table is longer than the one in the picture, is there a way to split it into ...
1
vote
0answers
20 views

How to change table font to be the same as text

For some reason my table shows up in a different font as the text, and I was hoping to make them both in Times New Roman. Unfortunately, even after checking other resources such as using \sffamily or \...
0
votes
0answers
20 views

Undefined control sequence using \rowcolor, \cellcolor and \multicolumn (packages already installed)

I am using https://www.tablesgenerator.com in order to create my table. The code is: % Please add the following required packages to your document preamble: % \usepackage{multirow} % \usepackage[table,...
0
votes
2answers
38 views

Vertical centering multirow and row coloring in a table

I am having issues working with multirow in my table, I cannot figure out how to center a vertical row and how to color all the cells related to it. I am trying to create this table: This is the code ...
1
vote
0answers
29 views

Generated Table Format Issue [duplicate]

I wrote a simple code to generate a simple table. Here is my code: \documentclass[a4paper,11pt,english]{report} \usepackage{nicematrix} \begin{document} \begin{table} \begin{NiceTabular}{| p{0.2\...
1
vote
1answer
20 views

Aligning itemized cell with the rest of the table

I am a beginner in Latex and I'm trying to learn it to conduct a journal article for Springer. I made a two-column table, with the left column being mostly itemized cells. I'm trying to align the ...
1
vote
1answer
40 views

How to make text in a Table cell spanning over multiple pages [duplicate]

This is a clear question of this version, I want that red zone in the table to move smoothly to the next page . \documentclass[12pt]{book} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \...
0
votes
1answer
34 views

Line parallel printing over many pages

I am trying to print a historic text testified. I want to print in roughly 20 witnesses in parallel lines to make it comparable. That means 20 lines (each for one witness) with almost the same text so ...
2
votes
2answers
68 views

Alignment of numbers in table to decimal point does not work (always) for colored text

I have a table where I am aligning all numbers in the cells to the decimal point (via package 'siunitx'). Additionally, I am highlighting in each column the two lowest number via changing the number's ...
1
vote
1answer
53 views

How can I set the caption to the top of table?

I created a illustration where I have a image on the left side and a table on the right side. \documentclass[ english, ruledheaders=section,%Ebene bis zu der die Überschriften mit Linien ...
1
vote
1answer
37 views

Misplaced \omit

The misplaced \omit error appeared in the table. I have no idea of the reason why it happens (maybe for multicolumn?). Can you please help me figuring this one out? \begin{table}[H]\centering \def\sym#...
0
votes
0answers
40 views

Extra alignment tab to \cr

I am facing the above error when dealing with the following table. I cannot find extra "\" or missing ones. Can you please help me figure out the reason for such an error? \begin{table}[htbp]...
2
votes
1answer
42 views

Manually removing extra caption entries in the List of Tables/Figures for figures/tables spanning multiple pages

I realise this is perhaps linked to this question, but I feel the answer and comments do not address the problem (or I didn't understand/read intently enough). Wonder if someone can help with a new ...
2
votes
3answers
120 views

Padding in tabular caused by \left

in tabular environment, I would like to use \left. in one row but not in some another one. It results in items not verticaly aligned in the table column. Here is the affected minimal example: \begin{...
0
votes
1answer
35 views

Beamer, adjust the size of this table

I have the following table in beamer presentation, is it possible to move the table slightly up in the page? This is my output: \documentclass {beamer} \mode<beamer>{\usetheme{Madrid}} \title[...
1
vote
1answer
37 views

Automatic addition of brackets/parentheses in table

I have the following table; \begin{table}[htbp] \scriptsize \sisetup{round-mode=places} \begin{tabular}{lS[round-precision=2] S[round-precision=2]S[round-precision=2]S[round-precision=2]...
0
votes
2answers
69 views

Rescaling tables

I want to rescale this table because I want it to fit in one page but for some reason it won't and it gives me errors. I tried using \scalebox{0.5} that I used for another table but it doesn't work. ...
1
vote
1answer
49 views

Double vertical line column type in tabular

I need a column type with 2 vertical lines but I want the horizontal line to not go trought it. The result would be like this : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lipsum} ...
1
vote
1answer
27 views

PdfLaTeX: How to Insert Centered Vertical Dots in a Table with Multiply Images to Express Omit

Sorry for the bother to everyone here! I have a question about vertical dots, generally, I'm now using \vdot in a table to express omit, but I want them to be centralized to express omit, the current ...
4
votes
2answers
159 views

Table entry not centered

My text "Left" and "Right" in the table below is not centered even with the c command in tabular. How do I fix this issue? \documentclass[twocolumn]{book} \usepackage {lipsum} \...
0
votes
3answers
109 views

How do I create such a table in latex?

Can someone please help me with creating such a table. I am having an issue with the colors and also fitting the table within my page. I would greatly appreciate it,thanks! \documentclass{article} \...
0
votes
0answers
28 views

Why shown text instead of table?

I tried the following command but they doesn't work as I expected. The table are export from state by esttab and stores in .tex I really appreciate your time and help!
2
votes
1answer
31 views

How to align some equations in a table?

\documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsfonts,amsmath,amssymb,graphicx,amsthm,mathtools,systeme} \usepackage[tikz]{bclogo} \...
2
votes
1answer
36 views

PdfLaTeX: How to Add Space between Different Rows in a Table

I'm confused about this problem, I want to add a space between different rows in a table, may I know if there is anyone who can solve it, thanks all in advance! \begin{table*}[htbp] \caption{This ...
0
votes
1answer
50 views

Beamer: Create two tables, one above the other

I am using Beamer presentation, is it possible to create these two tables (I have create two tables that are equal) one above the other, considering the line-style that I have implemented? Code: \...
0
votes
1answer
19 views

Supertabular paragraph environment + vertical alignment

I'm trying to create supplementary materials for a paper which involves an extremely large table spanning many pages. I'm using supertabular, but I am having an alignment issue: Multi-line cells are ...
1
vote
2answers
45 views

Cannot get \cellcolor to work on a table

i've used the following table generator site to create the below table but feel like it's a bit more complicated than it's need to be, and I cannot get the color cell working. https://www....
0
votes
1answer
53 views

LaTeX making a hidden table

I am using one of the template from overleaf, but I want to customize a bit, I look up some documentation online, still not able understand. Can anyone explain what this code is about? All I know it ...
1
vote
1answer
27 views

How to show the \refstepcounter{figure} in list of figure

This is my latex document. The figure is inside the table environment, the figure shows a caption but the list of figures doesn't show. please anyone can explain what else can I do to correct \begin{...
1
vote
0answers
22 views

Table with images - align text to image [duplicate]

I am trying to include images in a table. It is working fine so far, but I want the top of the image to align with the text. Right now the image is 'too high' in relation to the text. Is there an easy ...
4
votes
3answers
163 views

How to delete break in table line

I have a simple table: \begin{table}[H] \renewcommand{\arraystretch}{1.3} \centering \caption{Add caption} \begin{tabular}{|c|c|c|c|c|c|} \hline \multirow{2}{*}{nr fragmentu} & ...
0
votes
2answers
51 views

How do I add text in a flowchart without a border and how do I move my chart to the right and un-attach my top text with the chart?

Greetings so like the title I have this code and I want you to help me with these problems: \documentclass[12pt,twoside, a4paper]{report} \usepackage[utf8]{vietnam} \usepackage{tgtermes} \usepackage{...
0
votes
0answers
56 views

Align 3 elements in tabularray

So I have a table that is showing how group numbers are distributed over days and timeslots. We either group 2 or 3 groups per timeslot. It looks like this Are there any suggestions on how to improve ...
0
votes
0answers
28 views

Some problem about the frame

I have made a box and I have a few problems. The first one is that, no matter how I change the toptitle or the bottomtitle, the spacing between the box and the article below is still unchanged. How ...
2
votes
2answers
90 views

what's wrong with this last >{\centering}p{1.0cm}?

\documentclass[12pt, a4paper, UTF8, scheme = plain, twoside]{ctexart} %% %% \usepackage{amsmath} \usepackage{booktabs,array} \usepackage[top=0.5cm,left=0.5cm,right=0.5cm,bottom=1.68cm]{geometry} \...
1
vote
0answers
14 views

How to change the layout of the grading table in the exam document class (follow-up)

This 8-year old answer doesn't seem to work anymore with the most recent version of exam class. So, I would like to understand what changes are needed to get the desired output of point tables ...
0
votes
1answer
34 views

Section, sidewaystable and page break

I have a sidewaystable in an appendix and now I would like to insert headings on the page for better clarity. sidewaystable automatically causes a page break. So, I tried the rotate package which led ...
4
votes
2answers
217 views

missing $ inserted (in a table)

I am using this code to generate a table in the document. It keeps giving me the error, Missing $ inserted. I am unable to figure out this error. \begin{table}[htbp] \centering \begin{tabular}{...
0
votes
0answers
31 views

Multirow and Multicolumn Table in Beamer

Can anyone help regarding the table shown below. The bottom portion of the table does not align left vertical. Also, the vertical lines are broken. My code is shown below. \begin{frame} {Field ...
0
votes
0answers
23 views

Sans fonts in the math and table mode

I want to show sans fonts in the math and table mode. I use \mathsfit{} to enable sans fonts in the mode. But it is annoying to type \mathsfit{} so many times. Is there an easier solution? Thanks! \...
1
vote
1answer
30 views

LaTeX - Create a table from a CSV file with borders

As many of you, I wanted to automate as many things as possible when creating my files. I have to create tables often, so I figured that loading from a CSV file would be the most comfortable for me. (...
0
votes
2answers
30 views

Overfull hbox with a minipage inside a tabular environment

I have the following \documentclass{article} \begin{document} \section{Test} \begin{tabular}{r|l} test text 1 & \begin{minipage}[t]{\linewidth} test text 2 \end{minipage} \...
4
votes
1answer
188 views

How to align text to the top of a tabular cell?

So far I have \documentclass{article} \usepackage{tabularx} \usepackage{enumitem} \setlist{topsep=0em,nosep} \begin{document} \section{test} \begin{tabularx}{\linewidth}{r|X} test text 1 & \...
4
votes
1answer
48 views

Trying to vertically matrices inside a table, and fix a tikz figure

I've been trying to create a table which contains a few different figures as well as some matrices, but I have been having trouble trying to centre the matrices inside the table, and trying to fix the ...
0
votes
0answers
32 views

Latex error: begin{document} ended by end{table} [closed]

I get the following problem in latex. I got some results from stata and am trying to present them. \begin{table}[htbp] \centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} ...
2
votes
1answer
29 views

Latex to html : keep white space between colored cells in booktabs tables

I use a colored Table to illustrate a concept called 5-fold cross-validation. (Code is below). In latex, it looks as follows: When I convert this to html using tex4ebook cv_table.tex I get this: ...
0
votes
1answer
26 views

Splitting cells in the middle in a latex table

I was making a presentation on latex and I ran into a bit of trouble making the following table: I'm sorry if the image isn't clear but I'll explain what I want to do here. First, I was looking to ...
1
vote
1answer
15 views

Beamer: align two tables side by side with caption

I am using the "begin minipage" to put two tables side by side, but the result is not perfect. As you can see from the output below, there are two things that I need to change: The outline ...
3
votes
3answers
107 views

table size decrease and table ordering in column

I have the following table: \begin{table} \centering \begin{tabular}{|l|l|l|l|l|} \cline{2-5} \multicolumn{1}{l|}{} & T_{del}\ vs.\ T_{poi} & T_{del} \ vs.\ Ben ...

1
2 3 4 5
310