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[...
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}
\...
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 ...
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{...
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\\
...
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 %%%
\...
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 ...
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}
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 ...
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
....
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 ...
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 ...
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....
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
enumerate × 2307lists × 730
enumitem × 397
itemize × 244
beamer × 145
cross-referencing × 142
horizontal-alignment × 115
numbering × 114
indentation × 113
spacing × 112
tables × 103
align × 76
environments × 72
vertical-alignment × 68
multicol × 60
equations × 57
formatting × 54
labels × 53
theorems × 46
counters × 46
hyperref × 42
macros × 39
tikz-pgf × 38
math-mode × 33
margins × 32