Code: Select all
\begin{itemize}[align=left]
\item[\textrm{[1]}] Let z1 and z2 be complex numbers, where z2 is not equal to zero. Then ...
\end{itemize}
Code: Select all
\begin{itemize}[align=left]
\item[\textrm{[1]}] Let z1 and z2 be complex numbers, where z2 is not equal to zero. Then ...
\end{itemize}
NEW: TikZ book now 40% off at Amazon.com for a short time.
enumerate
with automatic numeration instead if itemize
.Thanks Ijon!Ijon Tichy wrote:If you are using enumitem you can also change the leftmargin, the labelwidth and/or the labelsep.
BTW: It seems this should be a enumerated list. If this is true, I would recommendenumerate
with automatic numeration instead ifitemize
.
If this answer is not enough so solve your problem, please show aminimal working example instead of a code snippet.
enumerate
environment instead of itemize
(but still use the [align=left]
option), the visual result is identical. enumitem
package. Code: Select all
\documentclass[12pt, a4paper]{article}
\usepackage[parfill]{parskip}
\usepackage{setspace}
\setstretch{1.1}
\usepackage[swedish]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[all]{xy}
\usepackage{enumitem}
%\setitemize{align=left} I don't always wish to do this adjustment globally in my documents
\newcounter{propnr}
\addtocounter{propnr}{0}
\begin{document}
\begin{itemize}[align=left]
\item[\textbf{[\stepcounter{propnr}\arabic{propnr}]}] \emph{Lorem ipsum ... thus ... }
\end{itemize}
\end{document}
enumeration
. And as I already told, there are attributes like leftmargin
, labelwidth
and labelsep
to modify the indent and alignment of label and item text. Figure 1 in the manual is very useful to understand these attributes. And automatic values like *
and !
are also useful and explained in the manual.Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage{enumitem}
\usepackage{mwe,showframe}% only for demonstration purpose
\begin{document}
\begin{enumerate}[align=left,label=\textbf{[\arabic{*}]},leftmargin=0pt,labelwidth=!,labelsep=.5em]
\item \emph{\blindtext}
\end{enumerate}
\begin{enumerate}[label=\textbf{[\arabic{*}]},leftmargin=1.5em,labelsep=*]
\item \emph{\blindtext}
\end{enumerate}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.