5
votes
2answers
115 views

“itemize” or “enumerate” IN section headings

Is it possible to use lists WITHIN section headings, subsection headings, etc.? I wanted to do so like \documentclass[11pt]{scrartcl} \usepackage{enumerate} %... \begin{document} \section{My three ...
3
votes
1answer
110 views

Can I use a TeX primitive in a “before” and “after” macro? (and how?)

The Question Can I use a TeX primitive in a "before" and "after" macro? (and how?) There are two questions that I found useful and related to my question, which sent me in the right direction: how ...
4
votes
4answers
163 views

Running numbers for comments

I wish to have comment 1, comment 2 as running numbers, and for each reviewer I want to restart the running number, is there a good way to achieve this? Following is how the pdf currently looks, and ...
6
votes
3answers
168 views

Set enumeration level explicitly

I have the need for a custom list environment at the outermost level, defined as follows: \newboolean{odd} \setboolean{odd}{true} \usepackage{environ} \newcounter{exnum}[section]% Exercise counter ...
6
votes
1answer
85 views

Environment definition gives an error

\documentclass{scrreprt} \usepackage{fontspec} \setmainfont{Linux Libertine O} \usepackage{graphicx} \usepackage{polyglossia} \setdefaultlanguage[babelshorthands=true]{german} % align in enumerate ...
9
votes
1answer
116 views

Spacing in list with math environment

Check out the following example. I would like to write the code as in the second list, but get output equivalent to the other two. However, there is a lot of extra vertical space after the third item ...
7
votes
1answer
514 views

Controlling parindent in enumerate inside customized list environment

I'm trying to control the indentation of paragraphs in an enumerated list that is inside a customized list environment. I find that changing \parindent in the inner list has no effect. Here's an ...
5
votes
1answer
125 views

Automatic numbering of nested environments / items

I would like to have an environment, let's call it nested, which produces output like Case 1: top level item 1 Case 2: top level item 2 Case 2.1: nested item 1 Case 2.2: nested item 2 Case 2.2.1: ...
3
votes
1answer
103 views

Is it possible to get the current item number and perform arithmetic on it in enumerate environment?

That is, suppose that I am at item n and I want to make a reference to item n - 3 without explicitly specifying it.
11
votes
1answer
275 views

New list environment: automatic enumeration with “a posteriori” format

This is a follow-up question to Nested enumerate labels with parent label appended plus a single set of enclosing parentheses First and foremost, sorry for my English, I'm learning it currently. ...
4
votes
1answer
476 views

stack.sty and \end{environment}

I'm writing a multilevel itemize list environment to simplify the process of putting nested lists in Beamer slides, and I want it to support enumerate lists as well. The mitemize environment is ...
5
votes
2answers
304 views

Redefining \enumerate using \let - why does it behave this way and what can I do to bypass it?

The following code produces a result, that I find quite strange: \documentclass{article} \let\origenumerate\enumerate \renewenvironment{enumerate}{\begin{origenumerate}}{\end{origenumerate}} ...
8
votes
3answers
15k views

LaTeX enumerate - bold item with non-bold text

I'm trying to customize the environment enumerate where the \item is bold but the text is not bold. What I've tried is (at the suggestion of one of the google-results): \let\origitem\item ...