Enumerate: reference and hyperlink /hyperref the “numbering” of items
I aim to use
begin{enumerate}
item
...
end{enumerate}
Goal: such that the numbering (1,2,3,...) of each item in the list can have a reference and hyperlink /hyperref, so I can refer to them later. How to do it? Thank you in advance.
Presumably, I need to add
usepackage[colorlinks,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
How to reference and hyperlink /hyperref the "numbering" of items, presumably with a blue color for each number (1,2,3,...)?
A minimal MWE follows a related post here enumitem: referencing items in enumerate from @Werner
is
documentclass{article}
usepackage{enumitem,cleveref}% http://ctan.org/pkg/{enumitem,cleveref}
begin{document}
begin{enumerate}
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
begin{enumerate}[ref={observation~arabic*}]
item
one label{dog}
item
two label{cat}
end{enumerate}
This ref{cat} is a cat.
end{document}
hyperref cross-referencing enumerate enumitem hyperlink
add a comment |
I aim to use
begin{enumerate}
item
...
end{enumerate}
Goal: such that the numbering (1,2,3,...) of each item in the list can have a reference and hyperlink /hyperref, so I can refer to them later. How to do it? Thank you in advance.
Presumably, I need to add
usepackage[colorlinks,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
How to reference and hyperlink /hyperref the "numbering" of items, presumably with a blue color for each number (1,2,3,...)?
A minimal MWE follows a related post here enumitem: referencing items in enumerate from @Werner
is
documentclass{article}
usepackage{enumitem,cleveref}% http://ctan.org/pkg/{enumitem,cleveref}
begin{document}
begin{enumerate}
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
begin{enumerate}[ref={observation~arabic*}]
item
one label{dog}
item
two label{cat}
end{enumerate}
This ref{cat} is a cat.
end{document}
hyperref cross-referencing enumerate enumitem hyperlink
How to reference themitem
s? Uselabel
and then you canref
later. Oh, that's what you're already doing. So, what's the question?
– Werner
Jan 17 at 18:13
What's the question here? Loadinghyperref
helps
– Christian Hupfer
Jan 17 at 18:13
Does hyperref give a hyperlink? I am not sure
– wonderich
Jan 17 at 19:24
I want to have the itme number in blur color, and it can be referred later with a hyperref or hyperlink.
– wonderich
Jan 17 at 19:28
add a comment |
I aim to use
begin{enumerate}
item
...
end{enumerate}
Goal: such that the numbering (1,2,3,...) of each item in the list can have a reference and hyperlink /hyperref, so I can refer to them later. How to do it? Thank you in advance.
Presumably, I need to add
usepackage[colorlinks,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
How to reference and hyperlink /hyperref the "numbering" of items, presumably with a blue color for each number (1,2,3,...)?
A minimal MWE follows a related post here enumitem: referencing items in enumerate from @Werner
is
documentclass{article}
usepackage{enumitem,cleveref}% http://ctan.org/pkg/{enumitem,cleveref}
begin{document}
begin{enumerate}
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
begin{enumerate}[ref={observation~arabic*}]
item
one label{dog}
item
two label{cat}
end{enumerate}
This ref{cat} is a cat.
end{document}
hyperref cross-referencing enumerate enumitem hyperlink
I aim to use
begin{enumerate}
item
...
end{enumerate}
Goal: such that the numbering (1,2,3,...) of each item in the list can have a reference and hyperlink /hyperref, so I can refer to them later. How to do it? Thank you in advance.
Presumably, I need to add
usepackage[colorlinks,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
How to reference and hyperlink /hyperref the "numbering" of items, presumably with a blue color for each number (1,2,3,...)?
A minimal MWE follows a related post here enumitem: referencing items in enumerate from @Werner
is
documentclass{article}
usepackage{enumitem,cleveref}% http://ctan.org/pkg/{enumitem,cleveref}
begin{document}
begin{enumerate}
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
begin{enumerate}[ref={observation~arabic*}]
item
one label{dog}
item
two label{cat}
end{enumerate}
This ref{cat} is a cat.
end{document}
hyperref cross-referencing enumerate enumitem hyperlink
hyperref cross-referencing enumerate enumitem hyperlink
asked Jan 17 at 18:10
wonderichwonderich
766619
766619
How to reference themitem
s? Uselabel
and then you canref
later. Oh, that's what you're already doing. So, what's the question?
– Werner
Jan 17 at 18:13
What's the question here? Loadinghyperref
helps
– Christian Hupfer
Jan 17 at 18:13
Does hyperref give a hyperlink? I am not sure
– wonderich
Jan 17 at 19:24
I want to have the itme number in blur color, and it can be referred later with a hyperref or hyperlink.
– wonderich
Jan 17 at 19:28
add a comment |
How to reference themitem
s? Uselabel
and then you canref
later. Oh, that's what you're already doing. So, what's the question?
– Werner
Jan 17 at 18:13
What's the question here? Loadinghyperref
helps
– Christian Hupfer
Jan 17 at 18:13
Does hyperref give a hyperlink? I am not sure
– wonderich
Jan 17 at 19:24
I want to have the itme number in blur color, and it can be referred later with a hyperref or hyperlink.
– wonderich
Jan 17 at 19:28
How to reference them
item
s? Use label
and then you can ref
later. Oh, that's what you're already doing. So, what's the question?– Werner
Jan 17 at 18:13
How to reference them
item
s? Use label
and then you can ref
later. Oh, that's what you're already doing. So, what's the question?– Werner
Jan 17 at 18:13
What's the question here? Loading
hyperref
helps– Christian Hupfer
Jan 17 at 18:13
What's the question here? Loading
hyperref
helps– Christian Hupfer
Jan 17 at 18:13
Does hyperref give a hyperlink? I am not sure
– wonderich
Jan 17 at 19:24
Does hyperref give a hyperlink? I am not sure
– wonderich
Jan 17 at 19:24
I want to have the itme number in blur color, and it can be referred later with a hyperref or hyperlink.
– wonderich
Jan 17 at 19:28
I want to have the itme number in blur color, and it can be referred later with a hyperref or hyperlink.
– wonderich
Jan 17 at 19:28
add a comment |
1 Answer
1
active
oldest
votes
Perhaps you're interested in the following; setting the label
to use a colour and using hyperref
's linkcolor
to make it match:
documentclass{article}
usepackage{enumitem,xcolor}
usepackage{hyperref,cleveref}
hypersetup{
colorlinks = true,
linkcolor = blue
}
begin{document}
begin{enumerate}[label=textcolor{blue}{arabic*.}, ref=arabic*]
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
end{document}
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
1
@wonderich: Indeed. You can specify a separatelabel
andref
key. The former will be used for printing theitem
number and the latter will be used if youref
alabel
set in thatitem
.
– Werner
Jan 17 at 22:33
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470579%2fenumerate-reference-and-hyperlink-hyperref-the-numbering-of-items%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Perhaps you're interested in the following; setting the label
to use a colour and using hyperref
's linkcolor
to make it match:
documentclass{article}
usepackage{enumitem,xcolor}
usepackage{hyperref,cleveref}
hypersetup{
colorlinks = true,
linkcolor = blue
}
begin{document}
begin{enumerate}[label=textcolor{blue}{arabic*.}, ref=arabic*]
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
end{document}
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
1
@wonderich: Indeed. You can specify a separatelabel
andref
key. The former will be used for printing theitem
number and the latter will be used if youref
alabel
set in thatitem
.
– Werner
Jan 17 at 22:33
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
add a comment |
Perhaps you're interested in the following; setting the label
to use a colour and using hyperref
's linkcolor
to make it match:
documentclass{article}
usepackage{enumitem,xcolor}
usepackage{hyperref,cleveref}
hypersetup{
colorlinks = true,
linkcolor = blue
}
begin{document}
begin{enumerate}[label=textcolor{blue}{arabic*.}, ref=arabic*]
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
end{document}
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
1
@wonderich: Indeed. You can specify a separatelabel
andref
key. The former will be used for printing theitem
number and the latter will be used if youref
alabel
set in thatitem
.
– Werner
Jan 17 at 22:33
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
add a comment |
Perhaps you're interested in the following; setting the label
to use a colour and using hyperref
's linkcolor
to make it match:
documentclass{article}
usepackage{enumitem,xcolor}
usepackage{hyperref,cleveref}
hypersetup{
colorlinks = true,
linkcolor = blue
}
begin{document}
begin{enumerate}[label=textcolor{blue}{arabic*.}, ref=arabic*]
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
end{document}
Perhaps you're interested in the following; setting the label
to use a colour and using hyperref
's linkcolor
to make it match:
documentclass{article}
usepackage{enumitem,xcolor}
usepackage{hyperref,cleveref}
hypersetup{
colorlinks = true,
linkcolor = blue
}
begin{document}
begin{enumerate}[label=textcolor{blue}{arabic*.}, ref=arabic*]
item
one label{one}
item
two label{two}
end{enumerate}
This cref{two} is great.
end{document}
answered Jan 17 at 20:35
WernerWerner
441k679721667
441k679721667
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
1
@wonderich: Indeed. You can specify a separatelabel
andref
key. The former will be used for printing theitem
number and the latter will be used if youref
alabel
set in thatitem
.
– Werner
Jan 17 at 22:33
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
add a comment |
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
1
@wonderich: Indeed. You can specify a separatelabel
andref
key. The former will be used for printing theitem
number and the latter will be used if youref
alabel
set in thatitem
.
– Werner
Jan 17 at 22:33
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
Thanks +1, this is basically what I wanted
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
The key is this "[label=textcolor{blue}{arabic*.}, ref=arabic*]" I do not know this before!
– wonderich
Jan 17 at 22:14
1
1
@wonderich: Indeed. You can specify a separate
label
and ref
key. The former will be used for printing the item
number and the latter will be used if you ref
a label
set in that item
.– Werner
Jan 17 at 22:33
@wonderich: Indeed. You can specify a separate
label
and ref
key. The former will be used for printing the item
number and the latter will be used if you ref
a label
set in that item
.– Werner
Jan 17 at 22:33
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
You have comments on this too? tex.stackexchange.com/q/470600/41144 Thank you!
– wonderich
Jan 17 at 23:38
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f470579%2fenumerate-reference-and-hyperlink-hyperref-the-numbering-of-items%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How to reference them
item
s? Uselabel
and then you canref
later. Oh, that's what you're already doing. So, what's the question?– Werner
Jan 17 at 18:13
What's the question here? Loading
hyperref
helps– Christian Hupfer
Jan 17 at 18:13
Does hyperref give a hyperlink? I am not sure
– wonderich
Jan 17 at 19:24
I want to have the itme number in blur color, and it can be referred later with a hyperref or hyperlink.
– wonderich
Jan 17 at 19:28