Math Macros in grey note insets
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 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? example source code: --- This is the beginning of the document \begin{lyxgreyedout} \global\long\def\velocityY{v} \end{lyxgreyedout} The velocity of object is denoted by $\velocityY$ --- Notice the extra break after the macro definition. Murtaza Safri
Re: Math Macros in grey note insets
Le 30 déc. 09 à 09:59, Murtaza Safri a écrit : 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 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? Try to define a branch, and enable it. Then you can insert your macros in a branch inset. JMarc
Re: Math Macros in grey note insets
Thanks. It works. Murtaza On Wed, Dec 30, 2009 at 5:46 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Le 30 déc. 09 à 09:59, Murtaza Safri a écrit : 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 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? Try to define a branch, and enable it. Then you can insert your macros in a branch inset. JMarc
Math Macros in grey note insets
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 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? example source code: --- This is the beginning of the document \begin{lyxgreyedout} \global\long\def\velocityY{v} \end{lyxgreyedout} The velocity of object is denoted by $\velocityY$ --- Notice the extra break after the macro definition. Murtaza Safri
Re: Math Macros in grey note insets
Le 30 déc. 09 à 09:59, Murtaza Safri a écrit : 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 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? Try to define a branch, and enable it. Then you can insert your macros in a branch inset. JMarc
Re: Math Macros in grey note insets
Thanks. It works. Murtaza On Wed, Dec 30, 2009 at 5:46 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: Le 30 déc. 09 à 09:59, Murtaza Safri a écrit : 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 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? Try to define a branch, and enable it. Then you can insert your macros in a branch inset. JMarc
Math Macros in grey note insets
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 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 if the content is a macro. Is there a way to remove the extra spacing? Can I design a custom inset? example source code: --- This is the beginning of the document \begin{lyxgreyedout} \global\long\def\velocityY{v} \end{lyxgreyedout} The velocity of object is denoted by $\velocityY$ --- Notice the extra break after the macro definition. Murtaza Safri
Re: Math Macros in grey note insets
Le 30 déc. 09 à 09:59, Murtaza Safri a écrit : 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 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 if the content is a macro. Is there a way to remove the extra spacing? Can I design a custom inset? Try to define a branch, and enable it. Then you can insert your macros in a branch inset. JMarc
Re: Math Macros in grey note insets
Thanks. It works. Murtaza On Wed, Dec 30, 2009 at 5:46 AM, Jean-Marc Lasgoutteswrote: > Le 30 déc. 09 à 09:59, Murtaza Safri a écrit : > >> 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 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 if >> the content is a macro. Is there a way to remove the extra spacing? >> Can I design a custom inset? > > Try to define a branch, and enable it. Then you can insert your macros in > a branch inset. > > JMarc