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

1
vote
1answer
28 views

How to vertically center cells (tabular) without altering the automatic column width?

In the following file I have a table with insertion of figures. I want to vertically center the cell contents. Only the cells in the second and third rows. But I do not want to leave intact the ...
3
votes
1answer
93 views

Adding color to a table row as a beamer overlay

I'm trying to have an overlay that adds a background color to a row of a table in beamer. This post showed me how to do that for column. How about row? Adding color to a table column as a beamer ...
2
votes
1answer
36 views

table spanning only one column width in a multicol document

I have a two-column document and what to inset a table. My problem is that the some of the columns in the table overlaps into the other side column. I have found a question which deals with generating ...
0
votes
1answer
33 views

How to change size of box or lines in table using Latex

Dear all, table given in figure contains values. when i try increase the box sizes in the table the vertical line remains incomplete i.e it does not complete the box(encircled) .How i can change the ...
0
votes
1answer
31 views

Booktabs: Vertically align to top for p{…}-formatted columns

I have a table that looks like this. The latex code for the column definitions is the following: \begin{tabular}{lp{4cm}cccccc} How can I align the text in the second column with property p{4cm} ...
1
vote
1answer
195 views

Lyx still inserting blank pages between tables in floats

I have a Lyx document with many tables and figures in floats after the bibliography. Lyx is inserting a full blank page (with a page number) between Table 1 and Table 2. Note these tables are rotated, ...
2
votes
2answers
50 views

hyperlinked cross referencing in Lyx

I want to make cross-referencing of Figures and Tables in text. I want them to appear in text with hyperlink, just like Journals. I have labeled all Figures and Tables and inserted them as cross ...
0
votes
1answer
100 views

Annotate the table column highlighted by Tikzmark in Beamer

I would like to highlight columns in my table using Tikzmark in Beamer. Here bellow is an example which does the same thing but for the table rows. I would like to know if is it possible to do the ...
0
votes
0answers
33 views

Split Column into two Halves

How can we split a single cell into two columns so that we can provide subtopic under the main topic in table. Please suggest any solution.
-5
votes
0answers
76 views

How can I plot this figure1 (alike that) and redudce the distance between figure1 and its caption?

How can I plot this figure1 (alike that) and reduce spacing between figure1 and its caption? And how can I write the caption of ...
1
vote
1answer
31 views

Changing font size inside table [duplicate]

\documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb} \usepackage[hang,perpage,symbol*]{footmisc} \usepackage{array} \usepackage{enumitem} \usepackage{scrextend} \usepackage{url} \title{} ...
7
votes
2answers
1k views

pgfplots import data from table with comma as decimal separator

