General ⇒ Modifying default behavior of itemized lists
- tripwire45
- Posts: 129
- Joined: Thu Apr 10, 2008 4:35 am
Modifying default behavior of itemized lists
I need to create nested itemized lists in a document. Problem is, I want *all* of the items to appear as bulleted or "bullet-like". The default behavior is to display the top-level items as bullets but the second-level items as dashes. The dashes look "funky" to me and I'd rather have something a tad more conventional. Even if the second-level item bullets appear clear instead of solid or even a different shape such as square or diamond would be ok.
I know there is a way to modify the default...probably through the use of a "label" such as \item[label]. but Googling doesn't produce the specific method. I'd appreciate any of your ideas on the matter. Thanks.
-Trip
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Modifying default behavior of itemized lists
Modifying default behavior of itemized lists
The characters appearing in the labels of the itemize environment are stored in the following commands: \labelitemi, \labelitemii, \labelitemiii and \labelitemiv, depending of the nesting level. If, for example, you want diamonds at the second level, add somewhere the code:
Code: Select all
\renewcommand{\labelitemii}{$\diamond$}
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Modifying default behavior of itemized lists
I just want to mention, if you want to use Juanjo's approach, the command for the bullet used at first level is \textbullet, if you want to use the same at deeper levels. For \textbullet no math mode is needed.
Stefan
- tripwire45
- Posts: 129
- Joined: Thu Apr 10, 2008 4:35 am
Modifying default behavior of itemized lists
Code: Select all
\renewcommand{\labelitemii}{$\circ$}