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

9
votes
4answers
98 views

Remove numbering from a table page, not in landscape

I have a very long table that should stay in portrait. I'm having trouble removing numbering on the page where the table shows up. I tried putting \thispagestyle{empty} and the whole table in a ...
2
votes
0answers
46 views

Cutting a table along columns

How do I split a table by its columns? \documentclass[a4paper,10pt]{scrartcl} \usepackage[utf8]{inputenc} \begin{document} \begin{center} \begin{tabular}{llllllllllllllllllll} very long text & ...
0
votes
1answer
42 views

How to make one row longer in tabular?

I'm using the tabular environment. I would like for one row (where I describe each subsection) to go horizontally across the table, and not to stay in one column. This is what I currently have: ...
1
vote
0answers
19 views

Linenumbering problem

When I am using line numbering I am getting to this problem: Basically the command for line numbering is perfectly working until page 8 from 11 of my document. It seems that from this point the ...
2
votes
1answer
91 views

Draw a picture where some parts are tables

As mentioned above, like the picture below:
1
vote
0answers
38 views

How can I rotate some pages keeping the same header/footer sequence as the other pages? [duplicate]

Original text Estoy intentando rotar hojas específicas de cuadros o imágenes un poco anchas para lo cual algunas hojas deben estar rotadas para facilitar la lectura. Translation by Gonzalo Medina ...
1
vote
1answer
47 views

Table alignment and text overflow

I have problems with the following code: \documentclass[a4paper,10pt]{article} \usepackage{multirow} \usepackage{multicol} \usepackage{array} \usepackage{booktabs} \begin{document} \pagestyle{empty} ...
3
votes
3answers
68 views

How to add notes below tables

I've been trying to add notes below a table but keep on getting error: not in outer par mode. could someone please help me? aobal \begin{table*}[ht] \caption{Table 2 Top 10 Philippine Exports to ...
1
vote
1answer
28 views

Unwanted space above pictures in table cells

I'm new to LaTeX and have a question about placing external graphics in table cells and align them correctly. Yes, I did read a similar posts but couldn't find the solution to my problem yet. Here is ...
3
votes
2answers
63 views

How to make more-than-9-argument-commands work with tabular?

I have a command that needs more than 9 arguments. I stumbled over this solution: How to define a command that takes more than 9 arguments. This works fine in regular text. But I tried using this ...
2
votes
1answer
48 views

How to fix and keep the table in the page?

\begin{table}[ht] \centering %\footnotesize %\tabcolsep %\arraycolsep %\node (table) [inner sep=0pt]{ %\footnotesize \caption{Potential of nanotechnology applications in petroleum industry} ...
0
votes
1answer
53 views

Drawing a line in a table in latex

I am using LaTeX with the following code \begin{tabular}{ | l | l | l | p{5cm} | } \hline Parameter & Equation \\ \hline Compensation \\ Capacitor & $some equation$ \\ \hline ...
2
votes
1answer
90 views

Two tables (not hard-coded) side-by-side in LaTeX that will page break

I wrote my original question here: (Two tables side-by-side in LaTeX that will page break). Then, I realized I needed to revise my question, by also including an additional problem that comes with it. ...
2
votes
1answer
99 views

Multirowed multicolumn

I need something like that: \multicolumn{2}{|c|}{in this place I want multirow text like in fixed width cells without multicolumn} Without use \makecell and \\ in it. Is it possible? MWE ...
3
votes
2answers
28 views

Two tabular aligned on top of each other

I want to have two tabular centered but the bottom one to be aligned with top one I don't want it to look like that still the top should be centered and the bottom aligned \begin{table}[!h] ...
0
votes
1answer
47 views

Help need, Tables jumps to next page [duplicate]

I'm a new to LaTex. I'm trying to make my CV using Latex. I used tables. But when I use table, it jumps to next page instead keeping continuous with others. Here is my script, ...
0
votes
4answers
62 views

Creating a table [duplicate]

I am puzzled how to create in LaTeX the following table I have spent much searching internet and books about latex but I cannot find something relevant. My problem is how to include the first row ...
4
votes
2answers
34 views

mathcal error with multicolumn multirow

I get the error \mathcal allowed only in math mode when I try to compile this MWE: \documentclass[12pt]{article} \usepackage{multirow} \begin{document} \[ \left( \begin{array}{c c c c} ...
2
votes
1answer
49 views

Stack three tables sideways

I need to stack three sideway tables. My code makes Latex remove the captions somehow. It reports floatrow error, caption(s) lost. Is there also a way to align all three tables to the bottom of the ...
0
votes
0answers
48 views

Problem reading csv file with csvsimple

I have a document that roughly looks like \documentclass[12pt, titlepage, twoside]{article} \usepackage{csvsimple} \begin{document} \csvautotabular{a_square.csv} \end{document} a_square.csv exists ...
2
votes
1answer
72 views

Two tables side-by-side in LaTeX that will page break

I am creating a .Rnw file in Rstudio. I then knit it using: knit("code.Rnw","code.tex") I am trying to get two tables side-by-side. In case they are long, I would like them to automatically page ...
0
votes
0answers
17 views

Change name of table in caption and reference

I have multiple tables in my thesis with model results. I want to change these tables' names, meaning it wouldn't say Table 1 but Model 1 (also when referencing them). Also, a special table of content ...
2
votes
2answers
6k views

How to nest tables?

I want to make a table inside another table as follows. Unfortunately, it does not work. What is wrong with it? \documentclass{minimal} \usepackage{array,longtable,calc} \begin{document} ...
1
vote
1answer
20 views

Trouble aligning table on landscape page

I am trying to print a large amount of data onto pdf files using LaTeX. I have tabulated this data (a selection of which is in my example below). In order to fit all these data onto the page I have to ...
1
vote
1answer
28 views

\endhead in tabulary: “Undefined control sequence. \end{tabulary}”

I am using the packages tabulary, booktabs and longtable. However when using \endhead I get the stated error. \begin{tabulary}{\linewidth}{RRRR} \toprule $U$ [kV] & $\lambda$ [$10^{-11}\,$m] ...
1
vote
0answers
47 views

Exclude a line of text in a tabular environment

I have this problem: inside a framebox there is a line of text which should not be a part of the tabular enviromnent because it widens the first tab. Here is the code \documentclass[12pt, ...
2
votes
1answer
31 views

Double backslash or \cr in \newcommand to be used in a table

I have a \newcommand*\mycmd[3]{#1 & #2 & #3 \\} that is used in a tabular environment later, like this \begin{tabular}{ccc} \mycmd{a}{b}{c} \mycmd{d}{e}{f} \end{tabular} But the double ...
2
votes
1answer
81 views

How can I reduce the width of a table?

I'd like to put this table in a page: \begin{table}[h] \begin{tabular}{ccccccccc} \hline \textbf{No.} & \textbf{Author (year)} & ...
3
votes
1answer
48 views

Table with figure using 2 rows?

I need a table with 2 rows and 4 columns. The 1st column should contain an image, which uses both rows (centered). How? The closest I can make is this: \begin{tabular}{ | c | l | r | r |} \hline ...
1
vote
1answer
42 views

Longtable spacing

I am using longtable and I cannot find a way to adjust its column spacing. I want a table like this: But I am getting this: This is what I am doing for defining table size: ...
5
votes
1answer
50 views

hyperref link jumps beneath table's top caption when floatrow is included

I use the following packages related to captioning, tables and hyperlinks: \usepackage{hyperref,caption} \usepackage[style=Plaintop]{floatrow} \usepackage[referable]{threeparttablex} I have a table ...
2
votes
2answers
24 views

How to align column names in the second row?

Here are my example and the code. \begin{table}[H] \begin{tabular}{lrrrr} \toprule \multirow{2}[3]{*}{Method} & \multicolumn{2}{c}{group} & \multicolumn{2}{c}{variable} \\ ...
1
vote
1answer
39 views

Making a multiple column table in this fashion

I want to create a table like this: Title Name Title Name Mr Tom Mr Tim Mrs Eliza Mr Ohm so I want a table with multiple columns, but I don't want ...
2
votes
3answers
73 views

Rotated table exceeds width of text block

I have a table (code in the final) that is rotated 90 degrees counterclockwise. However, it is too wide. How can I solve that (fit to the width of (rotated) text block)? One solution could be to make ...
3
votes
2answers
31 views

Item list inside multicolumns not correctly centered

I have a table with item list inside multicolumns which are not behaving as expected (vertically and horizontally centered): \newcolumntype{C}{>{\centering\arraybackslash} m{2.3cm}} \begin{table} ...
0
votes
2answers
53 views

Multicolumn table with different size

I have the following multicolumn table, but I would like to have these columns in different width. For example, columns "Cast name" should be wider that columns "percentage". Could someone kindly let ...
5
votes
1answer
11k views

Reduce vertical space between text and table and remove table indentation

I want to reduce the vertical space between the first line text and the start of the table. I also want to remove the indent on the table, so that all three lines start at exactly the same vertical ...
-1
votes
1answer
54 views

How do I fit a wide table to a page?

Using the code below I get the attached output. I want to make a table consisting of nine columns but currently it is too wide to be displayed completely. \begin{table}[ht] \caption{Survey ...
4
votes
4answers
155 views

Trying to make a grid of 5 rows by 2 columns for each page but failed on the first page

The objective is to make a grid of 5 rows by 2 columns for each page. Unfortunately, only the first page has a grid of 4 rows by 2 columns. How to fix it? Minimal Working Example I have tried to ...
2
votes
3answers
71 views

Table exceeds text width

My table exceeds the text width... I have already tried lots of stuff (ex: tabularx, tabulary and others that I can't remember right now) to try to correct but none of them has solved my problem. I ...
0
votes
2answers
51 views

Insert a multiply symbol in multiplication of maths

\documentclass{article} % My MWE original version % I did use mtpro fonts % how to use slop since I don't have the package 'slop' \usepackage{amsmath} \begin{document} \begin{tabular}{ l r r ...
3
votes
0answers
34 views

How to divide a long tabular into 3 columns per page? [duplicate]

I'm making a set of very long (1000 rows each) data tabulars. I'm using the longtabu environment, since it can split over pages. My problem is that each of the tables is around 16 pages long, and ...
2
votes
1answer
162 views

A nicer way of writing a table

I was wondering if there's a nicer way to write such a table... Any suggestions? Thanks! \documentclass[12pt,oneside,a4paper,fleqn]{report} \usepackage{float} \usepackage{booktabs} ...
2
votes
2answers
64 views

Fixing the form of a table

I am writing the below to get a table... Once I build it, there's something that doesn't look good... I can't figure out how to fix it ! Please help :) ...
2
votes
1answer
53 views

Table numbering by section with letters

I have a 2 part table that I wish to label as "a" and "b", that also includes the section number and the table number within the section (e.g., "Table 4.1a" and Table "4.1b"). I use the basic ...
1
vote
1answer
25 views

Center heading over the border between columns in a table

I have a table that looks like this: \documentclass[12pt,a4paper]{article} \usepackage{booktabs} \begin{document} \begin{tabular}{rl} \multicolumn{2}{c}{heading} \\ \toprule string & much longer ...
2
votes
2answers
35 views

Remove vertical padding of a table inside a longtable

I want to have two row heading for my longtable and I am using this: \documentclass[12pt,landscape,a4paper]{article} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
1
vote
1answer
90 views

Creating complex tables in Latex

I'm transfering a project document to Latex. But I encounter one difficulty. There is a complex table in it and I really would not know how to remake this one in Latex. Could you guys give some help? ...
0
votes
0answers
25 views

Adding two lines of text to a single line of table

I am having difficulty typing into the row below starting with "(a)." In the code below, when I type next to (a), the entire table shifts with the text I type. I would like it to not move and be able ...
2
votes
1answer
50 views

Non-float table with both footnotes and caption

Using Lyx. Is there a way to produce table with both caption and footnotes? Use of footnotes in a float is not recommended (both footnotes and tabular are float environments, footnote text is not ...