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

3
votes
2answers
215 views

Using \color in a paragraph column inside a tabular environment results in a line break [duplicate]

Some of my documents are compiled into multiple outputs. Some Versions contain certain parts, while other versions contain only a placeholder. For this purpose I have a macro \markup that colors its ...
3
votes
1answer
345 views

How to put a row in a table with no column division but the rest of the table to have divisions

I want to make a table where it is completely gridded up apart from the line subscript where I want to have just lines above and below but no other lines. I am trying this code but it doesn't give me ...
9
votes
1answer
3k views

Change text color in table, preserve ability

I'm having difficulty creating a new command for \rowstyle that allows me to color the text of different rows in a table and preserve my ability to space out the columns and not induce space between ...
2
votes
1answer
934 views

Make every first line of table look the same

I've been struggling recently with tables. And I've finally managed to get past it. However, I'm now trying to make every first line of my tables look the same (bold white on blue background color). ...
1
vote
2answers
226 views

centering the table with tabular*

How can I centre the table content? \begin{table}[h] \centering \renewcommand{\arraystretch}{1} \caption{The Vehicle types} \label{tab:table3} ...
1
vote
1answer
164 views

Solving underfull and overfull warnings

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here i have two ...
4
votes
1answer
1k views

change Linespread in longtable and table

In my document i am using a \linespread{1.5} for the whole document, but I would like to have a \linespread{1} for tables and long tables. How can I change it?
0
votes
1answer
1k views

How to mark/round an element of a table/tabular?

I´m creating a table for simplex, and I want to create a circle around a number in a table. How can I make this in LaTeX? I use PSTricks, but I prefer don´t create an image and a table/tabular ...
2
votes
0answers
38 views

How to center 3 factors in one table? [closed]

I want to center the 3 factors in the bottom line in the under table"Ref1.i, Ref1.ii and Ref1.iii". Just as the upper line showed. I'm entry level, thank you for any kind help! code: ...
2
votes
2answers
242 views

Using seqsplit with multicolumn

I want to create a longtable with headers centered, columns left or right aligned. Thanks to my previous question: Right aligning two columns next to each other in longtable and its great answer, I've ...
4
votes
1answer
1k views

Add Table in Header with image

I'm trying to create question paper using Latex. Sample copy of expected header for first page is mentioned below. Note: Image above "First Page Header". Can you please suggest, how can I add table in ...
7
votes
1answer
443 views

Counter problem with tabulary

EDIT: As the example below was quite long, I made a minimal example below to make it easier to see the problem: In the example below, the expected values of the counters should be 0, 1 and 2, but its ...
5
votes
2answers
221 views

Is the longtable enviroment limited? I have a several pages long table

I am writing a long table with several complex things inside. When I realized I needed a multiple page table I tried to change table to longtable, but it just gives me a lot of errors. How can I ...
2
votes
1answer
774 views

Right aligning two columns next to each other in longtable

Reading this other thread, I found how to right align a column in longtable. However if I want to right align two columns that are next to each other: ...
5
votes
1answer
3k views

lstlisting in a tabular environment

I am following Adding C++ code in Latex for adding C++ code to the document. What I have is a table with the following format: \documentclass[12pt,a4paper,final]{report} \usepackage[utf8]{inputenc} ...
5
votes
1answer
321 views

Using BibTex as a general database for generating a table

I want to create an overview table of some data. More specifically, I have some named objects and for each of these I have some properties. Example data and schematic of output: + ...
5
votes
2answers
363 views

Setting widths in a longtable not working

I want to create a longtable that spans several pages, with column widths set to cms by me: \documentclass[12pt]{article} \usepackage{longtable} \usepackage{seqsplit} ...
1
vote
0answers
97 views

What's the correct way to place theorems and pictures side by side? [duplicate]

Okay so I have a definition using the amsthm theorem environments, and a tikzpicture which I want to see side by side. The material inside the definition is not too big, so I expect the final height ...
2
votes
2answers
116 views

Table column with unwanted spacing

I have a table with two columns. \begin{table}[ht] \begin{tabular}{|p{12cm}|p{4cm}|} \hline \textbf{Company} & \textbf{Contact} \\ \hline Company produces advanced product systems compatible with ...
1
vote
1answer
144 views

Autosum Table contents in LaTeX

I am trying to add the contents of a latex table, having something like this in mind: How can I automatically calculate sums in a LaTeX table? But this solution does not work for me... Is there any ...
4
votes
1answer
342 views

acronym - tabular — weird spacing while using \ac

I'm currently writing a Lab-Report, using a lot of acronyms and tables. What I have so far looks like this: \documentclass{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
4
votes
1answer
454 views

tabularx \hline introduces blank line above

I am using tabularx and I successfully created some tables with it so far (not too nice ones, but thats another problem). One Table freaks me out, as the "header" is separated from the next lines not ...
0
votes
2answers
886 views

Multiple figures layout

I have 5 figures: A, b, c, d, e. I have a question in laying out multi-figures like below: --------- A | b c A | d e { A } is a single long figure using multirow --------- ...
6
votes
2answers
4k views

Longtable with multicolumn and parbox spacing issues

I've been trying to build a "complex" table of a certain size but I still have some problems with the spacing. As you can see in the attached pictures, some lines overlap the table row dividers, other ...
1
vote
0answers
149 views

Is there any way to export an Excel table that contains images to LaTeX? [closed]

If I use the Excel2LaTeX addin, the images are not exported and the column is left empty. Is there any way to export this table that contains images without having to export each image separately? Or ...
2
votes
1answer
4k views

multicolumn command with tabularx environment

