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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
47 views

How to Stop Sublist from Inheriting Parent List Parameters

So I'm using the following user-defined list: \newenvironment{topiclist}{% \normalsize \begin{list}{}{% \setlength{\labelwidth}{1.1in} \setlength{\labelsep}{.2in} \...
4 votes
4 answers
1k views

Create math-exams with lists of student names

I am a math teacher form Germany. I want to create tests for my students. As is customary I will design two test groups: Test A Test B I will also have a list of names: Joe Peter Julie ... I want ...
0 votes
1 answer
20 views

How do I globally adjust/stretch the in-between vertical spacing of items in lists only when they include display style fractions in inline math mode?

Here's my MWE compiled using LuaLaTeX: \documentclass[oneside,DIV=12]{scrbook} \usepackage{scrhack} \usepackage[automark]{scrlayer-scrpage} \usepackage[english]{babel} \usepackage[babel]{microtype} \...
25 votes
5 answers
7k views

How to automatically align the four choices of a multiple choice question in exam?

This question led to a new package: multiple-choice We can have three types of column typeset. See the image below: The above image was created using the LaTeX code below: \documentclass{article} \...
1 vote
2 answers
23 views

Whitesace in Leading Zeroes in Enumerate Environment

I've been trying to make an enumerate environment with this format: "N09 P###.", where ### is a list of zero-padded items from 1 to 200 (001-200). I was using this answer to help me with ...
0 votes
2 answers
279 views

Skip a level in nested list

I'd like a nested itemize environment like this: ·1 ____·1.1 _________·comments on 1.1 ·2 _________·comments on 2 The second comment has a format of the third level itemize, same as the ...
0 votes
1 answer
25 views

How can I have two spaces before the broken lines in inputlisting?

