Search found 2 matches

by jekylls
Sun Jul 05, 2009 12:22 pm
Forum: General
Topic: tabularx inside a newenvironment with hline
Replies: 9
Views: 12354

tabularx inside a newenvironment with hline

Thank you very much for the help. I now have the environment that I wanted/needed. Could you help me understand the "self-explanatory" code that I left down below? I don't understand it, and I would very much like to. I don't seem to know how to program in Latex as good as I thought I could. Is ...
by jekylls
Sun Jul 05, 2009 12:36 am
Forum: General
Topic: tabularx inside a newenvironment with hline
Replies: 9
Views: 12354

tabularx inside a newenvironment with hline

I'd like to make a custom environment that will replicate the following code without the \hline and the tabularx:

\begin{tabularx}{|rX|}
\hline
stuff...\\ \hline
\end{tabularx}

Suppose the environment is called testbox. Then the code above could be written as:

\begin{testbox}
stuff...
\end ...