Code using Latex. 1. This item has a space of 2.0 inches below it. 2. This item
ID: 3789462 • Letter: C
Question
Code using Latex.
1. This item has a space of 2.0 inches below it.
2. This item has a space of 1.5 inches below it.
3. This item has a space of 1.25inches to the left of it.
t4his.his item has been moved 0.5 inches to the left.
• The following text was created using multicolumn inside an itemize environment. Notice that theitemization label has been changed. The wasysym package was used to get the quarter note symbolused, so you will need to load this package and figure out the relevant command to use.
rock groove dance
roll shake it bust a move
boogie cut a rug hoedown
Explanation / Answer
documentclass
usepackage{wasysym}
usepackage{multicol}
ewcounter{countitems}
ewcounter{nextitemizecount}
ewcommand{setupcountitems}{%
stepcounter{nextitemizecount}%
setcounter{countitems}{0}%
pretoitem{stepcounter{countitems}}%
}
makeatletter
ewcommand{computecountitems}{%
edef@currentlabel{ umberc@countitems}%
label{countitems@ umber umexpralue{nextitemizecount}-1 elax}%
}
ewcommand{ extitemizecount}{%
getrefnumber{countitems@ umberc@nextitemizecount}%
}
ewcommand{previtemizecount}{%
getrefnumber{countitems@ umber umexpralue{nextitemizecount}-1 elax}%
}
makeatother
ewenvironment{AutoMultiColItemize}{%
ifnumcomp{ extitemizecount}{>}{3}{egin{multicols}{3}}{}%
setupcountitemsegin{itemize}}%
{end{itemize}%
unskipcomputecountitemsifnumcomp{previtemizecount}{>}{4}{end{multicols}}{}}
egin{document}
egin{enumerate}
item This item has a space of 2.0 inches below it.
setlengthitemsep{2in}
item This item has a space of 1.5 inches below it.
setlengthitemsep{1.5in}
item setlength{leftskip}{1.25in} This item has a space of 1.25inches to the left of it.
setlengthitemsep{0in}
item setlength{leftskip}{-0.5in} This item has been moved 0.5 inches to the left.
end{enumerate}
egin{itemize}
item The following text was created using multicolumn inside an itemize environment. Notice that theitemization label has been changed. The wasysym package was used to get the quarter note symbolused, so you will need to load this package and figure out the relevant command to use.
end{itemize}
egin{AutoMultiColItemize}
item[quarternote] rock
item[quarternote] groove
item[quarternote] dance
item[quarternote] roll
item[quarternote] shake it
item[quarternote] bust a move
item[quarternote] boogie
item[quarternote] cut a rug
item[quarternote] hoedown
end{AutoMultiColItemize}
end{document}