I want to use the itemize
environment exactly as it works by default, but hide the bullets that would otherwise appear.
Is there an easy way to do this?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityYou can do this in several ways: for example, by using an empty optional argument for \item
(as Jake suggested), or by using the enumitem package to use an empty label
, or by redefining \labelitemi
; these approaches are illustrated in the following example:
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\begin{itemize}
\item[] First.
\item[] Second.
\end{itemize}
\begin{itemize}[label={}]
\item First.
\item Second.
\end{itemize}
{\renewcommand\labelitemi{}
\begin{itemize}
\item First.
\item Second.
\end{itemize}
}
\end{document}
\begin{itemize}[\label{}]
will trigger an error; on the other hand, label={}
as an option to the environment (having loaded enumitem
), suppresses the label, as required.
Feb 11, 2014 at 12:18
[label={}]
produces label=
as bullet symbol. Both [\label{}]
and [\label={}]
seem to produce the empty bullet symbol.
\begin{itemize}[label={}] \item First. \item Second. \end{itemize}
Results in an error. Using ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip results in the label=
that I described above. Perhaps it is the class files, but then it would be good to have some clarification of what is going on. Thanks in advance for your effort! =)
Why do you want to use the itemize
environment, if you don't want the bullets? You could simply use the description
environment which seems to be exactly what you need. No hacking required.
\documentclass{article}
\begin{document}
\begin{description}
\item Foo
\item Bar
\end{description}
\end{document}
enumitem
package you can customize this solution for any whitespace to be exactly as you wish.
The following also works. The {}
specifies that nothing should be placed before the items. Use \indent
as needed.
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[\indent {}]
\item ABC
\item ABC
\item ABC
\end{enumerate}
\end{document}
\usepackage{enumitem}
in the preamble of their MWE instead of \usepackage{enumerate}
.
Just use \null
\begin{itemize}[\null]
\item First
\item Second
\end{itemize}
\null
when you can use \relax
or {}
or ... ?
\usepackage{enumitem}
as mentioned in the previous answer.
Apr 25, 2017 at 14:09
For those looking for an alternative solution: basically, you can pass anything in square brackets \begin{itemize}[...]
\begin{itemize}[x]
\item First
\item Second
\end{itemize}
\begin{itemize}[ y]
\item First
\item Second
\end{itemize}
\begin{itemize}[\qquad z]
\item First
\item Second
\end{itemize}
\hspace{10pt}
, \quad
, etc. commands can be used to add indentation.