LyXhow to create a simple layout

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
anmo1
Posts: 3
Joined: Tue Oct 21, 2014 3:55 pm

how to create a simple layout

Post by anmo1 »

Hi I am trying to create a local layout for a simple feature that is missing from the beamer layout: the ability to create button links as follows:

\beamergotobutton{url}{button text}

I have parsed a few layouts but I can't find out how to do it. I hate to insert tex boxes in my document.

Thanks in advance

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

anmo1
Posts: 3
Joined: Tue Oct 21, 2014 3:55 pm

how to create a simple layout

Post by anmo1 »

Apologies, that was wrong. What I am trying to do is this:

\href{http://my.url.com}{\beamergotobutton{button text}}
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

how to create a simple layout

Post by scottkosty »

Take a look at this email thread:

https://www.mail-archive.com/lyx-devel@ ... 78156.html

It apparently includes a patch that adds a "goto_button" and "goto_text". I don't remember if it works or what the potential problems are.

I would like to someday implement a native solution in LyX, but as you can see from that thread it is complicated.

See also this enhancement request:

https://www.lyx.org/trac/ticket/8282
Post Reply