{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
0answers
81 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
0answers
92 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
0answers
52 views

Labels in table rows [closed]

I want to use labels for single table rows: \begin{table}[h] \begingroup \fontsize{8pt}{9pt} \selectfont %\begin{adjustwidth}{}{-2cm} \begin{tabularx}{\textwidth}{ | s | m | b | s | s | } ...
1
vote
0answers
25 views

Different outputs with/ without \newenvironment [duplicate]

I'm trying to setup my own CV without Curve. To do so, I intend to separate sections the same way with a \newenvironment. %[...] \newlength{\margin} \setlength{\margin}{.3\textwidth} ...
1
vote
0answers
99 views

Removing overfull and underfull box warnings [closed]

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here I have two ...
0
votes
2answers
681 views

How to create a new command with variable numbers of arguments

I am creating one command to define a functional requirement and many non functional requeriment in a table. I wrote the following code: \newcounter{Number} ...
0
votes
1answer
2k views

Increase row height of tabularx [duplicate]

I'm using the tabularx package from within memoir for creating a table. I'm trying to set the row height and found for tabular the command \setlength{\extrarowheight}{40pt} However, with my ...
0
votes
1answer
1k views

tabular tabularx automatic linebreak (p/m/b doesn't work as expected)

The following snipped should break at the end of the column \begin{table}[hb] \begin{tabular}{|l|p{.5\textwidth}|} \hline \bfseries Col 1 & \bfseries Col 2\\\hline \hline Line ...
0
votes
1answer
586 views

Soft midrule in table

3 small questions: 1) I'd like to put a soft \midrule in this table between Care type and the headers, but I'd like it to not quite reach the edge of the table: (at your discretion to mess with the ...
0
votes
1answer
77 views

Text misalign when using resizebox

I have the following code: \documentclass[a4paper,landscape,12pt,oneside]{scrbook} \usepackage[english]{babel} % Quotes won't work without babel \usepackage[utf8]{inputenc} % This is very ...
0
votes
1answer
326 views

How can I get TikZ to work within a \tabularx environment?

I'm putting together a poster for a conference using beamer. In one column, the poster has some text next to which I want to put a neuron diagram-style figure next to some text. Pictures embed in this ...
0
votes
1answer
1k views

Aligning columns in tabularx with multicolumn

I'm trying to set up a table to use in my CV, where by I list my qualifications and the date achieved (two separate columns), and under it the list of grades achieved. I want two separate sets of ...
0
votes
1answer
55 views

Creating special table [duplicate]

How can I create a table such as following: I do not know how can I have A and B in the middle of four rows ?
0
votes
1answer
35 views

Tabular table wordbreak

I've got the following table (generated by pandoc html => tex): \begin{longtable}[c]{@{}lll@{}} \toprule\addlinespace \begin{minipage}[b]{0.23\columnwidth}\raggedright Naam \end{minipage} & ...
0
votes
1answer
52 views

How to make multi-page table with text wrap and auto-width? [duplicate]

So, as far as I understand, I can use the tabularx package to make auto-width tables with text wrap. Also, there is supertabular which allows me to make tables span across pages. How do I make a ...
0
votes
1answer
65 views

Tabularx, Caption and Footnotes

I need to have some tables with the following requirements: The need to be of width \textwidth; The caption has to be on top of the table even at automatic page breaks; The tables should not float; ...
0
votes
1answer
48 views

merging cells with tabularx

I'am writing my thesis. I want to create a table. I'm using the tabularx environment My code: \begin{table}[htbp] \centering \caption{Add caption} ...
0
votes
1answer
33 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 ...
0
votes
1answer
80 views

Creating custom tabularx

I am trying to create a new environment in order to change the layout for tabularx, since the original is not looking like it should. I want the picture to be on the right side wrapped by the text. My ...
0
votes
1answer
465 views

Tabular output from Excel2latex going off the page

I've used excel2Latex to convert a table into tabular format. The code generated is this % Table generated by Excel2LaTeX from sheet 'Sheet1' \begin{table}[htbp] \centering \caption{Add caption} ...
0
votes
1answer
56 views

Alignment of multi-columns and line breaks within cells

I am failing to set up a complex APA table once again. Actually, I need a table like shown below: My current MWE: \documentclass[12pt,ngerman]{article} \usepackage[utf8]{inputenc} ...
0
votes
1answer
74 views

Centering texts in tabularx

It is my first question on this site. I am not sure my LaTeX code will be well written here. Here is my table code. The problem is that the text in the first four columns are not centered in respect ...
0
votes
0answers
23 views

Text color changes height of tabular row [duplicate]

Why is it so? My MWE: \documentclass{article} \usepackage{tabularx} \usepackage[table]{xcolor} \begin{document} \begin{table}[H] \caption{Title.}\label{title} ...
0
votes
0answers
22 views

Tabularx textwidth tables jump to last page [duplicate]

I am using tabularx to get a table that automatically stretches to the full width of the paper. However, my tables seem to be put at the last page when I apply this code (see below). How can I avoid ...
0
votes
1answer
215 views

Automatic table width doesn't work anymore

I got an odd problem since yesterday. I'm writing my thesis with Lyx. I'm using a template based on the KOMA-Script. Well, yesterday I've deleted a number of tables from my document. After compiling ...
0
votes
1answer
429 views

Rowcolors and tabularx: Colors not reset in each new table [duplicate]

I'm having an issue with rowcolors from the xcolor package. Whenever I use rowcolors before a table, it seems that the row counter does not reset with each tabularx environment. I read that ...