Graphics, Figures & TablesRef commend problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bmanx06
Posts: 1
Joined: Wed Nov 25, 2009 7:32 am

Ref commend problem

Post by bmanx06 »

I am a novice at LaTeX.
For some reason, the \ref command outputs the type of object I am referencing in addition to its number, and not just the number itself.

For example, if I reference a figure, the output is Figure 1, instead of just 1 (or Table 1 instead of just 1). In my document, I refer to figures as "Fig." so when I use the \ref command I get Fig. Figure 1.

Anyone know what's going on?
I appreciate the help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Re: Ref commend problem

Post by fatra2 »

Hi there,

I guess a bit more info would be helpful. Give us an example on how you declare a figure, and how you reference it???

Cheers
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Ref commend problem

Post by josephwright »

Sounds like you have varioref or similar loaded. Please post a minimal example, including the document class you use and any packages loaded.
Joseph Wright
Post Reply