First instead of 1 when referencing Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manarahyperlinks in biblatexpageref points to wrong page number(Avoid) hyperref links across pages, with automatically generated contentHyperref to the correct entry when using multiple bibliographiesLong caption with listoffigures - breaklink and hyperref issueCalendar instead of table of contentsHow to link to a Theorem that contains only an enumerated listitemize/enumerate - how to turn the very first item of the environment, including the bullet/item-number, into a hyperlink?How to modify the text that prints when cross-referencing a table?How do I link from one piece of text to another within a LaTeX document?

When do you need buffers/drivers on buses in a microprocessor design?

How to open locks without disable device?

Tikz positioning above circle exact alignment

Is accepting an invalid credit card number a security issue?

Implementing 3DES algorithm in Java: is my code secure?

As an international instructor, should I openly talk about my accent?

Was Dennis Ritchie being too modest in this quote about C and Pascal?

What *exactly* is electrical current, voltage, and resistance?

How to avoid introduction cliches

Putting Ant-Man on house arrest

Is Diceware more secure than a long passphrase?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

First instead of 1 when referencing

Can I criticise the more senior developers around me for not writing clean code?

What’s with the clanks at the end of the credits in Avengers: Endgame?

Why do games have consumables?

Does Mathematica have an implementation of the Poisson binomial distribution?

Scheduling based problem

What is this word supposed to be?

What is purpose of DB Browser(dbbrowser.aspx) under admin tool?

How to have a sharp product image?

Do I need to watch Ant-Man and the Wasp and Captain Marvel before watching Avengers: Endgame?

Co-worker works way more than he should

Why doesn't the standard consider a template constructor as a copy constructor?



First instead of 1 when referencing



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manarahyperlinks in biblatexpageref points to wrong page number(Avoid) hyperref links across pages, with automatically generated contentHyperref to the correct entry when using multiple bibliographiesLong caption with listoffigures - breaklink and hyperref issueCalendar instead of table of contentsHow to link to a Theorem that contains only an enumerated listitemize/enumerate - how to turn the very first item of the environment, including the bullet/item-number, into a hyperlink?How to modify the text that prints when cross-referencing a table?How do I link from one piece of text to another within a LaTeX document?










5















I'm using an enumeration with labels assigned to the items.
Referencing to the items it works fine, but in some cases I would like to have "1st" or even "first" instead of just "1", with the former one not being that much of an issue, but as I'm also using hyperref I would like to have "1st" as a link and not only "1"st with the "1" being the link.
But the "first" is more important for me and it should also be a clickable link.
Does anyone have a solution for my issue?



see the MWE here:



documentclassarticle
usepackage[utf8]inputec
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The first item xyz...
enddocument









share|improve this question







New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Welcome to TeX - LaTeX!

    – Andrew Swann
    5 hours ago















5















I'm using an enumeration with labels assigned to the items.
Referencing to the items it works fine, but in some cases I would like to have "1st" or even "first" instead of just "1", with the former one not being that much of an issue, but as I'm also using hyperref I would like to have "1st" as a link and not only "1"st with the "1" being the link.
But the "first" is more important for me and it should also be a clickable link.
Does anyone have a solution for my issue?



see the MWE here:



documentclassarticle
usepackage[utf8]inputec
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The first item xyz...
enddocument









share|improve this question







New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Welcome to TeX - LaTeX!

    – Andrew Swann
    5 hours ago













5












5








5


0






I'm using an enumeration with labels assigned to the items.
Referencing to the items it works fine, but in some cases I would like to have "1st" or even "first" instead of just "1", with the former one not being that much of an issue, but as I'm also using hyperref I would like to have "1st" as a link and not only "1"st with the "1" being the link.
But the "first" is more important for me and it should also be a clickable link.
Does anyone have a solution for my issue?



see the MWE here:



documentclassarticle
usepackage[utf8]inputec
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The first item xyz...
enddocument









share|improve this question







New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm using an enumeration with labels assigned to the items.
Referencing to the items it works fine, but in some cases I would like to have "1st" or even "first" instead of just "1", with the former one not being that much of an issue, but as I'm also using hyperref I would like to have "1st" as a link and not only "1"st with the "1" being the link.
But the "first" is more important for me and it should also be a clickable link.
Does anyone have a solution for my issue?



see the MWE here:



documentclassarticle
usepackage[utf8]inputec
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The first item xyz...
enddocument






hyperref






share|improve this question







New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 6 hours ago









AndreasAndreas

284




284