I am using the multicolumn command within tabularx and am not getting any joy. I want to organise it so that the top line spans across two separate columns and wraps itself appropriately, but I cant ...
3
votes
1answer
1k views

Table with different rule widths

I wish to typeset a table with specific borders, where the the column rule separators are thicker, and also the first, second and last horizontal rules. I've tried using the tabu package and it ...
5
votes
2answers
9k views

Two table environments side by side

I have the follown problem. In order to save space I want to place two different table-environemnts side by side. If I use subtable from the subcaption package I have the problem that the tables are ...
1
vote
1answer
151 views

How do you overcome the minimum cell size limit?

UPDATE: Answered by David Carlisle in the comments. I'm creating a table using tabular for which I'm using code to make all the columns the same width: ...
3
votes
2answers
226 views

Odd spacing of two column tables & lists

I have an issue with the spacing of the first multiple choice question in my MWE. I have NO idea what is going on. I have run into issues of this sort before, but it was because of improper line ...
3
votes
1answer
129 views

Caption package error redux

I'm using the caption package, but it's not affecting the captions within my tables and figures. I've pasted my sample code below. How can it be fixed? \documentclass{article} ...
1
vote
2answers
355 views

Oversize table with nested tabularx->minipage->tabular* has columns that are too narrow (Memoir)

I am trying to lay out a table heading that looks something like this: TITLE --------------------- subtitle Name Value description Name A value of Name Value ...
10
votes
2answers
490 views

Selective alignment tabs in tabular/array?

For a while now I've been thinking about an array/tabular feature that would be quite nice to have. It doesn't seem to exist yet, as far as I can discover. And unfortunately, I can't spare the time ...
1
vote
1answer
512 views

Deleting colon while using \renewcommand for table names

I have to rename one of the many tables as Fig. But executing the below script resulted in ':' before the caption. \renewcommand{\tablename}{} \renewcommand{\thetable}{} \begin{table}[!h] ...
7
votes
1answer
208 views

Typeset the wildcard operator table

I just want to typeset the wildcard operator table at about 2/3 down the page. I have been working forever, it doesn't even have to look nice. What tool should I be using?? My work in progress ...
3
votes
1answer
143 views

How to position non-equal tables side by side, centering text of the small table

I made 2 tables, side by side, based upon egreg's answer here: table positions within a minipage \documentclass{article} \usepackage{booktabs,lipsum,calc} \newsavebox{\leftbox} ...
2
votes
1answer
2k views

Longtable and multicolumn

I've been having some issues with the longtable package. I'm creating a table for some UML Case Details but there must be something that I cannot find which is continuously giving me an error ...
3
votes
1answer
684 views

Force table's width (pandoc / default.latex)

Pandoc is working great at the moment, but I've got a problem for large tables. Most of the time the tables get rendered outside of the page. I know it has something to do with p|cm=8 or something, ...
2
votes
1answer
143 views

Table not printing [closed]

I'm having difficult time making the table code work for my paper. The table code is \begin{table} \begin{center} \begin{tabular]{l l l} \hline v & a & b \\ 4 & 2 & 4 \\ \hline ...
1
vote
1answer
3k views

Mimicking (*office) CV-layout in TeX

To me (who considers himself a TeX-beginner for a long while to come) it seems like quite a mountain to climb, with much guessworking required, to convert this CV template into a (reasonably close, or ...
0
votes
0answers
40 views

Distinguish between list of of tables and table [duplicate]

How can I make the caption of the table different from that what shows up in the "List of Tables" For figures I used the non-float option with: \figcaption[short title for the index]{description for ...
7
votes
1answer
1k views

Decimals in table don't align with dcolumn when bolded

I am making a table using booktabs and dcolumn. It works perfectly until I tried to bold one of the numbers and then the decimals won't read properly. Are there any workaround here? ...
2
votes
2answers
919 views

Including HTML code side by side in Latex [duplicate]

I want to write HTML codes of two pages side by side in LaTeX like as follows: <html> <html> <head> <head> </head> </head> <body> <body> ... ...
3
votes
1answer
257 views

dcolumn italicize header for me

I am trying to use dcolumn to align the decimals for me. I am using booktabs while constructing the table. The code I have is: \documentclass{article} \usepackage{booktabs,dcolumn} ...
5
votes
1answer
109 views

Spreading an associative table over several columns

In a paper, I'm using a large amount of associative tables. Tables with a key and value. Since both the keys and values are quite short, this is quite space inefficient. One could repeat the column ...
6
votes
2answers
595 views

Cut bottom of tabular by Zig-Zag pattern (in latex beamer)

I try to present a part of a huge table inside the latex beamer environment. A small part of this table is sufficient to understand what is inside so i decided to indicate the cut-out be a bottom ...
7
votes
2answers
139 views

Braces on either side of a list

I want to create this: The following code does this, but produces a number of overfull hbox and vbox statements in the log -- how can I get rid of those? On the other hand, if there is a better ...
1
vote
1answer
573 views

Alignement of tikz-pictures and tables in subfigures

Basically, I'm trying to explain the depth-first search. I'd like to align my images in the following manner: I'd like to put two graphs in each single line, with the corresponding 'table' ...
4
votes
1answer
471 views

Inserting a table made with ERT into a float in LyX

Is it impossible to insert a table made with ERT into a float in LyX 2.0 such that I can edit the height and placement of the table in my document?
1
vote
1answer
505 views

Why does LaTeX renewcommand not work inside tabular? [duplicate]

I would expect the following code: \documentclass{article} \begin{document} \newcommand{\foo}{NO!} \begin{tabular}{ll} FILLER & \foo \\ \renewcommand{\foo}{YES!}% FILLER & \foo \\ ...