{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

2
votes
1answer
107 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
32 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
69 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
81 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
47 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
169 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
67 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} ...
2
votes
1answer
240 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
135 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
289 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
231 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
77 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
65 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
75 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
61 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
38 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
145 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
122 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
64 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
86 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
168 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
24 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} % ...
11
votes
3answers
264 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
65 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
42 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
76 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
80 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
507 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
61 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
86 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
42 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
138 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
160 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
129 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
128 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
48 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
55 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
140 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
43 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
103 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
102 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
114 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
87 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
123 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
697 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
2
votes
1answer
100 views

LaTeX and Table formatting

\documentclass{article} \usepackage[english]{babel} \begin{document} Without specifying width for last column: \begin{center} \begin{tabular}{| l | l | l | l |} \hline Day & Min Temp ...
4
votes
1answer
47 views

Problem with column widths

I'm trying to create a table that has 2 rows: 25% and 75% of the \textwidth I also want the left column to be bold and right aligned by default. The second column is also right aligned. Now I want ...
1
vote
2answers
52 views

How to fix longtable in right margin

Hello I tried some solutions proposed in other similar questions but I didn't get any solution, my problem is that the longtable don't fix as I want. \documentclass[12pt]{article} ...
3
votes
1answer
73 views

Long landscaped table

I've created a table with http://www.tablesgenerator.com/ and wrapped it with \afterpage{ \begin{landscape} \begin{longtabu}{X} to rotate the table and fit it to as many pages it needs. My code ...
2
votes
1answer
88 views

How can fit a large table vertical with a picture?

I use column package to split sile to 2 column. one for picture and one for table. But my table was broken. Please help me fix it. Here is my code: \RequirePackage[demo]{graphicx} ...