0

I want to fix this indentation issue, like in the picture below (right image is from my MWE).

Right image is from my MWE

MWE:

\documentclass[12pt,a4paper]{book}
\usepackage{amsthm}
\usepackage{enumitem}

%%% Ref: https://tex.stackexchange.com/a/613868/293830 \makeatletter \newtheoremstyle{problem} {\topsep} % ABOVESPACE {\topsep} % BELOWSPACE {\upshape\small} % BODYFONT {0pt} % INDENT (empty value is the same as 0pt) {\bfseries\normalsize} % HEADFONT {} % HEADPUNCT {1em} % HEADSPACE {\thmnumber{#2}.@ifnotempty{#3}{\hspace{1em}\itshape\thmnote{#3}\newline}} % CUSTOM-HEAD-SPEC \makeatother

\theoremstyle{problem} \newtheorem{problem}{}[chapter] \renewcommand{\theproblem}{\arabic{problem}}

\newlist{problemlist}{enumerate}{1} \setlist[problemlist,1]{wide,labelindent=1.4em,topsep=6pt,labelsep=1em,itemsep=0pt,parsep=4pt,label=(\alph*)}

\begin{document}

\chapter{Introduction}

\section{Problems}

\begin{problem} \begin{problemlist} \item The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \item The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \end{problemlist} The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \end{problem}

\begin{problem} The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \begin{problemlist} \item The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \item The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \end{problemlist} The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \end{problem}

\begin{problem}[Optional Title] The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \begin{problemlist} \item The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \item The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \end{problemlist} The integral equation for a Bloch function in periodic potential is given region of integration is confined to. \end{problem}

\end{document}

  • 1
    Welcome to TeX.SE! – mickep Apr 08 '23 at 13:55
  • You want it to look like the image on the left? Enumerate goes to great effort to right align numbers etc. All you need is a fixed gap between the number and the letter; e.g. \noindent\textbf{1.}\hspace{\parindent}(a) . – John Kormylo Apr 08 '23 at 18:14

0 Answers0