# Tag Info

5

\include records the current value of enumi (3 here) but not that enumitem resume wants to use it, adding a couple of lines to the end of the included (or not included) file fixes that. If you process the entire file then uncomment the \includeonly you will get a one page document numbered page 2 with the enumeration numbered 4,5,6. \documentclass{article} ...

5

Here is a solution that uses the enumitem package: it has resume optional parameter and a series notion for enumerate environments. So I define a quest series, and an inform series, that are formatted so that the inform series leftmargin is exactly where labels of the quest series begin. The information could be made of several paragraphs. I don't know if ...

5

It seems to be a precise choice: a list that starts in places such as the beginning of a theorem, that is, when a paragraph has not yet been started and LaTeX is in a “suspended state” because of possible \label commands, the \if@noparlist conditional is set to true. The definition of \endtrivlist, which is responsible for adding the final space, adds ...

4

The easylist package uses catcode tricks, which don't work properly with beamer's usual frame processing code. (Same as verbatim.) To fix this (but slow down the output slightly), write \begin{frame}[fragile]{...} instead. Fixing the original example for typos and simplifying it a bit: \documentclass{beamer} \usepackage[at]{easylist} \begin{document} ...

4

This is straight-forward with enumitem: \documentclass{article} \usepackage{enumitem}% http://ctan.org/pkg/enumitem \newlist{numbered}{enumerate}{2} \setlist[numbered]{label={\arabic*)}} \begin{document} \begin{numbered} \item First \item Second \begin{numbered} \item Sub-first \item Sub-second \item Sub-third ...

4

Here abox with a length is defined. \def\abox#1{\leavevmode\hbox to 1cm{#1 \hfill}} % left aligned \def\abox#1{\leavevmode\hbox to 1cm{\hfill #1 \hfill}} % center ligned Code \documentclass{article} \begin{document} ----- Left aligned \def\abox#1{\leavevmode\hbox to 1cm{#1 \hfill}} \begin{enumerate} \item[\abox{$1)$}] First item, ...

4

I'd recommend using the enumitem package the option align=left does the job: Notes: The border is from the showframe package and shows the page margins. It is not needed in your actual use case. Code: \documentclass{article} \usepackage{showframe} \usepackage{enumitem} \begin{document} \begin{enumerate}[align=left] \item[1)] First item, ...

3


3

This can be done by cleveref and with its \cref/\Cref macros. \documentclass[letterpaper,12pt]{article} \usepackage{graphicx} \usepackage[listformat=simple]{caption} \DeclareCaptionType[name=Scheme,within=section]{scheme} \usepackage{cleveref} \crefname{scheme}{scheme}{schemes} \Crefname{scheme}{Scheme}{Schemes} \begin{document} \tableofcontents ...

3

I traced down the problem to the \RL commands in the sentence \noindent Si anteponemos \RL{ا}, \RL{مَا}, o \RL{مَنْ} a \RL{هَذَا} , se convierte en una pregunta: Grouping those commands, as in \noindent Si anteponemos {\RL{ا}}, {\RL{مَا}}, o {\RL{مَنْ}} a {\RL{هَذَا}} , se convierte en una pregunta: solves the problem: ...

3

Perhaps something like this: \documentclass{article} \usepackage{enumitem, kantlipsum} \setlist[enumerate]{wide, labelwidth=\parindent} \setlist[enumerate,1]{labelindent=0pt, labelwidth=\parindent, label=\arabic*.} \setlist[enumerate,2]{wide=.825cm, label=\alph*.} \setlist[enumerate,3]{wide=1.25cm, label=(\arabic*)} \begin{document} \kant[6] ...

3

You have relevant keys in enumitem itself: nosep or noitemsep. Also, instead of adding horizontal space between label and item body for each item, set labelsep in the options. Last, I replaced TeX syntax ({\it…}) with LaTeX syntax (\emph{…}). Final advice: you should make your definition a theorem-like environment: formatting (boldface) could be ...

2

If I understand your question I believe you require \subitem here is a minimal code to see if it is what you would desire. \begin{document} \begin{enumerate} \item Normal \item Normal \subitem Indented \subitem Indented \subitem Indented \item Back to normal \end{enumerate} \end{document} This gives

2

What you want is, I believe, \addvspace. The problem with \par can be tackled with a group. \documentclass{article} \makeatletter \newcounter{aelistcnt} \newcommand\alist{\ae@list} \def\ae@list{%% \refstepcounter{aelistcnt}%% \par \addvspace{2ex plus 0pt minus 2ex}% \begingroup \let\ae@@par\par \def\par{\ae@par}% \parshape 1 2em ...

2

This is the recommendation given in the AMS author FAQ: \begin{theorem} \hangindent\leftmargini \textup{(1)}\hskip\labelsep First item. \begin{enumerate} \setcounter{enumi}{1} \item ... If the environment is itemize rather than enumerate, replace the first line by $\bullet$\hskip\labelsep First item. If the first item has multiple paragraphs, simulate ...

2

You can do this using the atbegshi package, together with an \if... statement where you set the \if... equal to true at the start of the option and then to false at the end using \setlist. Here's a MWE. I have used the same continuation message that you used above. \documentclass{book} \usepackage{enumitem} \usepackage{atbegshi} ...

2

As suggested by @Andrew, it's much simpler to define a claim environment as a special description environment, with the enumitem package. Here is a way to go. Actually I also define a claims environment, for a series of such ‘claims’. It has a counter, and so can be referenced intelligently through the cleveref package. I reset this counter per section, ...

1

Here is a workaround that seems to work. Simply replace \usepackage{amsthm} with \usepackage[amsthm]{ntheorem}. This avoids the extra linebreak.

1

Well, with the lack of judgement of a mere user: \documentclass[12pt, a4paper]{article} \makeatletter \newcommand*{\NoBreakPar}{\vspace{\baselineskip}\par\nobreak\@afterheading} \makeatother \begin{document} Let's see the following list:\NoBreakPar \begin{itemize} \item First. \item Second. \item Third. \end{itemize} ...

1

\documentclass[12pt, a4paper]{article} \usepackage{blindtext} \begin{document} \blindtext[3] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobor- tis facilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi nec ante. Donec ullamcorper, felis non sodales commodo, lec- tus velit ultrices augue, a dignissim nibh ...

1

This is a solution using the enumitem package instead of paralist. Its wide option is made for that: \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{enumitem} \begin{document} Here’s a compact itemize environment with bullets aligned with the left margin: \noindent ...

1

A variant of the preceding solution that ensures both text of the items being aligned, and labels being left aligned on the ambient left margin (or at a \parindent distance if you wish), and a minimally computed label width: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fourier} \usepackage[shortlabels]{enumitem} \parindent = 1em ...

1

A possible solution is use of \vspace{-xxpt} right before \item. Code \documentclass[xcolor=x11names,compress]{beamer} \usepackage{graphicx} \usepackage{tikz} \usepackage{enumitem} \begin{document} Before: \textbf{Definition 1.1} A {\it{design}} is a pair $(X,\mathcal{A})$ iff: ...

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