Cross referencing section, equations, figures and tables - LaTeX in 100 seconds

Опубликовано: 19 Октябрь 2024
на канале: Federico Tartarini
3,404
44

How to cross-reference numbered elements in your LaTeX document. In LaTeX, you can simply add cross-references to Figures, Tables, Sections, and Equations using the command \ref{}. Inside the curly braces, you need to add the unique ID you have specified in the label.

✅ Subscribe for more videos like this one
🔔 Click on the bell icon to be notified when I release a new video
👍 Please like my video!

⚠️ Join my channel to get access to perks:    / @federicotartarini  
🙏 Support my channel on Patreon at   / federicotartarini  
☕ Support my channel by buying me a coffee - https://www.buymeacoffee.com/FedericoT

🎥 Playlists you may find useful:
➜ Google Cloud Platform:
   • Google Cloud Console  
➜ Beamer LaTeX course:
   • LaTeX Beamer  
➜ Full LaTeX course:
   • LaTeX  
➜ PyCharm course:
   • PyCharm  
➜ Building a documentation website with Docusaurus:
   • Docusaurus  

🎥 Videos you may find useful:
➜ Build and deploy a documentation website using Docusaurus 2:    • Build and deploy a documentation webs...  
➜ Add a glossary to your document containing terms and acronyms:    • Add a glossary to your document conta...  
➜ Write a paper using the Elsevier template:    • How to Get Started and Write a Paper ...  
➜ Overleaf and GitHub integration:    • Overleaf and GitHub integration - syn...  
➜ Review a document in Overleaf:    • Review a document in Overleaf  
➜ Export citations from Mendeley into LaTeX:    • Export citations from Mendeley into L...  
➜ Pandas DataFrame to LaTeX table:    • Pandas DataFrame to LaTeX table - LaT...  
➜ How to use git and GitHub with PyCharm:    • How to use git and GitHub with PyChar...  
➜ Use Grammarly in Overleaf ✍️:    • Use Grammarly in Overleaf ✍️  
➜ TeXiFy - PyCharm IntelliJ LaTeX plug-in:    • TeXiFy - PyCharm IntelliJ LaTeX plug-...  
➜ Nomenclature in LaTeX document:    • Nomenclature in LaTeX document - all ...  
➜ Why you should start using LaTeX now!!:    • 10 Reasons Why You Should Start Using...  

✅ Let's connect:
🌍 My website - https://federicotartarini.github.io/
💻 GitHub - https://github.com/FedericoTartarini
Twitter -   / federicotartar1  
LinkedIn –   / federico-tartarini  

📝 Useful notes:

👨‍💻 Source code:
\label{sec:introduction}

As described in Section~\ref{sec:introduction} on page \pageref{sec:introduction}.

\label{fig:earth}

As shown in Figure~\ref{fig:earth}

\label{tab:prices}

Table~\ref{tab:prices} contains ...

Equation~\ref{eq:integral} ...

🎥 Content of this video:
00:00 - Reference a section
00:50 - Reference the page where label appears
01:05 - Reference a figure
01:40 - Reference a table
02:09 - Reference an equation

🔣 Keywords:
#LaTeX #LaTeXin100Seconds #LaTeXCourse #CrossReferencing #CrossReferences