I am using this snippet to make list with default document line interval and it also indents only first line.
% Compact list
\newenvironment{compactlist}{
\begin{list}{{$\bullet$}}{
\setlength{\partopsep}{0pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}
\setlength{\topsep}{0pt}
\setlength{\itemsep}{0pt}
\setlength{\itemindent}{\leftmargin}
\setlength{\leftmargin}{0pt}
}
}{
\end{list}
}
But it indents text to default indentation level. How can I set up two horizontal spaces: between left margin and bullet (1.25cm), and between bullet and text (0.63cm)?
update:
\usepackage{indentfirst}
%\setlength{\parindent}{1.25cm} %uncomment to break indentation
Looks like I need first to make lists respect indentadion level which was set for \parindent.
\documentclass[oneside,draft,14pt]{extreport}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
\usepackage{vmargin}
\setpapersize{A4}
\fussy
\usepackage{setspace}
\onehalfspacing
\usepackage{indentfirst}
%\setlength{\parindent}{1.25cm} %uncomment to break indentation
% List with default line intervals
\newenvironment{compactlist}{
\begin{list}{{$\bullet$}}{
\setlength{\partopsep}{0pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}
\setlength{\topsep}{0pt}
\setlength{\itemsep}{0pt}
\setlength{\itemindent}{\leftmargin}
\setlength{\leftmargin}{0pt}
}
}{
\end{list}
}
\begin{document}
In 1778, John Parke Custis purchased an 1,100-acre (450 ha) tract of
forested land on the Potomac River north of the town of Alexandria,
Virginia.
\begin{compactlist}
\item This land became the Arlington Estate. John Custis died in
September 1781, and in 1799 his son, George Washington Parke Custis
("G.W.P.") step-grandson of George Washingto inherited the site. G.W.P
Custis and his wife, Mary, moved onto the estate, and between 1802 and
1814 they constructed Arlington House;
\item The Custises extensively developed the site.
\end{compactlist}
Much of the steep slope to the east of the house
became a cultivated English landscape park, while a large flower
garden with an arbor was constructed and planted south of the house.
\end{document}
Best Answer
The
enumitem
package is your most convenient option here:Setting the
leftmargin
flush with the left margin (via*
), leaves you to manually setlabelindent
(space between left margin and bullet) andlabelsep
(space between bullet and text).The generalize these settings (and not have to set it locally via the optional argument), you can use
which sets the first level of
itemize
to have the required layout. You can also create your own list using\newlist
. See section 7 Cloning the basic lists (p 10) in theenumitem
documentation.To add vertical spacing between items in the list, modify the
itemsep
property. Here's the above MWE with such a modification:Other vertical spacing properties include
topsep
,partopsep
andparsep
. The documentation, again, includes descriptions on their impact.The bottom row with rules in the above MWE is just to verify the lengths between the list elements.