{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
3answers
41 views

Centered text in a tabular row

Consider this MWE: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table}[H] \centering\scriptsize \begin{tabular}{ccccc} \toprule \arraybackslash Medi\c{c}\~{a}o ...
0
votes
0answers
18 views

Make a landscape table next to a portrait table

I made a table in landscape like this one : I was wandering if there is a way of making a portrait table next to it which would be something like this:
0
votes
1answer
26 views

Change Default row separator in pgfplotstable / order of commands for each line

I edited the question and added a MWE. Please feel free to change tags or the title of the topic since I'm not sure how to categorize my problem. I'm using the tabu package and pgfplotstable for ...
1
vote
1answer
21 views

Latex tables side by side 2 tabulars

Im trying to make 2 tables side by side, however each table consist of 2 tabular. I have tried using minipage in order to put them side by side, but they keep overlapping ...
1
vote
0answers
33 views

Tabular Columns with Different Vertical Alignment

I'm trying to arrange a poem with one word followed by a block of text followed by one word aligned with the bottom. I keep getting stuck \documentclass[11pt]{article} \usepackage{tabularx} ...
0
votes
0answers
30 views

I can't place a table float where I need it in Lyx

I try to place a table at the end of a paragraph, but it doesn't matter what I do, it always goes to the bottom of the document. I set the configuration of the float, but it doesn' work. And in ...
1
vote
1answer
37 views

Put two tables side by side in the same page

I tried put two tables in the same page. I read in the Internet that I can make this using the minipage. I use minipage but the two tables still in pages differents, not side by side. The piece of ...
1
vote
1answer
45 views

How I merge the cells?

I put this code in LaTeX: \begin{table}[H] \begin{tabularx}{\linewidth}{l*{4}{>{\centering\arraybackslash}X}} \toprule Ensaio & Medi\c{c}\~{o}es do comprimento do fio (cm) & Incerteza ...
2
votes
1answer
38 views

Additional row when using pgfkeys inside a table

Inspired by the answer http://tex.stackexchange.com/a/37484, I tried to create a table with a key-value interface. Using \pgfkeys only outside of the tabular environment works as intended, but if it ...
2
votes
3answers
152 views

Creating table with interior horizontal lines not reaching the margins

I want to create a table as on the picture below. But I do not know how to get those beautiful looking horizontal lines. I also want to have a table with enough space from the lines to the text, this ...
0
votes
0answers
39 views

Figures inside tables. Too long horizontal lines

I'm trying to put figures inside a table using the command \input but the horizontal lines becomes to long and I'm not sure why? When the figures not are included, the lines length are adjusted to ...
0
votes
0answers
20 views

Tables with cross-row connections

Is it possible to create a table with two sets of rows (right and left) connected by lines as it is shown below:
1
vote
1answer
23 views

Problem with table spacing when aligning by decimal point?

Please see attached MWE and pdf. The problem seems to be with the column 'Test 1'? Any suggestions would be very much appreciated, I have tried altering each variable but I cannot work out where the ...
1
vote
0answers
24 views

Not in outer par mode

I am using the following code and getting the error "Not in outer par mode" when i create my tables: \begin{table}[ht] \setlength{\extrarowheight}{4pt} \centering \begin{tabular}{cc|c|c|} ...
1
vote
0answers
39 views

Problem in combination of longtable and stepcounter{rowcount}

I am making a longtable consisting of 3 columns: linenumber of the text in the table, column with a short abbreviation and a column with possible a lot of text. Since the third column contains a lot ...
1
vote
1answer
25 views

How to get footnote text with elsarticle at the bottom of a table?

I am trying to place footnotes at the bottom end of a table as shown in figure with elsarticle, but so far I am not successful. MWE \documentclass{elsarticle} \usepackage{booktabs} ...
1
vote
1answer
37 views

Center-alignment in tabular in LaTeX

