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

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} ...
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 ...
14
votes
5answers
492 views

How to put a background letter in a table?

I have a table with some numbers in it, such as \documentclass{article} \begin{document} \begin{tabular}{llll} 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ 1 & 2 & 3 & 4 \\ ...
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.
2
votes
2answers
49 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 ...
-4
votes
0answers
74 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
30 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{} ...
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 ...
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 ...
1
vote
1answer
50 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 ...
0
votes
0answers
57 views
+50

Tablespecification and complex column

Based on 2 former questions I have found another problem, I am not aware about that this could be a problem. Question 1: Conditional complex column type Question 2: Generic table definitions But I ...
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 ...
1
vote
1answer
53 views

Bold row in table with first column in math mode

In my LaTeX document I have quite a few large tables where I would like to set the first row in bold font as well as the first column. This works nicely with some well-known tricks. However, when my ...
1
vote
1answer
34 views

How to left-align captions when table is centred?

I found here on stack exchange some ideas how to do this. However, there is something wrong with my approach. I did the following: \usepackage{caption} ...
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
60 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 ...
0
votes
0answers
16 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?
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} ...
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 ...
1
vote
1answer
40 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
23 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
38 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 ...
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 ...
2
votes
1answer
33 views

Conditional complex column type

\documentclass{article} \usepackage{array} \usepackage{ragged2e} % \newcolumntype{M}[1]{>{\hspace{0pt}\raggedright\arraybackslash}m{#1}} % ...
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 ...
3
votes
2answers
58 views

Width of column after multicolumn header

When multicolumn headers in tables use more horizontal space than the columns they are 'heading', then the additional width is entirely allocated to the rightmost column. The following MWE: ...
1
vote
1answer
25 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 ...
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 ...
2
votes
1answer
35 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 ...
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 ...
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) ...
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. ...
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 ...
2
votes
1answer
44 views

LyX - Highlight a result in table without using ERT

I created a table in Lyx and I would like to put a square around a column to highlight the results without using the ERT command. Is that possible? I found that \colortbl and \mystrut can be useful ...
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 ...
1
vote
1answer
43 views

Sub-figures of different sizes grid layout

I have two subfigures that I want to align as such: But what I got is this with the codes below: \documentclass{book} \usepackage{subcaption} \usepackage{pdfpages} \begin{document} ...
3
votes
1answer
41 views

Colored tabulated data

I was attempting to get this color effects in my tabulated data: Here is the code that I have so far: \documentclass{article} \usepackage[table]{xcolor} \setlength{\arrayrulewidth}{1mm} ...
2
votes
0answers
41 views

Table on top or bottom [closed]

I am currently discussing with a colleague whether to put a table on top or bottom in proper documents (e.g., research paper). I once learnt to put figures on top and tables on bottom. I actually ...
2
votes
2answers
37 views

Insert tabular with caption inside itemize environment

I am trying to insert a table with a caption inside an itemize environment. However I can't find a way to align the caption nor the table itself to the border of the outer environment. I already ...
1
vote
2answers
36 views

Align centered wiith dcolumn when \multicolumn used

When \multicolumn is used in dcolumn, then there is misalignment in text and the heading. See the figure for more details. \documentclass[12pt,oneside]{report} \usepackage{amsmath} ...
0
votes
0answers
17 views

Copy row titles in first column

I would like to load the following CSV file (I chose random values, I am interested): colname1,colname2 X,3 71,X and let latex generate a table that prepends an additionnal column with the cells ...
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 ...
0
votes
0answers
34 views

How to fix a table (not table*) using space on two columns?

I have a very small table that should fit just right on one column, in the middle of the text, just like I would expect a float to behave. However, regardless of where it ends positioned on the page ...
2
votes
1answer
22 views

Append columns in table from two input files

Suppose I have 2 files, in1.tex and in2.tex. In file in1.tex, the data is 1a & 1b \\ 1c & 1d and in in2.tex, the data is in a similar format: 2a & 2b \\ 2c & 2d In my scenario, ...
3
votes
1answer
67 views

How to draw several tikz figures in a table?

I want to create a table containing many tikz figure. Here is the minimal working example. EDIT: Somehow I managed it and drawn it. But it is not looking too good. I also need captions for each ...
3
votes
1answer
49 views

xcolor gives me 101 errors

I wanted to use the xcolor package to get the possibility of creating different shades of certain colors, in this case black!90. After including xcolor in my document I suddenly get 101 errors. I have ...
3
votes
0answers
28 views

Tabu table with different row-spacing between one-line and multi-line rows [duplicate]

during my work with Latex I encountered a problem with my tables. As you can see in the following MWE, theses tables sometimes have rows witch contain cells with multiple lines. Those rows have less ...
2
votes
0answers
42 views

Tabular into a .png when compile TeX document? [duplicate]

Do some of you know, whether it is possible or not to make a tabular into a .png when compile into a pdf TeX document? Best,