How do you make a reference in the same tex file?











up vote
0
down vote

favorite












How do you make a reference in the same file?



I've seen some files where a link appears, say page 5, and when you click on the link it takes you to page 5.



Or when it says a word and when you click on word redirect you to another page.



What are the commands one needs to display something like that?



Could you give me an example to illustrate this?



A simple and easy example to understand please.



thank you.










share|improve this question




















  • 2




    Welcome to TeX.SX! You are wanting hyperref package?
    – JouleV
    Dec 4 at 5:34








  • 1




    I don't know what hyperref is, but if it does what I mentioned then yes that's what I want
    – user459663
    Dec 4 at 5:35






  • 1




    Overleaf displays an image, not the pdf by default. Links are not clickable there. Download the pdf and the links from hyperref will be clickable.
    – Johannes_B
    Dec 4 at 5:39






  • 1




    Did you see the posting Cross-reference packages: which to use, which conflict? The most-upvoted answer to that question [shame self-citation alert!] discusses various ways of creating cross-references and examines the uses of the hyperref package.
    – Mico
    Dec 4 at 5:45








  • 1




    @Johannes_B In Overleaf v2, cross-reference hyperlinks do work in the PDF preview.
    – LianTze Lim
    Dec 4 at 6:15















up vote
0
down vote

favorite












How do you make a reference in the same file?



I've seen some files where a link appears, say page 5, and when you click on the link it takes you to page 5.



Or when it says a word and when you click on word redirect you to another page.



What are the commands one needs to display something like that?



Could you give me an example to illustrate this?



A simple and easy example to understand please.



thank you.










share|improve this question




















  • 2




    Welcome to TeX.SX! You are wanting hyperref package?
    – JouleV
    Dec 4 at 5:34








  • 1




    I don't know what hyperref is, but if it does what I mentioned then yes that's what I want
    – user459663
    Dec 4 at 5:35






  • 1




    Overleaf displays an image, not the pdf by default. Links are not clickable there. Download the pdf and the links from hyperref will be clickable.
    – Johannes_B
    Dec 4 at 5:39






  • 1




    Did you see the posting Cross-reference packages: which to use, which conflict? The most-upvoted answer to that question [shame self-citation alert!] discusses various ways of creating cross-references and examines the uses of the hyperref package.
    – Mico
    Dec 4 at 5:45








  • 1




    @Johannes_B In Overleaf v2, cross-reference hyperlinks do work in the PDF preview.
    – LianTze Lim
    Dec 4 at 6:15













up vote
0
down vote

favorite









up vote
0
down vote

favorite











How do you make a reference in the same file?



I've seen some files where a link appears, say page 5, and when you click on the link it takes you to page 5.



Or when it says a word and when you click on word redirect you to another page.



What are the commands one needs to display something like that?



Could you give me an example to illustrate this?



A simple and easy example to understand please.



thank you.










share|improve this question















How do you make a reference in the same file?



I've seen some files where a link appears, say page 5, and when you click on the link it takes you to page 5.



Or when it says a word and when you click on word redirect you to another page.



What are the commands one needs to display something like that?



Could you give me an example to illustrate this?



A simple and easy example to understand please.



thank you.







cross-referencing links






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 4 at 6:37









LianTze Lim

7,48322763




7,48322763










asked Dec 4 at 5:32









user459663

84




84








  • 2




    Welcome to TeX.SX! You are wanting hyperref package?
    – JouleV
    Dec 4 at 5:34








  • 1




    I don't know what hyperref is, but if it does what I mentioned then yes that's what I want
    – user459663
    Dec 4 at 5:35






  • 1




    Overleaf displays an image, not the pdf by default. Links are not clickable there. Download the pdf and the links from hyperref will be clickable.
    – Johannes_B
    Dec 4 at 5:39






  • 1




    Did you see the posting Cross-reference packages: which to use, which conflict? The most-upvoted answer to that question [shame self-citation alert!] discusses various ways of creating cross-references and examines the uses of the hyperref package.
    – Mico
    Dec 4 at 5:45








  • 1




    @Johannes_B In Overleaf v2, cross-reference hyperlinks do work in the PDF preview.
    – LianTze Lim
    Dec 4 at 6:15














  • 2




    Welcome to TeX.SX! You are wanting hyperref package?
    – JouleV
    Dec 4 at 5:34








  • 1




    I don't know what hyperref is, but if it does what I mentioned then yes that's what I want
    – user459663
    Dec 4 at 5:35






  • 1




    Overleaf displays an image, not the pdf by default. Links are not clickable there. Download the pdf and the links from hyperref will be clickable.
    – Johannes_B
    Dec 4 at 5:39






  • 1




    Did you see the posting Cross-reference packages: which to use, which conflict? The most-upvoted answer to that question [shame self-citation alert!] discusses various ways of creating cross-references and examines the uses of the hyperref package.
    – Mico
    Dec 4 at 5:45








  • 1




    @Johannes_B In Overleaf v2, cross-reference hyperlinks do work in the PDF preview.
    – LianTze Lim
    Dec 4 at 6:15








2




2




Welcome to TeX.SX! You are wanting hyperref package?
– JouleV
Dec 4 at 5:34






Welcome to TeX.SX! You are wanting hyperref package?
– JouleV
Dec 4 at 5:34






1




1




I don't know what hyperref is, but if it does what I mentioned then yes that's what I want
– user459663
Dec 4 at 5:35




I don't know what hyperref is, but if it does what I mentioned then yes that's what I want
– user459663
Dec 4 at 5:35




1




1




Overleaf displays an image, not the pdf by default. Links are not clickable there. Download the pdf and the links from hyperref will be clickable.
– Johannes_B
Dec 4 at 5:39




Overleaf displays an image, not the pdf by default. Links are not clickable there. Download the pdf and the links from hyperref will be clickable.
– Johannes_B
Dec 4 at 5:39




1




1




Did you see the posting Cross-reference packages: which to use, which conflict? The most-upvoted answer to that question [shame self-citation alert!] discusses various ways of creating cross-references and examines the uses of the hyperref package.
– Mico
Dec 4 at 5:45






Did you see the posting Cross-reference packages: which to use, which conflict? The most-upvoted answer to that question [shame self-citation alert!] discusses various ways of creating cross-references and examines the uses of the hyperref package.
– Mico
Dec 4 at 5:45






1




1




@Johannes_B In Overleaf v2, cross-reference hyperlinks do work in the PDF preview.
– LianTze Lim
Dec 4 at 6:15




@Johannes_B In Overleaf v2, cross-reference hyperlinks do work in the PDF preview.
– LianTze Lim
Dec 4 at 6:15















active

oldest

votes











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463091%2fhow-do-you-make-a-reference-in-the-same-tex-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f463091%2fhow-do-you-make-a-reference-in-the-same-tex-file%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?