[texhax] environment with smaller typeface and narrower margins

Axel E. Retif axretif at igo.com.mx
Mon Sep 4 17:33:59 CEST 2006


El 9/4/06 8:25 AM, "Jonathan Myles" <jonathan.myles at cancer.org.uk> escribió:

> Is there a way of defining an environment, {query} say,
> so that I can write
> 
> %%%%%%%%%%%%%
> Bloggs et al explain that.....
> 
> \begin{query}
> is my understanding of this correct? Can we improve it by....
> \end{query}
> 
> 
> They then go on ....
> 
> %%%%%%%%%
> 
> and my query will come out in a different typeface with narrower margins?

I use this:

\newenvironment{myquote}{\list{}{\setlength{\leftmargin}{1.5em}}{\setlength{
\rightmargin}{0pt}}\relax\item\ignorespaces\fontsize{10}{12}\selectfont}{\un
skip\endlist}%

As you can see, I have 1.5em for left margin and 0pt for right margin ---you
can change these to your needs, as well as the font size and baseline skip.

Best

Axel



More information about the texhax mailing list