Text Formatting ⇒ Customising enumerate/itemize environment, section numbering
Customising enumerate/itemize environment, section numbering
By default, the spaces are smaller and none of the solutions I have found work, as they for example affect only the first line, not the whole paragraph.
As to my second question, I would like to know how can I change the section numbering. For example, I want the sub-subsection "0.0.1 Text" to be shown as "1 Text", possibly with a customised space as you can see in the same hyperlinked document, so the final look would be "1 (variable space) Text".
Thank you very much in advance for you effort.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Customising enumerate/itemize environment, section numbering
Code: Select all
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathpazo}
\usepackage{enumitem}
\setenumerate{leftmargin=3.2em,labelsep=1em}
\setenumerate[1]{label=(\arabic*)}
\setenumerate[2]{label=(\alph*),topsep=0pt}
\setenumerate[3]{label=(\roman*),topsep=0pt}
\usepackage{titlesec}
\titleformat{\subsection}{\bfseries}{\bfseries\thesubsection}{2em}{}
\renewcommand{\thesubsection}{\arabic{subsection}}
\begin{document}
\subsection{Anti-Slavery Day}
\begin{enumerate}
\item The Secretary of State shall by order made by statutory instrument specify a date which shall be observed each year as Anti-Slavery Day.
\item The purpose of Anti-Slavery Day shall be to—
\begin{enumerate}
\item acknowledge that millions of men, women and children continue to be victims of slavery, depriving them of basic human dignity and freedom;
\item raise awareness amongst young people and others of the dangers and consequences of slavery, human trafficking and exploitation and encourage them to be proactive in the fight against it;
\item draw attention to—
\begin{enumerate}
\item the progress made by government and those working to combat all forms of slavery, human trafficking and exploitation, and
\item what more needs to be done.
\end{enumerate}
\end{enumerate}
\item In this Act “slavery” includes—
\begin{enumerate}
\item trafficking for sexual exploitation,
\item child trafficking,
\item trafficking for forced labour, and
\item domestic servitude.
\end{enumerate}
\end{enumerate}
\end{document}
Re: Customising enumerate/itemize environment, section numbe
Joining this forum has proven very useful.
Customising enumerate/itemize environment, section numbering

P.S. Now that the problem is solved, please follow Board Rules, section 3, and mark the thread as solved.
Re: Customising enumerate/itemize environment, section numbe
EDIT: Oh, one more expression of how great was your help – although I did not ask, I was wondering which font they used and you answered it. Splendid.
