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

2
votes
1answer
53 views

Multiple Choice Answers with Graphs

I need to have 4 graph options for a multiple choice question in LaTeX. I would like it to look like this picture. I have the graphs(tikzpicture inside minipage) with code before the \begin{...
0
votes
1answer
26 views

Table foot note not showing

I am trying to use footnotes in a table, and I saw a regular \footnote{} wouldn't work, but \tablefootnote{} should be used instead, therefore importing its package. I did that, but the footnote is ...
0
votes
0answers
30 views

Missing table borders when using tabularx

I'm using tabularx with this solution: http://tex.stackexchange.com/a/12712 to achieve right alignment in a variable column width based on content size with linebreaks. I would like the result to ...
2
votes
1answer
35 views

Macro or \def to create lines in a table

I have a certain table to which I would like to add lines by a command. One way I can get to this looks like this: \newcommand\arow[3]{ #1 & #2 & #3 \tabularnewline } and the table \...
2
votes
1answer
30 views

adding frame=none to lstlisting options in \lstdefinestyle gives error with tabular

lstlisting has an option called frame= But when I use the frame=none in \lstdefinestyle and put the lstlisting command inside tabular or longtable I get an error Forbidden control sequence It ...
2
votes
2answers
81 views

Using list environment to refactor messy table

I'm writing a book using Latex (obviously). Xetex actually. I'm doing a lot of tables w/ \parboxes in the table cells. In the end there's alot of repetitions and the code looks bad as a result (it's ...
6
votes
2answers
108 views

Table with a diagonal line that crosses cells

How can I draw the following table in LaTeX? I tried looking here but from the examples I can't figure out how I can draw this. Edit: After browsing a few more times I found this with the help of ...
4
votes
2answers
48 views

Horizontal lines in nested tabular environment

I currently have this table: \begin{table} \centering \begin{tabular}{ |c|c| } \hline no test & no test \\ \hline no test & \begin{tabular}{c|c} D1 & 1.23 \\ \hline D2 & 1.23 \\ \end{...
5
votes
2answers
33 views

Change elements of beamer table step-by-step

I have seen questions about how to add elements to a table in beamer step-by-step, but I am interested in changing existing elements of a table step-by-step. Here is a simple example: \begin{frame} \...
3
votes
2answers
135 views

Error while trying to read csv file to create table

I have a csv like the following: CategoryName,Pageviews Restaurants,37951 Shopping,22002 Things to do,20067 Nightlife,10612 Gifts,9194 Food Shopping,8655 Useful Stuff,8536 Parenting ,8353 Home,7654 ...
3
votes
1answer
45 views

adjustbox missing endgroup inserted. How to fit longtable to page width?

I am working on my thesis. The appendix contains 2 large tables that span multiple pages. These tables are wider than the page height in landscape mode. When using the \begin{adjustbox}{width = 1\...
2
votes
1answer
45 views

Combining Multicolumn & Multirow in a Complex Table

I am attempting to create a table where the every box in the table merges to be two columns wide and two rows tall. I currently have the code below commanding two columns, but I have failed to combine ...
2
votes
1answer
45 views

Splitting a long table in more than one page

I am doing tables with table enviorment, but it doesnt allow tables to split into pages. So, what enviorment can I use to do this? (could you please write the same table - wrriten in the code below - ...
4
votes
2answers
108 views

How to make editorial table from sections

How would it be possible to make an editorial list/table? I'm not asking how to create a list or table, but if it is possible to attach something to \section's and \subsection's in the form of a \...
5
votes
2answers
92 views

Table with list

How would you make this kind of table? How can you line the numbers with each item in the list? I'm trying to use \multirow{17}{*} for the list, but it doesn't seem to work. This is the source code:...
2
votes
1answer
49 views

Answers in table at the end of document in exam template

I am writing multiple choice paper in following format \documentclass{exam} \begin{document} \begin{questions} \question This is a multiple choice question \begin{choices} \choice this is a ...
1
vote
1answer
25 views

Include three images, so that the first one spans over two rows

So I would like to have 3 images; the first image spanning across the two other images (the first one is taller than the other two). Example: [1]|[2] [1]|[3] Here is the code I currently use, keep ...
2
votes
1answer
22 views

Can't change table reference format

I need to change reference to table to "табл. CHAPTER_NUM.TABLE_NUM", I was tried to do something like: \documentclass[a4paper, ukrainian, utf8, 14pt]{extreport} \setcounter{secnumdepth}{5} \...
2
votes
1answer
42 views

Is there a way to create a column-wide table in beamer?

I am writing a presentation using beamer class, and I want to show a table and then split some text in two columns. I tried to use the code below, but it doesn't work, and I can't find that much ...
2
votes
2answers
56 views

How to generate a table of figures

How to generate a table of figures like this example below:
2
votes
3answers
58 views

How to insert vertical whitespace above and below a tabular environment

I used a tabular in middle of text, but there is little (vertical) space around the table inside the text. How can I increase the margin of this tabular (the distance between horizontal lines of table ...
2
votes
1answer
65 views

using textwidth in table to make sure table width same as textwidth

I am confused about why \begin{tabular}{|p{0.6\textwidth} | p{0.4\textwidth}|} generates a table with width larger than the page textwidth, since 0.6+0.4 should come out to be 1.0 and so I expected ...
1
vote
0answers
35 views

import cvs file with special characters as table in latex

I am trying to import a cvs file with special characters to my latex file using scvsimple however, I am getting some errors. I tried many suggestions from the forum and net but non worked for me. ...
4
votes
2answers
58 views

Tables: font size setting for all the cells and \arraystretch

I'm trying to create tables with small font size text in cells and large space between rows. If I put \small in every cell, the command \renewcommand{\arraystretch}{1.3} works, but if I try to put ...
1
vote
1answer
61 views

How can I color one cell of a table using a tikzpicture?

I want to draw a table, and color one cell in another color. As I'm not that experienced in latex, I found this example: \usepackage{tikz} \usetikzlibrary{calc,matrix} \usepackage{amsthm} \usepackage{...
2
votes
1answer
46 views

Setstretch for a table

I am trying to put a list inside a table, using paragraph mode, but the space between the items is too wide, so I was thinking about using the setstretch{} command. Do you know how can I set it in the ...
13
votes
1answer
321 views

When to use tabbing

When should I use the tabbing environment? Whenever I want to line things up I reach for tabular, and I have this vague worry that I sometimes miss a simpler solution because I don't think in terms ...
0
votes
1answer
32 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
2
votes
1answer
23 views

HVFloat, caption below table

I would like to use the rotated table with the caption bellow the table. Unfortunately, the following code does not work. Thanks for your help.... \usepackage{hvfloat} \usepackage{booktabs} \...
2
votes
2answers
48 views

Formatting Latex Table

I have created a table in latex. However, the table is covering the entire page, and I cannot see some of the columns. It would be great if someone can help me format the table. Thanks! \...
2
votes
1answer
47 views

problem with text wrapping in tabular environment

I would like the contents of a cell in a row span several lines. I have the following MWE: \begin{table}[b]{ \begin{center}{ \begin{tabular}{|l|c|c|c|c|} \hline Source & Value & Affected &...
2
votes
1answer
28 views

Different justification for table caption

I need get something like this with caption package: Word "Table 1." in the left with period after number. MWE \documentclass[]{report} \usepackage{caption} \captionsetup[table]{labelformat=...
1
vote
1answer
25 views

How to make \@namedef within a tabular cell have wider scope?

How can I make \@namedef stated within a tabular cell define a name that can be reused outside that cell? For example: \documentclass{article} \begin{document} \makeatletter \begin{tabular}{ll} \...
3
votes
2answers
64 views

Best way to align table cells at an operator?

I have some large upper triangular tables in csv form like this: , A, B, C D, $-10 \pm 2$, $52 \pm 40$, $9 \pm 3$ C, $8 \pm 300$, $411 \pm 1$ B, $9 \pm ...
2
votes
1answer
66 views

Conceptual Semantics diagrams

for a university assignment I have to typeset this kind of diagrams (from Jackendoff's Conceptual Semantics framework). I'm not that familiar with LaTeX's handling of matrixes, tikz and so on, so I ...
3
votes
1answer
34 views

Thickness of lines in a table in LYX

I would like to increase the thickness of the top and the bottom lines of the attached table in Lyx. I tried command \newcommand{\hthickcline}{4} as shown in the attached Lyx file but it does not work....
3
votes
1answer
34 views

How can I group elements with \right in table?

Let's say I have a simple table defined like this: \begin{table}[!htbp] \centering \begin{tabular}{ |p{5cm}||p{5cm}| } \hline \multicolumn{2}{|c|}{Table} \\ \hline Part Num & Part Let \\ \...
0
votes
1answer
42 views

Remove line between caption and table

How I can remove line between caption and table? My code is: \begin{table}[h] \tables{360pt}{1.875pt} \caption{EG unit Characteristics for TPC and 201 bus distribution systems} \label{tab1} \begin{...
1
vote
1answer
29 views

“Undefined control sequence” while creating a tabular from a csv file

This issue is to say the least, very weird. I have a 12 columns csv file about several macroeconomics indicators: n,pibreal,pibnom,deflactor,c,isr,trc,tdeflactado,trcdeflactado,I,x,m 2000,...
1
vote
1answer
52 views

Enlarging the table

How to enlarge this table? Thank you in advance \begin{table}[ht] \large \centering \begin{tabular}{c|c||*{8}{c|}} \multicolumn{2}{c}{} & \...
0
votes
0answers
46 views

How to select monospaced numerals for tables only when using mathspec?

For one of my documents I used OldStyle numerals in regular text. For math I use Lining numbers. For tabular material I would like to use monospaced lining numbers if these numbers are math-related (I ...
2
votes
2answers
120 views

Format whole row of table as bold

This appears to be a problem which a few people have had before, but since I've been unable to find a solution which works I thought I should ask again. I have a LaTeX table of 5 columns width and ...
1
vote
0answers
33 views

Foreach loop in tabular, missing endgroup inserted

I'm trying to create a table using the foreach loops made available in the pgffor package. Using the following code, I am able to generate the right contents, but not aligned properly. \begin{tabular}...
0
votes
0answers
28 views

Complex long table not passing through pages

I used this solution to create the layout of the table: tabularx and hhline, to improve the look of the table. Here is the layout: \usepackage{tabularx,array, rotating, caption, hhline} \...
2
votes
2answers
66 views

Tabular individual vertical alignment in header row with varwidth columns

How can i bottom align the header row only? Is there a way to do it with \rowstyle or something similar as i did to make the whole row \bf? I would prefer not to use multiple tabulars. (\...
2
votes
1answer
40 views

Change font in all sideways tables

Is there any way how to change the font in all sideways tables of the document? The following code \makeatletter \renewenvironment{sidewaystable} {\renewcommand\familydefault{mdput} \@...
3
votes
1answer
47 views

Blank page before long table

I want to add a page-long table using: \begin{center} \begin{tabular}{| p{3cm} | p{3cm} | p{3cm} | p{4cm}|} %long table \end{tabular} \end{center} However, this adds an ...
4
votes
1answer
37 views

shrinkable glue in table

I doubt that there's a way to do this, and I've only run into a situation that needs this feature only once, at that time there was a simple workaround, but I've been amazed at what people here come ...
2
votes
0answers
22 views

Change table index format

I am using IEEEtran document class. \caption{some text} in a table environment ends up TABLE I: some text in the final PDF. But I need Table 1: some text. I managed to change TABLE to Table by \def\...
2
votes
1answer
57 views

Easiest way to change font size in tabular

I got two tables, one underneath the other, with the following code. \documentclass[12pt,a4paper,bibtotoc,headsepline,smallheadings,oneside,openright,fleqn,appendixprefix,BCOR5mm]{scrbook} \...