Tagged Questions

{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

9
votes
2answers
205 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
70 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} ...
3
votes
1answer
404 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
182 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
432 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 ...
6
votes
2answers
3k 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
135 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
73 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
81 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
77 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
44 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
230 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
183 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
98 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
151 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
203 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
27 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
363 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
90 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
83 views

Lyx redefine tabular with tabularx - strange lines [duplicate]

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
82 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
927 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
123 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
107 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
48 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
198 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
183 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
165 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
206 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
56 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
69 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
1answer
208 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
53 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
110 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 ...
6
votes
2answers
119 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
147 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
116 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
147 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
1k 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
106 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
59 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
55 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
85 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
106 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} ...
5
votes
1answer
451 views

Colored diagonal divided table cell

How can I fill a table cell with different colors? I have tried the diagbox package but it doesn't work as you can see. I am not so much interested in the diagonal line. I only want to separate the ...
4
votes
1answer
158 views

Serious problems with tabularx table layout

I have some issues when creating my tables in LaTeX and really hope, that some of you could help me. My table looks like this: Here is my coding: \documentclass[a4paper,12pt,oneside]{article} ...
2
votes
2answers
148 views

Align equations inside tabular

How can I align equations inside tabular? I want to place few lines of equation by side of the picture. But it turns out that I cannot use \& in order to shift equals signs to be one under ...
5
votes
1answer
88 views

Bottom hline in a tabularx wrapper environment

I want to define a wrapper environment for a table where one of the columns stretches to fill the available width. I'm using the tabularx package and its X column for that. As mentioned here and in ...
1
vote
2answers
160 views

In multiple tables, how to align columns again after variable-width columns?

There are multiple (e.g., 2) tables that contain similar information. Between them is one table row of white space. All tables have 3 columns. The first two columns belong together, which is why the ...