Tag Info

2

The key is to set afterlabel={}, so nothing is added after the empty label: \documentclass[]{article} \usepackage[inline]{enumitem} \usepackage{showframe} % just for the example \setlength{\parindent}{0pt} % just for the example \begin{document} This is a short paragraph \begin{enumerate*}[ label={}, itemjoin={~\textbullet\ }, afterlabel={}, ] ...

0

Here, I just get a little creative with the label, using a negative \kern to eat up the gap. The other important thing is to have stretchable space as part of the itemjoin, or else the horizontal location of the first item can get shifted slightly during a line wrap. The last thing to note is to not use breakable space following the \textbullet, or else ...

5

Correct this behaviour manually by vertically skipping back to the same baseline: \documentclass[10pt]{article} \usepackage[margin=0.75in, left=1.5in]{geometry} % Section headers in margins % http://tex.stackexchange.com/a/1315/10906 \usepackage{titlesec} \titleformat{\section}[leftmargin] {\sffamily} {}{0pt}{} \titlespacing{\section} {4pc}{1.5ex ...

5

My answer addresses only the cross-referencing of enumerated items, where the appearance of the cross-referenced "numbers" depends on whether the items occur at the section level or the subsection level. (Aside: This site "works" best if postings contain only one major question at a time. That's why I'm not even trying to address the other major question ...

0

This is a partial solution. Some housekeeping: Replace \renewcommand{\labelenumi}{(\enumalphalphcnt{enumi})} with \setlist[enumerate,1]{label=(\enumalphalphcnt*)} or \setlist[enumerate,1]{label=(\enumalphalphcnt*), ref={\thesubsection(\enumalphalphcnt*)}} Note that you can also say \begin{enumerate}[start=27] and \begin{enumerate}[resume] ...

2

With a simple dummy item of no label \item[] {}, one can write this: \documentclass{article} \usepackage{enumitem} \begin{document} Some text ... \begin{enumerate}[label*=\arabic*.] \item[] {} \stepcounter{enumi} \begin{enumerate}[label*=\alph*.] \item A subquestion. \item Another subquestion. \end{enumerate} \end{enumerate} \end{document}

4

cleveref use the counters as type. The counters of enumerate are enumi, enumii, enumiii enumiv: (I wouldn't use spaces in label names, so I removed it) \documentclass{article} \usepackage{enumitem} \usepackage{cleveref} \crefname{enumi}{part}{parts} \begin{document} \begin{enumerate} \item\label{item1} Item 1. \end{enumerate} See \cref{item1}. ...

1

The label=... syntax gives a clue that enumitem is used. \boxed is from amsmath or mathtools package, but it doesn't need to be enclosed with a $...$ pair, since it's basically the same as \fbox. \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label={\fbox{\Alph*}}] \item text text text \item text text text \item ...

1

Here, I define the environment renumerate, which takes as a mandatory argument the repeated text. In my MWE, I invoke enumerate to show how redefinitions of \item do not extend outside of the renumerate environment. No packages necessary! \documentclass{article} \let\svitem\item \newcommand\newitem{\savetext\svitem}% \newenvironment{renumerate}[1] {% ...

2

It is also possible to patch the \item macro by hand. In this case I delimited the patched \item macro to collect all items, while inserting the desired text (declared by \everyitem) everytime, into a token register and then print it with the use of a plain enumerate environment: \documentclass{article} \makeatletter \let\ltx@item\item \newtoks\EI@toks ...

2

Unless you just mean something very simple like this, rather than patching every list \documentclass{article} \newcommand{\sametext}{The world is your oyster} \begin{document} \begin{enumerate} \item Lorem ipsum dolor sit amet, consectetur adipiscing elit. \sametext \item Fusce blandit, orci vel cursus mollis, elit dui tristique purus, eget dapibus leo ...

4

A method with patching, using a specialized enumerate environment, to prevent 'polution' for the patched \item command. \documentclass{article} \usepackage{enumitem} \usepackage{multicol} \usepackage{xpatch} \newcommand{\TextToAppend}{\textbf{Don't do this at home}} \newlist{dontdothislist}{enumerate}{1} \setlist[dontdothislist,1]{label={\arabic*.}} ...

0

One possible way of achieving this "manually" would be: \documentclass{article} \usepackage{paralist} \begin{document} \begin{compactenum}[\bfseries I.] \item \textbf{Some text:} item one. \item \textbf{Some other text:} item two. \end{compactenum} \end{document} Which would look like this: If you want the same kind of coustom text for all ...

5

You could define it like this: \documentclass{article} \usepackage{enumitem} \makeatletter \newcommand{\mylabel}[2]{#2\def\@currentlabel{#2}\label{#1}} \makeatother \begin{document} \begin{enumerate}[label=\textnormal{(\arabic*)}] \item text1\label{itm:1}. \item text2\label{itm:2}. \item[\mylabel{itm:2b}{(2')}] manually different label. ...

Top 50 recent answers are included