Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Lyx-Gurus, I am using KOMAscript book and I inserted a footer and header with fancyhdr (I know one could also use scrpage). After some playing around, I finally managed to have the footer and headers as intended, except for two problems. 1. The font of the headers of indices like Contents,

Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein: 2. I used \usepackage{multicol} \@ifundefined{chapter} {\def\wilh@nomsection{section}} {\def\wilh@nomsection{chapter}} \def\thenomenclature{% \begin{multicols}{2}[% \csname\wilh@nomsection\endcsname*{\nomname}

Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen! Thanks a lot! I switched to scrpage and used this comand in front of the nomenclature entry: \markboth{\MakeMarkcase{Nomenclature}} {\MakeMarkcase{Nomenclature}} Works fine :-) 2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org: 2015-05-04 9:22 GMT+02:00 Aline Gautrein:

Instant Preview when opening existing LyX file?

2015-05-04 Thread Klaus-Dieter Bauer
Hello! When I open my existing LyX files with instant preview enabled for equations, existing equations will only be rendered as instant-preview after I change something in them. Many of my equations however contain inconvenient visual clutter, e.g. empty left sides or large horizontal spaces in

Re: Disable editing / read only menu option?

2015-05-04 Thread Helge Hafting
Den 23. mars 2015 17:57, skrev Scott Kostyshak: Dear LyX users, What are your thoughts on having an option in the menu called something like Disable editing or Read only, which would make it so you could not edit the current document? Have you tried making the file itself read-only? LyX

color math not shown on screen

2015-05-04 Thread Neal Becker
I applied coloring 'blue' to the following sentence. It is rendered correctly on the tex output, but on screen the \mathbf{s_{0}} is rendered black. By demodulating, decoding, and remodulating we will recover the desired signal \mathbf{s_{0}} -- Those who fail to understand recursion are

Re: Instant Preview when opening existing LyX file?

2015-05-04 Thread Klaus-Dieter Bauer
Hello again! I tried a minimal example (simple-example.lyx) and there it actually worked. It also worked after seriously stripping down an actual project file. It turns out that the issue arose due to a command defined with \providecommand in the body of the text and used within \AtEndDocument.

Re: Disable editing / read only menu option?

2015-05-04 Thread Scott Kostyshak
On Mon, May 4, 2015 at 8:05 AM, Helge Hafting helge.haft...@hist.no wrote: Den 23. mars 2015 17:57, skrev Scott Kostyshak: Dear LyX users, What are your thoughts on having an option in the menu called something like Disable editing or Read only, which would make it so you could not edit

Re: Instant Preview when opening existing LyX file?

2015-05-04 Thread Scott Kostyshak
On Mon, May 4, 2015 at 8:47 AM, Klaus-Dieter Bauer bauer.klaus.die...@gmail.com wrote: Here \providecommand defines the macro locally to this environment, but \AtEndDocument has a global effect, so when reaching \end{document} the previously defined macro is used but undefined, preventing

Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Lyx-Gurus, I am using KOMAscript book and I inserted a footer and header with fancyhdr (I know one could also use scrpage). After some playing around, I finally managed to have the footer and headers as intended, except for two problems. 1. The font of the headers of indices like Contents,

Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein: 2. I used \usepackage{multicol} \@ifundefined{chapter} {\def\wilh@nomsection{section}} {\def\wilh@nomsection{chapter}} \def\thenomenclature{% \begin{multicols}{2}[% \csname\wilh@nomsection\endcsname*{\nomname}

Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen! Thanks a lot! I switched to scrpage and used this comand in front of the nomenclature entry: \markboth{\MakeMarkcase{Nomenclature}} {\MakeMarkcase{Nomenclature}} Works fine :-) 2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org: 2015-05-04 9:22 GMT+02:00 Aline Gautrein:

Instant Preview when opening existing LyX file?

2015-05-04 Thread Klaus-Dieter Bauer
Hello! When I open my existing LyX files with instant preview enabled for equations, existing equations will only be rendered as instant-preview after I change something in them. Many of my equations however contain inconvenient visual clutter, e.g. empty left sides or large horizontal spaces in

Re: Disable editing / read only menu option?

2015-05-04 Thread Helge Hafting
Den 23. mars 2015 17:57, skrev Scott Kostyshak: Dear LyX users, What are your thoughts on having an option in the menu called something like Disable editing or Read only, which would make it so you could not edit the current document? Have you tried making the file itself read-only? LyX

color math not shown on screen

2015-05-04 Thread Neal Becker
I applied coloring 'blue' to the following sentence. It is rendered correctly on the tex output, but on screen the \mathbf{s_{0}} is rendered black. By demodulating, decoding, and remodulating we will recover the desired signal \mathbf{s_{0}} -- Those who fail to understand recursion are

Re: Instant Preview when opening existing LyX file?

2015-05-04 Thread Klaus-Dieter Bauer
Hello again! I tried a minimal example (simple-example.lyx) and there it actually worked. It also worked after seriously stripping down an actual project file. It turns out that the issue arose due to a command defined with \providecommand in the body of the text and used within \AtEndDocument.

Re: Disable editing / read only menu option?

2015-05-04 Thread Scott Kostyshak
On Mon, May 4, 2015 at 8:05 AM, Helge Hafting helge.haft...@hist.no wrote: Den 23. mars 2015 17:57, skrev Scott Kostyshak: Dear LyX users, What are your thoughts on having an option in the menu called something like Disable editing or Read only, which would make it so you could not edit

Re: Instant Preview when opening existing LyX file?

2015-05-04 Thread Scott Kostyshak
On Mon, May 4, 2015 at 8:47 AM, Klaus-Dieter Bauer bauer.klaus.die...@gmail.com wrote: Here \providecommand defines the macro locally to this environment, but \AtEndDocument has a global effect, so when reaching \end{document} the previously defined macro is used but undefined, preventing

Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Lyx-Gurus, I am using KOMAscript book and I inserted a footer and header with fancyhdr (I know one could also use scrpage). After some playing around, I finally managed to have the footer and headers as intended, except for two problems. 1. The font of the headers of indices like "Contents",

Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein: > 2. I used > > \usepackage{multicol} > > \@ifundefined{chapter} > > {\def\wilh@nomsection{section}} > > {\def\wilh@nomsection{chapter}} > > \def\thenomenclature{% > > \begin{multicols}{2}[% > > \csname\wilh@nomsection\endcsname*{\nomname} > >

Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen! Thanks a lot! I switched to scrpage and used this comand in front of the nomenclature entry: \markboth{\MakeMarkcase{Nomenclature}} {\MakeMarkcase{Nomenclature}} Works fine :-) 2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller : > 2015-05-04 9:22 GMT+02:00 Aline

"Instant Preview" when opening existing LyX file?

2015-05-04 Thread Klaus-Dieter Bauer
Hello! When I open my existing LyX files with instant preview enabled for equations, existing equations will only be rendered as instant-preview after I change something in them. Many of my equations however contain inconvenient visual clutter, e.g. empty left sides or large horizontal spaces in

Re: "Disable editing" / "read only" menu option?

2015-05-04 Thread Helge Hafting
Den 23. mars 2015 17:57, skrev Scott Kostyshak: Dear LyX users, What are your thoughts on having an option in the menu called something like "Disable editing" or "Read only", which would make it so you could not edit the current document? Have you tried making the file itself read-only? LyX

color math not shown on screen

2015-05-04 Thread Neal Becker
I applied coloring 'blue' to the following sentence. It is rendered correctly on the tex output, but on screen the \mathbf{s_{0}} is rendered black. By demodulating, decoding, and remodulating we will recover the desired signal \mathbf{s_{0}} -- Those who fail to understand recursion are

Re: "Instant Preview" when opening existing LyX file?

2015-05-04 Thread Klaus-Dieter Bauer
Hello again! I tried a minimal example (simple-example.lyx) and there it actually worked. It also worked after seriously stripping down an actual project file. It turns out that the issue arose due to a command defined with \providecommand in the body of the text and used within \AtEndDocument.

Re: "Disable editing" / "read only" menu option?

2015-05-04 Thread Scott Kostyshak
On Mon, May 4, 2015 at 8:05 AM, Helge Hafting wrote: > > > Den 23. mars 2015 17:57, skrev Scott Kostyshak: >> >> Dear LyX users, >> >> What are your thoughts on having an option in the menu called >> something like "Disable editing" or "Read only", which would make it >> so

Re: "Instant Preview" when opening existing LyX file?

2015-05-04 Thread Scott Kostyshak
On Mon, May 4, 2015 at 8:47 AM, Klaus-Dieter Bauer wrote: > Here \providecommand defines the macro locally to this environment, but > \AtEndDocument has a global effect, so when reaching \end{document} the > previously defined macro is used but undefined, preventing