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
0 votes
1 answer
27 views

Reducing item separation with easylist

Using \itemize I can easily adjust the vertical spacing between items \documentclass{article} \usepackage{enumitem} \setlist{noitemsep} \begin{document} \begin{itemize} \item foo \begin{itemize} ...
Toivo Säwén's user avatar
2 votes
1 answer
54 views

What symbols are available for easylist?

The documentation for easylist indicates that the following symbols are available beyond the default §: \usepackage[pilcrow]{easylist} to use ¶ \usepackage[at]{easylist} to use @ \usepackage[sharp]{...
Toivo Säwén's user avatar
0 votes
1 answer
40 views

Finding an int among a list of int

I'm trying to find a command or define a command that takes a list of integer and an integer and does things when the integer in in the list and does something else if it is not the case. I have seen ...
Rhylx's user avatar
  • 3
3 votes
2 answers
159 views

How to put formula and its variables side to side?

I want to write a formula and put on its right side the description of its variables. Here I just screenshoted the two parts and put them side to side with figure environment but I want to write some &...
Amnezic's user avatar
  • 33
2 votes
1 answer
82 views

How do I change the name for a clone of enumerate using enumitem and cleveref?

I want to construct a numbered list of items for which reference have issue rather than item. I'm using cleveref and enumitem, defining issue as an alias of enumerate with \newlist, and defining the ...
shmuel's user avatar
  • 1,367
1 vote
1 answer
27 views

Message ! Argument of \enit@refstar@i has an extra }. with enumitem

I am using the enumerate environment with the enumitem package. The command \begin{enumerate}[ref=\arabic] gives me the error message ! Argument of \enit@refstar@i has an extra }. <inserted text&...
shmuel's user avatar
  • 1,367
2 votes
1 answer
41 views

A command that would always place text at the beginning of the document

I am keeping something like a diary, that helps me keep track of things that I am working on. Occasionally there are some actions (To do's) that need to be taken, which I would like to keep on the ...
Steve OB's user avatar
1 vote
0 answers
33 views

Text list like numlist in siunitx

I can write, using siunitx, \numlist[parse-numbers=false]{\text{“Text 1”};\text{“Text 2”};\text{“Text 3”}} to get something like “Text 1”, “Text 2” and “Text 3” but how can I modify the command (or ...
mf67's user avatar
  • 435
1 vote
1 answer
35 views

enumitem: setting labelsep for description affect the list of other type inside it

When I use a oversize tcolorbox as the description label, the default labelsep is not big enough, as a result the label and the text may stick together when the label is long. As an attempt to fix ...
Jinwen's user avatar
  • 7,826
2 votes
3 answers
91 views

Why is the alignment of ordered list messed up by default and how to fix it?

I was recently trying to form a table inside an ordered list but, there's a small indent in the list with the table that's driving me crazy. Below is the code snippet- \documentclass[12pt]{article} \...
SilianRail's user avatar
2 votes
2 answers
129 views

Itemize a name list randomly several times throught the document

I have a list of names, say: \newcommand{\names}{Fred, Barry, Joe, Jack, Zach} and I just want to display the list in a randomized order a few times through my document. Something like: Barry, Zach,...
Andrew's user avatar
  • 53
0 votes
1 answer
55 views

Stepslist: "Step k of n"

I am trying to come up with a new enumerated list environment "stepslist" such that the items are marked with "Step k of n", where n is the total number of items in one stepslist ...
Alp Uzman's user avatar
  • 284
0 votes
1 answer
31 views

Highlighting Text and Making it Go to the Next Line in Itemize, and Removing Space at End of Highlighting, with Soul and Linegoal

I've been trying to split highlighted text into lines and not go over the margin in the itemize environment, but linegoal calculates the wrong margin in itemize. Also, the highlighting always gets to ...
Cheese Cake's user avatar
0 votes
1 answer
92 views

How can I styilize a descriptive list with a line between the label and the description?

I want my descriptive lists to look like... The source for that is (source)... \documentclass{article} \usepackage{tcolorbox} \tcbuselibrary{skins,hooks} \newcommand\fancybox[3]{% \tcbset{ mybox/...
user41177's user avatar
  • 167
0 votes
0 answers
40 views

Digital SAT Question Format with Exercise Package

I am working on a textbook using the exercise package. I would like for each exercise to look like the new digital SAT format. I worked off of (SAT like question format) before realizing the exercise ...
interestedineducation's user avatar
2 votes
1 answer
72 views

How to connect lists with vertical lines?

So I want to write my notes where there are lists connected with vertical lines. I want the exact format displayed as in the below photo where in the nested lists the "main" line is ...
albin kabashi's user avatar
2 votes
1 answer
97 views

SAT like question format

How do I create question like those in SAT (with black and gray color) by my own enumerate design so like every time I write \begin{myenumerate} it will generate like those in SAT exams. Thank you!
albin kabashi's user avatar
0 votes
0 answers
34 views

How do you recreate this list using something like listliketab?

So I'm recreating a book in LaTeX and I need to find a way to recreate this type of list. Note: Please make the indent of the paragraph the same as the indent of the list: Here's my attempt (MWE): \...
Adrik Ivanov's user avatar
0 votes
0 answers
29 views

Blank line between each entry of List of Tables and List of Figures

I am working on my dissertation. The requirement is: The list of figures/tables should be single spaced with a blank line between each entry. I am using the following snippet, it creates the list of ...
M. A. Hayat's user avatar
1 vote
1 answer
27 views

Is it possible to put image mid of the list item in minipage?

\documentclass[12pt,a4paper]{book} \usepackage[spanish]{babel} \usepackage{xcolor,graphicx,eso-pic} \begin{document} \noindent \begin{minipage}[t]{0.5\textwidth} \begin{enumerate} \vspace{-0.3cm}...
Samia Rani's user avatar
0 votes
1 answer
77 views

Change space between the item in LaTeX? [duplicate]

I am writing a report in Latex, so I am writing the evidence found, each evidence is written in items, how to modify the white space when there is a line break? I have tried: \begin{itemize} ...
Vanessa's user avatar
2 votes
1 answer
67 views

Indented vertical lines in list, (as seen in 99 Variations on a Proof by P. Ording)

I'd like to replicate this: I'm having trouble with the indented vertical line, everything else is just a list, I think. I tried a couple of leftbar and lists environments; but leftbar is not ...
Lisica's user avatar
  • 21
0 votes
0 answers
35 views

Item labels are outside document page margin with lualatex?

I am using Latex for my homework assignments in our native language Hebrew. I've been using polyglossia with XeLateX until now, but after encountering several annoying bugs I couldn't figure out how ...
Shai Avr's user avatar
  • 387
0 votes
1 answer
31 views

In classicthesis, is it possible to have lists of figures, listings etc. without leading "figure", "listing", etc?

In classicthesis, how can I remove the leading "Figure", "Listing", or "Table" before the actual figure/listing/table number? In other words, what I have is: Figure 1.1 ...
inmyutopia's user avatar
3 votes
1 answer
41 views

Nested enumerate list ending with a character

I am trying to have a nested enumerate item ending with a special character; in my case ")" character. According to some answers, people were suggesting making something like: \documentclass[...
R. W. Prado's user avatar
2 votes
1 answer
70 views

How can I get multicols to list across instead of down?

Preamble \usepackage{multicols} \usepackage[shortlabels]{enumitem} \begin{document} \begin{multicols}{2} \begin{enumerate}[(a)] \item Item 1 \item Item 2 \item Item 3 \item Item 4 ...
James Da Silva Chen's user avatar
2 votes
1 answer
71 views

Complex list (double numbering) in LaTeX

I'm working on a text that has a long list of numbered items (some with sub-numbers). Under normal circumstances, there wouldn't be an issue, but someone (not me) wanted to have cross-references to ...
Karl Wolfschtagg's user avatar
0 votes
1 answer
38 views

Table cells with vertically spread contents

I have been using lists inside multicols for a "condensed" typesetting of lists of short items. However, I do not like what happens if a page break occurs inside, and I couldn't find a way ...
Alexey's user avatar
  • 2,007
5 votes
1 answer
125 views

Align equations within a list

I was wondering if there is a good solution to align math. equations separated by text items within a list. Below is my trial. Thanks. \documentclass{article} \usepackage{mathtools} \begin{document} ...
AEW's user avatar
  • 797
0 votes
0 answers
51 views

Get randomized lists with optionnal seed

I want to random some items in an exercise and be able to display the corresponding solutions in the same order. With xsim package such lists are in two different places so I thought about a first ...
Piroooh's user avatar
  • 1,197
1 vote
1 answer
68 views

Context non equal space after itemize label in RTL document

Why in this example spaces after ) of inline itemize environment are not equal, and how to fix this? \setuppapersize[A4] \mainlanguage[arabic] \setupdirections[bidi=global,method=one] \setupalign[r2l] ...
Salim Bou's user avatar
  • 16.8k
4 votes
2 answers
90 views

Moving itemize to the right margin of the page

I am looking for this desired effect (hrule is to show the margins of the page): As shown in the picture, I want the itemize environment to be moved to the right margin of the page (exactly like \...
EnergeticElectrification's user avatar
1 vote
1 answer
45 views

Extend vline slightly beyond surrounding box?

Is there a way to extend a \vline slightly beyond the boundary of the surrounding box? In the case I have in mind, I'm attempting to have a continuous vertical line between several items in an ...
joshisanonymous's user avatar
4 votes
5 answers
448 views

Comma separated list replacement

I have a comma-separated list of information provided by the author as a preamble to my document. I then want to use this list and I'd like to put one item from my list per line. My idea was simply to ...
Clem's user avatar
  • 45
0 votes
0 answers
22 views

Contact info in a scientific paper

I'm writing a scientific paper and I came to the last part of it which is listing the info and contact info of the authors. I wrote the following code: \begin{enumerate} \item[{}] \textsc{ Yasser ...
Hussein Eid's user avatar
0 votes
0 answers
18 views

Latex, oblivoir class: make index with hyperlink

I want to make index list with hyperlink. The LaTeX code is: \documentclass{oblivoir} \usepackage[utf8]{inputenc} \usepackage{imakeidx} \usepackage{hyperref}% \makeindex \begin{document} \...
Kyongson.J's user avatar
1 vote
1 answer
38 views

Cross Referencing an Item within an Enumerate Display

Consider the code: \documentclass[12pt]{book} \begin{document} \thispagestyle{empty} \begin{enumerate} \itemsep3.0em \item Item 1 \item Item 2 \item Item 3 See also item [referenced \#, in this case \...
mlchristians's user avatar
  • 7,756
0 votes
0 answers
21 views

Where is the current indent of environments stored?

I know that \marginwidth+\marginsep gives the effective left margin for body text, but what about the extra indent from nested environments (like lists)? The idea was for an enviroment that 'escapes' ...
Lorenzo Marcantonio's user avatar
0 votes
1 answer
43 views

Custom tasks environment with a task counter

I use the tasks package extensively and it's become necessary for me to obtain the current task number/letter at any point. There doesn't seem to be a built in \theenumi like in the enumitem package, ...
Dan P.'s user avatar
  • 311
1 vote
2 answers
38 views

Nested lists customization

I want to reproduce the box in the image, but I am having problems with the nested list (I want indentation, instead of having entries aligned). Here my code: \documentclass[12pt]{report} \usepackage[...
enrico223's user avatar
3 votes
1 answer
85 views

Preventing the List of Figures from Adopting the Display Style of Captions

Consider the code \documentclass[12pt]{book} \usepackage{graphicx,caption} \usepackage[T1]{fontenc} % Allows one to make bold smallcaps. \begin{document} \thispagestyle{empty} \begin{figure}[!htb] \...
mlchristians's user avatar
  • 7,756
-3 votes
2 answers
74 views

(Challenge) Making a table with checklists and proper alignment [closed]

Perhaps you might want to take this question as some sort of challenge. I'm really just looking for the "most efficient way" of making a table similar to that in the image directly below (in ...
GPWR's user avatar
  • 267
0 votes
0 answers
28 views

Prevent page break within \item of an enumerate in LyX without redefining \item

(For background and current purpose of this question, please see here: Prevent page break within \item of an enumerate). I have an enumerate of questions. Each of those questions has some opening text ...
scottkosty's user avatar
  • 12.7k
2 votes
1 answer
41 views

Enumerate Environment with Item Numbers in Left Margin and Item Textwidth = Page Textwidth

MWE--- \documentclass[12pt]{book} \usepackage{enumitem,lipsum} \begin{document} \thispagestyle{empty} \lipsum[3] \begin{enumerate}[wide,labelwidth=6pt,labelindent=-15pt] \item \lipsum[13] \item \...
jean-marie's user avatar
  • 1,014
0 votes
1 answer
43 views

Applying \textfrench to item numbering inside lists written in Arabic

CONTEXT | Bilingual document, Polyglossia in the preamble: Arabic=main, French=secondary (mostly for math). Used \textfrench to render page numbering and theorem numbering with the same font used in ...
Hamza Nouar's user avatar
1 vote
5 answers
259 views

Prevent page break within \item of an enumerate

I have an enumerate of questions. Each of those questions has some opening text and then a nested enumerate. I give an example below that results in a page-break in the middle of the second question ...
scottkosty's user avatar
  • 12.7k
2 votes
1 answer
51 views

Append an \item to nested enumerate

I would like to append an \item to nested enumerate environments. The following example almost does what I want, but it also appends an \item to non-nested enumerates: \documentclass{article} \...
scottkosty's user avatar
  • 12.7k
4 votes
1 answer
85 views

Reseting the TotalCount (totcount) each section

I am trying to set-up a system where I can total a counter for each section and print this, then reset each section. MWE: \documentclass{article} \usepackage{xparse} \usepackage{ifthen} \usepackage{...
Terry Panda's user avatar
0 votes
3 answers
56 views

Place text at margin, breaking a list (flexibility to work before items required)

Within a list environment, enumerate say, how can I place some text, between or before items. MWE: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} % Text here ...
Terry Panda's user avatar
1 vote
1 answer
35 views

How to put pictures in an enumerated list (beside "minipage")?

I would like to make an enumerated list with pictures below the text. Something like this I have tried the minipage before, as mentioned in What's the best way to include graphics in an enumerated ...
Edoardo's user avatar
  • 35

1
2 3 4 5
58