[OS X TeX] Italics in \newenvironment

Damon Muller MacOSXTeX at damonam.ml1.net
Sun Jun 19 13:53:06 CEST 2005


Hi folks,

I'm trying to define a new environment which will make all of the text
within it in italics.

I have the following code, but all it's doing is making the first
character in the environment italic, and the rest of it normal (which
looks interesting, but isn't what I'm after).

\newenvironment{elements}
	{\begin{quote}\begin{textit}}
	{\end{textit}\end{quote}}

If I replace 'textit' with 'large', for example, it works (well, it
doesn't make it italic, but you know what I mean).

So, any suggestions?
-- 
  Damon Muller
  dmuller at sent.as

--------------------- 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