New contributor




Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Andreas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1





    Welcome to TeX - LaTeX!

    – Andrew Swann
    5 hours ago












  • 1





    Welcome to TeX - LaTeX!

    – Andrew Swann
    5 hours ago







1




1





Welcome to TeX - LaTeX!

– Andrew Swann
5 hours ago





Welcome to TeX - LaTeX!

– Andrew Swann
5 hours ago










2 Answers
2






active

oldest

votes


















5














You can use hyperref to create a link like ref would do (the first argument is an optional argument, but I don't know why):



documentclassarticle
usepackage[utf8]inputenc
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The hyperref[itm:1]first item xyz...
enddocument





share|improve this answer























  • Works like a charm, thanks a lot!

    – Andreas
    5 hours ago


















5














Building on Ulrike’s answer,



documentclassarticle
usepackagefmtcount
usepackagerefcount
usepackage[colorlinks=true]hyperref

newcommandordinalref[1]%
hyperref[#1]ordinalstringnumgetrefnumber#1%


begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The ordinalrefitm:1 item xyz...\
The first item xyz...
enddocument


It doesn't work for nested items, unless you change the reference format.



enter image description here






share|improve this answer























  • Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

    – Andreas
    1 hour ago







  • 1





    @Andreas fmtcount supports several languages, see its manual.

    – egreg
    1 hour ago











  • Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

    – Andreas
    1 hour ago











  • This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

    – Ulrike Fischer
    38 mins ago











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
);



);






Andreas is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487498%2ffirst-instead-of-1-when-referencing%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














