Tagged Questions

{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} 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
12 views

Custom line break and column sizing in table

I use the following code to produce a table (using XeLaTex): %!TEX encoding = UTF-8 Unicode \documentclass[twoside,a4paper]{article} %---- Allow the insertion of graphics and tables ----% ...
4
votes
4answers
71 views

Specially indent tabular environment to the left

I would like to indent a tabular environment so that it is to the left than usual. This is because my table doesn't quite fit the page. (Don't worry that it is not the "right" thing to do; this is ...
1
vote
1answer
13 views

How to use ERT command to long tables that is provided for float table

I have been provided with ERT (Evil Red Text) command which when used for float tables, displays the caption of the table as Table 1.1 in List of Tables. I want to know how I can use such command for ...
1
vote
1answer
32 views

Tweak and prettify a nested table

I am attempting to create a table in which cells of one of the columns contains a nested table as the cell value. So far I have got this: \documentclass{article} \usepackage{array,multirow} ...
0
votes
1answer
38 views

Numbering tables with tabular

I'm really new to Latex and would need some help with some basic coding: I can't number this table (which I would just be Table 1 right now). \label{tab:Deactivation} is not working, if I place it ...
2
votes
3answers
29 views

longtable Alignment

I'm using a long table with image and lots of text. The alignment of it is wrong for me. I'd like to know how to make the text start on top of the box, near the line. Here is my code for the longtable ...
5
votes
1answer
27 views

Using lengthconvert with siunitx S column

I need to align numbers in a table. The numbers are generated from the \Convert command from the lengthconvert package. I want to use an S column from the siunitx package to align the numbers, but ...
3
votes
0answers
37 views

Embed ConTeXt into LaTeX

I have an XML document which I'm currently trying to converted into XeLaTeX code. I'd like to stick to XeLaTeX rather than move to ConTeXt. However, a problem relatex to the difference in the table ...
2
votes
1answer
37 views

How to create empty vertical separation of tabular

I know \hline\hline will create empty horizontal separation in tabular, how about empty vertical separation? The || seems not work. \documentclass{article} \begin{document} \begin{tabular}{|c||c|} ...
0
votes
1answer
37 views

How may I place cell1, cell4 and cell7 under the Particle-column and cell2, cell5 and cell8 under the Mass-column in Family 1?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \DeclareMathOperator{\sgn}{sgn} \begin{document} \begin{center} \begin{tabular}{c c c} Family 1 ...
2
votes
1answer
41 views

How do I change font size in plain TeX tables featuring math (fontch producing unexpected results)

I've been having difficulty with setting the font size in plain-tex tables (i.e. haligns). I want to set the tables to use seven or (preferably) eight point font, including tables which contain math. ...
0
votes
0answers
17 views

Table of content and list of table how to improve my numeration

how can i write the table of contents in latex in order to get the total number. In my thesis i get numbers from 1-167. However on my document i have numbers from 1-106 then soon after it turns back ...
2
votes
2answers
73 views

Make a column of a table take up all remaining width without other columns wrapping to the next line

I want to make a table with 3 columns. The table will fit the width of the container. The left column will be right aligned and take up as little width space as possible. The center column will be ...
3
votes
1answer
38 views

Create three column layout with large text in the middle and annotations in right column

I am trying to create a page layout which looks like this quick sketch I have done with Apple Pages: In the left column there should be some headings of the paragraphs printed in the middle column. ...
2
votes
3answers
28 views

Place sidewaystable together with text

My sidewaystable is always placed on a separate page! How do I make it appear exactly where it is defined? Is that possible? text sidewaystable page break text I've done something like this: ...
2
votes
2answers
68 views

How can I resolve this figure margin issue caused by geometry margin options?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage{tikz} \usepackage[english]{babel} \usepackage{blindtext} ...
2
votes
1answer
35 views

\multirow without extra &s

It is possible to somehow modify \multirow so that it works like this: \documentclass{memoir} \usepackage{multirow} \begin{document} \begin{tabular}{ll} \multirow{3}{*}{Tall cell} & First ...
2
votes
1answer
24 views

Show table headers on each page

I have a table that takes about three pages to display and I'm using the longtable package. It's three columns by about 80 rows. On the first page, I have headers for each of the columns. Is there a ...
1
vote
2answers
38 views

Why table border is not complete

This is the code of my table and the border is not complete and i don't know why \begin{table}[htbp] \centering \caption{Aertssen values for m and n \cite{aertssen3}} \begin{tabular}{|c|cccccccc|} ...
2
votes
2answers
33 views

Alignment of numbers in table with wide columns

I have a table with numbers which get aligned using the S column type from siunitx. Some numbers are put into \multirow and with the \tablenum macro the alignment works perfectly as long as the ...
0
votes
0answers
34 views

LaTeX Print Order

I have built a complex CrossTab report (a massive table with multi-page rows and multi-page columns) that has page numbers that are generated by my macro script rather than with the built-in LaTeX ...
2
votes
2answers
46 views

Equation and image aligned on beamer slide

I'm trying to make a beamer slide which has some matrix equations and an image lined up with each other. Here is my attempt: \begin{frame}\frametitle{Transportation polytope constraints} A ...
2
votes
1answer
25 views

Using \ContinuedFloat creating errors with table captions

I have a figure in my document that has 10 subfigures, and overflows onto two pages. I have used two figure environments and \ContinuedFloat to get the correct lettering between subfloats. The problem ...
0
votes
2answers
64 views

Help for reproducing a complex table in latex

Here is the table that i want to reproduce in latex, could someone help me.
2
votes
4answers
103 views

Need help to make a table

I need to make a table which looks like . I have written my code below. \documentclass[12pt]{article} \usepackage{latexsym} \usepackage{amsmath, times, amsfonts, mathrsfs, amssymb} ...
0
votes
0answers
28 views

