LaTeX LaTex Figure Reference Issue: Figures >10 in Chapter 5

  • Thread starter Thread starter refind
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
A user encountered an issue in LaTeX where referencing figure 5.13 resulted in it displaying as figure 5.3. This problem was specific to figure 5.13, as other figures with single digits referenced correctly. After seeking help, the user discovered that the issue stemmed from a typo in their code, which was clarified through external resources. The discussion also highlighted the importance of using the appropriate subforum for technical questions, specifically the "Math & Science Software" subforum for LaTeX inquiries.
refind
Messages
50
Reaction score
0
Sorry if this is against the rules but found no good place to ask a quick LaTex question:

I'm writing a thesis and in chapter 5 I have >10 figures. When I use
Code:
\label{figureX}
on figure 5.13 and then
Code:
figure \ref{figureX}
in a paragraph, it compiles as "figure 5.3" instead of "figure 5.13".
All the other figures with single digits e.g. figure 5.7 work fine to reference. Somehow it eats the 1 in 5.13 and leaves it as 5.3

Yes I tried Google. Anyone know why this happens?
I appreciate it!
 
Physics news on Phys.org
They did help. Thanks a lot, problem solved it was a typo on my part and those references made me realize it.
 
refind said:
found no good place to ask a quick LaTex question:

The "good place" here is the "Math & Science Software" subforum of "Computers & Technology." Being a subforum, it's easy to overlook, so you're forgiven. :smile:

I've moved this thread there.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
22K
  • · Replies 8 ·
Replies
8
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
Replies
2
Views
602
  • · Replies 3 ·
Replies
3
Views
6K
Replies
3
Views
3K