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

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.

0
votes
0answers
3 views

Problem getting rid of column

I need to get rid of the last column. Could you give me a hand? \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{multirow,tabularx} \newcolumntype{Y}{>{\centering\...
0
votes
0answers
20 views

Drawing table with multi rows and columns

So I am trying to figure this out: Can you help me out with the layout? Those multi rows are hard to draw. Working on a MWE right now: \documentclass{article} \usepackage[margin=1in]{geometry} \...
2
votes
2answers
22 views

How to color a table column

I have this sample table. I made the script below but I still need few requirements that I do not know how to: 1) I need to apply the gray color one row above (i.e. the cell which contains the word ...
0
votes
1answer
20 views

Make space between table and section even to text and section

Good evening, I know that I can reduce the space that is inserted with a new table with \vspace*{-10pt}. But how to make it exactly even to the normal space between a \section or \subsection and the ...
4
votes
1answer
59 views

New to LaTeX and need help with a table for my Lesson Plan

I am new to LaTeX and I decided to use it for my Lesson Plans. I have created a table for my lesson planning. But I am struggling to have it aligned properly and to have it fill the whole page in ...
0
votes
1answer
25 views

Allowing values to bypass tabular column alignment

I have 8 columns in my table and everything fits perfectly except the very last value, which is about 5 columns long/wide (it's a very long binary string) and it's on the last row all by itself, I ...
0
votes
0answers
21 views

Extract a table-float from a TeX-typeset PDF?

I have this article which was near-certainly created with LaTeX. One of its floats is a table, and I would like to extract it from the PDF, i.e. obtain a PDF with just that figure (excluding the ...
2
votes
1answer
21 views

Tabular: lines with \pause get line added

When I try to build this: \usepackage{array} \documentclass{beamer} \begin{document} \begin{frame}{Bibliotheken} \setlength\extrarowheight{5pt} \begin{tabular}{|l|l|l|l|l|l|} \hline ...
1
vote
1answer
35 views

How do I make words align horizontally in a box?

I have a problem with boxes. I'd like to make it so that a box including 2 words align horizontally. So the first word is above the second word, in turn hopefully making the box smaller. This is what ...
1
vote
1answer
15 views

Lines and positioning of tables

I need to create this table This is what I have done so far \begin{table}[h!] \begin{center} \begin{tabular}{|l|c|r|} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with ...
3
votes
2answers
140 views

Drawing tables with colors

I’m trying to create a table in my tex document that resembles more or less the table in the picture below: I found this chunk of code but still, I don’t know how to separate each table as it appears ...
1
vote
1answer
32 views

Reducing space between table rows. \arrayrowstretch and \extrarowheight not working

How do I decrease the space between the rows in the table shown? I was unable to do so using \arrayrowstretch and \extrarowheight. Here is the code I used: \newcommand*{\cvpressentry}[4]{ {\...
1
vote
0answers
16 views

Multiple newpages — after several large tables

How to effectively apply multiple \newpage --- after several large tables \newpage \newpage \newpage \newpage In one of my sections (say Section 1), there are many large Tables but some texts. ...
0
votes
0answers
22 views

Side by side equation not fitting in page

I want to write an equation that has two equivalent forms so i want to write them both side by side. So I do this using the following \[ \begin{aligned} (X',Y',Z')=\begin{cases} \left(2X,2Y,...
0
votes
1answer
22 views

Removing or changing table border spacing in `longtable`

I want to remove the border spacing of a table created by longtable package. I wish to preserve the column spacing as such and wish to only remove the right side border spacing so that a two column ...
1
vote
1answer
22 views

How can I place a table (including caption) across two columns of a \twocolum document?

I have inserted a table in a two column document. The table should span across both columns without a page break. Ideally, the table should be fixed at the top of a page with two columns of text below....
2
votes
1answer
34 views

Latex table with image

i was wondering how can i make this in code \begin{table}[h] \begin{tabular}{|lll|} \hline \multicolumn{4}{|c}{} \includegraphics[scale=0.80]{UAGpractica.jpg} & \multicolumn{4}{c}{} &...
4
votes
1answer
121 views

How to remove unwanted horizontal line from diagbox

I'm using \diagbox in a table, but for some reason the horizontal line is still there. The table ends up looking like this: And on another note, the vertical lines don't completely join to the top ...
1
vote
1answer
59 views

How to make 4 columns of this recommended format LaTeX table?

I am researching on how to format and use tables the proper way and I came across this guide: How to make nice tables On one of the slides, there is this table, which looks pretty nice and it's also ...
1
vote
1answer
51 views

Custom notation table with page reference

I would like to combine this question with this one. The goal is to build a list of notation with the following properties the symbol is on the left in a column with fixed width the description is ...
2
votes
1answer
38 views

Vertically center textwidth table

Sorry for this question but I'm new using LaTeX. I have a table which width is set to be \textwidth using tabularx{\textwidth} and one of its rows will have 3 or 4 lines. This is my current code: \...
0
votes
1answer
28 views

Error with Table position: [H] goes in label

I am trying to set up a document in Overleaf with \documentclass[12pt]{comjnl} where i need to have a table in the middle of some text. The table does not react when i use the position parameter ...
0
votes
2answers
12 views

Referencing table showing customized text

I have questions about how to show customized text when referencing the table. For example, the table below is the 11th table in my document. It's customized label is Table:S3. When referencing to ...
0
votes
0answers
18 views

cmidrule overlap [duplicate]

I notice when I have a \cdmidrule command on neighboring columns \cmidrule{5-6} \cmidrule{7-8} that it produces a single straight line between columns 5 and 8. Whereas what I want (for visual ...
1
vote
1answer
38 views

Adjusting dotfill for custom table of notations

Consider the following code/picture: \documentclass{article} \usepackage{graphicx} \usepackage{amsmath} \begin{document} \noindent \begin{tabular}{@{}p{2.62cm}@{}p{9.5cm}@{}} $\varliminf,\varlimsup$ &...
0
votes
0answers
27 views

Align values in a table to decimal point when using “p” columns

I have a LaTeX table that looks like this: I want my decimal points to line up. I know I can use \usepackage{siunitx} for this, and a bit of Googling revealed that if I use "S" columns, I can align ...
0
votes
0answers
36 views

Stargazer output of regression

I want to ask how to make stargazer linear model output smaller so it fit in the text, table on page 2 is very big \documentclass[11pt, a4paper]{article} \usepackage{geometry} \usepackage{amsmath,...
3
votes
1answer
31 views

how to make columns appear one at a time

I have a table consisting of four columns. I want first two columns to appear on the first slide while the third and fourth columns should be visible on the second slide. To some extent, I achieved ...
2
votes
2answers
20 views

Centering the text in a cell in vertical distance

Consider the following table definition. \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \title{my title} \maketitle \section{Section 1} Table~\ref{my-label} shows \begin{table} ...
0
votes
0answers
13 views

Placing Longtables with Tables in Endfloat

I am currently using endfloat to send tables and figures at the end of the document. Figures are working alright, but tables are not. I have one longtable and one table. I am using the following to ...
0
votes
1answer
29 views

Break Line in a table

I would like to know how to break line in a table so the text stays the same width as the rest of the text. My code is: \documentclass[runningheads]{llncs} \usepackage{graphicx} \begin{document} \...
0
votes
1answer
86 views

How do I get a table layout similar to this?

I am trying to report my estimation results in a similar fashion to the attached screenshot. Can anyone help me out how to do this in LaTeX? Much appreciated
2
votes
2answers
43 views

How can I remove lines from my table?

I have a table that I am trying to generate to look like the second one below where the lines are only at the red. I want to remove all the black lines. I have gone through several threads and none of ...
2
votes
2answers
44 views

Combining tabularx and longtable

This is my first post so forgive me if I do something incorrectly. I am trying to create a long table that goes over multiple pages but I don't want to lose the tabularx code that I've been using. In ...
0
votes
0answers
20 views

Table Cell Problem

I'm working on a table and I try to plot bold line in order to highlight a specific column. However, my lines are cutted before to reach the full cell (horizontal lines...). Someone can help ? \...
0
votes
0answers
23 views

too much blank space [duplicate]

How can I have less blank space on the top ? \documentclass{beamer} \mode<presentation> { \usetheme{default} % or try Darmstadt, Madrid, Warsaw, ... \usecolortheme{default} \...
0
votes
1answer
15 views

Table header color not working as i want

I want the header of my table to be red but as you can see in the example it is red but also it seems there is a white extra column left to it. I can not seem to figure out why it is there. And how to ...
0
votes
2answers
29 views

Table in landscape not centering and too condensed

I am currently working with table and I want to do a landscape table for a particular page but the table is too small and condensed, and not centering. How do I magnify it? \documentclass[12pt, ...
1
vote
1answer
31 views

Table: add a column inside a column

I need to add one more column to the 4th column and 5th column so that I can put rmse train and rmse validation. Any hint? This is my actual code: \begin{table}[H] \begin{center} \label{tab:...
1
vote
1answer
35 views

wrap text in table with multirow and landscape

I am new to LaTeX. I am trying to make a table in LaTeX but I cannot figure it out by myself. Any help would be much appreciated! Here is the ideal appearance I made in word. Some details about this ...
0
votes
0answers
15 views

How to treat with dcolumn tabular format and colored rows?

I found here this trick for formated text coloring for use with dcolumn package. However, it seems roughly redefine the \DC@endright statement and gives two wrong behaviours with values which have ...
0
votes
0answers
31 views

Is there a package for abbreviations management?

I wonder if there is a way to efficiently manage abbreviations. When I do my Ph.D. work, I usually copy the contents from one document to the other. When rewriting contents to a journal or for a ...
0
votes
1answer
43 views

Latex is skipping the numbering of the tables!

Can anyone help me with this problem? Latex is skipping the numbering of the tables! The figure and my code are available below: \subsection{Summary of Hybrid-Electric Architectures} \citeonline{...
2
votes
2answers
31 views

Multicolumn wider than subcolumn

I'm dealing with an aesthetic issue related to a multicolumn in a table. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{multirow} \usepackage{multicol} \usepackage{booktabs} \begin{...
1
vote
1answer
24 views

How to refer to a Table in the LOT without having to put a caption below it?

I was looking at a few examples on how to list a Table in the LOT without the need to have a \caption below the acutal table. There was a nice example from Alan Munn \documentclass{article} \...
4
votes
2answers
94 views

Table with different column widths

I wish to create a table that has different row column size. How can i achieve something like that? EDIT #1: I tried \begin{tabular}{|p{4cm}|p{2cm}|p{2cm}|p{1cm}|p{2cm}|p{3cm}|p{2cm}|} \hline \...
1
vote
2answers
38 views

How can I use page-wide threepart table in a 2 column document?

I have an IEEEtran paper I am writing and I want to insert a table with footnotes that spans over the whole page width. Normally to insert a table over the two columns I use the table* environment ...
0
votes
0answers
32 views

How to increase the font size of a big wide table?

Recently I had a major revision from a journal and the reviewer complained that "Table 4 is difficult to read". The snapshot of the table in PDF version is given below... Also the latex code for the ...
3
votes
1answer
96 views

Fixed width with p doesn't work

When I try to fix the width of columns in my table (using tabular with p), the column widths are wider than I specify. When I try different widths, the widths should change but they don't. Here is the ...
0
votes
1answer
52 views

Solution for disappearing table/cell borders with \rowcolor in the PDF viewer depending on zoom?

We are currently trying to convert some documents (with our corporate design) from InDesign to LaTeX. These documents are supposed to be available on the Homepage as PDF and also print out nicely. The ...