Promote Your Blog

Friday, March 23, 2012

How To Change Default Style For Enumerate and Itemize

Default style can for enumerate can be changed using
\renewcommand{label}{style} command

where 'label' may be any of the following:

  1. \labelenumi: first level
  2. \labelenumii: second level
  3. \labelenumiii: third level
  4. \labelenumiv: fourth level
style may be any combination of characters and numbers. The item number for each list may be printed using by using any of the following (from first depth to fourth depth):

  1. enumi
  2. enumii
  3. enumiii
  4. enumiv
These numbers may be styled with the following macros:

  1. \alph{number}: lowercase letters
  2. \Alph{number}: uppercase letters
  3. \arabic{number}: numbers
  4. \roman{number}: lowercase roman numerals
  5. \Roman{number}: uppercase roman numerals

Try following:

\renewcommand{\labelenumi}{\arabic{enumi}. }
\renewcommand{\labelenumii}{\labelenumi\alph{enumii}) }
\renewcommand{\labelenumiii}{\labelenumii\roman{enumiii}: }

This would be added to the top of the document, before \begin{document}.

From TexBlog


\begin{enumerate}[I]%for capital roman numbers.



\begin{enumerate}[(a)]%for small alpha-characters within brackets.



For changing style for itemize, try these:
  • \renewcommand{\labelitemi}{$\bullet$}
  • \renewcommand{\labelitemii}{$\cdot$}
  • \renewcommand{\labelitemiii}{$\diamond$}


No comments:

Post a Comment