These custom lists are pointless in my opinion. Plus they don't

allow the writer to add optional args to the custom environments
(the definitions would need to be rewritten from scratch to support
that, probably with xparse notation). Anyway, the default behaviour
of the itemize environment produces just the same results as
bulletlist-indent (as far as I can tell).
main
Taha Ahmed 1 year ago
parent ba83966ffb
commit bc9cbb76ef

@ -1299,73 +1299,6 @@
% Compability and short-hands
% ============================================
\newenvironment{numberedlist}{
\begin{enumerate}
\setlistmargin[5]
}{\end{enumerate}}
\newenvironment{numberedlist-indent}{
\setlength{\UU@listindent}{1cm}
\addtolength{\leftmargini}{\UU@listindent}
\begin{enumerate}
\setlistmargin[5]
}{\end{enumerate}}
\newenvironment{enumerate-indent}{
\setlength{\UU@listindent}{1cm}
\addtolength{\leftmargini}{\UU@listindent}
\begin{enumerate}
\setlistmargin[5]
}{\end{enumerate}}
\newenvironment{bulletlist}{
\begin{itemize}
\setlistmargin
}{\end{itemize}}
\newenvironment{bulletlist-indent}{
\setlength{\UU@listindent}{1cm}
\addtolength{\leftmargini}{\UU@listindent}
\begin{itemize}
\setlistmargin
}{\end{itemize}}
\newenvironment{itemize-indent}{
\setlength{\UU@listindent}{1cm}
\addtolength{\leftmargini}{\UU@listindent}
\begin{itemize}
\setlistmargin
}{\end{itemize}}
\newenvironment{romanlist}{
\renewcommand{\labelenumi}{\Roman{enumi}.}
\renewcommand{\labelenumii}{\roman{enumii}.}
\begin{enumerate}
\setlistmargin[8]
}{\end{enumerate}}
\newenvironment{romanlist-indent}{
\setlength{\UU@listindent}{1cm}
\addtolength{\leftmargini}{\UU@listindent}
\begin{romanlist}
}{\end{romanlist}}
\newenvironment{simplelist}{
\begin{list}{}{
\setlength{\leftmargin}{0mm}
\setlength{\itemsep}{0mm}
\setlength{\parsep}{0mm}
\setlength{\topsep}{0mm}
}}{\end{list}}
\newenvironment{simplelist-indent}{
\begin{list}{}{
\setlength{\leftmargin}{1cm}
\setlength{\itemsep}{0mm}
\setlength{\parsep}{0mm}
\setlength{\topsep}{0mm}
}}{\end{list}}
\newenvironment{definitionlist}[1][]{
\@afterindenttrue\par\parindent -1em\advance\leftskip-\parindent\renewcommand{\item}[1]{\par{\it #1 ##1} -- \ignorespaces}
}{\par}
@ -1385,4 +1318,3 @@
\fi%
\noindent\textit{#1}%
}

Loading…
Cancel
Save