LyXHighlight a TOC entry in Beamer

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

Highlight a TOC entry in Beamer

Post by lyxer »

Hi,

I'm trying to highlight the entries in the TOC upon
entering a new section in a beamer presentation (in Lyx).
While reading around I came across the command:
\tableofcontents[currentsection] . It works fine, however,
the entries in the TOC become far away from each other as I enter every section.

Why is this happening and how to fix it?

The pictures I'm attaching explain better. Pic1 is the TOC
and Pic2 shows what happens when I enter the section.

* TOC -> Table of Content

Thanks
Attachments
pic2.jpg
pic2.jpg (26.76 KiB) Viewed 5600 times
pic1.jpg
pic1.jpg (29.81 KiB) Viewed 5600 times

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

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

Re: Highlight a TOC entry in Beamer

Post by scottkosty »

For questions like this, please always post a minimal example. My guess is that you need to press tab before your ERT to nest it.
lyxer
Posts: 47
Joined: Mon May 10, 2010 5:17 pm

Re: Highlight a TOC entry in Beamer

Post by lyxer »

Hi

I'm attaching an example with more questions.

1- In the outline slide the entries in the Table of Contents appear normal. However, upon entering any section the entries in the TOC become far away. How to fix this?


2- In section 1, I can replace equation y1 with y2 using the \overprint command. However, the y3 and y4 equations do not appear on the ensuing slides. Instead, equation y5 appears. Why is this happening?

3- In section 2, I'm able to replace the three bullet items. However I want them to be displayed one at a time. How can I do this? I tried using "Default Overlay Specifications +-" but it doesn't work?

4- Finally, in section 3, I want to display each line of the equation at a time. Again I'm not sure how? In Latex they use the \uncover command inside the equation mode, however, in Lyx this didn't work with me.


Any help is appreciated
Attachments
Exmp.lyx
(6.19 KiB) Downloaded 445 times
Post Reply