LyXLyx reference

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
mert
Posts: 1
Joined: Wed Aug 23, 2017 9:29 pm

Lyx reference

Post by mert »

The commands for cross reference in the current Lyx are "ref, eqref, ..., nameref" in the toolbar. I would like to add some new buttons like "newref" so that I could click the "newref" button to get the new reference type (this would run the "\newref" command that I already defined in the Lyx preamble).

I have added a new item line with "newref" expressions in the "stdcontext.inc" file. But it has not worked.

Can you explain how to get this, please?

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