LaTeX forum ⇒ LyXhow to create a simple layout

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

how to create a simple layout

Postby anmo1 » Wed Dec 13, 2017 7:23 pm

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

Tags:

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

Postby anmo1 » Wed Dec 13, 2017 10:44 pm

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

\href{http://my.url.com}{\beamergotobutton{button text}}

scottkosty
Site Moderator
Posts: 507
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Thu Dec 21, 2017 2:19 am

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


Return to “LyX”

Who is online

Users browsing this forum: Google [Bot] and 3 guests