11 questions linked to/from tabularx inside a \newenvironment
131 views

### tabularx in newenvironment: Illegal pream-token [duplicate]

The following example gives: ! Package array Error: Illegal pream-token (\AtEndOfPackage): c' used. What is wrong? \documentclass{article} \usepackage{tabularx} \newenvironment{mytab}{ \...
46 views

### How can I create a wrapper environment for a complicated usage of tabularx? [duplicate]

Possible Duplicate: tabularx inside a \newenvironment I know (at least basically) how to create my own environments using \newenvironment, but I recently encountered a problem trying to create an ...
32 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} \newcommand{\...
5k views

### Custom environment with parameter: You can't use macro parameter character #' in vertical mode

I want to define a new environment to display blocks of plain text in a titled box, with whitespace reproduced exactly. Something like this \begin{PlainText}{My Title} Foo Bar \end{PlainText} I'm ...
4k views

### Using tabularx in a custom environment - “misplaced \noalign”

Question Currently, I'm trying to shorten the creation of small tabularx-tables with pre-defined headers, but somehow, trying to use the tabularx-environment, even though I used the \tabularx and \...
244 views

### Is it bad style to have spaces in environment names?

I've recently realized that, due to how \newenvironment, \begin, and \end work, there is no reason you can't have environment names with spaces in them. As long as you stick with \begin and \end, this ...
631 views

### How to create a new environment including a table environment and tabularx environment?

How do I create my own new environment of a selfscaling tabularx table, as well as a caption added to it and maybe colored rows? The caption should not be added using the odd flowing captionof command,...
181 views

### Error with own environment using ltablex

I am trying to get ltablex to work using the following code based on this answer: \documentclass{article} \usepackage{ltablex} \usepackage{blindtext} \keepXColumns \newenvironment{test} {% \...
586 views

### singlespacing in table with no indent

I'm trying to make a table that is as wide as the textwidth singlespaced with etoolbox's \AtBeginEnvironment but that somehow gets rid of the \noindent that I issued before. \documentclass{report} ...