Tag Info

New answers tagged

6

resume acts locally, so it won't survive a group like multicols or any other environment, for that matter. You need to use a series to keep the effect global: \documentclass{article} \usepackage{multicol} \usepackage{enumitem} \newlist{problem}{enumerate}{1} \setlist[problem,1]{label={\bfseries\arabic{problemi}.},leftmargin=*,resume=problem} ...


1

After carefully reading the documentation of enumitem, I realized that you can do this: \documentclass{article} \usepackage{enumitem} % Typeset descriptions \newcommand{\appendDot}[1]{#1.} \setlist[description]{% font=\appendDot, } \begin{document} \begin{description} \item[First] bla bla blaa. \item[Second] bla bla blaa. \item[Third] bla bla ...


4

Will this do? \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{enumitem} \SetLabelAlign{myright}{\hss\llap{$#1$}} \newlist{where}{description}{1} \setlist[where]{labelwidth=2cm,labelsep=1em, leftmargin=!,align=myright,font=\normalfont} \begin{document} \[ ...


1

You can use scrextend and paralist \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{scrextend} \usepackage{paralist} \usepackage{enumitem} \usepackage{blindtext} \begin{document} \blindtext \begin{equation} \label{eq:mylabel} ...


1

Another alternative. The OP did not provide the commands used in math mode. This solution removed them to make a run. Code \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{enumitem} \usepackage{amsmath,amssymb} \begin{document} \noindent x\hrulefill x \begin{enumerate}[ labelindent=*, style=multiline, leftmargin=*, label=Caso ...


2

Use correctly the parameters of enumitem. \documentclass{article} \usepackage[pass,showframe]{geometry} % just to show the page frame \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{enumitem} \usepackage{calc} \newcommand{\pint}[1]{\mathring{#1}} \newcommand{\eps}{\varepsilon} \begin{document} ...


5

EDIT Sorry for misunderstanding... To obtain what you want, you just have the use the option: leftmargin=* The following MWE (I've replaced your custom commands with known ones): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{enumitem} \begin{document} \noindent x\hrulefill x \begin{enumerate}[leftmargin=*,label=Caso \arabic*)] ...


4

You can redefine the thebibliography environment to have \parskip and \itemsep equal to 0pt so to have a "compact" list: \let\oldthebibliography\thebibliography \renewcommand\thebibliography[1]{% \oldthebibliography{#1} \setlength{\parskip}{0pt} \setlength{\itemsep}{0pt} } MWE: \documentclass{article} \usepackage{paralist} ...


7

Put the asterisk in the specification of the label: \documentclass[a4paper,10pt]{article} \usepackage{enumitem} \newcommand{\staritem}{\global\asterisktrue\item} \newcommand{\perhapsasterisk}{% \ifasterisk*\global\asteriskfalse\fi } \newif\ifasterisk \begin{document} Foobar \begin{enumerate}[label={(\protect\perhapsasterisk\arabic*)}] \item baz ...


12

I am not sure whether this is, what you want to achieve, but you can explicitly set the label of an item. \documentclass[a4paper,10pt]{article} \usepackage[]{enumitem} \begin{document} Foobar \begin{enumerate}[label={(\arabic*)}] \item baz \item[\refstepcounter{enumi}(*\number\value{enumi})] xyzzy \item quux \end{enumerate} ...


1

It's not a good idea to use enumitem and beamer; the former takes control over lists and overlay specifications and special beamer formatting are lost, for example. You can locally redefine \theenumi: \documentclass{beamer} \usepackage{beamerfoils} \usepackage[british]{babel} %\usetheme{Copenhagen} \usefonttheme{structurebold} \begin{document} ...



Top 50 recent answers are included