Title and table position in a paper

I am writing a seminar paper with latex, and currently working on Appendix. The problem is, that i want the title and the explanation of the table be on top of the page, but somehow LaTeX shows it ...
4
votes
1answer
27 views

Write the caption of table in left

I want write the caption of table like this: \documentclass{article} \usepackage{caption} \begin{document} \begin{table} \caption{Caption} \label{tab:1} ...
5
votes
2answers
49 views

Is it possible to put a psmatrix inside a table?

I wanted to create a table in which one column is a diagram that uses psmatrix, and the other column is text. I got the following error: "Forbidden control sequence found while scanning use of ...
2
votes
1answer
30 views

Using \cellcolor in powerdot

I'm trying to highlight some cells in a table in powerdot and \cellcolor doesn't work. How can I color some cells or rows in powerdot. This is the table I used in a report and I'm trying to add to my ...
6
votes
2answers
82 views

Placing the table caption inside the top row

\documentclass{article} \begin{document} \begin{table}[!h] \caption{Caption (not here)} \centering \begin{tabular}{|cc|} \hline \multicolumn{2}{|c|}{Table 1---Caption(should be here)} \\ Property A ...
2
votes
1answer
22 views

Custom padding for colums in latex

I am trying to achieve the following: MyProjectName %some-space/padding% with PersonName %fill space until right aligned% DurationDates This is what I have: \newcommand{\headerrownew}[3] { ...
2
votes
1answer
28 views

Finding the width of \bf text for sizing a paragraph in a table

I have this structure, which builds a table exactly the width of the text, split into two columns. I want the left column to be exactly the width of the longest words in the column, but to still be a ...
0
votes
0answers
24 views

vertical distance between captions and tables

I was wondering if anyone knows how to always achive (fix the length) the same vertical distance between caption and table in beamer? For instance for some of my tabels, I am getting a quite different ...
3
votes
2answers
40 views

How to top center a picture in a table cell?

Hello I'm very new to LaTeX, and how it works. I want to make a table with 6 columns and x amount of rows. \section*{\centerline {Counter-Strike: Global Offensive}} Her finder du information om de ...
1
vote
1answer
24 views

Tablefootnote in table* environment?

Is it possible to use the tablefootnote package in the table* environment? With the following minimal example, I see the footnotemark in the table, but no footnote text ...
1
vote
0answers
26 views

Complicated trilingual dictionary, help formatting to look more professional?

This dictionary is for Taiwanese, English, and Chinese. First off: Here's an example PDF of the first few entries: http://goo.gl/aNfGnN And here's the full .tex in its current state: ...
8
votes
1answer
137 views

Arrows in tables, or matrices

I have been experimenting with LaTeX for a couple of years now, but still consider myself a neophyte. I spent much of yesterday trying to create a table. I am trying to create a table with three ...
1
vote
1answer
57 views

Table Column Width Error

I'm trying to produce a table in LaTeX and I almost succeed. The table is this one: My question is: why the fourth column of "Gennaio", "Febbraio" and "Maggio" isn't as the same width as the rest? ...
1
vote
1answer
24 views

How to use double line in Lyx tables

I want to have double lines in the top row in my tables in lyx. I searched through the site but could not find how to do this.
1
vote
1answer
23 views

Aligning Table Notes in Three Part Table

I am using the threeparttable environment to make tables. The table notes are always indented. How can I get the notes to start flush with the table? \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
25 views

Increase width of caption's horizontal lines in algorithmic and listings

I've been able to increase the width of the horizontal lines honoring the second answer in LaTeX tables: How do I make bold horizontal lines (typically \hline)?. Now, I'd like to do the same in ...
3
votes
1answer
31 views

alignement problem with table and fancyhdr

I'm having a problem with allignement in header handled with fancyhdr. Here is my code \documentclass[a4paper,italian,10pt]{report} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} ...
3
votes
2answers
55 views

Problem with a large table

I'm trying to make a table that's a little complex. I'll try to explain what I want with a picture of a table from word: I'm new to latex, so I have two questions. How can I make such table look ...
2
votes
0answers
61 views

Square root long division method

I wanted to draw the working column for this method of finding square roots: http://youtu.be/UnshaiwljGY Here is an image example of the process: But I am unable to draw it because I am new to ...
1
vote
2answers
30 views

Format table column widths to fit single column of twocolumn document

I am using a two column format, and I would like the following table to fit in one column, along with text wrapping on the title row. How do I do this? Thanks. \documentclass[10pt,twocolumn]{article} ...
4
votes
1answer
51 views

Is there a way to reduce the gap between double hlines (\hline\hline) in the tabular environment?

\documentclass{article} \begin{document} \begin{tabular}{c | c} cell 1,1 & cell 1,2\\ \hline\hline cell 2,1 & cell 2,2\\ \end{tabular} \end{document} I would like to reduce ...
0
votes
0answers
15 views

\otoprule not appearing

I am using a two column format, and for the following table the \otoprule line after the first row is not appearing. \documentclass{sig-alternate} \usepackage{array,graphicx} \usepackage{booktabs} ...
5
votes
1answer
39 views

Preserve tab and newline characters in command argument

Following the question Tab not as extra alignment tab I managed to use the tab character as column divider '&' and the newline character as line break '\\' in an array (or tabular) environment, ...
1
vote
1answer
56 views

putting notes below table

I'm having trouble putting notes below the table -- I put several notes below the table but the footnote seems to stretch, making the table longer than necessary. Would there be a way to fix this? ...
0
votes
0answers
22 views

putting footnote within table using \minipage

I tried to put a footnote within a table and then place the footnote beneath the table, which worked pretty well except for the ugly line that would not go away in the bottom. I think this is because ...