[Tuglist] itemize/enumerate/description question

Radhakrishnan CV tuglist@tug.org.in
Wed, 13 Feb 2002 19:36:03 +0530 (IST)

On Wed, 13 Feb 2002 at 15:05, Ajay Shah wrote:

   I have gotten wedded to a style where itemized lists are
   always one size smaller than the body text. So I do
   text text
     \item a
     \item b
   How does one redefine itemize,enumerate,description so that
   these things happen automatically?

Here is one way of doing it:


% A macro to reduce the font size to 85% of the font size 
% of the surrounding text

\def\reducefontsize{\@tempdima\f@size pt
  \multiply\@tempdimb by 85
  \divide\@tempdimb by 100  
  \multiply\@tempdimc by 12
  \divide\@tempdimc by 10  
% you may comment out the following messages
% if you dont want the font information
% printed in your terminal
  \typeout{******Original Size=\the\@tempdima*******}
  \typeout{******Reduced Size =\the\@tempdimb*******}
  \typeout{******Baselineskip =\the\@tempdimc*******}

% We keep the original definition of enumerate in \oenumerate.

% We keep the original definition of itemize in \oitemize

% Now we redefine \enumerate and \itemize and add
% \reducefontsize to it so that fontsize is reduced
% by 15% of the surrounding text



Look forward to feedback.