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

learn more… | top users | synonyms (2)

0
votes
0answers
14 views

Change name of List of Tables and Figures

I have used the command \listoftableandfigures in my thesis to produce a combined list of tables and figures. In the document itself, this appears as "List of Tables and figures". In the rest of my ...
0
votes
1answer
28 views

Formatting TOC in Latex

I am trying to create table of contents with each chapter title underlined. No luck so far. Can somebody help. Thanks
3
votes
1answer
19 views

Floatrow package conflicting with centering longtable

Consider the MWE below. If I \usepackage{floatrow} the longtable is not horizontal centered. If I comment out \usepackage{floatrow} the table is properly horizontal centered. How can I get this ...
1
vote
1answer
28 views

Changing the colour of a cell and positioning text vertically in that cell

How can I change the vertically position of the text 'Data' in the multicolumn cell? And how can I colour only that sell? \documentclass{article} \usepackage[table]{xcolor} \usepackage{colortbl} \...
1
vote
1answer
16 views

How can I make the label text in description lists wrap in the label area over multiple lines if needed?

I use the enumitem package to customise description lists. Here a MWE printing some fictitious personal details: \documentclass{article} \usepackage{enumitem} \setlist[description]{leftmargin=5em, ...
2
votes
1answer
100 views

Table formatting like MS office

Hi I'm trying to create a table like this picture: But when I try this code: \documentclass[3p,onecolumn]{elsarticle} \usepackage[labelfont=bf,singlelinecheck=false]{caption} \usepackage{...
1
vote
2answers
39 views

Size the files in a table are a short

I'm writing a table on latex, this is the code that I used. \begin{table}[] \centering \begin{tabular}{|l|l|} \hline Lalalal & Papapa \\ \hline $\p{6^...
0
votes
0answers
12 views

Reducing space between columns [duplicate]

I am working on table which doesn't fit in a two column page. \begin{table}[!htbp] \footnotesize \centering \caption{Regression Results} \label{} \renewcommand{\arraystretch}{0.65}% ...
2
votes
1answer
51 views

List of books with images

I would like to buy some books from E-library so i'm thoughts why not i send them my request by make list of books in latex document to looks like that: My thoughts : \documentclass{article} \...
0
votes
1answer
26 views

Whats the problem it shows ! Missing number, treated as zero

the table not working. What is the best solution.
1
vote
1answer
78 views

Table with two kinds of rows

How would I go about making a table that looks like this : A------- A1------- A2------- B------- B1------- B2------- Where rows A and B have the same columns, A1, A2, B1, B2 have all the same ...
0
votes
0answers
16 views

positioning of tables in a big file [duplicate]

I have a strange problem when positioning table in a big file. I use the option h! to put the table exactly where the code is written. \begin{table}[h!] ... \end{table} The problem is, in the big ...
1
vote
2answers
44 views

parallel tables and in-between lines

How can I create the following table? Actually, it includes 2 tables and some lines connecting to cells each time. \documentclass{standalone} \usepackage[english,greek]{babel} \usepackage{ucs} \...
5
votes
2answers
64 views

Uneven table in the last column

I use quite a lot of (simple) tabular tables. Unfortunately the last column is always a little bit wonky: the text is a few mm higher than in the other columns, just enough to really notice it. How do ...
0
votes
1answer
40 views

How to display a table with a lot of columns (long and large table)?

As far I know the longtable package allow to split a long table in multiple page. The problem is that my table is both long and large. I have 35 rows and 40 columns. How to split this table on ...
7
votes
1answer
116 views

Define an environment that automatically produces some of a table

Is there a way to define an environment which will automatically produce the first row and first column of a table, leaving you to fill in the rest of the entries as usual? I'll show you what I mean. ...
4
votes
4answers
58 views

Height of text not correct in fixed-height table

I am making a puzzle that involves putting the letters of nine-letter words in 3x3 boxes, and have written the following code to get started (MWE). \documentclass{article} \newcommand{\letters}[9]{\...
2
votes
0answers
36 views

Parsing input for table automatically generated from csv file

I have a .csv file which looks like: {one},{two},{three} 11/07/2014,14:49:54,(100,100) 2,2,2 I have some code which creates a table from the .csv file. \documentclass{article} \usepackage{...
2
votes
2answers
96 views

Tables aren't in order in itemize

Good evening Why is result so wrong? What is wrong? Tables aren't in order and the black marks aren't on the right place. Thank you for help. \documentclass[10pt,a6paper]{book} \usepackage[utf8]{...
1
vote
2answers
47 views

Best way to create custom number of table rows

Is there any standard way of defining a class so that \startTable \newTableEntry{x}{12.1} \newTableEntry{y}{11.1} \endTable can be done? The result should be x 12.1 y 11.1 Thanks!
1
vote
1answer
46 views

LaTeX: Overlapping text in table

I am making a large table for the appendix of my paper, only I have problems with overlapping columns. I have checked multiple posts however the solutions did not help to solve my problem. I hope you ...
3
votes
2answers
126 views

how to create an explianation for some text, line and picture even ,and how to align the text

I can create a color table, but now I want to add some explanation to this table like below picture Should I use tikz or only table feature? Can anyone give me a start point? Here is my table code:...
2
votes
1answer
55 views

How to draw Tables

I want to draw this Table: I tried: \documentclass[book,12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{array} \begin{document} ...
0
votes
1answer
22 views

Table caption alignment

I have a table like this: How can I align Caption with left of table not paper?! And I want to stretch the table a little. \documentclass{article} \begin{document} \begin{table}[h!] \centering \...
1
vote
1answer
29 views

Disable transparency warning when using ctable with pgfplots?

I'm using ctable package for tables with footnotes. IMO it looks better than using booktabs with threeparttable package. I also use pgfplots (which I guess uses tikz package, in turn). Everything ...
2
votes
1answer
33 views

How can we make a \multicolumn row the same as the others?

How can we make the first row, which uses \multicolumn, to look the same as the second row? \begin{table}[H] \caption{Pronombres personales.} \label{tab:personales} \centering \begin{tabular}{| >...
0
votes
0answers
10 views

Increase the vertical height of a specific row [duplicate]

In a tabular environment, how can I use \renewcommand{\arraystretch}{3} increase the height of a specific row? For instance, making a custom height of the first row only? \renewcommand{\arraystretch}{...
2
votes
1answer
33 views

Problems merging cells

Please, I need help. I'm trying to do this table, but I have some issues trying to merge the cells. I want to write something in those 3 rows merged but the text goes to another place and also there ...
1
vote
1answer
32 views

How to get on one page - section and table which is turned

Good evening/morning/afternoon How to get on one page the table (below) and the section (below)? I changed a scale of the table but the table is still on the next page not the same page as text of ...
1
vote
1answer
34 views

How to add a table below a figure in \figure environment

I want to add a table inside a \figure environment so the figure has a table below it. I want to do this so I can have a caption that explain the figure and its result in this table. \...
1
vote
1answer
27 views

How to add a caption to tabulary?

I'm having problem to add the caption to a table when I use tabulary. Here's my code but I don't understand where I make the mistake... \begin{tabulary}{\linewidth}{LLLL} \caption{Summary of the ...
1
vote
0answers
18 views

xtable, via knitr, inside multicols

How can I put an xtable (made with knitr) in a multicols environment? The table is working outside multicols, but when I place it inside multicols it disappear. I've tried with lstlisting inside ...
1
vote
2answers
56 views

How to adjust tikzpicture in the table?

I insert tikzpicture in a table, but the picture is always not in the center of the cell, especially when in a multirow. This is my code: \begin{table}[H] \begin{center} \begin{tabular}{cccccc} \...
1
vote
0answers
29 views

Avoiding \hline and \multicolumn in table

I have a table as the following. The journal that I am submitting to doesn't allow \hline or \multicolumn. Do you know how I can have a similar table (similar look) but avoiding \hline and \...
2
votes
1answer
36 views

it possible to put mdframed environment inside tabular environment?

I try to use colored framed boxes inside tabular environments. Is it possible to used "mdframed" environment for it? Unfortunately, the code below does not work (it gives: «! LaTeX Error: Something's ...
3
votes
2answers
62 views

Best way to add space between columns with alternating colored rows

I did some search on the topic without success. Most of the time people want to remove spaces, or have problems with last column, etc. In my case I want the spaces to be there and between columns. I ...
0
votes
0answers
22 views

Longtable and tabulary Together [duplicate]

Is it possible to have longtable and tabulary together in a table for autofit and Auto continuation of table in next page Below is my code \documentclass{article} \usepackage{longtable,tabulary,...
0
votes
1answer
30 views

table and arrow in beamer

I only can create a table like: \begin{tabular}{|c|c|c|c|c|c|c|} \hline \multicolumn{7}{|c|}{DTE to DEC} \\ \hline DTE device (Computer) & \multicolumn{2}{|c|}{DB9} & Connection & DTE ...
2
votes
1answer
39 views

pgfplots fill between with table data creates strange x shapes

I'm trying to fill the area between my data and the x-axis using pgfplots and fill between. My two attempts are shown here: \documentclass[a4paper,11pt]{article} \usepackage{pgfplots} \...
2
votes
2answers
27 views

Caption doesn't cover the last column

I have the following table: \documentclass[12pt, twocolumn]{article} \usepackage[font=bf,singlelinecheck=false, justification=raggedright]{caption} \usepackage{ragged2e } \usepackage{authblk} \...
3
votes
2answers
42 views

Decimal Alignment in tabulary package

How to achieve Decimal alignment as well auto fit table in tabulary package, below is my code, or is there any other way to achieve both, please guide, \documentclass{article} \renewcommand{\...
0
votes
1answer
103 views

Why is it so difficult to generate a \midrule dashed in LaTeX?

I want to get the equivalent dashed version of \cmidule(lr){1-2}. Looks like the solution is not trivial. What is the easiest way you think of?
3
votes
2answers
52 views

Table at the beginning of itemize environment

Inserting a table at the beginning of an itemize environment creates an unwanted spacing. How do i prevent this? \begin{frame} \footnotesize \textbf{Aufgabe:\hspace{3mm}Zweidimensionale diskrete ...
2
votes
1answer
26 views

Omit double digit enumeration on tables

Im currently writing my Bachelor thesis and encountered a small problem. I use document class scrreprt but without enumerated chapter (\chapter*), and can't manage to alter the caption of tables. They ...
4
votes
4answers
455 views

Tiny table problem

I'm trying to make a table like this: But when i use this code to generate it: \begin{table}[h!] \centering \caption{Elastic properties of tissue} \label{jj} \begin{adjustbox}{width=\textwidth,...
1
vote
1answer
32 views

Customized Class with table of dynamic data

I am trying to write a class that could produce a table with employee name and salary in it. I need the user of the class is to be able to just write the employee name and the salary inside the tex ...
0
votes
1answer
27 views

It's related to \noalign related error?

! Misplaced \noalign. \hline ->\noalign {\ifnum 0=`}\fi \penalty \@M \futurelet \@let@token \LT@@h... l.836 \hline Can anyone say what could be the possible source of error?
1
vote
1answer
32 views

Automatically pick from one of N available table widths

Problem statement I am using a custom-written document class that makes excessive use of a relatively wide outer margin. To strenghten the eye's judgement for what constitutes the main text block vs. ...
1
vote
1answer
33 views

If Not Switching When In Environment

I have the following environment to create an invoice. It works perfectly except that the rows do not switch between light and dark gray (they stay light) so I assume that \iflight is staying true. If ...
3
votes
1answer
38 views

Lots of Errors Trying to Create Invoice

I will preface this by saying I do know there is an invoice package. It wasn't working with my setup and I wished to have a little more customization. So, in order to replicate that package I created ...