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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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