LyXChanging cross-reference texts

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
fuzzy002
Posts: 1
Joined: Mon Dec 22, 2014 5:09 am

Changing cross-reference texts

Post by fuzzy002 »

Hi,

I am wondering if there is a way in Lyx to adjust the manner of referencing floats. In the document I am working on, I have references such as "... Figure 5 on page 3" in which page 3 is the page the text is on, and so is the figure, making the 'on page..' redundant.

Is there a way to remove this 'on page' business while keeping the 'Figure 5'? I see the other options will have it something as simple as (5) but nothing just as 'Figure 5'.

Thanks

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Changing cross-reference texts

Post by Johannes_B »

Hi and welcome,
you can check out packages cleverref and
varioref. They provide features for clever
referencing. Instead of »on page x« a string is output,
depending on the language, for example »Figure 5 on this page« or
»Figure 6 on the next page«.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply