In the following code I would like to define special items that add content just before the item that follow use.
\documentclass[12pt]{article}
\usepackage{amssymb}
\newcommand\squareitem{\item}
\newcommand\bulletitem{\item}
\begin{document}
What I want to type using special items.
\begin{itemize}
\squareitem Item 1
\item Item 2
\bulletitem Item 3
\end{itemize}
What I would like to do without typing all the code.
\begin{itemize}
\item Item 1
\hfill $\square$
\item Item 2
\item Item 3
\hfill \textbullet
\end{itemize}
\end{document}
\item Item 2
should produce what?\item
keeps its standard behavior without adding anything.\bulletitem
, no more, no less?\squareitem
and\bulletitem
.