{lists} is about list environments. If your question deals with a specific list environment, add the respective tag, if existing, such as {itemize}, {enumerate}, or {description}. A popular package is {enumitem}. For registers like a "List of figures", use {table-of-contents} instead.

learn more… | top users | synonyms (1)

3
votes
3answers
47 views

Stop indenting the second line in list

I want to be able to stop indenting the second line in the list and still keep the indentation of the first line. Is it possible? \documentclass[multi={minipage}, border=5]{standalone} ...
11
votes
2answers
321 views

Grabbing data from website and use it in LaTeX document

This is a follow-up question to "Line breaking and alignment in list". \documentclass[ a4paper, 12pt ]{article} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{amssymb} ...
1
vote
1answer
18 views

Reference name of description list items in latex [duplicate]

I want to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of the section, not of the list ...
33
votes
3answers
5k views
+50

Will it ever be possible to use wrapfig with an enumerate or itemize environment?

wrapfig is incompatible with the enumerate and itemize environments. Is there a typographical reason not to wrap a list around a figure or is it a technical limitation of LaTeX? If it is a technical ...
1
vote
0answers
22 views

foreach — iterating over two lists [duplicate]

I need to iterate over two lists: \begin{tikzpicture}[x=5mm, y=5mm] \foreach \x in {0,2,...,8} { \node[] at (\x, 0) {value}; } \end{tikzpicture} The "value" has to be a value from ...
3
votes
0answers
46 views

How can I apply actions to specific items or after specific items in a sequence in LaTeX3?

Let's say I have a sequence of items. I would like to allow for the user to provide a key (here named "mainitems") that equals a number (default 1 as there is always at least 1 main item). Special ...
1
vote
0answers
27 views

enumeration lists with special decorations

Within an enumerated list, I would like some "meta"-level annotations: Mark a single, specific item in boldface, or another colour, or have an arrow point at it from the left margin, or surround it ...
2
votes
1answer
29 views

Optional parameter of the \item command in the margin: is that behaviour normal?

The following code \documentclass{article} \begin{document} \begin{itemize} \item[A very long line that will be in the margin of my document] This is a test \end{itemize} \end{document} produces ...
2
votes
1answer
36 views

Making a small modification to a itemize environment for arabic presentation with beamer

I would like to change the alignment of lists to the right ( for Arabic presentation ) with beamer. With the enumerate environment we can add some code if it is used frequently, like this : ...
0
votes
0answers
24 views

Latex list of listings wrong formatting [on hold]

I have a problem with my list of listings in Latex. I have changed the title of list of listings with this command: \renewcommand{\lstlistlistingname}{Seznam zdrojových kódů} For printing list of ...
2
votes
1answer
72 views

LaTeX command or environment to selectively print one out of several given options

I'm currently wasting my time by trying to create a proof-of-concept class to show that writing our university's curricula with LaTeX instead of MS Word would have some benefits. Since these curricula ...
21
votes
2answers
61k views

Using lower-case roman numerals in enumerate lists

when I use \begin{enumerate}[I] \item ... I get I II how I can get i ii ? I try with \renewcommand{\theenumi}{\roman{enumi}} \renewcommand{\labelenumi}{\theenumi} in the begin of ...
6
votes
2answers
53 views

Extra spacing before and after gb4e examples

I am using the gb4e package. When I have a list of examples, there is a large skip after the prose and before the first enumerated item. I do not want that skip there; instead, I want there to be ...
2
votes
1answer
56 views

How can I wrap a description term in a macro?

