LyXMath Macros in foldable insets

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
sandsoftime
Posts: 8
Joined: Mon Sep 21, 2009 9:04 pm

Math Macros in foldable insets

Post by sandsoftime »

Hi
I am typing in a lot of math macros. I wanted to group them together inside foldable box to improve readability and manageability afforded by folding the inset box. So I put in a lot of the macros inside Lyx grey note. However, the output has a lot of new lines and basically the first line of my paragraph text starts way down on the page. I noticed from view source that Lyx puts in an extra line break in <lyxgreyedout> if the content is a macro. Is there a way to remove the extra spacing? Can I design a custom inset?

SandsofTime

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sandsoftime
Posts: 8
Joined: Mon Sep 21, 2009 9:04 pm

Re: Math Macros in foldable insets

Post by sandsoftime »

Problem solved. Define a branch, activate it, and put the macros inside it. The branch can be folded, and it doesn't put extra spaces in the document.
Post Reply