This is part of my code in TexStudio, I'm trying to center-align some text inside left-aligned table, but it doesn't work. The error is very strange, looks like Something's wrong - perhaps a missing ...
4
votes
3answers
252 views

How do I make this table?

I need to create a table with a specific aspect. How did I create the table that I annexed to this message? \documentclass[11pt]{article} \usepackage{mathtools,float} \usepackage{amstext} ...
0
votes
1answer
34 views

Color in between lines - table

I wanna make a table with colors. How I do a table with colors that only the interleaved lines have color?
2
votes
1answer
32 views

How I can put the text of the table in two lines?

I wanna make a table with a large text but I can't put the text in two or more lines because the text in the document is cut. I put this in LATEX: \begin{table}[H] \centering \begin{tabular}{ccc} ...
2
votes
0answers
28 views

How to get table row sub numbering?

I am trying to get serial numbers in table, but some of the rows require sub numbering as shown below: S. No. X Y Z 1 1 12 1 2 4 34 3 3 5 54 2 4.a 6 34 5 4.b 8 32 7 5 1 ...
1
vote
1answer
37 views

align numbers based on their decimal point [duplicate]

I have the following table: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table} \centering \begin{tabular}{ lcccccccc } \toprule \multicolumn{5}{c}{\textbf{Training ...
0
votes
1answer
27 views

subsection after table appears before

I have the following code: \subsection{AAA} This data was taken from RStudio's fclust packedge. \begin{table}[] \centering \caption{Butterfly data - 3 clusters} \begin{tabular}{ ...
1
vote
1answer
38 views

Creating a unique table

Hi I am currently trying to create a table in latex that looks something like the table below: So far I have been able to get this far but struggle to adjust the and Measure contribution header ...
1
vote
3answers
43 views

Can someone help me out with odd spacing in a multicolumn multirow table using siunitx?

I wanted to put my data in a multi column and multi row table, whilst aligning the entries by decimal point. For that I am using the package siunitx. There problem lies within the formatting of the ...
1
vote
2answers
53 views

How can I align the two tables?

Why my tables below are not horizontally aligned? My MWE: \documentclass[ignorenonframetext,xcolor={table,svgnames}]{beamer} \usepackage{tikz} \usepackage{amssymb,amsmath} ...
1
vote
1answer
34 views

How to change the baseline of a rectangle in the tikzpicture environment in a table

My problem is that I'm making a table of flame test colors, but the colors on the right column have their baseline at the bottom of the square, so the ion symbols on the left aren't aligned in the ...
1
vote
1answer
37 views

how to fit tab to the width of a paper using tabular

For the layout of a table, how could I meet the following two criteria at the same time ? Fit the width of table to the textwdith Be able to allocate the width of table to each column (not evenly ...
2
votes
2answers
14 views

Stop automatic indenting of tabular in apa6e with p type

In apa6e, tabular environments indent automatically. This does not match APA's guidelines. How can I stop the indenting of tabular environments (without using the work-around)? The solution in Stop ...
1
vote
1answer
30 views

Additional line in table after changing textformat

I am trying to create a table with multicolumn and a fixed width of the multicolumn inside a tikz node. My code looks like: \documentclass{article} \usepackage{booktabs} \usepackage{array} ...
0
votes
0answers
33 views

Show calculations to table cells

I have a table with a lot of financial data. I need to show the calculations behind each financial figure. I have considered to just use footnotes for each table cell, but I guess it's quite ugly to ...
0
votes
0answers
15 views

Generating a multicolumn table

I am trying to create a tabular and I am getting the following error: ! Misplaced \omit. \omit \@multispan {3}\begingroup \def \@addamp {\if@firstamp \@fi... I expect ...
1
vote
1answer
22 views

Equation align to '=' in table with cell equation

\begin{center} \begin{tabular}{ ||l|r@{ = }p{4cm}|| } \hline Text & \multicolumn{2}{l||}{Text}\\ \hline ...
3
votes
1answer
41 views

Inverted pyramid caption, but table not centered

I have managed to hack together a solution to the perennial "My university requires inverted pyramid style captions" problem. However, it isn't complete. I can make the captions inverted pyramid, and ...
1
vote
1answer
34 views

Continuous table numbering for ltablex with captionof

Problem: I want to have a independent table numbering in my appendix for tables that break at page break: Table A.1 Table A.2 Table A.3 Therefor i use \renewcommand{\thetable}{A.\arabic{table}} ...
0
votes
1answer
40 views

Making a different table in latex

How can I make something like this? I know how to make a table but I don't know how to make that line between 3 and 5 in a table. Can someone please explain me how to do it?? Thanks in advance.
2
votes
1answer
71 views

Modify arraystretch for a single row in table

I need to display fractions within a table and it requires to set \renewcommand{\arraystretch}{2.3} The problem is that not all rows contain fractions, and in this cases the white space below and ...
5
votes
2answers
201 views

How to get the pdf of a compiled table only

I would like to generate a pdf document by compiling a table using pdflatex. For that I checked this but the result there is a complete a4 page. is there a way to generate a pdf that has the size of ...
0
votes
0answers
23 views

adjust table to fit text latex

i'm trying to make a table in elsarticle two side but the table seems to overwrite the text.. can someone help me to fix the problem , here the code \\\begin{table}[H] \centering ...
0
votes
1answer
35 views

How to make the table fit in a page?

I have the following table and it doesn't fit in the page. I already tried looking for the threads which were relevant, tried all suggestions but no success. Here is my code: \usepackage{array} ...
0
votes
1answer
52 views

Sub caption of table produces large white gap

For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables. The solution I'm using so far results in a large white space after the table/ ...
3
votes
2answers
30 views

Center a fixed width text within a multicolumn

I am trying to make a table with the multicolumn package. I know that you can either align a cell with: \multicolumn{[# of columns]}{l, c or r}{[text]} Or you can set the width of said ...
1
vote
1answer
45 views

Adding colour to a cell

I have the following preamble: \documentclass{article} \usepackage{colortbl} \usepackage[table]{xcolor} \usepackage[many]{tcolorbox} \usepackage{efbox} \efboxsetup{linecolor=fucsia!100, ...
3
votes
1answer
66 views

Text in table is going outside of document. Automatic line-breaking needed

I'm facing some issues with my two-column table. The second column which contains a description is causing problems. I want the second column to automatically begin a new line whenever it is exceeding ...
1
vote
1answer
12 views

Add equation number to tabular that contains text + vertical and horizontal lines

I have the following code that makes a table, and I would like to add an equation number to it (so I can refer to it in the text by number). Any suggestions? Thanks! \begin{tabular}{ | l | c | c |} ...
1
vote
0answers
13 views

How to let table stay in example environment? [duplicate]

My table is choosing not to stay in the example environment I created for it, however the text I placed in there are included. I notice that when I remove the table environment and let tabular remain, ...
2
votes
1answer
38 views

How to use subfigure to make the following table of figures

|Fig A| FigC| |Fig B| - | FigC should span the entire column. Thanks for the help.
4
votes
2answers
96 views

Big picture with several smaller ones on the side

I'm trying to achieve an effect like _____ ___ ___ | | |___| |___| | | ___ |_____| |___| but I can't get it to allgn correctly to the top. I tried with two minipages, the second ...
3
votes
3answers
64 views

missing | in multirow

missing | in 3 multirow, dont know what to do :C \begin{table}[htbp] \begin{center} \begin{tabular}{|c|c|} \hline Rango de Tiempo $[s]$ & Viscosidad $[\frac{cm^{2}}{s}]$\\ ...
1
vote
1answer
55 views

how i put the text in the middle of a tabular and a figure?

I try to put the text in the middle of the tabular and the figure but when I transform the document in PDF the text doesn't stay in the middle. How I can solve this problem? ...