Text FormattingCross-referencing without the prefix: “Figure, Eqaution…” for several references

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Bridged233
Posts: 1
Joined: Sat Oct 26, 2019 2:49 am

Cross-referencing without the prefix: “Figure, Eqaution…” for several references

Post by Bridged233 »

Hi everyone,

I have a problem with Lyx, regarding the cross references. In general, the references are working fine. But I wonder if there is a better way to do it in Lyx. When I refer to more than one e.g. equations, Lyx always past the prefix "Equation XY". I attached a screen shot.

Is there a way so suppress the prefix of the second reference? Without interfering with hyperref? So that at the end it looks like:

"....by Equation 3.22 and 3.23..."

This would look much better!! Same for figures and chapters and so on... anyone an idea? (I also tried it without the "and" between both references, same result, but of course without the "and")
Image

and the Output
Image

I also tried to find a work around with refstyle package, as this is used by Lyx. But for any reasons I do not understand, this only works for \ref and not for any other kind of combination stated in the package manual. What am I doing wrong?
Image
Image

Has anyone an idea? Or better a solution to that problem? I searched google like a maniac but could not figure out what to do.... anyone run into the same problem? Thanks for any help!!

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

Post Reply