I am using the solution from How can I write line numbers inside boxed code. Its code with slightly changes: \begin{filecontents*}{\jobname.sol} function hello_world(uint a, uint b, uint c, uint d,...
5 votes
1 answer
168 views

Vertical spacing between equation and itemize environments

Even though similar questions arose here and there, I cannot find a satisfying answer to my problem. I am trying to have consistent/identical vertical spacing between text, equations and lists in ...
1 vote
1 answer
30 views

Listing something as table with one column

This is more a question on general design of something than a technical question. I want to list parameters that are used in a model. Since I have 7 parameters I think it wouldn't be readable if I ...
1 vote
2 answers
45 views

How define a command with argument to specify which list to return?

I want to define a command that returns one or another list, as a list enclosed in braces, that, in my real document and not this MWE, I can use as an argument to something else (namely, the list over ...
0 votes
0 answers
54 views

How to have better tab and alignment in maths equations?

Instead of typing the \hspace{30mm} or otherwise to set the space, are there any other ways to efficiently 'tabbing' different equations in different alignment environments? Sorry if the code is bad, ...
1 vote
2 answers
41 views

Multiple List Columns with Images

I've seen answers as to how to make multiple columns, but I have Venn diagrams that go with each item in the list, and I want to make two columns of two items and their diagrams rather than one column....
47 votes
1 answer
76k views

How to effectively use List of Symbols for a thesis?

I am looking at some thesis templates online, and virtually all of them have a line that says: \chapter*{List of Symbols} \addcontentsline{toc}{chapter}{List of Symbols} For example: https:/...
0 votes
1 answer
71 views

Error while compiling list of symbols when using Greek letters

I am writing a list of symbols and acronyms for my thesis using \usepackage[printonlyused]{acronym} and \usepackage{multicol} I have no issues for Latin letters, but when I want to use, for example, ...
0 votes
0 answers
31 views

What is the difference of using \list vs. \begin{list} and \endlist vs. \end{list} [duplicate]

When creating environments based on list I have seen two implementations: \documentclass{report} \newenvironment{examplea}{% \begin{list}{}{% stuff here }} {\end{list}} \newenvironment{exampleb}{% \...
0 votes
1 answer
148 views

list of tables and list of figures for each chapter

I'm working on my these and I would like to have for each chapter its own bibliography, its own list of tables and its own list of figures. For the bibliography I'm using chapterbib package : I've a ...
0 votes
1 answer
44 views

Aligning Text within a List with Different Length Text to Start Each Line

For my discrete structures class I often find myself creating lists which contain equations or propositional statements, with a description needed on the same line but further to the right. I want to ...
4 votes
1 answer
187 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 ...
0 votes
1 answer
104 views

Tikz Nodes in two columns from a list

I'd like to do the following. I want to iterate over a 2 dimensional list and place tikz nodes under each other in two columns. Each element contains the following information: name of the node and ...
0 votes
1 answer
21 views

How to Increase the Separation of the Numbering and Caption on a List of Definitions to Avoid Overlays

I'm working with a list of definitions (LOD) that wich, in essence, is the one presented in the following pice of code (except for the numbering). I am running into the issue that, for large numbers, ...
14 votes
1 answer
3k 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 zot ...
1 vote
1 answer
33 views

How to skip the item body in an inline description* list?

I am having a simple doc: \documentclass[a4paper,12pt]{article} \usepackage{enumitem} \newlist{inlinedesc}{description*}{1} \setlist[inlinedesc]{itemjoin={{ $\odot$ }}, itemjoin*={{ and }}} \...
1 vote
0 answers
31 views

How to make inline description* list left-aligned and hyphenated?

I am having a simple doc: \documentclass[a4paper,12pt]{article} \usepackage{enumitem} \newlist{inlinedesc}{description*}{1} \setlist[inlinedesc]{itemjoin={{ $\odot$ }}, itemjoin*={{ and }}} \...
0 votes
1 answer
59 views

Add tag, label to several items in a list

Is it possible to add a tag the way aligned environment does, but with itemize? I want to achieve such a result I managed to do that with this workaround, but it doesn't look neat for me. \noindent ...
126 votes
2 answers
79k views

\topsep, \itemsep, \partopsep, \parsep - what do they each mean (and what about the bottom)?

The enumitem package documentation says: \topsep, \itemsep, \partopsep, \parsep? Ok, it doesn't quite say that, but it also doesn't illustrate what these dimensions mean. Can I get a diagram with ...
1 vote
1 answer
113 views

How Can I Remove White Splace Caused by a List in a LaTeX Table

I created this table: \begin{table}[!h] \caption{\label{tab:choix-de-carriere-different}Choix de carrière: ingénieur logiciel} \centering \begin{tabularx}{\linewidth}{|p{10 em}|X|} \hline \textbf{...
0 votes
2 answers
59 views

How to save variable values into list [closed]

I want to save the content of a token into a list like this. \documentclass{article} \usepackage{etoolbox} \begin{document} \def\abc{1} \listgadd{\lista}{\abc} \def\abc{2} \listgadd{\...
7 votes
4 answers
615 views

LTR text where it should be RTL (right to left) in beamer list second level

I have this example of writing right to left list in beamer \documentclass{beamer} \usefonttheme{serif} \usepackage{bidi} \setbeamertemplate{enumerate item}[circle] \setbeamertemplate{itemize ...
1 vote
1 answer
31 views

List of abbreviations using setlist and enumitem package

I am writing a list of abbreviations. This is the format that I use. So I use this configuration \usepackage{enumitem} \newlist{abbrv}{itemize}{1} \setlist[abbrv,1]{label=,labelwidth=1in,align=...
0 votes
1 answer
28 views

Inconsistent line breaking in list environment

The following test code \documentclass[8pt]{article} \usepackage{extsizes} \usepackage{setspace} \setlength{\parindent}{0pt} \setstretch{0.75} \begin{document} \begin{itemize} \item[] ...
1 vote
1 answer
37 views

How do I align the start of each \item in an enumerate environment with left-aligned labels?

Here's my MWE using LuaLaTeX and the scrbook KOMA-Script class: \documentclass[% % draft, twoside, headings=openany, % parts/chapters start on any page whether it's odd or even DIV=15, % division ...
43 votes
6 answers
12k views

enumitem horizontal spacing parameters

I am still struggling with enumitem. I don't understand the horizontal spacing parameters at all. I have indeed read the documentation, and numerous answers to numerous questions, but despite all that ...
0 votes
1 answer
28 views

Remove vertical space above list in cell with color

When a list is the first item in a cell, it has a big vertical space above. In order to remove this space, classical answers are based on inserting \@minipagetrue before the list. Unfortunately, this ...
0 votes
2 answers
52 views

Adjusting glossary spaces

after creating a list of mathematical parameters, I have two questions: Some of their respective definitions are too long, and as a consequence, they will occupy two lines. As you can see from the ...
0 votes
1 answer
67 views

Right-align enumerate labels at left margins without explicit tagging

I want to declare enumerate lists, some items of which may have custom labels, so that the list is always aligned at the left margin, but the labelwidth is given by the maximum width of any label. ...
1 vote
0 answers
74 views

How can I cancel the unpleasant indentation of the enumerate environment?

I want to change the default indentation of the enumerate environment, so I use the enumitem package. Here is my code: \documentclass{article} \usepackage{enumitem} \usepackage[default-range=1]{lipsum}...
4 votes
3 answers
815 views

Smarter way to write bullet point notes?

when I take notes by hand I typically write them in a "bullet list" fashion, something like main phrase -> hence A -> since A follows B -> since A follows also C -> also from ...
0 votes
0 answers
22 views

\fltitem does not work properly when I compile large document

I've used the \fltitem to avoid the list problems recently. The \fltitem works very well when I compile a small document, however, the \fltitem does not work properly when I compile a large document ...
2 votes
2 answers
167 views

How can I write line numbers inside boxed code

I am trying to show a code-piece inside a box. I was wondering is it possible to has its line numbers inside the box as well, shifting code little to the right? I have following code: \expandafter\def\...
0 votes
1 answer
32 views

List with the first item equals the last number in another list + 1 [duplicate]

I want to set the first item in a list equal to the last item (a number) in a previous list plus 1 such that if I change the length in the list it will automatically update. My attempt: with the ...
0 votes
1 answer
35 views

How to define a custom description environment?

I want to define a new "custom-description" environment, say my description that taken in one length argument and produces the result that is achieved by the following code: \documentclass{...
1 vote
1 answer
176 views

List of Terms/Definitions Text off Page

new to TeX...Most of my document was provided to me as a template but there's something I can't get correct. Trying to make a list of definitions / terms, and on each line it should be like this: ...
0 votes
1 answer
546 views

How to make a custom list of symbols with separated greek and roman symbols?

I am using the glossaries package to make a list of acronyms and a list of symbols (separately). Following this approach, I tried to make a list of symbols that has that layout, but with a separated ...
7 votes
2 answers
237 views

Nested lists with roman numerals

I have seen here how roman numerals can be used in enumerate lists. How could I create nested lists with roman numerals, to get something like this? (i) ... (i.i) ... (i.ii) ... (ii) ...
6 votes
3 answers
333 views

How to make it so that newcommand takes the rest of my line as argument?

I declared a new command to format list elements in LaTeX as follows: \newcommand{\sitem}[1]{\item \makefirstuc{#1},} \newcommand{\eitem}[1]{\item \makefirstuc{#1}.} This works OK, but now I have to ...
1 vote
1 answer
114 views

White space in a theorem beginning with a list

This question is about how to get rid of the white space in a theorem beginning with a list between the theorem caption and the first item: \documentclass{article} \usepackage{amsthm} \usepackage{...
0 votes
0 answers
36 views

How to parameterize enumeration item indent by its level number?

I want to use the wide option of the enumitem package with indent depending on the level number. Is it possible to parameterize indent value of an enumeration element by its level number ? \setlist[...
19 votes
4 answers
43k 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 ...
0 votes
1 answer
131 views

How to reorder content in of autogenerated list of equations

I am creating a combined Notesheet/ formula sheet for one of my courses. I found this: Automatically list all equations from document This is almost exactly what I want to do, however I want to ...
3 votes
3 answers
130 views

How to change interline spacing only inside lists?

If I do the following: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{setspace} \usepackage{enumitem} \setstretch{2} \setlist[itemize]{topsep=.1em,itemsep=.1em,parsep=0em,partopsep=0em} \...

1
2 3 4 5
55