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

Create Table of variation of log function and draw its graph using Tikz

Really i have tried with the below code using share latex publisher for creating the table of variation of log function and it's graph using Tikz but i failed to get both of the graph and the table of ...
1
vote
1answer
12 views

Spacing between rows latex table

I have extra space between the title and first numbered row of this table and it is driving me crazy, I don't know what is producing it. Any help greatly appreciated! \documentclass{article} \...
1
vote
1answer
10 views

Creating table with stacked variable names

I am having an issue with creating a regression table where I don't want the variable name to be super long and want it to sort of stack. For example, I want a variable name such as "first second ...
0
votes
0answers
20 views

siunitx in tabular – align different types of data

I made a table with different types of data in a row. I'd like them to align along the decimal comma – as I thought the S would do. How can I achieve that? \documentclass{article} \usepackage[table]{...
3
votes
3answers
83 views

Enumerate list with each item in a new row

Q: How can I create a table which contains a continuous numerating list with each item in a new row. So I can insert content for the other columns in that row. I use luatex. The result should look ...
1
vote
2answers
44 views

highlighting numbers in table with ellipses

I am trying to figure out how to highlight numbers in tabulars with circles (well, ellipses), ideally not with the large overhead of tikz. Something along the following, except that I don't know how ...
1
vote
1answer
26 views

Alignment of tabulars in tikz \node

I'm trying to get a bunch of tables, each of which contained in a tikz node, to all be aligned as though with anchor=north west, i.e. I basically want the \node point to be at the top left of the ...
1
vote
1answer
31 views

Bold font within pgfplotstable header row