You can use hyperref to create a link like ref would do (the first argument is an optional argument, but I don't know why):



documentclassarticle
usepackage[utf8]inputenc
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The hyperref[itm:1]first item xyz...
enddocument





share|improve this answer























  • Works like a charm, thanks a lot!

    – Andreas
    5 hours ago















5














You can use hyperref to create a link like ref would do (the first argument is an optional argument, but I don't know why):



documentclassarticle
usepackage[utf8]inputenc
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The hyperref[itm:1]first item xyz...
enddocument





share|improve this answer























  • Works like a charm, thanks a lot!

    – Andreas
    5 hours ago













5












5








5







You can use hyperref to create a link like ref would do (the first argument is an optional argument, but I don't know why):



documentclassarticle
usepackage[utf8]inputenc
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The hyperref[itm:1]first item xyz...
enddocument





share|improve this answer













You can use hyperref to create a link like ref would do (the first argument is an optional argument, but I don't know why):



documentclassarticle
usepackage[utf8]inputenc
usepackage[colorlinks=true]hyperref
begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The refitm:1st item xyz...\
The hyperref[itm:1]first item xyz...
enddocument






share|improve this answer












share|improve this answer



share|improve this answer










answered 5 hours ago









Ulrike FischerUlrike Fischer

201k9309695




201k9309695












  • Works like a charm, thanks a lot!

    – Andreas
    5 hours ago

















  • Works like a charm, thanks a lot!

    – Andreas
    5 hours ago
















Works like a charm, thanks a lot!

– Andreas
5 hours ago





Works like a charm, thanks a lot!

– Andreas
5 hours ago











5














Building on Ulrike’s answer,



documentclassarticle
usepackagefmtcount
usepackagerefcount
usepackage[colorlinks=true]hyperref

newcommandordinalref[1]%
hyperref[#1]ordinalstringnumgetrefnumber#1%


begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The ordinalrefitm:1 item xyz...\
The first item xyz...
enddocument


It doesn't work for nested items, unless you change the reference format.



enter image description here






share|improve this answer























  • Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

    – Andreas
    1 hour ago







  • 1





    @Andreas fmtcount supports several languages, see its manual.

    – egreg
    1 hour ago











  • Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

    – Andreas
    1 hour ago











  • This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

    – Ulrike Fischer
    38 mins ago















5














Building on Ulrike’s answer,



documentclassarticle
usepackagefmtcount
usepackagerefcount
usepackage[colorlinks=true]hyperref

newcommandordinalref[1]%
hyperref[#1]ordinalstringnumgetrefnumber#1%


begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The ordinalrefitm:1 item xyz...\
The first item xyz...
enddocument


It doesn't work for nested items, unless you change the reference format.



enter image description here






share|improve this answer























  • Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

    – Andreas
    1 hour ago







  • 1





    @Andreas fmtcount supports several languages, see its manual.

    – egreg
    1 hour ago











  • Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

    – Andreas
    1 hour ago











  • This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

    – Ulrike Fischer
    38 mins ago













5












5








5







Building on Ulrike’s answer,



documentclassarticle
usepackagefmtcount
usepackagerefcount
usepackage[colorlinks=true]hyperref

newcommandordinalref[1]%
hyperref[#1]ordinalstringnumgetrefnumber#1%


begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The ordinalrefitm:1 item xyz...\
The first item xyz...
enddocument


It doesn't work for nested items, unless you change the reference format.



enter image description here






share|improve this answer













Building on Ulrike’s answer,



documentclassarticle
usepackagefmtcount
usepackagerefcount
usepackage[colorlinks=true]hyperref

newcommandordinalref[1]%
hyperref[#1]ordinalstringnumgetrefnumber#1%


begindocument
beginenumerate
item Item1 labelitm:1
endenumerate
Item refitm:1 xyz...\
The ordinalrefitm:1 item xyz...\
The first item xyz...
enddocument


It doesn't work for nested items, unless you change the reference format.



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 hours ago









egregegreg

737k8919353263




737k8919353263












  • Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

    – Andreas
    1 hour ago







  • 1





    @Andreas fmtcount supports several languages, see its manual.

    – egreg
    1 hour ago











  • Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

    – Andreas
    1 hour ago











  • This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

    – Ulrike Fischer
    38 mins ago

















  • Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

    – Andreas
    1 hour ago







  • 1





    @Andreas fmtcount supports several languages, see its manual.

    – egreg
    1 hour ago











  • Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

    – Andreas
    1 hour ago











  • This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

    – Ulrike Fischer
    38 mins ago
















Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

– Andreas
1 hour ago






Thanks, that also looks like a great solution and an even more flexible one than Ulrikes as it's more automated when adding/removing items. But is it possible to define the language for that to something different than english?

– Andreas
1 hour ago





1




1





@Andreas fmtcount supports several languages, see its manual.

– egreg
1 hour ago





@Andreas fmtcount supports several languages, see its manual.

– egreg
1 hour ago













Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

– Andreas
1 hour ago





Took some time, but now I've got it working like I want it to, with the german genders, thank you VERY much!

– Andreas
1 hour ago













This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

– Ulrike Fischer
38 mins ago





This won't work if you change the numbering in the enumerate e.g. to alph or roman, or in a nested enumerate (which uses (a) as label). It would be imho better to use zref instead of refcount for something like this.

– Ulrike Fischer
38 mins ago










Andreas is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Andreas is a new contributor. Be nice, and check out our Code of Conduct.












Andreas is a new contributor. Be nice, and check out our Code of Conduct.











Andreas is a new contributor. Be nice, and check out our Code of Conduct.














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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487498%2ffirst-instead-of-1-when-referencing%23new-answer', 'question_page');

);

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







Popular posts from this blog

Oświęcim Innehåll Historia | Källor | Externa länkar | Navigeringsmeny50°2′18″N 19°13′17″Ö / 50.03833°N 19.22139°Ö / 50.03833; 19.2213950°2′18″N 19°13′17″Ö / 50.03833°N 19.22139°Ö / 50.03833; 19.221393089658Nordisk familjebok, AuschwitzInsidan tro och existensJewish Community i OświęcimAuschwitz Jewish Center: MuseumAuschwitz Jewish Center

Valle di Casies Indice Geografia fisica | Origini del nome | Storia | Società | Amministrazione | Sport | Note | Bibliografia | Voci correlate | Altri progetti | Collegamenti esterni | Menu di navigazione46°46′N 12°11′E / 46.766667°N 12.183333°E46.766667; 12.183333 (Valle di Casies)46°46′N 12°11′E / 46.766667°N 12.183333°E46.766667; 12.183333 (Valle di Casies)Sito istituzionaleAstat Censimento della popolazione 2011 - Determinazione della consistenza dei tre gruppi linguistici della Provincia Autonoma di Bolzano-Alto Adige - giugno 2012Numeri e fattiValle di CasiesDato IstatTabella dei gradi/giorno dei Comuni italiani raggruppati per Regione e Provincia26 agosto 1993, n. 412Heraldry of the World: GsiesStatistiche I.StatValCasies.comWikimedia CommonsWikimedia CommonsValle di CasiesSito ufficialeValle di CasiesMM14870458910042978-6

Typsetting diagram chases (with TikZ?) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to define the default vertical distance between nodes?Draw edge on arcNumerical conditional within tikz keys?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to place nodes in an absolute coordinate system in tikzCommutative diagram with curve connecting between nodesTikz with standalone: pinning tikz coordinates to page cmDrawing a Decision Diagram with Tikz and layout manager