{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

0
votes
1answer
23 views

List of Tables starts with number 2 [on hold]

The List of Tables is coded like this: % Tabellenverzeichnis einfügen \addcontentsline{toc}{section}{Tabellenverzeichnis} \listoftables \clearpage and produces: The index starts with number "2" ...
0
votes
0answers
20 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
60 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
33 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
39 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
35 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
39 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
63 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
28 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
40 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
26 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
16 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
36 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
33 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
64 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
23 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
55 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
22 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
41 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 ...
0
votes
2answers
40 views

How to create a table with table of contents like attributes?

Is there a simple way to create a table of contents like table? In detail i want the same layout like the toc, the same width and especially the filling of the white space with dots, but with a ...
3
votes
1answer
35 views

Unexpected vertical gap in a table cell

while I'm trying to make a table, I found an unexpected gap in the leftmost cell in a table. Here is my code. \documentclass{article} \usepackage[a4paper,margin=1in]{geometry} \usepackage{tabularx} ...
2
votes
0answers
20 views

Using \CorrectChoice (exam package) inside tabularx Environment

For modelling a list of questions with yes/no answers I wanted to define an environment where I can setup a question with a command: \clO for an option that's not applicable and \clX for those that ...
1
vote
1answer
33 views

Table exceeds page width

I'm new to Latex and, in order to make a table, I'm using the CTAN Excel to Latex package. The generated code is as follows: \begin{table}[htbp] \centering \caption{Add caption} ...
2
votes
1answer
56 views

Strategy for listings next to code comments

I'm looking for strategies to produce listings of code with comments on what's happening next to it. I've found other similar questions, but not quite what I'm looking for. See for example: Listing ...
4
votes
1answer
42 views

Tabular size \textwidth and exacly columns dimensions in cm?

I need make table which have /textwidth width and its columns have exactly dimensions in centimeters. Specifically - table width: 24cm and columns (in cm): 4,2 ; 7,6 ; 6,4 ; 3,5 ; 2,3 My document ...
0
votes
2answers
41 views

Vertically centered text in tabularx (again)?

I have seen Table with 100 % width and vertical / horizontal alignment, Vertically center text in tabularx table, Vertical alignment in tabularx X column type - and I'm trying what they suggest, but ...
2
votes
0answers
28 views

Vertical table line is missing (tabularx and multirow)

Can anyone tell me, why my table is missing the vertical line on the right? It has something to do with that \multirow, but i can't find it. \documentclass[11pt, twocolumn, a4paper]{article} ...
2
votes
1answer
32 views

Troubles for fit this floating table to the page

Sorry for the question but I have the following MWE: \documentclass[fontsize=10pt,paper=letter,headings=big,bibliography=totoc,DIV=9,headsepline=true,]{scrbook} ...
3
votes
2answers
53 views

Tabular and equation in a text line

I want to do something like this: in a line with text, not center. Also I can control the left brace but it doesn't seems good. My MWE is: \documentclass{article} \usepackage{amsmath,cancel} ...
0
votes
0answers
21 views

Minted and Tabularx

I've seen lots of questions on using minted with tabular. I'm getting this problem when using minted with tabularx. Code: \begin{tabularx}{|l|X}|} A & B\\ testing & \begin{minted}{c} int ...
2
votes
1answer
29 views

Cannot use multirow with multicol together

I can't use multi-row with multi column, my aim in the following code is to have a two height row with the content A long header vertically centered in two rows, what am I missing here? ...
1
vote
1answer
29 views

Using \\ in environments inside the \begin{tabularx}

I have the following code: \begin{table}[h] \begin{tabularx}{0.75\textwidth}{ m{4cm} X } & \textbf{Derivations} \\ $v=v_0+at$ & line 1\hrule \\ ...
1
vote
3answers
41 views

Vertically aligning content in table cell

I have the following code: \begin{table}[h] \begin{tabularx}{\textwidth}{ m{4cm} X } & Derivations \\ $v=v_0+at$ & test \newline test \newline ...
5
votes
3answers
75 views

