Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Zoomd3
1. Introduction Section Figure Table Page number Equation
Labels and Cross Referencing in L
A
TEX
Ishak Sheikh
Government Engineering College,Dahod
June 4, 2021
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 1/26
2. Introduction Section Figure Table Page number Equation
Outline
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 2/26
3. Introduction Section Figure Table Page number Equation
Outline
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 2/26
4. Introduction Section Figure Table Page number Equation
Outline
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 2/26
5. Introduction Section Figure Table Page number Equation
Outline
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 2/26
6. Introduction Section Figure Table Page number Equation
Outline
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 2/26
7. Introduction Section Figure Table Page number Equation
Outline
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 2/26
8. Introduction Section Figure Table Page number Equation
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 3/26
9. Introduction Section Figure Table Page number Equation
How to give reference
Reference
We can easily Refer the Section,Figure,Table,Equation and
Page Number. L
A
TEX takes care of number and automatic
updates it whenever required.
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 4/26
10. Introduction Section Figure Table Page number Equation
References
Example
label{key} Assign a keyword for the object to be referenced.
Ref key
ref{key} Reference is given using the keyword or marker and
it prints the object number.
pageref
pageref{key} Display the page number where the object is.
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 5/26
11. Introduction Section Figure Table Page number Equation
Keyword to the label for referencing
Name Chapter Section Subsection Equation
Abbrev. ch: sec: subsec: eq:
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 6/26
12. Introduction Section Figure Table Page number Equation
Keyword to the label for referencing
Name Figure Table
Abbrev. fig: tab:
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 7/26
13. Introduction Section Figure Table Page number Equation
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 8/26
14. Introduction Section Figure Table Page number Equation
Referring section
Example
section{section}label{sec:section}
The description is given in section ~ref{sec:section}.
The description is given in section 2
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 9/26
15. Introduction Section Figure Table Page number Equation
subsection
Referencing subsections
Example
subsection{Referencing} label{subsec:Referencing}
Example
As mentioned in subsection ~ref{subsec:Referencing}
different element can be referenced within a document.
Reference to subsection
As mentioned in subsection 1, different element can be
referenced within a document.
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 10/26
16. Introduction Section Figure Table Page number Equation
subsection
Referencing chapter
Example
chapter{Experimental validation} label{ch:exp_valid}
Example
The exp. valid.is given in chapter ~ref{ch:exp_valid}
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 11/26
17. Introduction Section Figure Table Page number Equation
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 12/26
18. Introduction Section Figure Table Page number Equation
Referring figure I
Example
begin{figure}[!h]
centering
includegraphics[scale=0.3]{figure3.pdf}
caption{The figure of a penguine}
label{fig:peng}
end{figure}
The penguine image is shown in figure ~ref{fig:peng}
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 13/26
19. Figure: The figure of a penguine
Example
The penguine image is shown in figure 1
20. Introduction Section Figure Table Page number Equation
Referencing figure II
Example
begin{figure}[!h]
centering
includegraphics[width=0.25lingwidth]{gecd}
caption{This image will be referenced below}
label{fig:logo}
end{figure}
You can reference images,for instance,
the image ~ref{fig:logo} shows the institute logo.
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 15/26
21. Referencing figure II
Figure: This image will be referenced below
You can reference images,for instance, the image 2 shows the
institute logo.
22. Introduction Section Figure Table Page number Equation
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 17/26
23. Introduction Section Figure Table Page number Equation
Table Referencing I
cell 1 cell 2 cell 3
cell 4 cell 5 cell 6
Table: Magic Matrices
The Magic Matrices is given in Table 1
begin{table}
begin{tabular}{ccc}
cell 1 & cell 2 & cell 3
cell 4 & cell 5 & cell 6
end{tabular}
caption{Magic Matrices}
label{tab:Magic}
end{table}
The Magic Matrices is given in Table ~ref{tab:Magic}
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 18/26
24. Introduction Section Figure Table Page number Equation
Table Referencing II
Code Eb/N0(db) Gain(db) Complexity Application
Uncoded
Block 3.7 10−6 0.8 very less
Hamming 9 4 10−6 less
Conv. 7.5 5.5 10−6 more
RS 8 5 10−6 more
Table: Comparison of different Error Correcting Code
Table labeling
The comparison of different Error correcting code is given in
Table 2
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 19/26
25. Introduction Section Figure Table Page number Equation
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 20/26
26. Introduction Section Figure Table Page number Equation
Referring pagenumber
Refering Page number
Page number referring is given in ~pageref{instlogo}
Institute Image 2 is shown on Page 21
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 21/26
27. Introduction Section Figure Table Page number Equation
1 Introduction
2 Section
3 Figure
4 Table
5 Page number
6 Equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 22/26
28. Introduction Section Figure Table Page number Equation
Referring Equation I
Use of equation
begin{equation}
label{eq:eu_eqn}
e^{pi i}-1 = 0
end{equation}
The beautiful equation ~ref{eq:eu_eqn} is
known as the Euler equation
eπi
− 1 = 0 (1)
The beautiful equation 1 is known as the Euler equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 23/26
29. Introduction Section Figure Table Page number Equation
Referring Equation I
Use of equation
begin{equation}
label{eq:eu_eqn}
e^{pi i}-1 = 0
end{equation}
The beautiful equation ~eqref{eq:eu_eqn} is
known as the Euler equation
eπi
− 1 = 0 (2)
The beautiful equation (2) is known as the Euler equation
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 24/26
30. Introduction Section Figure Table Page number Equation
Referencing Equation II
Example
begin{equation} label{eq:power}
sum_{i=0}^{infty} a_i x^i
end{equation}
The equation ref{eq:power} is a typical power series.
∞
X
i=0
aixi
(3)
The equation 3 is a typical power series.
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 25/26
31. Introduction Section Figure Table Page number Equation
cref command
cref command
If you want to print each label before number
cref{labellist} or Cref{text} is used.
To print the label before each number
usepackage{cleveref} is used.This package should be
used after the usepackage{hyperref}
Labels and Cross Referencing in L
A
TEX Ishak Sheikh 26/26