On Friday 27 March 2009 20:40:44 Enrico Forestieri wrote:
> Stefano Franchi writes:
> > I tried to apply to marginpar the recent suggestion about the quotation
> >
> > environment:
> > > Or a bit easier (and more generalizable):
> > >
> > > \newcommand*{\OriginalQuotation}{}
> > > \let\OriginalQuotation\quotation
> > > \renewcommand*{\quotation}{\OriginalQuotation\small}
> >
> > to produce smaller font margin notes as follows:
> >
> > \newcommand*{\OriginalMarginpar}{}
> > \let\OriginalMarginpar\marginpar
> > \renewcommand*{\marginpar}{\OriginalMarginpar\small}
> >
> > But it does not work ;-( In fact, the commands swallow up the margin note
> > completely. Is there anything I am doing wrong ? Or perhaps this method
> > cannot be applied to margin notes?
>
> The problem here is that \marginpar is a command rather than an
> environment. Try the following:
>
> \let\oldmarginpar\marginpar
> \def\marginpar#1{\oldmarginpar{\tiny #1}}

Thanks Enrico.
I was not aware \marginpar was a command. It works fine now.

Cheers,

S.


______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  [email protected]
College Station, TX 77843-4237

Reply via email to