Fitting column width to text

I have the following table: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{booktabs,array, caption,fixltx2e} \usepackage[flushleft]{threeparttable} ...
0
votes
1answer
72 views

MinionPro: Tabular Figures in Tables and Proportional Figures in text

I am using TexMaker and MinionPro and I would like to keep proportional both in figures and in the rest of the document. For figures, I use this configuration: \documentclass[english]{article} ...
5
votes
3answers
70 views

Own counter starts at 3 in tabularx environment

the following example shows that the self defined counter in the tabularx environment does not start with "1". Can't figure out how to define the command to always start with "1". Ideas? ...
3
votes
2answers
81 views

Table issues — off page, \newline not working

I'm new to LaTeX and am having problems with this compiling in LaTeX the above, desired table. Here is the code I'm working with: \documentclass{article} \usepackage{amsmath} \title{Latex File} ...
3
votes
1answer
151 views

What options are there to globally format tables also allowing local overrides?

Tables are the final frontier of my documents. So far I have managed to standardized over 20 documents (hundreds of pages) using a single, shared preamble. Issue Abstracting format from content in ...
1
vote
1answer
34 views

Increasing table width and centering word within column using longtable package

Problems: Increasing table width to 100% Centering table header word (i.e. criteria) Repeating table captions on every page Questions: How do I increase table width to 100%? How do I center the ...
1
vote
0answers
60 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
2
votes
2answers
87 views

Draw vertical line on top of horizontal table lines

I'm using two \hline for horizontal line and \begin{tabular}{c | c c c c c} option for vertical line. This is some part of my table: I want vertical line on top of double horizontal lines. How can ...
0
votes
1answer
33 views

How to break the column in a table

You see in row 1. I want to break the row after the last column 1 just like the 2nd row. How can I do that ?
4
votes
3answers
61 views

Vertical alignment of a tabularx cell

I have a tabularx table with: a variable width column X on the left a cell with a nested tabular table on the right Like so: \begin{tabularx}{\textwidth}{ | X | c | } \lipsum[1-1] & ...
1
vote
0answers
32 views

Fixed column width with tabularx and exclude Total column

I would like to fix column width for the first column because there are other tables with different width due to different length of categories. How can that be done? Also, is there a way to exclude ...
2
votes
1answer
74 views

Tabularx ou Tabulary environement populated by csvsimple information

I am currently using csvsimple to import table data. Some of the cells information is too long and I would like to dynamically manage the column width. I have been trying to add the tabularx or ...
1
vote
3answers
73 views

How can I improve the style of this table in latex?

I would like to center all the elements of the table and improve the style of this one. \begin{table}[h] \begin{tabular}{|l|r|l|l|} \hline \multicolumn{1}{|c|}{text} & ...
4
votes
3answers
52 views

Multicolumn within tabularx: how to get p{'lengths'} right

I am trying to have the lipsum text fill the two cells to the right of the vertical ruler, without exceeding the table. My code is now: \documentclass[a4paper,11pt]{article} \usepackage{lipsum} ...
3
votes
2answers
127 views

Insert text in-between rows in a table

I'm trying to achieve the following effect: +------------+---------+ | Col1 Col2 | | +------------+---------+ | Value 1 | Value 2 | | Value 3 | Value 4 | Text goes here... | Value 5 ...
1
vote
2answers
64 views

Create a table with specified column widths and centre spacing in tabularx

I would like to create a table where I can adjust the overall width of the table, hence the tabularx environment. However I am having difficulty in configuring my tables such that I can control: The ...
3
votes
1answer
26 views

when using tabularx and X, how to make the text vertically centered? [duplicate]

\documentclass[a4paper]{article} \usepackage[landscape,hmargin=2cm,top=1.5cm,bottom=1.6cm,headsep=1mm,headheight=3cm] {geometry} \usepackage{multirow} \usepackage{tabularx} \usepackage{microtype} ...