As of May 31, 2023, we have updated our Code of Conduct.
24 votes
Accepted

How do we create a "continuous" list enumeration in LaTeX?

I suggest defining your own environment, so you can tailor it to your needs. Adding the resume option is the key. \documentclass{article} \usepackage{enumitem} \newlist{points}{enumerate}{1} \setlist[...
egreg's user avatar
  • 1.1m
12 votes

How do we create a "continuous" list enumeration in LaTeX?

I suggest you (a) load the enumitem package in preamble and (b) change all but the first instance of \begin{enumerate} to \begin{enumerate}[resume]. \documentclass{article} \usepackage{enumitem} \...
Mico's user avatar
  • 479k
5 votes
Accepted

How to start enumerate counting at 2 instead of 1?

Maybe I've misunderstood what you want, but you just need to set your mycount counter to 1 in your preamble. And you don't need to use \AtBeginEnvironment since enumitem has a before key for injecting ...
Alan Munn's user avatar
  • 210k
5 votes
Accepted

How to list items as 1. i. ii., iii., 2. i., ii., ...?

This is the default behaviour if you don't add anything for the first level of enumeration. That is, the second level enumeration is set next to the first. \documentclass{article} \usepackage{...
Werner's user avatar
  • 589k
4 votes
Accepted

How do I center a bullet/numbered/description list horizontally?

You can put the description in a varwidth-box (which produces a minpage and calculates it's width): \documentclass{article} \usepackage{amsmath} \usepackage{varwidth} \begin{document} Some text\\ ...
DG''s user avatar
  • 21.1k
2 votes
Accepted

Making a solution key at the end of a LaTeX document

I've come up with a nice solution to my problem. It's fairly comprehensive, so I figured I'd answer my own question for others who might find this useful. \documentclass{article} %%% Packages %%% \...
Dan P.'s user avatar
  • 311
2 votes
Accepted

How tag automatically only some particular objects?

You can declare a theorem with \newtheorem{thm}{Teorema} \setcounter{thm}{-1}% if you really?? want to start from 0 I also fixed: Package eufrak Warning: The eufrak package is redundant if the ...
David Carlisle's user avatar
2 votes
Accepted

How to define all text in the itemize level 2 be typeset in small size?

You can use the before key: \setlist[itemize,2]{label=-,leftmargin=1.2em, before=\small}
Ulrike Fischer's user avatar
2 votes
Accepted

Citing different enumerate points, with a global numbering

There are two issues: The "eq." problem That is because you tried to use cleveref with theorem environments without loading either amsthm or ntheorem. A lot of the code in cleveref that ...
Willie Wong's user avatar
  • 21.3k
1 vote
Accepted

Cross Referencing an Item within an Enumerate Display

The basic \label-\ref mechanism works like a charm for items in an enumerate-type list. In the list part of the the document, just write ... \item Item 12 \item \label{item:zzz} Item 13 \item Item 14 ....
Mico's user avatar
  • 479k
1 vote

Simplifying the Creation of Commented Ordered and Unordered Lists in LaTeX

Coerce a list in a table column could be a bad idea. You can use the normal itemize or enumerate environments but instead of the standard \item Statement use a macro as \foo{Statement}{Comment}. The ...
Fran's user avatar
  • 77.4k
1 vote

indentation problem in self defined environment

Use the left key that marks the start of the label and the start of the text (3em and 5.5em, both relative to a lateral margin). Then with \itemindent = -1em (= 2em - 3em) you will get the same ...
Simon Dispa's user avatar
  • 37.1k
1 vote
Accepted

indentation problem in self defined environment

I think this produces what you want: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{enumitem} \usepackage{lipsum} \newcounter{exercise} % Courtesy: https://tex....
Niranjan's user avatar
  • 2,813
1 vote

Prevent page break within \item of an enumerate

As John Kormylo suggested, you can use \vtop (the internal command \parbox[t]... use) to prevent from item's to break between pages. Instead of adding the necessary curly braces, with \vtop you can ...
Udi Fogiel's user avatar
  • 2,779

Only top scored, non community-wiki answers of a minimum length are eligible