[OS X TeX] Italics in \newenvironment

Damon Muller macosxtex at damonam.ml1.net
Sun Jun 19 14:31:33 CEST 2005


> So you should rather use \itshape than \begin{textit}. You probably  
> *could* find a way to make \textit{here comes the content of the  
> environment} work, but since the \text.. commands aren't defined to  
> contain paragraphs you should not chose to do so for your own good ;-)
> 
> So my advise is to use:
> 
> \newenvironment{elements}
>      {\begin{quote}\itshape}
>      {\end{quote}}

Cool. That works fine.

I use the _Not So Short Guide_ as my main LaTeX reference, and it
doesn't say anything about \itshape, or what things can or can't contain
paragraphs.

Thanks for the quick response!
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list