This syntax obviously doesn't work, but it's the gist of what I want to do: \documentclass{article} \usepackage{enumitem} \newcommand\DoSomething[1]{Hello, #1} \begin{document} ...
3
votes
2answers
94 views

List renders incorrectly

In output of following LaTeX markup, the list is rendered incorrectly. What is wrong with it? \documentclass{article} \usepackage{fontspec} \newfontfamily\faFont[Script=Arabic]{Tahoma} ...
1
vote
1answer
35 views

Making cross reference to nested enumerated item show periods and parentheses

I want my references to nested items in an enumerated list to include all the punctuation that was in the list. Here is a simple example: \documentclass{article} \begin{document} \begin{enumerate} ...
2
votes
1answer
48 views

Friggeri Resume template: problem of having several nested items inside an entrylist

I am using Friggeri Resume/CV template, which can be found here. I have a problem in adding items to an entrylist which has several nested items. To replicate the problem, I have added 21 of the ...
6
votes
3answers
287 views

Preventing page break after the first or before the last list item

Is there a way to globally prevent all lists from having a page break inserted between the first and second items or between the last and second-last item? I'm fine with page breaks that are after the ...
1
vote
2answers
21 views

Preventing outer list separation affect nested inner list

I have increased separation between list items using \itemsep in itemized environment. How do I keep the item separation for inner list unaffected in minimum effort? One ad-hoc solution could be ...
2
votes
1answer
22 views

Add a few letters of text before a list item

I currently have a small list, where the outline spacing is pretty important. Currently I have this short list: However I want the 'accent' to be only on the D, so that I get something like this: ...
3
votes
3answers
104 views

How can I create this aligned bracketed thing?

I'm trying to create a list of items that looks something like this: but I can't figure out how to position the bracket properly. Here is what I currently have, minus the brace (which I edited into ...
3
votes
1answer
35 views

Reduce indent in description in beamer

In beamer, text in description items is over-indented: \documentclass[14pt,handout]{beamer} \begin{document} \begin{frame}\frametitle{} \begin{description} \item[FooBarBazZot] - foo bar \\ baz ...
1
vote
2answers
32 views

Description list automatically adjusting style at different levels

Is is possible to have a description list which changes the style of the item label depending on the level of the list, i.e. and environment say description* which would make \documentclass{article} ...
5
votes
3answers
100 views

Adding an arbitrary symbol after the number in an enumerate environment

I want to create an enumerated list, but after the number I want to be able to add a symbol. Right now I can do it with: \documentclass{article} \begin{document} \begin{enumerate} ...
18
votes
2answers
3k views

Verbatim description list item

How do I make an item in a description list verbatim? \verb in \item[] seems to be not allowed: \begin{description} \item[\verb+list comprehension [f a | a <- M a]+] bla bla bla ...
1
vote
2answers
29 views

FloatingEnviroment over two pages

In my Latex project I have defined a new enviroment to be able to reference enumerates. \DeclareFloatingEnvironment[placement={!ht},name=Liste]{mylist} The only problem, is when putting the ...
5
votes
2answers
75 views

Define a list variable

I am using etoolbox for list processing, specifically \forcsvlist. When passing the comma-separated list directly to \forcsvlist, it is able to parse each item in the list. However, if I define the ...
3
votes
2answers
89 views

How do you put a vertical line through the bullets in a list?

I'm migrating a document from InDesign to Latex and can't seem to figure this part out. The title says it all. I've attached an image just in case. I thought about making a table where each cell ...
6
votes
1answer
114 views

Enumerate “P#number” instead of “#number”

About the \begin{enumerate} list environment, when I use item, instead of having this in my pdf document 1. 2. 3. 4. I would like to display the following P1 P2 P3 P4 Where P is a single ...
82
votes
3answers
130k views

How do I change the `enumerate` list format to use letters instead of the default Arabic numerals?

I've seen documentation whereby an \alph command is put around the \begin{enumerate} somewhere, but I'm not entirely sure how that operates...
4
votes
2answers
98 views

Enumeration on one line

I am trying to have three matrices on one line as i) A=(..), ii) B=(..) and ii) C=(..). I tried \nopagebreak, \noindent just after item. Instead I always get the Roman numeral on one line, a ...
4
votes
1answer
35 views

\seq_put_right does not execute when placed in an enumerate's item

\documentclass[a4paper, titlepage, twocolumn]{article} \usepackage{expl3} \ExplSyntaxOn \seq_new:N \myStack \begin{document} \begin{enumerate} \item\seq_put_right:Nn \myStack {1} ...
2
votes
1answer
52 views

How to format an enumerate differently only if it has a single item?

