{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
885 views

How to make this table fit on a landscape page?

\documentclass[twoside, a4paper, 11pt]{article} \usepackage{ragged2e} \usepackage{booktabs,tabularx} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{mathtools} \usepackage{verbatim} \usepackage{...
1
vote
2answers
290 views

printanswer in table in exam class

In the exam class there is an option to \printanswer. I have no problems with that, but when I work with a table I can not put the answers in the cells. \documentclass[11pt,a4paper,addpoints,twoside]{...
4
votes
1answer
158 views

how to create columns of array

I use the following code to generate this: \begin{center} 2 Iteración\\ Fila $S_{1}$ \end{center} \small \[\begin{array}{crl} \kbordermatrix{\mbox{ }& & & & & & & \\ ...
2
votes
2answers
130 views

Unwanted space around def-generated tabular

I'm using some code I found to generate, from simple input, a nicely formatted list of steps in solving an equation. However, my method is adding unwanted space to the left and at the bottom of the ...
8
votes
4answers
4k views

To draw a chessboard

How to draw a chessboard with house's color unconventional? I can to draw alternately back and white house. But, alternately column black and white I can't
2
votes
1answer
483 views

Missing vertical line in a table, how can I fix it?

Here is my code: \begin{table}[!htb] \centering % used for centring table \begin{tabular}{cccc} \toprule \textbf{Thickness} & \textbf{Applied Voltage} & \textbf{$...
0
votes
1answer
7k views

How to make width of columns in table smaller

So I basically create all my tables in Excel and then transfer to Texnic Center by using the Excel2LaTeX addin for Excel. I am not too familiar with adjusting the outputted code to my own likings. For ...
1
vote
0answers
198 views

Use Xtable to do plus minus

I am using a similar dataset to the following: a= c("Fruits", "Adam","errorA", "steve", "errorS", "apples", 17.1,2.22, 3.2,1.1, "oranges", 3.1,2.55, 18.1,3.2 ) a_table=data.matrix(t(matrix(...
4
votes
2answers
4k views

Subfigure arrangment with no caption with IEEE format

I have a little problem. I am trying to arrange to subfigures side by side (i.e. a graph and its legend) using the IEEE article format and I cannot remove the subcaption. I was using package ...
7
votes
1answer
5k views

Table input from separate .tex file

I am trying to use the \input command to insert a table produced by STATA (statistics software). The problem is that I am unable to adjust the size of the table, I have tried \resizebox and other ...
2
votes
1answer
127 views

Alignment issue with longtabu

I'm using longtabu to create a table. This is the code: {\footnotesize \begin{longtabu} to \textwidth {|l|c|c|l|l|c|c|c|c|} \hline \textbf{Frame} & \textbf{Cam} & \textbf{ID} & \textbf{...
8
votes
1answer
2k views

How to draw slanting arrows between columns of a table?

I'd like to draw some simple slanting arrows between cells in a table. The two cells can be in almost any position in the table. For example given this table: How can I modify it to obtain: ...
6
votes
1answer
225 views

'e+0' notation in columns with S-specifier

I know it sounds silly but I want to have the scientific notation e+0 in a table with S specified columns. Currently it gives me only e0. It just looks better in my table to have the zero with sign, ...
0
votes
1answer
273 views

problem with longtable in landscape orientation in a twocolumn mode document

I have some trouble formatting a long table in landscape orientation using a predefined document class (provided by a journal editor): - the standard page size is shrunk: the height of the page (width ...
1
vote
2answers
500 views

Why won't my \otoprule command work in table formatting?

Primer: I'm very new to LaTeX. I am creating a table with the following code. Here is part of the table: \usepackage{tabularx, multirow, booktabs} \begin{table}[tp] \caption{Rain garden site ...
4
votes
1answer
190 views

Tikz or tabular to build up a table

To build up a table like the one from the picture with this weird shape and different line thickness, would you go with tabular or with tikz?
1
vote
1answer
591 views

latex table border dont appear / to big / to small

still working on that table. Here's my new question reguarding the table borders: It appears, that i do something wrong setting boarders. Here is my code, and a screenshot: \documentclass{article} \...
5
votes
2answers
3k views

How Do I Highlight Table Rows in beamer, Piecewise?

I would like to know how to highlight rows within a table in beamer, piecewise, so that when I present the piece, I can originally have no rows highlighted, and then the first, and then both the first ...
6
votes
1answer
3k views

latex multirow figures with side caption

I need to create figures and caption as follows. How can I do it?
9
votes
2answers
2k views

siunitx and 'e' notation in Tables with S column

I have a problem using \sisetup{output-exponent-marker = \text{e}} in my table. I use the S-columns provided from the siunitx package. It does change to the 'e' notation but it does not delete the \...
2
votes
1answer
353 views

Tabu/Longtabu: Conditional Column Definition

I want to create a longtabu table with a conditional number of columns: In development mode, 5 columns should be visiable. In the final version, only the first and the last column should be visible. ...
3
votes
0answers
55 views

Can we draw a distribution via LaTeX code inside a table? [duplicate]

I would like to draw graphs in a table similar to Table 1 (page 4), "Distribution" column as given in this paper - http://www.cc.gatech.edu/~sbakhshi/gilbert.chi13.pinterest.pdf Is this an image or ...
2
votes
2answers
481 views

How to create a table with some rows merged on the right column

I want to create a table like There are 2 cells in the 4th column which are merged vertically on the right side. While it is easy to merge them on the left side using multirow, I'm at a loss on ...
2
votes
1answer
2k views

How to make this table automatically? [duplicate]

I want to make this table automaticly. That is mean, I receive the value of $\sin$, $\cos$, $\tan$ and $\cot$ of the angle $\alpha$ without typesetting by hand. But I don't know. How can I make it? ...
2
votes
1answer
881 views

Table overlapping text

I have a two column document and a table that I want it to be page wide. The problem is the table overlaps with the text after the table. Here is the table: \begin{tabularx}{\textwidth}[b]{ | p{1cm} ...
4
votes
2answers
4k views

LaTeX p cell width

totally new to LaTeX, this question occured today: I have a table made of 17 columns. Every column is 0,6cm wide. \begin{tabular}{p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0....
2
votes
1answer
3k views

Cell color partially overriding cell border

I am using \cellcolor to give a background to some cells. The cell color is partially coming over the border of the cell as you can see in the screenshot. This is my LaTeX code for the table. \...
5
votes
1answer
835 views

Calendar package

I'm trying to use the calendar package but I've a problem. The \DaysInWeek command doesn't work. I can't delete the Saturday and Sunday columns. Does anyone have a solution? Here is my code (I use ...
7
votes
2answers
249 views

Box/Table surrounded by a pattern/symbols?

I have a box for tips, but I would like to have a pattern surrounding it like in the example picture. Thank you for your help! \documentclass[ngerman]{scrbook} \usepackage{fontspec} \usepackage{...
11
votes
1answer
992 views

Setting table width with pgfplotstable

I am using pgfplotstable to create a table for the following data: Species Moles (1) Moles (2) Moles (3) Ca++ 1.8887e-4 1.9476e-4 3.4462e-2 CaCl+ 3.7537e-5 ...
2
votes
1answer
161 views

How to add background color to a single row which contains multicolumns?

I want to add background color in the header part of my table which contains grouped columns: \multicolumn{8}{ p{6.0in} }{ \textbf{ PARTNER } } & \hfill\textbf{ TOTAL PAYABLES } \\ A simple \...
3
votes
1answer
124 views

How to make multicolumn width the total of the declared width of each column?

For example I have this table: \begin{longtable}[c]{ p{1.0in} p{1.5in} p{2.0in} p{2.5in} } \multicolumn{3}{l}{ Partner } & \hfill Total \\ \end{longtable} But the result is that the '...
0
votes
1answer
217 views

Footnotes in tables [duplicate]

What is the best and simplest way to add footnotes in tables. I used \parnote but it did not give exactly what I am looking for. That is because I have three notes; two of them are same and should ...
3
votes
1answer
87 views

Table entry optimization

I am looking to get a better way of creating the following table: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage[letterpaper,tmargin=2cm,bmargin=2cm,...
3
votes
1answer
18k views

Is it possible to use \cline multiple times when using multirow?

\documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[ht] \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|}\cline{3-8} \multicolumn{2}{c|}{\multirow{2}{*}{}}&\multicolumn{3}...
2
votes
2answers
268 views

How to center title of multicolumn only on the multicolumns, not on all columns?

I have the following example LaTeX table code: \begin{tabular}{lllll} \hline \multicolumn{4}{c}{all clusters} \\ \cline{2-5} clust. size & no. clust. & (\%) & no. spec. & (\%) \\ \...
1
vote
0answers
505 views

How to dynamically set the row height of a table based on another adjacent table?

I have 2 tables side by side. Table 1 is dynamic and while table 2 is static (fixed content). I need to adjust the row height of table 2 which must be equal to total height of table 1 (like multirow) ...
3
votes
1answer
92 views

Problem with numbering of figures

I need to reset numbering of figures and tables to 1, 2, 3 and to get rid of numbering 1.1, 1.2, 1.3,... I tried many commands but nothing worked. Could you help me please? The .cls file is HERE. ...
10
votes
2answers
9k views

Center text in a single table cell

Suppose I have simple table. While I want the columns in general to be flush both right and left, there are certain cells that I want to be centered. \documentclass[12pt,a4paper]{book} \def\x{This ...
5
votes
1answer
5k views

How to place a multicolumn figure above a single column figure and a single column table?

I would like to place the following on the same page: A double column figure A single column figure A single column table I want the placement to look something like this:
2
votes
1answer
140 views

How to make this table?

I've been struggling to get the following result: Table N°: Title(1--footnote) ---------------------------- Category Values ---------------------------- One 200 Two ...
3
votes
1answer
669 views

MinionPro Number Styles: lining, tabular using pdfLaTeX

I have successfully installed the MinionPro font for LaTeX. It works with pdfLaTex. I also changed the number style to lining with: \usepackage[textlf]{MinionPro} However if I have a table with ...
7
votes
3answers
369 views

Position both math environment and tikz picture in the tabular

\usepackage{tikz} \begin{document} \begin{tabular}[b]{@{}ccc@{}} \begin{tikzpicture}[grow=right,sloped] \tikzstyle{level 1}=[level distance=2cm, sibling distance=2cm] \tikzstyle{level 2}=[level ...
3
votes
1answer
74 views

How can I list tabulars in the contents, or make tables with invisble captions

Is there a way to have simple tabulars be listed in the list of tables? I'd even put them in by hand if I knew how.. My tables look like this right now: \begin{center} \begin{tabular}{l c l} \...
7
votes
1answer
1k views

Difference between [h] and [H] in float position

I'm trying to choose the positions of my tables but I can't figure out the difference between [H] and [h]. I've seen both advised over my search. If I use [h] the row spacing is different than [H] use....
2
votes
1answer
85 views

Formatting a table

I am trying to format a table but everything errors since I am trying to put a display environment in an array (I also tried a tabular) environment. \documentclass{article} \usepackage{mathtools} \...
3
votes
0answers
516 views

Evenly split the columns of a multirow table in lyx

I would like to have a table like this: % Preview source code %% LyX 2.0.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \...
3
votes
1answer
322 views

Typesetting chord progressions

For this to work, you need to install the New Real Book fonts and the experimental realbookchords package by cgnieder, then compile with XeLaTeX or LuaLaTeX. I'm working on a simple set of macros to ...
1
vote
1answer
132 views

How to make a multi-definition inside table

I have a function with multi-definition And I want to take it into a table. But i don't know how do that. Please help me, the image below is the result I want to have.
9
votes
2answers
317 views

Making table cells independent of one another

I'm making a table of molecule structures and some information about them. A minimum working example looks like this: \documentclass{article} \usepackage[version=3]{mhchem} \usepackage{chemfig} \...