I like to have a definition within the pgfplotstable header row turning the header text to bold font face. Somethng like: every head row/.style={before row={\toprule}, after row=\midrule, \textbf{#1}}...
0
votes
0answers
16 views

How to format number precision in a pgfplotstable when post processing?

I'm trying to color cells in a pgfplotstable based on the cell value: if value <= A, give the cell a background color. The coloring works fine (used this answer as a starting point) but other ...
2
votes
2answers
37 views

How to color a column starting from a specific row

I want to color a column, but only starting from the row that starts with C1. I have this example output. I want to remove the yellow color from the row before C1. This is how it looks: This is the ...
0
votes
0answers
49 views

Can somebody give me a simple explanation on how to turn a LaTeX table into a png image?

Before you say this has been asked before, I did try to look this up and found these thread: Printing a table as PNG? Compile a LaTeX document into a PNG image that's as short as possible The ...
7
votes
2answers
32k views

Table \rowcolor \columncolor \multirow and \multicolumn Alignment

I'm trying to recreate this table from Word in LaTeX: I'm getting close, but the "Effectiveness" section is not aligned properly, and the "Probability" section is not fully filled in with color. ...
1
vote
2answers
39 views

Table with vertical aligned header text [tabularx]

In LuaTeX with document class memoir and use of tabularx, how do I go about making a table (linewidth) layout similar to: Note: Table head is center bottom align Table body is right align A group of ...
0
votes
1answer
29 views

how to set the width of a custom column type and make the first row / title of a threeparttable fit that particular width

I have the following table I would like : to fix a row to a certain width of the custom \newcolumntype{L}{D{.}{.}{2,5}} (which allows to align the decimal of the item of the column instead of the ...
196
votes
8answers
532k views

How to force a table into page width?

I have the following table: \begin{table}[htb] \begin{tikzpicture} \node (table) [inner sep=0pt] { \begin{tabular}{ l | l } {\bf Symptom} & {\bf Metric} \\ \hline Class that has many accessor ...
0
votes
2answers
35 views

Align vertically text in a multicolumn cell of table

I am trying to recreate the last table on page 4 of this document, and it should look something like this: Here is what I have so far: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
2
votes
1answer
77 views

Multiple Arrows in Table

I currently have the following table: Which corresponds to the following code: \begin{table}[h] \scriptsize % \centering \caption{Permutation Importance} \resizebox{\textwidth}{!}{\begin{tabular}...
2
votes
2answers
37 views

Aligned environment effecting tabular environment

I have successfully incorporated an aligned environment in my tabular environment, but now my second column is not aligned with my first. I think that I need to remove the automatic line break after ...
0
votes
1answer
24 views

How to position (use H to place here) table and figures in elsevier cas latex template?

I am using elsevier cas single column latex template and want to position figures and tables using H option, but I get error "Kernel/Key unknown" and "The module does not have a key called cas/tbl/H ...
2
votes
1answer
936 views

longtabu table with captionsetup{labelsep=newline} problem

I would like to create the table below with the "labelsep=newline"option in \captionsetup{}. However, I get an error message. Without the "labelsep=newline" parameter the code is running fine (see ...
2
votes
3answers
583 views

beamer overlays and table rules

I am trying to use \only{...} within a table to selectively add blocks of lines. This works as long as I don't have a \midrule or \bottomrule included or following the part contained in \only{...}. ...
0
votes
1answer
80 views

Filling the latex table dynamically

I have generated an exercise problem for a function table as \documentclass{article} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{fancyhdr} \usepackage{multicol} \...
2
votes
3answers
76 views

Need help with tables

This is my code: \documentclass[a4paper, french, 12pt]{article} \usepackage{amsfonts} \usepackage{indentfirst} \usepackage{xcolor} \usepackage{array} \usepackage{booktabs} \usepackage[margin=0.5in]{...
2
votes
1answer
64 views

layout of table and title do not agree

I have a longtable and page headers which pick up the first and last item of the table on a page. The solution I achieved with pulling together various pieces of advice from e.g. here Incorrect ...
3
votes
3answers
117 views

How to make the title of a table fit the width of the table

I have the following table with title which is wider than the width of the tabular material. How do I make the title fit the the width of the table? \documentclass{article} \usepackage{caption,...
0
votes
2answers
58 views

Im trying to make this table in the tabular environment but i can't get the titles in the right place

I am trying to make the following table but I don't want it to overlap the text that I have placed. This is what shows up in my document This is what I wrote so far \begin{table}[h!] \begin{...
1
vote
1answer
49 views

auto linebreak in table with background color

I’m trying to limit my tables size and force line skip. Instead, the text reaches the end of the paper, at the same time I want it to have a grey background in one of the cells. I understand that the ...
1
vote
1answer
33 views

Align text at the bottom + right of the table cell

How do I do this with the extra twist of getting the text (i.e. my custom page numbering) right aligned? The end results should look something like this (full width): Text ......... 1-2 Text ........
0
votes
1answer
28 views

how to have a table close to scope plot?

I would like to have a table near by a plot. I know how to have a table but not know having a plot near by the table. I have attached my table code and figure that I want to have. Thanks in advance. ...
3
votes
1answer
903 views

Margin notes *and* footnotes in a table environment

I am working on a translation. The original text has margin notes, and I also need footnotes for commentary. Some of it needs to be tabulated in big two-column tables. So I used package longtable ...
0
votes
0answers
19 views

How to prevent `arydshln` from screwing up formatting inside table

Consider the following minimal working example: \documentclass[a4paper,10pt]{scrbook} \usepackage{longtable} \usepackage{arydshln} \begin{document} \begin{longtable}[mc]{|c|c|cc|} {\...
0
votes
0answers
16 views

Resizing a table by textheight reduces the width [duplicate]

I have a large table (height does not fit in page) and I use this code in order to fit it in height. \begin{table}[] \resizebox{!}{0.65\textheight}{ \begin{tabular}{lllll} ... \end{tabular}} \end{...
2
votes
3answers
52 views

how to tabulate this table

I would like to tabulate this table, but I have some problem with codes. How to recode this table in a good way? here my code: \begin{table}[th] \centering \scriptsize \caption{Group A.}\label{...
2
votes
1answer
29 views

Table environment not working in report document class [closed]

I am having an unexpected behaviour in a report document class. I have to use the table float: \documentclass[a4paper,12pt]{report} \usepackage{float} \usepackage{caption} \usepackage{subcaption} \...
1
vote
2answers
44 views

How to import a big dataframe from R (xtable) into LaTeX to create a PDF/PNG?

I have quite some experience with R, however none with LaTeX. So any help would be appreciated. I have a data frame in R and used this code line to export it into the console: print(xtable(plot_data),...
2
votes
1answer
25 views

Why this subtable is shown undefined Control sequence

When i want to run this code, i got error about undefined control sequence in \subfloat tag. How can i solve it. \documentclass[preprint,12pt]{elsarticle} \usepackage{graphicx} \usepackage{amssymb} \...
0
votes
1answer
46 views

Continuous table numbering problem

I have the following problem: I'm writing an article. I wrote text, then inserted a table. The first table is labeled as Table I with the caption command. I also have, for instance, two other tables ...
0
votes
1answer
27 views

How to hide the \listoftables* if there are no tables in my document?

On this example, the list of tables is being shown, but there are no tables on it to show, then, it should not appear unless there are tables to list. \documentclass[12pt]{memoir} \begin{document} \...
7
votes
2answers
9k views

How to transform Google docs tables into Latex Tables?

I usually do all of my tables using Google Docs spreadsheet. This is a good and quick way to organize information and create quick tables. Now I am writing a document in Latex and I would like to ...
0
votes
0answers
33 views

Can anyone help me find a latex template for this CV

Came across this unique clean design, I guess this is in Photoshop. can anyone help me finding a latex template for this resume? if not can anyone help me with the code for the bullet points and the ...
5
votes
3answers
11k views

How can I only make table headers center and bold?

I would like to center and bold the table header. Here are codes. \begin{center} \begin{table} \caption{table decription} \label{t_sim} \begin{tabular}{|l|l|} \hline Key & Value \\ \hline $x$ &...
1
vote
2answers
24 views

Aligned columns (with \dcolumn) have unequal widths under longer text in \multicolumn

I have a regression table that has three columns. One for the names, one for the estimates and one for the standard errors. The two columns that display the estimates and the standard errors are ...
0
votes
1answer
201 views

How to stretch long table to new page in two column IEEE format?

I have 60 rows and 12 columns with plenty of text data inside the table.I am using IEEEtran format.I want to place my table in whole page with continue to next page. Tried many libraries but didn't ...
0
votes
1answer
51 views

Remove space between rows of table in latex

I am trying to change the color of rows in a longtable latex. The problem is that, I have merged some rows but when I change the background color of cells there is a space between merged rows which is ...
3
votes
1answer
33 views

ConTeXt: Allow all floating extreme tables to split across pages

Background Using Pandoc to generate tables that are sourced from an R Markdown document. Problem Pandoc does not have a way to override the code generated for a Markdown table. As such, there does ...
10
votes
2answers
10k views

Combine column types defined in dcolumn with tabularx

I'm looking for a way to define a column type which "mixes" the 'D' column defined in the dcolumn package and the 'X' column defined by the tabularx package. In other words, I want a column type that ...
3
votes
2answers
954 views

dcolumn and tabularx, part 2

This is a follow-up on another question I asked. I am trying to combine the dcolumn package with tabularx (or tabular*for that matter) so the table spans the width I specify, columns are evenly spaced,...
0
votes
2answers
32 views

Help Fixing a Table

I am trying to create a table using the code provided here for decimal alignment and the code provided here to have two lines for some headers. Since I'm not sure exactly what each line does, I had ...
0
votes
1answer
344 views

Issue with table captions

I have been writing my thesis in LaTeX and has always managed to fix any issues that arose but I just can't go anywhere with this one... :s. Basically any table that I have in my document has the ...
2
votes
1answer
56 views

Abstracting out “the font of the table header is bold”

Let's say I want my tables to have the following look: I can do that as follows: \documentclass{memoir} \usepackage[table]{xcolor} \begin{document} \begin{table}[h!] \centering \rowcolors{...