I want to do an enumerate that is formatted in a way if it has multiple items, but in a different way if it has a single item. Something like this: A list with multiple items: #1 Item1 #2 Item2 #3 ...
3
votes
1answer
72 views

Automated format in a nested enumerate environment

I have to do a small document, in which I intend to use Tufte-handout rather than article or Scrartcl classes and compile it with XeLaTeX with a typography I intend to use. However I have a ...
1
vote
0answers
16 views

trouble with lists and biblio and quotes indenting

lists and quotes and references are all indented about half way into the page and print off page ... the is perhaps related to \item not working for the lists and biblio though this wouldn't affect ...
6
votes
3answers
90 views

Aligning equations that also include text

I am trying to align a list of descriptions of various variables used in a statistical analysis. In case it is relevant, the text-width of a single column is 75mm. I have tried various environments ...
4
votes
1answer
142 views

How make LaTeX interpret each line as a new line within an environment?

I have list of file names in a multicol environment. I can use sort commands on them when needed e.g. (sort -u). I would like to temporarily make LaTeX recognize a single-newline (\n) as a new line. ...
2
votes
1answer
53 views

How to center an `itemize` in beamer, together with its headline?

I failed to center an itemize in beamer, together with its headline. In my second try below, although the items are centered, their headline (i.e. the text My second try: Centering the itemize) is not ...
3
votes
2answers
49 views

How to change colon into dot in description list?

I use amsbook document class. In description environment there is a colon after every item label. I want dot instead colon. How? Note that I already use \usepackage{enumitem} as it was suggested in ...
3
votes
1answer
26 views

AMS Book and custom enumerated lists

I use amsbook class. I've added the following to the preamble: \renewcommand{\theenumi}{\arabic{enumi}$^\circ$} Now enumerate list item numbers look like: (1^$\circ$) Why the parentheses in list ...
1
vote
1answer
28 views

Nested lists modify properties on depth

How can I control the behavior of formatting(font size, bold, italics, underline, etc...) depending on the depth of a set of nested environments? That is, I'd like the top level to be bold and huge ...
2
votes
2answers
41 views

Increase table row height but not separation from surrounding text

I would like to construct a table environment that accepts an argument that controls the vertical space between rows but does not influence the vertical separation of the table from the surrounding ...
2
votes
2answers
46 views

Need help to set up a physics question/answer/think environment

I am writing a physics study guide for my students. For working out examples, I created a new environment that can contain up to three parts: the question, the answer, and something to think about ...
11
votes
4answers
1k views

Annoying space before the first item in an enumeration which starts a theorem

Consider the following example: \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} ...
0
votes
0answers
66 views

Is there a good way to automatically generate a list of commands/environments defined in the preamble?

Background I have seen beautiful manuals with commands and descriptions of what they do. I have a shared preamble (edited by multiple people and used for multiple documents) that has a multitude of ...
4
votes
1answer
121 views

Interrupted list formatting options [duplicate]

I have an odd list, interrupted by normal text introducing its last item: \documentclass{memoir} \usepackage{enumitem} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{enumerate}[itemsep=-4pt] ...
1
vote
0answers
64 views

Lyx Beamer enumerate eating first letters of text in Madrid theme

In Lyx beamer environment, enumerate is not compiling properly: the balls overlay the first letters of the item text, and the numbers are to the left of the balls (and invisible because they're white ...
8
votes
2answers
164 views

Start inparaenum-numeration with another letter than “a)”

How can I start \begin{inparaenum} with an arbitrary letter (other than a)) after a break in the inparaenum-environment. I would like to let a new inparaenum-environment be related to the end of the ...
4
votes
1answer
70 views

How to set and align bullets in a table?

I have the following table, the problem with this table is that the bullets are misaligned respect to the text on the right side of the table (second column). How can I align the elements of the ...
3
votes
2answers
48 views

Refer to the “name” of an equation, while a List of Equations is generated using these names

I link two questions below because I use their solution, to number my equations and generate a list of my equations. My question about numbering equations: Number of Equation: 1, 1a, 1b Generate a ...