1

When trying to use itemize, I was hoping it would give me the natural indent to the right and indent everything that I write within it. Instead its doing the opposite and indenting to the left. This has never happened to me before. Anyone know what's going on?

Sample:

\noindent
\texit{Case 1} Stuff to write:
\begin{itemize}
    \item[\textit{Case 1.1}] Stuff about stuff
\end{itemize}
4
  • We would need to see more of the document. Add at least the documentclass you are using and make the code example compilable. Commented Feb 7, 2019 at 6:10
  • @gorzardfu Can you try to explain more, possibly with a visual illustration?
    – L. F.
    Commented Feb 7, 2019 at 6:21
  • Have you tried using the paralist (or enumitem) package ? They offer more flexible itemize lists.
    – Partha D.
    Commented Feb 7, 2019 at 6:44
  • Thanks everyone for willing to help, but @Werner answered my problem below. Commented Feb 8, 2019 at 6:06

1 Answer 1

5

The default alignment for \items inside an enumerate an itemize is right. That means longer-than-usual \items tend to be pushed into the left margin. Since you're using a fixed (unenumerated) label, you might as well use a description environment which naturally left-aligned its \items with the left margin:

enter image description here

\documentclass{article}

\usepackage{enumitem}
\usepackage{lipsum,showframe}% For this example

\begin{document}

\noindent
\textit{Case 1} This is an \verb|itemize| environment:
\begin{itemize}[font=\normalfont\itshape]
  \item[Case 1.1] \lipsum[1]
\end{itemize}

\noindent
\textit{Case 1} This is a \verb|description| environment:
\begin{description}[font=\normalfont\itshape]
  \item[Case 1.1] \lipsum[1]
\end{description}

\end{document}
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .