10
votes
2answers
276 views

Macro to generate ordinal words from numbers?

Is there a macro available that will turn "1" into "first", "2" into "second", etc. Let's call this macro "wordth". Then, for example, if item number 2 in an enumerate environment is labeled by ...
1
vote
1answer
53 views

Automatic labeling of enumeration items

I would like to redefine the enumerate environment so that each \item automatically sets \label{en:\arabic{page}\alph{enumi}}. I already tried \usepackage{etoolbox} ...
4
votes
1answer
91 views

Format reference to items in nested list with cleveref

I'm using the cleveref package to format references in my documents. However I am having difficulties implementing different formats for labels referring to enumerate-lists, in particular nested list. ...
7
votes
2answers
134 views

Enumerate level 2 reference format

In the following example, when I refer the enumerate level 2, it comes out 2a instead of 2 (a). How can I change that? \begin{document} \maketitle \begin{abstract} \end{abstract} \section{} ...
7
votes
1answer
78 views

How to refer a particular item in enumthm

I tried to use LaTeX to write a definition. It looks good but is there another way to avoid hard-coded (d)-item in the last item? \documentclass[a4paper]{article} \usepackage[T1]{fontenc} ...
4
votes
1answer
77 views

Strange output of \getrefnumber (refcount package) with custom enumeration

Can someone help my why are the two warning messages different syntactically (when they seem to be generated the same way)? \documentclass{article} \usepackage{enumitem} \usepackage{refcount} ...
8
votes
2answers
87 views

Can I include the last index inside the label of an enumeration?

Can I achieve something like this with automatic numbering? Examples: 1 of 93: Example one 2 of 93: Example two ... 92 of 93: Example ninety-two 93 of 93: Example ninety-three I can ...
5
votes
2answers
218 views

enumitem: referencing items in enumerate

Say we have a huge document with many sections, subsections, and subsubsections. In a few of these sections, we have enumerated environments. The package I am using is enumitem. One of the ...
2
votes
1answer
86 views

Referencing enumerated observations in proof

I am writing a rather complicated proof (graph theory/algorithmics), which contains a number of listed observations that are going to be referenced later in the course of the proof. The observations ...
3
votes
2answers
80 views

Format \ref output from enumeration item to not include section name

I'm referencing items in an enumerated list from another document (requirements.tex). I can do that, but I get extraneous information I haven't been able to remove. Requirements.tex: ...
4
votes
1answer
58 views

Cross Reference Enumeration from a Different Document

I'm working on a Design document that is based on a Requirements document that is subject to change. The Design document must reference Requirements in an enumerated list from the Requirements ...
4
votes
1answer
429 views

Customizing enumerate item label

I have a list that looks like follows: 1 (a) Red Apple (b) Blue Apple 2 (a) Red Orange (b) Blue Orange I want to say "(a) implies (b)." So I label items as follows: \begin{enumerate} \item ...
0
votes
1answer
203 views

Intelligent way to autoref / label enumerations

I want to automatically label and reference a enumeration of functional requirements. The labeling works, but I can't reference the list items via \ref{REQ1} etc. ...
6
votes
1answer
83 views

How to refer to the number of an item in an enumerate environment inside a theorem

I have something that looks like this: \usepackage{amsmath} \begin{document} \begin{thm} The following are true: \begin{enumerate} \item \label{foo} Foo \item \label{bar} Bar \item \label{baz} Baz ...
3
votes
2answers
199 views

referencing an item from enumerate in an article calss

I misspoke I meant I used enumerate not cases sorry. Is it possible to reference a case? I have \begin{enumerate} and then cases 1 to 4 where each case is a rather detailed. I would like the refer ...
3
votes
1answer
106 views

Latex Enumerated List referencing

In latex, when I'm trying to cross reference an item from an enumerated list, instead of getting 6.3, I'm getting 66.3, My list is a normal list just like any other, only I'm declaring the codes ...
2
votes
1answer
52 views

Referencing in multienum package

Can you reference the counter when using the multienum package? See MWE below: \documentclass{article} \usepackage{multienum} \begin{document} \begin{multienumerate} ...
2
votes
1answer
201 views

cross-reference with second level items

In the following situation \begin{enumerate} \item \begin{enumerate} \item \label{ii} \item \end{enumerate} \item \end{enumerate} Item \ref{ii} I obtain in the output (a) (b) 2. ...
4
votes
1answer
167 views

Redefine label in enumerate list

First: Some days ago I posted this question on The LaTeX Community but I have not gotten an answer so I post it here. Consider the following MWE: \documentclass[danish]{article} \usepackage{babel} ...
5
votes
1answer
134 views

Link enumerate item to subsection

I have an enumerate like this \begin{enumerate} \item this is item 1 in \ref{SectionName1} \item this is item 2 in \ref{SectionName2} \end{enumerate} \section{AAA} \label{SectionName1} text ...
7
votes
2answers
197 views

How to get a customized counter in enumerate environments and how to label and refer to the items?

In my enumerate environments, I want to have something like \myitem which automatically prints 3(a)., 3(b). etc. (and of course, the regular \items which still print the regular 1., 2., etc.) BTW, I ...
7
votes
2answers
383 views

Automatic referencing of item number in enumerate environment

Here is what I want: And here is how I want to achieve this: Just like you have the \label and \ref commands for automatic section number referencing, I wish to have something similar which will ...
6
votes
1answer
291 views

Simple answer for multiple choice question

I am writing a question, and I have something like this: \begin{enumerate} \item Question 1 \begin{enumerate} \item Choice 1 \item Choice 2 \end{enumerate} \end{enumerate} ...
8
votes
1answer
203 views

Unbold referenced label

I'm fetching references from an enumeration. The problem is that I want the labels of the enumeration to be bold (hence, I've added a \textbf command) but I want the references in the text to be plain ...
7
votes
3answers
2k views

Referencing an enumeration item with redefined \labelenumi

I've got the following problem. I redefined the \labelenumi command to get an alphabetic first-order enumeration. If I label an item in this enumeration and generate a reference to it, the number of ...
9
votes
3answers
387 views

Extended reference for enumerate item using parent environment

I want to reference an item of an enumerate list by it's normal label, if we are still in that same enumeration and by an parent.item syntax if we are somewhere else in the document. For example: ...
5
votes
2answers
302 views

How to make the hyperlink point to the top of linked figure and item of enumeration?

I want to create a problem booklet. Each problem numbered by enumerate has at most one figure that may either be in marginpar or float and occupy the full width. The caption for each figure has a ...
5
votes
1answer
1k views

Custom enumeration for axioms or hypothesis

This is a follow-up from : Custom Enumeration I'd want to obtain something like : Axioms list : A1. First axiom A2. Second axiom A2'. Equivalent version of the second axiom with cross-reference, ...
17
votes
2answers
4k views

\ref should use enumerate label name

I have done this: \begin{enumerate} \renewcommand{\labelenumi}{\textbf{S.\theenumi}} \item a \item \label{l} b \item c. goto \ref{l} \end{enumerate} The \ref just uses the enumerate number. But I ...
6
votes
1answer
588 views

How do I cross-reference custom labels in my enumitem lists without having the punctuation show up?

I am using enumitem to handle my enumerate and itemize lists. I have a list like \begin{enumerate}[label=Step \arabic{enumi}.] \item step the first \label{en:step-1} \item el secundo ...
10
votes
1answer
437 views

Enumerate environments within theorems

How to create an environment for enumerating that allows one to identify the enumeration with the theorem environment? Example: Definition 1.1 Let X be a set. An algebra over X is a collection C ...
10
votes
4answers
654 views

Custom Enumeration

I have a problem with enumerating a list of axioms in a custom style. For instance, if I wanted to write down the axioms that a function will have to satisfy for it to be a homomorphism of rings, ...
2
votes
1answer
160 views

How to cross reference a section and item in a list in single document?

I want to cross reference sections as well as some items in the list in my document. for ex: \label helps us to cross reference the sections. If we renew the command to provide the cross reference for ...
10
votes
2answers
985 views

Redefining enumerate counters in beamer

I'd like to do two things with the enumerate environment in beamer. I'd like to reformat it so that it shows up as (1) An item a. A subitem b. Another subitem I'd like to be able to refer to ...
3
votes
1answer
495 views

How to refer to labels in math mode from math mode

If you refer to item labels that are written in math mode from some other math mode occurrence, then you get errors. I guess it's because it leads to nested math modes. Is there any way to avoid these ...
3
votes
1answer
208 views

Naming enumerated lists referencing the names

Currently I have the following TeX \begin{enumerate} \item First idea \item \label{idea:s} Second idea \end{enumerate} \begin{enumerate} \item Point about \ref{idea:s} \end{enumerate} I would like ...
4
votes
4answers
2k views

Cross-reference entire enumerate list

I would like to refer to all the items of an enumerate environment, by applying a label to the list. I tried this \documentclass{article}[10pt] \usepackage{amsmath, hyperref, enumerate} ...
5
votes
3answers
366 views

Label a complete enumeration

I am trying to create a simple enumeration and give it a label so I can access it. But the only thing I get in return is the number of the subsubsection. This is my code, which doesn't seem to work. ...
4
votes
2answers
887 views

A question about customizing ref in enumitem package

I'm experimenting with enumitem version 3.4 (released Aug 2011) a little but facing a problem in customizing the ref. What I'm trying to reach is simple: Have list label in the form 1.1.3. for ...
12
votes
3answers
11k views

labels for itemize in proposition

I have a Proposition which consists of an itemize with three claims, i.e. \begin{prop} \begin{itemize} \item[(i)] ... \item[(ii)] ... \item[(iii)] ... \end{itemize} \end{prop} I wish to insert ...
11
votes
1answer
928 views

Referencing a nested list item by only its most immediate bullet

I'd like to be able to reference a nested enumerated list item only by its inner-most identifying character. \begin{enumerate}[(1)] \item \begin{enumerate}[(a)] \item \label{mylabel} Referenced ...
8
votes
1answer
1k views

Refer to customized `enumerate` counter

Background I'm typesetting a list of conditions for a certain mathematical object. There are three conditions. Later on I wish to provide an equivalent condition for the third. Therefore, it would be ...
4
votes
2answers
362 views

showexpl LTXexample and references inside enumerate

I've used the wonderful LTXexample environment defined by showexpl to illustrate some LaTeX basics. However, the following code confuses it: the reference remains ?? no matter how many times I ...
3
votes
2answers
657 views

Label numbering gone crazy

I have redefined the enumerate counters to include the section number, and this works as expected. However, when I try to cross-reference text in my document, the number on the reference doesn't show ...