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

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

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