{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
8 views

Centering doesn't work for figure with tabularx

I have a figure with 3 images in it, searching TeX I found out that the best way to accomplish that was with a tabularx inside a figure, like this: \begin{figure}[t] \centering ...
3
votes
1answer
47 views

How to fit the content of the cells in this table?

Well, surely this is a duplicate, but I have troubles with the alignment of a huge table. In fact my problem is to determine the width of each column properly, especially when the columns are narrow, ...
2
votes
2answers
30 views

Vertical alignment of text based on image height [duplicate]

Problem: Trying to use tabularx to align text to a number of images. I have opened a similar question regarding tabular but decided to open a new specifically for tabularx since the tabular approach ...
1
vote
0answers
28 views

Long and wide subtables

I'm not a LaTeX expert. I'm using it to write my thesis. Here's my problem. I have a set of tables and subtables, wich are very wide and long, so I'm using \begin{table}[H] ...
0
votes
0answers
22 views

How to use tabularx and siunitx together with siunitx 2.6h / texlive 2015

This is a follow up question of this question: How to use siunitx and tabularx together? Updating to texlive 2015 (with siunitx 2.6h) seems to have broken the accepted answer. So the question is How ...
2
votes
0answers
44 views

Alignment of TikZ Pics in TabularX

What is the easiest way to get that last square aligned the same was as the first two? Do I need to create a \newcolumntype that somehow centers the content both vertically and horizontally? If so, ...
1
vote
1answer
49 views

How can i deal with the justification of my text in tabularx?

How can I center the two last columns of my text in the next table? \documentclass[headsepline=true,paper=letter,headings=big,bibliography=totoc,x11names,DIV=10]{scrbook} \usepackage{typearea} ...
3
votes
1answer
85 views

Determine width of a milticolumn cell

I am attempting to draw a rectangle within a multicolumn, and would like it to span the width of the cell and be consistant with a similar rectangle drawn in a standard cell. I am struggling to ...
1
vote
0answers
30 views

xcolors cellcolor overlays tikz background

I'm using mdframed with the tikz option to define my own environment. Unfortunately, if I'm using a tabularx environment with xcolor's \cellcolor command, it is overlaying the header of my box. ...
1
vote
1answer
14 views

named href in tabularx with very long url

I just started to use TEX for automatic generation of eye catching pdf's. So for the moment this is on a good way. But I'am on a point now I can't resolve with by myself. So I decided to ask for help ...
3
votes
2answers
64 views

Table numbers stay at zero

In my thesis, all the tables using the tabularx package are automatically numbered as zero. So I have for example a chapter 4 that starts with six tables numbered 4.0 ... I thought I had solved it by ...
1
vote
1answer
60 views

Specify table in tabularx environment

I have some really specific requirements for my table's occurrence in my master's thesis (scrbook). I found some help in this forum but there is not "the" solution for me. Below you can see my actual ...
2
votes
1answer
35 views

TabularX Vertical Border Missing

Why is my table missing a little bit of its vertical rule near the top/right (just below where it says "Sets")? Context: I'm making fractions worksheets for students, many of whom will have diverse ...
3
votes
1answer
26 views

Tabularx \parbox horizontal alignment of columns

For my study I need to put some information in a tabular. I'm using tabularx and to determine to width of my columns I use \parbox. That all works very good, but the text on both columns doesn't ...
0
votes
1answer
37 views

Make lines of table same width as text of table with tabularx

This code: \documentclass[a4paper,11pt]{article} \usepackage{array} \usepackage{booktabs} \usepackage{tabularx} \begin{document} \begin{table} \centering \footnotesize ...
0
votes
1answer
37 views

Problems with table - extra column

When I try to make my table - it won't create a fourth column. My preamble look like this: \documentclass[a4paper,11pt,oneside]{article} \usepackage[protrusion=true,expansion=true]{microtype} ...
0
votes
1answer
34 views

Formatting tables so that they fit within page width

I want to get a table that looks like However, when using \begin{tabular}{|p{2cm}|p{3cm}|p{3cm}|p{3cm}|} \hline Time-Scale & Mechanical Machine State Variables & Electrical Machine State ...
2
votes
2answers
39 views

Formatting table lines in landscape using tabularx: they stop halfway through

The lines in the table somehow stop halfway through the table. Any advice would be much appreciated! \documentclass[11pt,a4paper]{book} \usepackage{booktabs} \usepackage{tabularx} ...
2
votes
1answer
44 views

Various table formatting problems

I've been trying to format a table for my thesis for two days and it just doesn't work. I've already searched everywhere for answers but couldn't find them and/or understand them. Here's what I want ...
2
votes
1answer
41 views

I can't display complete a table made with ltablex

As you have seen in my last questions recently asked here, I'm working with tables. Usually with tabularx is enough for me to satisfy the needs that I have with my tables. But one of them, even when ...
2
votes
1answer
46 views

How to align text vertically and horizontally in table cells of the same column?

I want to top align and right justify the text in all tabularx cells of a certain column. So far, I tried: \documentclass[a4paper,10pt]{article} ...
4
votes
1answer
70 views

why tcolorbox example on pp. 345 doesn't work

I wish to improve my (very basic) knowledge about tcolorbox .. so I try to compile example in pp. 345 (chapter 18: Library "hooks"). Compiling it I receive warning: ...
4
votes
1answer
95 views

Why Won't m{} Vertically Center My Contents?

I am trying to center ALL the contents of ALL the cells in the table below. It's working horizontally, but not vertically. I definitely don't know how to best vertically center the last column, ...
3
votes
2answers
62 views

Display equations in tabularx

Why the first MWE works and second not? First MWE: \documentclass[12pt,border=3mm,preview]{standalone} \usepackage{mathtools} \usepackage{tabularx,graphicx} ...
1
vote
0answers
39 views

Booktabs table with rotated and aligned header, multirows, and tabularx columns

I have a problem with the alignment in a bit complicated table setting (see MWE). I have a table normally stretching the complete width of the paper (for illustrating here the nr of columns is reduced ...
1
vote
1answer
48 views

How to get alignment finally “right” with tabularx and an image?

Two things I'm struggling with in the following MWE: "looooooooooonger text" doesn't fit: don't want the middle and right column to be equally spaced: the maple may move over a little to the right ...
3
votes
1answer
39 views

tabularx preamble tweaks // column widths

am using this: %%% http://tex.stackexchange.com/a/97188/27721 \usepackage{array} \newcolumntype{Z}{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}X} and would like to use (that is, ...
4
votes
3answers
147 views

How to type short division?

I am typing elementary arithmetics, is there any one knows how to type this ? I know perhaps there's a package "polynom" could solve this problem, but is there any method that could work without ...
0
votes
1answer
24 views

Split table in 2 or more pages using table* and tabularx

I need to put this large table distributed in more than one page. As she has a lot columns also, I could only do fit all columns on the page using tabularx and resizebox. A part of the table is as ...
4
votes
1answer
88 views

Macro for creating a table

I want to have a macro that creates tables of a specific type which specialize in multiple choices questions. The required command \createtable{#1}{#2}{#3} has three arguments: The total number of ...
3
votes
2answers
45 views

How can I break lines automatically in tabular in IEEEtran?

I use tabularx to break lines automatically in tabular. Here is my code. \begin{table}[h] \caption{A table} \begin{tabularx}{\textwidth}{|l|X|} \hline \multicolumn{1}{|c|}{\textbf{Term}} & ...
1
vote
0answers
51 views

How can I break lines automatically in tabular to fit to page width? [closed]

I expect to break a long text automatically in tabular. After searching this site, there are several ways: (i). Use p{dimension} in tabular, answered here \begin{table}[h] \begin{tabular}{|l|l|} ...
0
votes
0answers
26 views

Title page with title in a fixed vertical position

I'm making a custom (kind of) title page. Vertically, it contains a tabularx with a set of logos, then comes the title, the author, ... I want to remove the tabularx but keep everything else in the ...
1
vote
1answer
66 views

How to fit a Tikz picture into a tabularx cell?

I am trying to put a Tikz picture into a cell of a tabularx. The problem is that it doesn't fit in my cell. Here is the code : \documentclass[10pt,a4paper]{article} \usepackage[utf8x]{inputenc} ...
1
vote
1answer
44 views

Text alignment in tabularx header only works for the first column

\begin{tabularx}{.96\textwidth}{@{\extracolsep{\fill}}|c|c|c| } \hline \textbf{Xxx1} & \textbf{Xxx2} & \textbf{Xxx3} \\ \hline & & \\ \hline \end{tabularx} Why ...
2
votes
1answer
52 views

Mixing m and X in tabularx

I have a problem with tables containing m and X columns. I need one column which should be vertically centered and another one which should fill the available horizontal space. My problem is that the ...
2
votes
1answer
43 views

Forcing minimum height for tabularx row

I have a tabularx table using multirow and with all columns vertically centered. Here's the table: \usepackage{multirow,tabularx} \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} ...
2
votes
2answers
43 views

fitting text into the tabular and tabular into the page

I've created the following table with help of @Zarko. Now I have some questions about layout. Code: \documentclass[11pt,a4paper]{article} \usepackage[english]{babel} \usepackage[T1]{fontenc} ...
4
votes
3answers
70 views

How is it changing macro in my MWE?

MWE \documentclass[a5paper,12pt]{article} \usepackage{graphicx} \begin{document} \begin{table}[h] \begin{tabular}{|c|c|} \rotatebox[origin=c]{90}{{OZGUR}} & \includegraphics[scale=.25]{o.jpg} ...
0
votes
1answer
47 views

Color midrule in tabularx [duplicate]

I have created a table using tabularx. Can I color the \midrule instead of having it colored black as default?
0
votes
1answer
51 views

Print list in columns

I have a long list. I want to reduce the length this list uses. Can I somehow encapsulate all the entries in an environment which prints all the entries in a "3-column table", making me use more of ...
0
votes
0answers
34 views

landscape multipage table issue with following page

I have a large table which I want to present in landscape with a caption. Everything is working so far, except that I am having a blank page in front of my table. I found out that I should use the ...
0
votes
1answer
25 views

Table columns out of sync in tabularx

I asked a very similar question yesterday that I thought I would be able to abstract into this problem but I can't. Here's an image of the table : Here's the code : \documentclass{article} ...
1
vote
1answer
51 views

Formatting a table to take a paragraph nicely

I am formatting something at the moment and there's a table which is pretty strained. There's a lot of information in it and I think that it would look better in a similar format to the modern CV ...
2
votes
1answer
35 views

Space to the right of the table

Not really sure why there is a space at the right hand side of the following table. Also the numbers inside the table should be shifted a bit to the left. \documentclass[12pt,a4paper]{article} ...
2
votes
3answers
69 views

How to fit a table with long header cells in “S”-type columns?

Well fit tables in LaTeX is hard for me, and I don't know if there is a manual with good practices about it. I need to create a table with S columns contending numbers, but the header of those columns ...
0
votes
1answer
29 views

Wrap long sentences in a table (Table looks awkward): Any help please

\documentclass{arttcle} \begin{document} \usepackage{amsmath} \usepackage{tabularx} \begin{table}[H] \captionsetup{font={footnotesize}} \caption{Reviews} \label{table1} \scriptsize \centering ...
1
vote
1answer
59 views

Putting a \newcommand in a tabularx

I have two command I have created with \newcommand, both work find. One is \mydate{date_variable} the other is \PrintOne{Variable1}{Variable2}. My problem is I can not figure out how I can put them ...
2
votes
1answer
26 views

tabularx right bar half of left bar

So I'm trying to add a table to the header of my document. Basically I'm trying to match the style created in MS Word originally. \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand\headrule{} ...
0
votes
1answer
45 views

Border of table does not fit together

In my latex file I want to create a table. My current code looks like the following: \begin{table}[htbp] \centering \begin{tabularx}{\linewidth}{|l|X|} \hline \multicolumn{1}{c}{{\bf \ul Type of ...