I am making a checklist to print, where users can check their answers on a printed paper.
For this I am using itemize
and \renewcommand{\labelitemi}{\Box}
, \renewcommand{\labelitemii}{\Box}
etc…, which works fine.
What I now want is to make items, sub-items and sub-sub-items different sized, so that the higher the hierarchy, the bigger font.
Since I have a lot of things to check, I don't want to specify each line in the latex document, but was hoping to use a \renewcommand{\itemi}{something}
or something like that.
Is this possible in any way?
Best Answer
Define your own
itemize
environment which uses the normal one but changes the font size first. Therelsize
package gives you the handy\smaller
and\larger
macros.This would make every level one font size step smaller.
This would make the first level smaller then the text. If this is not wanted change
\smaller
to\ifnum\csname @itemdepth\endcsname=0\else\smaller\fi
.If you want to keep the
itemize
name in your documents, use:You could define your own set of e.g.
\fontitemi
,\fontitemii
, ... macros: