Questions tagged [lists]

{lists} is about list environments. If your question deals with a specific list environment, such as {itemize}, {enumerate}, or {description}, add that tag along with this one. {enumitem} is a popular package for customizing lists. For registers like a "List of figures", use {table-of-contents} instead.

124 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
27
votes
0answers
474 views

Should \minipage restore the default definition of \@par?

I came across the issue hinted at in the title while I was reflecting on this question (“Irregular spacing around a user-defined environment”) and its answer. The \@endparenv command is called by ...
14
votes
1answer
430 views

Lists (itemize, enumerate) without \parshape

AFAIU (reading ltlists.dtx), lists (itemize, enumerate) in LaTeX rely on \parshape. Is there an other way to get the same result without \parshape. Motivation: wrapfigure and list environments badly ...
5
votes
0answers
94 views

Listings caption alignment in list environments

I'm having trouble with the alignment of captions of lstlisting inside environments like description or enumerate. I'm using the listings and caption packages. As soon as I try setting the caption ...
4
votes
0answers
99 views

How to include graphics from nth element in a file list?

I am writing a document to generate a deck of cards. The values of the cards is stored in a general list. Each card color/suit has a own set of graphic files, also defined in general lists. I.e. the ...
4
votes
0answers
271 views

put \item's in minipage

Is it possible to have an enumerate- or description-like environment, with \item redefined in such a way so that each \item puts its content inside a minipage? Ideally, including the item number/title ...
4
votes
0answers
665 views

fancyvrb + listings inside a list

I'm trying to put Verbatim environment from fancyvrb package, with activated interface to listings package, inside enumerate environment. When Verbatim environment is first element in \item, item's ...
4
votes
0answers
142 views

Can I use multienum and enumitem together?

I'd like to use some of the features available with the enumitem package with the multienumerate environments used by the multienum package. Is there a way to do this? I'm looking to use the series ...
4
votes
0answers
124 views

Is there a list environment with (double sided) page headers?

This question is an extension of Headers and footers for listing environment?: I have a list of objects (like tables or simply boxes) that should be vertically stacked (so it's a list) and is longer ...
3
votes
0answers
57 views

What messes up the space between the second itemlabel and text in this example?

I am trying to wrap pictures around list environments. I've found this question: Wrapping itemize around figure using floatflt in multicol environment - figure doesn't show And the answer of this ...
3
votes
0answers
46 views

Graphic Gallery instead of thumbnails in a list of figures?

Is-it possible to do a Graphic Gallery instead of a normal list or thumbnails in a list of figures ? (as in the picture in example) The result is dissimilar of this solution : How to get thumbnails in ...
3
votes
0answers
1k views

Table-like list of symbols in Lyx

How do I create a list of symbols like this in Lyx? I have tried the usual Nomenclature with entries, but it's way less "tidy". Any suggestions? The image is taken from this thesis.
3
votes
0answers
116 views

Centering list issue with Enumerate+Hyperref+Varwidth

I want to center an enumerated list so i've tried to use the answer of this question given by the Great David Carlisle. But using hyperref, varwidth and enumerate (in any order in the preamble) cause ...
3
votes
0answers
543 views

Enumitem and nested lists behaviour

I have a problem with enumitem package and nested lists. I'm cloning description basic list (naming it notacion). As you can see in MWE below, when are same type lists, there's no problem, and every ...
3
votes
0answers
81 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 ...
3
votes
0answers
555 views

Adding an environment to LyX for dividing a proof into steps

My question is basically a combination of the questions Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way? and Create new paragraph style in LyX....
3
votes
0answers
57 views

Select specific items located outside a main file

I have a data base of questions (simply individual .tex-files) and include some of them in a main file with the help of simple \input commands, in order to create an exercise. Some of those question ...
3
votes
0answers
99 views

difficulty correctly identifying all parameters affecting vertical placement within lists

I'm trying to align the baseline of the first line of a list environment with the baseline of a box. After working on this in various forms, I thought I was ready to tackle this issue. I also ...
3
votes
0answers
152 views

Indentation of Lists in Environments

Based on the answer of Markus Scharrer, I am using the custom lstnewenvironment to get code and Section with my environment. Since I use an environment in an environment (I know it may not be the best ...
2
votes
0answers
70 views

\box\@labels and macrocode environment

I'm not sure what macrocode environment intends to do with \box\@labels. Initially \box\@labels is void. When macrocode environment ends, it leaves some contents: \box15= \hbox(0.0+0.0)x0.0 .\...
2
votes
0answers
146 views

itemize/enumerate - how to turn the very first \item of the environment, including the bullet/item-number, into a hyperlink?

When in LaTeX2e using the hyperref-package, you can apply the command\hyperref[⟨referencing-label⟩]{⟨tokens that form the text of the hyperlink⟩}for turning phrases of text ...
2
votes
0answers
119 views

Generate an iterable list

I need to return an iterable list (that will be used in another steps) from an previous list that includes expandable content (variables and math operations). \def \scale {1} \pgfmathparse{\scale * ...
2
votes
0answers
100 views

Formatting an implication cycle proof

Some theorems/lemmata/propositions start with "If [...] then the following are equivalent:". After this, an enumeration (i), (ii), (iii) follows. The proof is usually done in an "implication cycle":...
2
votes
0answers
85 views

Compiling list of open problems

I'm writing my thesis, and along the way I am making note of relevant open problems. I would like LaTeX to keep track of these problems and then compile them in a separate section at the end of my ...
2
votes
0answers
86 views

How do I define and link to a labelled list?

I want to define a labeled list and refer to the items by name, with hyperlinks. My first thought was to use the description environment, put a \label in each item and retrieve the values with \...
2
votes
0answers
77 views

Text is out of borders in the list of items

Right now I have \documentclass{article} \usepackage[a4paper,left=3cm,right=5cm,top=2cm,bottom=2cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[english,main=russian]{babel} \usepackage{lipsum} ...
2
votes
0answers
104 views

Multiple Lists by Alphabetical Order at End of Document

I want to get the following lists, but I do not know how. I have investigated several approaches, but none led me to the desired result. I basically want my document to have several lists at the end. ...
2
votes
0answers
46 views

How can I divide an Xparse generated list by “section-like” environments?

I mostly use the xparse library to create organized lists. Here's an MWE: \documentclass{article} \usepackage{xparse} \newcounter{quest} \newcommand{\quest}{\noindent\stepcounter{quest}{\bf Q}{\bf \...
2
votes
0answers
98 views

Paralist : right shift with big labels

In paralist, one can adjust the room for large labels on the fly, but can it be done directely in the \setdefaultenum command ? \documentclass{article} \usepackage[flushleft,alwaysadjust]{paralist} \...
2
votes
0answers
92 views

List with wrapped figures

I am trying to define a list to describe a series of images. I would like each list element to have the image aligned with the first line of the description text and have the text wrap around the ...
1
vote
1answer
24 views

How to make part of question under exam class left align vertically

Here is the code : \documentclass{exam} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{parskip} \usepackage{dsfont} \usepackage{graphicx} \usepackage{adjustbox} \...
1
vote
0answers
19 views

Nested list in multicolumn, problem with resume

Background I have to copy some questions from a paper to LaTeX. However I don't have the source code for the work so I've got to it by hand. So far, I've used a couple of enumerate environments ...
1
vote
0answers
29 views

Custom table layout for variable description

What do I want to do I want to create a table for presenting a lot of variables in a clear way. Each class does get its own table containing up to one hundred variables, so the the table has to be ...
1
vote
0answers
41 views

How to reduce the vertical space between text and equations in itemize lists?

I'm having a small vertical spacing problem with some itemize lists. The vertical spacing between equations and the text above and under them is perfect, except in itemize lists, where the space is a ...
1
vote
0answers
16 views

Improving line-breaks in full-width index

I'm struggling to get an index to line-break appropriately. I have a custom package with several classes that I use write court pleadings and other legal documents. However, I semi-regularly have ...
1
vote
0answers
25 views

Change only one label in an etaremune list without affecting the numbering

I am using the package etarenume to make lists with decreasing labels instead of increasing. I am also using certain style for the labels, that I define locally for each list as follow: \...
1
vote
0answers
51 views

List style and section style

I'm trying to change list style with a section style, but I have a problem. It looks without a new line between the first item and "Hello" \documentclass{article} \usepackage{enumitem} \begin{...
1
vote
0answers
57 views

Assign marks to questions and then add them all up

I would like to assign and tally up points on LaTeX. Here is a snip it of my exam paper. \documentclass{exam} \begin{document} \begin{enumerate}[label=\textbf{\arabic*}\hspace{4mm}] \item Given $z=\...
1
vote
0answers
63 views

How can I make sure that an *arbitrary* part of a document is printed on the same page?

I want to make sure that an arbitrary part of the document is always printed on the same page. Note 1: My problem focuses on lists and tables. However, I believe that the solution (if there is one)...
1
vote
0answers
126 views

How to use answers package if there are sub parts and sub-sub-parts in the question

I want to use answers to produce solution files for questions with parts, subparts, sub-sub-parts. Here is a MWE: \documentclass[12pt,a4paper]{article} \usepackage{answers} %\usepackage[...
1
vote
0answers
45 views

How do I write a labelede list with cross references to the list items?

I would like to write a labeled list and refer to items in it from elsewhere in the document. My first thought was to use the description environment and the \label tag, but that doesn't seem to work. ...
1
vote
0answers
46 views

Create custom Lists i.e. Abbreviations and add these to the TOC

I'm currently encountering the problem that, I need to create Lists of Abbreviatings and Code Listings ( yes Listings List is in Lyx, but it wont compile if I add it ). Is there a possibility to ...
1
vote
0answers
95 views

sub-levels {description} latex

I work latex with the description list but its sub-levels are limited. The most we can get is up to seven levels. After searching the latex documentation, we find the easylist environment, but the ...
1
vote
0answers
51 views

cross-referencing two long lists; general recommendations?

I have two collections of things: (1) equations with other information (like citations, conditions for validity, etc) associated with each, and (2) comments about each equation that I want to list ...
1
vote
0answers
136 views

I am loosing vertical space befor and after minipage/parbox/vbox within a list

I have a two column list. Some of the items are supposed to be grouped by a huge brace so I am trying to use minipage or parbox or vbox to group them, however I am loosing the vertical space between ...
1
vote
0answers
147 views

Make enumerate indent stretch

Some of my enumerate lists cause overfull hboxes. For example. \documentclass[12pt,a4paper]{article} \usepackage{microtype} \usepackage[scaled]{helvet} \renewcommand{\familydefault}{\sfdefault} \...
1
vote
0answers
86 views

What is a better way to link questions and answers on a problem sheet?

I write many problem sheets. The basic structure is thus: \section{Questions} \begin{enumerate} \item Question 1 \item Question 2 \item Question 3 \end{enumerate} \...
1
vote
0answers
148 views

Avoid empty line after quote environment when last element in footnote

Is there any way to redefined the quote environment (or the list environment in general) so that it does not issue an empty new line. I need to have block quotes in footnotes and the extra empty line ...
1
vote
0answers
112 views

Terminate and Start and environment from within the environment

How can I terminate and resume an environment by another environment? This also seems to have broken the resume feature which was resolved in Define a List that is Always Resumed. The code \begin{...
1
vote
0answers
118 views

tex4ht configure a personal list after the configuraiton of enumerate

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I have defined a customized list MYLIST in my .tex. this list MYLIST is very simple: I ...
1
vote
0answers
133 views

List and justified text

I'd like to indent every line of a paragraph but the first one. I found a solution here (Indent all but first lines of paragraph.) and I use the approach with the adjusted list. The only problem is, ...