{tabularx} is a package that defines an environment tabularx, an extension of tabular which has an additional column designator, X, which creates a paragraph-like column whose width automatically expands so that the declared width of the environment is filled.

learn more… | top users | synonyms

1
vote
1answer
23 views

Using tabularx and xcolor

Is tabularx compatible with xcolor? I did the following: \documentclass{memoir} \usepackage[svgnames,hyperref,]{xcolor} % colors for hyperref \begin{document} \begin{tabularx}{1.00\linewidth}{X} ...
8
votes
4answers
187 views

How to merge two tabulars into a single table the width of the column?

I am asking for advice on achieving two separate effects in the table environment. (1) I have two tables with a different number of columns. I need to merge them into a single table. I have this ...
10
votes
3answers
267 views

How to create vertical and horizontal dotted lines in a matrix?

Similar to this question, I am trying to output a similar matrix with dotted line instead of dashed line. Is there anyway to do this? I also try to use these three packages: ...
9
votes
2answers
95 views

easylist in tabular

I'd like to build this table: As I have a very long list to itemize, I'd like to use easylist. Obviously the easylist-group causes problems in the tabularx-environment. That's what I coded so far: ...
5
votes
2answers
92 views

How to put numbers in parenthesis in the S column using siunitx package

In the following minimal code, when I replace the l columns by S I get an error message saying invalid-number!! Invalid numerical input '(4.36)'.!! See the siunitx documentation for further ...
2
votes
1answer
46 views

Table exceeds page width (tabularx and tabulary)

I'm trying to fit this table to the page width but I can't. I tried the tabularx environment and the contents got mixed. I tried also the tabulary environment: it's better, the contents are not mixed ...
0
votes
1answer
25 views

table - text centering

I made a table in my thesis with this code: \begin{table}[htbp] \centering \caption{Add caption} \begin{tabularx}{\hsize}{cc} \toprule & Folhosas \\ \midrule Celulose ...
4
votes
2answers
51 views

Anchoring Table (Tabularx) from the Bottom of Table

Can you anchor a table at the bottom, inline with text? I have another question posted which I seemed to have solved myself - List Numbering Through Multiple Tables - but I have since found my way ...
3
votes
1answer
68 views

List Numbering Through Multiple Tables

I am seeking to create a math workbook that looks similar to the picture below. I have included a selection of code I am attempting to get working - marked as MWE. My issue is that I want to continue ...
2
votes
0answers
38 views

breaking a tabular and aligning tabulars throughout the document

I have two questions. How do you break a tabular so that some of it lies on the previous page while the rest is on the next page. See sample tex file provided below. How do you align the tabular ...
9
votes
2answers
144 views

Framing cells vertically in a table

I want to add a box in a tabularx table that would frame several cells vertically. There is this post that shows how to frame cells horizontally (Framing cells in a table), but I cannot figure out how ...
1
vote
1answer
49 views

code-like strings with background color, and using tabular environment

I am going to create the following code-like strings with latex, with same background (gray), font, etc. How can I do this? I used listings package but inside \begin{lstlisting}...\end{lstlisting} ...
1
vote
0answers
112 views

Annotating Tables With Tikz; Adding Arrows

I'd like to be able to draw an arrow with some text on top connecting two arbitrary (i.e. possibly non-right-/left-most, possibly nonadjacent) cells of a table with a left-looking arrow. In ...
3
votes
1answer
93 views

Annotating tables

I'm trying to annotate a table by highlighting and annotating the final column, yet once I use the\tabnode together with coloring I get misalignment. Either the content of the cell marked with ...
10
votes
3answers
197 views

Move tabular entry to bottom of row

How do I get the last column text to be at the bottom of the row? That is I want the XXX to be aligned with the line containing the arrow. I tried playing around with \multirow{3}{-3ex}{XXX}, but ...
4
votes
2answers
101 views

Automatic line-break in tabular

Sorry if I've missed the answer in another post, but I've literally spent 3+ hours googling this problem now. I'm making a tabular and I'd like to to automatically do a like break rather than going ...
1
vote
2answers
41 views

Centering in tabularx columns

I am trying to do centering and text sizing in tabularx environment using the following definitions: \newcolumntype{b}{>{\centering}X} \newcolumntype{s}{>{\hsize=.25\hsize}X} However, when I ...
5
votes
2answers
56 views

How to make table's height smaller?

I have a document with 3 tables on it. The tables look really nice, but I have one problem: they are too tall and so they overlap the footnote! I have tried reducing the size of the letters inside ...
4
votes
1answer
67 views

How to make 2 tables appear one next to another?

I have a document with three tables. These three tables currently are too long for the page, so I would like to make 2 tables appear next to each other and then make the third table appear below them. ...
3
votes
2answers
48 views

How to fix to force text to split in table?

I have a simple table in LibreOffice calc and I tried to convert it to latex using the Calc2Latex macro. Then using Latex I tried to improve it. However I cannot get the text correctly ! This is ...
1
vote
0answers
31 views

How can I align, break and fill tabular entries properly for my Curriculum Vitae?

I am trying to make a nice Curriculum Vitae in LaTeX but am having some difficulties with aligning, breaking and filling the tabular entries. A Curriculum Vitae has to be short and clear. I thus need ...
5
votes
3answers
123 views

How to make a table on more then one page by using the table environment

EDIT [Like some comments below are remarking the table environment doesn't allow tables over more then on page. However the solution works fine] I need to make a table over more then one pages. The ...
3
votes
2answers
62 views

How to have columns of different sizes using tabularx and make table respect page height?

I am using Kile and I am trying to learn how to use tabularx to have tables that fit within the width of my pages. However, I have two big problems: I have to use X for column size and therefore ...
1
vote
1answer
29 views

Avoid a weird error with ltablex

I'd like to have an table over many pages with the same headline. I use the tabularx package, and the ltablex is required according to link. However if I use ltablex I get sticky errors ! LaTeX Error: ...
2
votes
1answer
41 views

Force Kile to create tables that are inside the page width

I am using the Tabular Wizard on Kile to create a \tabularx environment for one of my tables, and I want it to fit inside a page. Currently this is my setup: {% ...
5
votes
3answers
132 views

Creating a special table with different row lengths in latex

How can I have a table like the following picture in latex?
2
votes
1answer
18 views

\the\thislevelcount is available inside a ForEachX loop, but \thislevelitem is not (the forarray package)

I'm trying to loop though a comma delimited list and print out the elements in a table. Here is the code that works half-way for doing this: \documentclass[10pt,a4paper]{article} % ...
7
votes
3answers
179 views

How do I use the ampersand (&) inside a foreach or conditional (or other group/environment) when building tables?

I am trying to build a table, and inside the tabularx environment I would like to have a loop, something like (here is a MWE): \documentclass[10pt,a4paper]{article} \usepackage{tabularx} ...
3
votes
1answer
52 views

caption of the wide table not wide

I am using this code to produce a wide table, but the caption in top is still in two column format.I used \caption package but it affects all of my figures captions and never solve the problem. ...
1
vote
0answers
39 views

Set Table width and separate some rows [duplicate]

I'm trying to make the table take the line width of the paper but I don't know how to do this. I want it to look like this: However, it's appearing like this: This is the script I used: ...
1
vote
0answers
39 views

Lyx redefine tabular with tabularx - strange lines

I tried to redefine the tabular that is used as default for tables in Lyx. The reason is, I want to have an option for 'auto line break in cells'. That you can do with tabularx with the argument 'X'. ...
1
vote
1answer
76 views

Trouble creating basic tables

I am currently writing my dissertation in LaTeX, ran into a brick wall creating a simple table. I want it to look similar to this (Quick mockup done in Numbers) The main issues I'm facing resolve ...
5
votes
3answers
227 views

Table with arrows between cells

I want to create a table with arrows between some cells, for which I've used tabularx and TkiZ. I have the following problems: Text in cells aligned vertically to the center and at the same heigh ...
3
votes
1answer
40 views

Missing number, treated as zero in tabularx

I'm using a program to generate LaTeX code utilize the tabular package. It creates an error that reads ! Missing number, treated as zero. <to be read again> ## l.17 ...
1
vote
0answers
58 views

Tabularx inside of Table becomes wider than the textwidth

I have many tabularx enviornments and have been using \linewidth to keep the table width flush with the text width. I now have a need to insert these tabularx segments inside of a float table ...
1
vote
1answer
37 views

Fitting column headers on one row

I have the following table: \documentclass[12pt,notitlepage]{article} \usepackage{setspace} \usepackage{ifthen} \usepackage{booktabs} \usepackage{array} \usepackage{multirow} \usepackage{tabularx} ...
5
votes
2answers
98 views

Wrong width in multicolumn tabularx cells

I'm trying to create a table with fixed column widths. As most rows have a different number of cells (with LCM 12) I defined a 12 column wide table, where I add multicolumns of the wanted size. The ...
4
votes
1answer
136 views

How can I horizontally align checkmarks in a table column?

In my table I use different combinations of a checkmark standing alone, in parentheses, or with an asterisk. I would like to have a centered column in which the checkmarks align. By using the package ...
3
votes
2answers
100 views

Table of 2x2 tikzpictures defined by my own macro

As a follow-up question from this post I am trying to find out how to arrange multiple tikspictures in a table, where my diagrams are defined by my own macros. Problem: Showing the diagrams ...
4
votes
1answer
80 views

Add keys to table (with picture and code) [duplicate]

As you see in the red part of the picture, I would like to add keys to explain what the brackets stand for. I just added this with paint, but is there a way to do this in tex? Also, are there nicer ...
4
votes
1answer
45 views

tabularx - How to linebreak in the tabularx environment?

How can I add a linebreak between two tabularx environments in a single section ? \documentclass[a4paper, 14pt, oneside]{article} \usepackage{tabularx} % Nicer table style than the default ...
3
votes
1answer
43 views

Alignment of a tabular with respect to text outside of the tabular

In the picture I am wondering if it is possible to align the first row of the table with the word "Ciphertext" instead of having the table vertically centered? ...
2
votes
0answers
119 views

\midrule ->\noalign Known Error but can't resolve it for my tables

I have two tables in the below program. First tables generates error of \midrule -> \noalign etc etc, but second table doesn't. I wonder why, I want the output of first table as like second table. ...
4
votes
1answer
38 views

Multicolumn is only using the width of the first column

I am using the multicolumn command to cover four columns in my table, but for some reason the text within the column is wrapping within a single column width leaving the remainder of the column empty. ...
3
votes
2answers
94 views

tabularx doesn't break rows correctly

I've got some problems with tabularx. I need a table with 4 columns and the last one should contain a lot of text so I need it to break rows automaticly. And from my reasearch I thought that it should ...
5
votes
2answers
89 views

What is the correct way to calculate \multicolumn size when using tabularx?

What is the correct way to determine the correct size for use with p{} needed by \multicolumn to get the size correct? The problem is this: I want to use tabularx and also use \multicolumn. To do ...
2
votes
2answers
91 views

How to make width of an inner table use full column width of an outer table?

When making tabularx one need to give a table width. For the outermost table, one can use \textwidth. When making one or more inner table(s) inside outer table(s), the inner table(s) also need a ...
5
votes
1answer
60 views

How to put tabularx inside tabularx

I am trying to make a complicated table, where each cell itself can be a table. I found I can include tabularx inside tabular*, but unable to figure out why I get an error with the outer table is ...
4
votes
1answer
106 views

How to use table in multicols env. with paragraphs p{} and \multicolumn as well?

updated question I am going to start all over. Will make the question very simple and direct. Will leave the original question below. I simply want to see an example of using \multicolumn in a table ...
2
votes
2answers
344 views

Big Table in latex

Could you please helping me to draw a nice big tables like this one , I don't know how to mange the big table in LateX Many thanks