I am trying to plot data from data files which are using the comma as decimal separator instead of a point (as is normal in SI style (French version): ...
2
votes
1answer
14 views

Incorrect vertical line spacing after changing font size in table

I would like to change the font size of a parragraph in a table cell. If I do not put \par at the end of the parragraph it does not do the correct line spacing. However, if I put it, I get an anoying ...
2
votes
1answer
60 views

Create a table with tabu

I am trying to create a table which has a header with the text centred horizontally and vertically. The text in the first column (except for the header row) should be written vertically. So far I have ...
1
vote
1answer
56 views

Table formating problem with siunitx, parenthesis, and scientific notation

I am having an interesting issue with spacing with siunitx, parenthesis, and exponents in a table I am using. Currently I am trying to make a regression table with standard errors reported below the ...
3
votes
2answers
84 views

generating a table in koma-script class

We generate a multicol document using the scrartcl document class. Taking the sample below data, we see when we use the \begin{table}[h] command no table is generated in the multicols section. If we ...
1
vote
0answers
43 views

Can LaTeX spread a table of ordered sets over multiple columns?

I have a list of items that need to be flanked by a check box and a blank space for handwriting. The list needs to go down the page about 20 lines and then move to the next column. I plan on putting ...
5
votes
2answers
974 views

SWOT Table - how to convert to an article?

I need a SWOT analyse in color, and I found this one at http://www.mostlycolor.ch/2013/10/colored-blocks-in-beamer.html : Can someone help me by converting the beamer, so I can use it in an ...
2
votes
1answer
81 views

2nd Column EnvironmentTable and figure 2x2 on the top of 1st and 2nd page

Can anyone help me revise my code so that I can achieve the following goals. 1.How to make the table to be on the top of the first page? Now it skips the first page and jumps to the middle of the 2nd ...
2
votes
1answer
57 views

Left justified, fixed width columns in table not working correctly

Thanks to this answer I can create left justified fixed width columns in my table. However, I would like to ask if anyone else has encountered the problems with the last column not working as it ...
3
votes
1answer
80 views

What is the default font used in table environment?

I use the following preamble: \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage[scaled=1]{beramono} \usepackage{amssymb,amsmath} I'm pretty new to latex and was wondering whether or ...
2
votes
1answer
36 views

Table cell widths vary in multirow environment?

I'm writing my thesis and am no LaTeX expert. It uses a template style file I believe and the format is under one thesis.tex file while each chapter is input using the \input command. I'm trying to ...
3
votes
4answers
103 views

Increase the height of the row in the table

I have the following code: \usepackage{tabularx,array} \usepackage{tabu} \begin{tabular}{| c | c | c | c | } \hline $n$ & $nP_\star=(x_n,y_n)$ & $z(nP_\star)$ & $\boxtimes$ / ...
1
vote
1answer
61 views

can anyone help me this table in latex?

\begin{tabular}{|l|l|l|l|}\hline Criterion & Discretization method & Dataset & Rank mean\\ \hline \multirow{7}{*}{Cair mean value through all intervals} & Equal ...
3
votes
3answers
51 views

Table header fix

I am trying to show the table in a nice way. I tried my best but I could fix the header. Can you help me: Fix the header as shown in the pic. Enlarge the text "2016" to fill the space Align the text ...
0
votes
0answers
18 views

change caption of table in IEEE template

I have a problem with IEEE template. the caption of table is like this: TABLE I:'caption' but I want this: TABLE I 'caption' How can it make?
10
votes
4answers
12k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is ...
0
votes
0answers
34 views

Table to fit beamer slide

I have the following code: \documentclass[xcolor=table]{beamer} \usepackage{pgf} \usepackage{polski} \usepackage{tikz} \usetikzlibrary{intersections} \usepackage{etoolbox} \usepackage{pgf,tikz} ...
1
vote
1answer
41 views

How to show 'Table' instead of 'image' when I have a table in the form of image? [duplicate]

I don't know if the question has been asked or not. I have a table in the form of image and I want to put instead of "Figure 1", I want to put instead "Table 1", so on my way to show this, I ...
0
votes
1answer
25 views

New editor and undefined control sequence error

For the past few years I have been using Texniccenter, but I recently changed over to Texstudio. I like the look of it a bit more. Anyway, I have run into an issue that I have no idea how to fix. The ...
4
votes
1answer
39 views

Align equal sign in algorithm in vertical line

The Code described in [1] produces the following output : For the description of my algorithm I need the equal signs to be perfectly aligned in one vertical line but currently there is still a ...
2
votes
1answer
39 views

Conditional complex column type

\documentclass{article} \usepackage{array} \usepackage{ragged2e} % \newcolumntype{M}[1]{>{\hspace{0pt}\raggedright\arraybackslash}m{#1}} % ...
8
votes
2answers
188 views

Printing letters or words for posting on walls

When learning a foreign alphabet or language (hence [x]unicode), it's helpful to print the letters or words, scatter them around one's surroundings, and quiz oneself once in a while to improve one's ...
0
votes
0answers
22 views

vertical align cells in a fixed-width table

This one aligns the text in the middle along a row, but i want is to align all cells to the top of a row. Any idea? \begin{center} \begin{tabular}{ | m{5em} | m{1cm}| m{1cm} | } \hline cell1 ...
2
votes
1answer
36 views

Displaying counts and tables based on external files

I've got a complex report that I'm trying to generate, and I'm at a loss on how best to get it working. Let me say that using CSV files is not an option, for starters. I have a number of files named ...
4
votes
2answers
71 views

How to make LaTeX optimize floats/tables placement if order doesn't matter

I have a bunch of tables that their order in the document doesn't matter. How can I reduce empty space to a minimum and make it more visually appealing? All the tables are in a separate chapter with ...
1
vote
1answer
26 views

How to place the text top left in a table cell

We can use \renewcommand{\arraystretch}{2} to increase the height of rows. The text, however, is just in the center. How can we simply put it on the top-left, as in second and third columns in the ...
60
votes
5answers
90k views

How to rotate a table?

I have a table and I want to rotate it. The table has 3 rows and 4 columns, and I want to rotate the text inside this table as well. How can I do this?
1
vote
0answers
41 views

Pgfplotstable: Filter specific rows when reading from file

So far I have a file from which I read data to the macro \data (in the MWE I replaced the file with an in code table). From this table only 3 rows are selected and printed. What I would like to ...
7
votes
1answer
66 views

Problem while rendering tabu with data from datatool

I have this strange problem while trying to render a table with tabu package from data gathered with datatool package. Here is a working example: \documentclass[a4paper,10pt]{article} ...
1
vote
0answers
10 views

Combine multi-line cell and \url [duplicate]

I have a bigger table in my document, including several urls. I made them active with the \url{...}-command, and now I wanted to make them multi-line-cells by using the \specialcell{..\\..}-command, ...
1
vote
2answers
77 views

How to add 25/50/75/100% filled circles to a table?

Often I see in a paper a table with a column of circles which are filled for 25/50/75/100% to show priority/level of meeting requirements, to mention yes/no/unknown/NA etc? Do such (usage of) ...
32
votes
6answers
4k views

How to produce a list of prime numbers in LaTeX

I would like to write a LaTeX script that produces all the prime numbers between the numbers n and m, where n < m. How can I do this? I feel it shoud not be that hard, but I cannot seem to program ...
3
votes
1answer
49 views

How to create a table with fixed column widths

I've put in the following code: \begin{tabular} {l{4cm} l{5cm}} hello & foo\\ hello & bar\\ \end{tabular} and it gives me an error: ! LaTeX Error: Illegal character in array arg. ...
3
votes
2answers
58 views

How to adjust tabular width to math body as defined by geometry?

How to adjust tabular width to math body as defined by geometry? In the following example the table goes more to the right than the border of body as defined by geometry package. ...
0
votes
1answer
255 views

Table does not display in List of Tables

I'm including a table: \begin{table}[htb!] \centering \csvautotabular{results.csv} \caption{Results} \end{table} And in the top of my document, I have: \listoffigures \listoftables However, all ...
0
votes
1answer
57 views

Space Issue in Resume

I have the address, portfolio website fields to the side of my name in the resume. Although I used the flushleft command for the table with contact information etc, they do not seem to appear beyond ...
1
vote
2answers
85 views

Creating a table with axes

I am trying to make a LaTeX version of the table pictured below. This is mainly complicated by the axes below and to the right. The code given below is how far I've managed to come. First of all I am ...
0
votes
1answer
34 views

Strange problem of text relocating to a new page when I don't want it to [duplicate]

Best way to demonstrate this problem is with a screenshot. I've had to blank out the content for security reasons. As you can see, I have a page with some text which contains 1 complete section and ...
2
votes
2answers
415 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 ...