Re: Changing the background color in math menus
Am Donnerstag, dem 04.03.2021 um 07:40 +0100 schrieb Stephan Witt: > I think it’s caused by the different dark mode switch. > On Mac I can switch to dark mode after LyX start… > > > … or use it as my normal user desktop setting and then it’s probably > fine. > > > The switch at runtime should enforce an icon refresh. Is it easy to > trigger? Ah, that's this issue. We discussed this already. I remember you mentioned some signal that is emitted on the Mac when the switch happens and that you intended to investigate how dark mode in LyX can be connected to this signal. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Changing the background color in math menus
On Tue, Mar 2, 2021 at 12:22 AM Jürgen Spitzmüller wrote: > Am Dienstag, dem 02.03.2021 um 07:37 +0100 schrieb Stephan Witt: > > … with current 2.4.x master it looks like this: > > Not here, so there's something fishy on your side. > An FYI: I've run into weird behavior when I build versus when I download, which appears to be the result of some bits of Python's Qt infrastructure getting caught in my build process. I wonder if that could be one of the fishy components? - Joel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Changing the background color in math menus
Am Mittwoch, dem 03.03.2021 um 08:02 -0700 schrieb Joel Kulesza: > An FYI: I've run into weird behavior when I build versus when I > download, which appears to be the result of some bits of Python's Qt > infrastructure getting caught in my build process. I wonder if that > could be one of the fishy components? Thanks, Joel. Seems rather unlikely in this case, as Python is not involved in the icons transformation. What really puzzles me is that some icons are right and some not in Stephan's screenshot (as they all are subject to the very same process). Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Changing the background color in math menus
Am Dienstag, dem 02.03.2021 um 07:37 +0100 schrieb Stephan Witt: > … with current 2.4.x master it looks like this: Not here, so there's something fishy on your side. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Changing the background color in math menus
Am Samstag, dem 27.02.2021 um 22:26 + schrieb Gilles Falquet: > Does anyone know if it's possible to modify the background color of the > math toolbars and menus? On my Mac, in dark appearance, the icons > appear in black on (very) dark grey, which is almost illegible. > Apparently it's not possible from the Preferences > Look & Feel > > Colors. In LyX 2.3.x, you'd need to provide modified icons (with black color changed to white). In LyX 2.4.x, this will work out of the box: https://wiki.lyx.org/LyX/NewInLyX24#darkmode Jürgen signature.asc Description: This is a digitally signed message part -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Changing the background color in math menus
Does anyone know if it's possible to modify the background color of the math toolbars and menus? On my Mac, in dark appearance, the icons appear in black on (very) dark grey, which is almost illegible. Apparently it's not possible from the Preferences > Look & Feel > Colors. Thanks in advance Gilles [cid:7CA76742-242C-4763-A052-9FBA2533F4AB@home] -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Background color in a paragraph
2018-05-04 13:27 GMT+02:00 Mario D <ega...@gmail.com>: > Is there a simple way in lyx to change the background color of some text, > maybe a paragraph? > > I have not been able to find a way to do this natively: the only way I > could obtain it is by using the "soul" package, then inserting the latex > code "\hl{" in ERT just before the the text to be highlighted and then a > closing "}" at its end. > If you want a background colour to apply to certain paragraphs, on LyX it's possible to define a paragraph style that apply the mdframe package. Go to Document → Settings → Local format and add something like this (I'm using 2.3 here, if you're still on 2.2.x write "Format 60" instead) Format 66 Style MyQuotation Category MainText Margin Static LatexType Environment LatexName myquotation NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ParSkip 0 ItemSep 0 TopSep 0.5 BottomSep 0.5 ParSep 0 Align Block AlignPossible Block, Left, Right, Center Preamble \usepackage{mdframed} \usepackage{xcolor} \newenvironment{myquotation} {\begin{mdframed}[ backgroundcolor=lightgray, linecolor=lightgray ]\quotation} {\endquotation\end{mdframed}} EndPreamble End Validate, convert to the new format if necessary and now you'll have a new paragraph environment called "MyQuotation" with some indents and light grey background and borders. [Got the idea from here https://tex.stackexchange.com/questions/6851/create-new-paragraph-style-in-lyx#7471 I'd just converted the example to a Local Format] Regards, Ricardo > > Thanks >
Re: Background color in a paragraph
I tried box with colored background but they don't work properly if the text is more than one line long as in this case the line is not wrapped around. It is possible to get this, but it is not straightforward. Given that I do not use the feature quite often, the hack I proposed is fine for me. Yet, I think it is a feature that would be nice to have natively. 2018-05-04 15:25 GMT+02:00 Bernt Lie <bernt@usn.no>: > A couple of years ago, I tried to use Insert/Box/... with colored > background. I wanted to have greyed background for Examples. Didn’t work > well... if I included floating objects (Figures, Tables, etc.), the preview > got messed up. Maybe it works better with floats in ordinary paragraphs – I > haven’t tested that. > > > > But if you have simple paragraphs, that might work. > > > > -B > > > > *From:* lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> *On Behalf Of *Mario > D > *Sent:* Friday, May 4, 2018 13:27 > *To:* lyx-users <lyx-users@lists.lyx.org> > *Subject:* Background color in a paragraph > > > > Is there a simple way in lyx to change the background color of some text, > maybe a paragraph? > > I have not been able to find a way to do this natively: the only way I > could obtain it is by using the "soul" package, then inserting the latex > code "\hl{" in ERT just before the the text to be highlighted and then a > closing "}" at its end. > > Thanks >
RE: Background color in a paragraph
A couple of years ago, I tried to use Insert/Box/... with colored background. I wanted to have greyed background for Examples. Didn’t work well... if I included floating objects (Figures, Tables, etc.), the preview got messed up. Maybe it works better with floats in ordinary paragraphs – I haven’t tested that. But if you have simple paragraphs, that might work. -B From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of Mario D Sent: Friday, May 4, 2018 13:27 To: lyx-users <lyx-users@lists.lyx.org> Subject: Background color in a paragraph Is there a simple way in lyx to change the background color of some text, maybe a paragraph? I have not been able to find a way to do this natively: the only way I could obtain it is by using the "soul" package, then inserting the latex code "\hl{" in ERT just before the the text to be highlighted and then a closing "}" at its end. Thanks
Background color in a paragraph
Is there a simple way in lyx to change the background color of some text, maybe a paragraph? I have not been able to find a way to do this natively: the only way I could obtain it is by using the "soul" package, then inserting the latex code "\hl{" in ERT just before the the text to be highlighted and then a closing "}" at its end. Thanks
Re: Inset background color change does not work
On 17.05.2016 22:11, racoon wrote: Changing the "inset background" color under Preferences seems not to be working. I can change the "inset frame" with no problem though. Or is the "inset background" only for some particular kinds of insets? Oh, I got confused. There is "inset frame" and "collapsable inset frame" (shouldn't it be "collapsible"?). Only the latter changes the color of the frames I have in mind. I have no idea what the former does. And there is apparently no "collapsable inset background". I don't know why. Daniel
Inset background color change does not work
Hi, Changing the "inset background" color under Preferences seems not to be working. I can change the "inset frame" with no problem though. Or is the "inset background" only for some particular kinds of insets? Daniel
Re: Background Color
package colortbl may work http://wiki.lyx.org/LyX/Tables#toc7 From: Barak Shoshany bara...@gmail.com To: lyx-users@lists.lyx.org Sent: Fri, December 31, 2010 2:55:15 PM Subject: Background Color Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak
Re: Background Color
package colortbl may work http://wiki.lyx.org/LyX/Tables#toc7 From: Barak Shoshany bara...@gmail.com To: lyx-users@lists.lyx.org Sent: Fri, December 31, 2010 2:55:15 PM Subject: Background Color Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak
Re: Background Color
package colortbl may work http://wiki.lyx.org/LyX/Tables#toc7 From: Barak Shoshany <bara...@gmail.com> To: lyx-users@lists.lyx.org Sent: Fri, December 31, 2010 2:55:15 PM Subject: Background Color Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak
Background Color
Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak
Background Color
Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak
Background Color
Hello everyone, I'm making a formula sheet with 3 columns (and a vertical line between the columns), and would like to give the headings a solid background color so that they will be easier to find. Is there any way to do so? Thanks, and a happy new year, Barak
Re: shaded background color
Hi! Uwe Stöhr wrote: To satisfy my curiosity, what are your key features? Main of all, the improved Sweave/R support. Spell-checking on the fly and multilingual Thesaurus are both really important to ease life of Spanish speaking/writing users I would like to contribute to the development of the new releases tough I'm far from being a programmer! What you can always do is to spread LyX by tellig others how much it can help when writing texts. That's what I'm struggling to do! Each day I discover tones of new wonderful possibilities :-) What I've not had time yet is to explore the possibilities of LyX for guided editing, that is, for me at least, to use LyX as an interface to create structured documents. Another research line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! Thank you so much for your great work! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Another research line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! This would be difficult because our file format changes with every major release. We are also using XWiki at my work and I managed to create wiki files by exporting LyX files as HTML (via eLyXer) and then import the result to XWiki. But in most cases I simply attach the PDF created with LyX to the Wiki page in XWiki. We found out that this is often the best solution also for Word documents. regards Uwe p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter.
Re: shaded background color
Hi, Uwe Stöhr wrote: Another research line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! This would be difficult because our file format changes with every major release. I get the point, but even though if in a first time XWiki is not capable of rendering documents, I think one point could be to be able to use XWiki as backend for LyX. I mean, LyX code will be stored in XWiki, thus it could be edited/rendered by any other LyX installation or edited directly within XWiki. We are also using XWiki at my work and I managed to create wiki files by exporting LyX files as HTML (via eLyXer) and then import the result to XWiki. But in most cases I simply attach the PDF created with LyX to the Wiki page in XWiki. We found out that this is often the best solution also for Word documents. Of course this is an option, but barely uses XWiki capabilities other than the attachment's historical. regards Uwe p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core, but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Hi Ricardo, On Wed, May 19, 2010 at 8:05 PM, [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net wrote: p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core, but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! I don't know how much eLyXer can help you, but it is multiplatform: it has been reported to work on Windows, Mac OS X and Linux. In fact it should work on any platform where Python 2.5 is available (0.98 does not support Python 2.4 due to a bug, already solved for 0.99). Some people have used eLyXer's core classes as a processing framework for LyX files; maybe you could explore this path too. Although I don't know anything right now about XWiki, I would be happy to assist in any such efforts. Alex.
Re: shaded background color
Am 19.05.2010 20:05, schrieb [Ricardo Rodriguez] eBioTIC.: p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core,... eLyXer is available for all platform since it is a Python script: http://www.nongnu.org/elyxer/ but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! You find all infos at www.lyx.org and in our Wiki: wiki.lyx.org regards Uwe
Re: shaded background color
Hi! Uwe Stöhr wrote: To satisfy my curiosity, what are your key features? Main of all, the improved Sweave/R support. Spell-checking on the fly and multilingual Thesaurus are both really important to ease life of Spanish speaking/writing users I would like to contribute to the development of the new releases tough I'm far from being a programmer! What you can always do is to spread LyX by tellig others how much it can help when writing texts. That's what I'm struggling to do! Each day I discover tones of new wonderful possibilities :-) What I've not had time yet is to explore the possibilities of LyX for guided editing, that is, for me at least, to use LyX as an interface to create structured documents. Another research line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! Thank you so much for your great work! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Another research line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! This would be difficult because our file format changes with every major release. We are also using XWiki at my work and I managed to create wiki files by exporting LyX files as HTML (via eLyXer) and then import the result to XWiki. But in most cases I simply attach the PDF created with LyX to the Wiki page in XWiki. We found out that this is often the best solution also for Word documents. regards Uwe p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter.
Re: shaded background color
Hi, Uwe Stöhr wrote: Another research line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! This would be difficult because our file format changes with every major release. I get the point, but even though if in a first time XWiki is not capable of rendering documents, I think one point could be to be able to use XWiki as backend for LyX. I mean, LyX code will be stored in XWiki, thus it could be edited/rendered by any other LyX installation or edited directly within XWiki. We are also using XWiki at my work and I managed to create wiki files by exporting LyX files as HTML (via eLyXer) and then import the result to XWiki. But in most cases I simply attach the PDF created with LyX to the Wiki page in XWiki. We found out that this is often the best solution also for Word documents. Of course this is an option, but barely uses XWiki capabilities other than the attachment's historical. regards Uwe p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core, but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Hi Ricardo, On Wed, May 19, 2010 at 8:05 PM, [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net wrote: p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core, but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! I don't know how much eLyXer can help you, but it is multiplatform: it has been reported to work on Windows, Mac OS X and Linux. In fact it should work on any platform where Python 2.5 is available (0.98 does not support Python 2.4 due to a bug, already solved for 0.99). Some people have used eLyXer's core classes as a processing framework for LyX files; maybe you could explore this path too. Although I don't know anything right now about XWiki, I would be happy to assist in any such efforts. Alex.
Re: shaded background color
Am 19.05.2010 20:05, schrieb [Ricardo Rodriguez] eBioTIC.: p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core,... eLyXer is available for all platform since it is a Python script: http://www.nongnu.org/elyxer/ but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! You find all infos at www.lyx.org and in our Wiki: wiki.lyx.org regards Uwe
Re: shaded background color
Hi! Uwe Stöhr wrote: To satisfy my curiosity, what are your key features? Main of all, the improved Sweave/R support. Spell-checking on the fly and multilingual Thesaurus are both really important to ease life of Spanish speaking/writing users I would like to contribute to the development of the new releases tough I'm far from being a programmer! What you can always do is to spread LyX by tellig others how much it can help when writing texts. That's what I'm struggling to do! Each day I discover tones of new wonderful possibilities :-) What I've not had time yet is to explore the possibilities of LyX for "guided editing", that is, for me at least, to use LyX as an interface to create structured documents. Another "research" line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! Thank you so much for your great work! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Another "research" line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! This would be difficult because our file format changes with every major release. We are also using XWiki at my work and I managed to create wiki files by exporting LyX files as HTML (via eLyXer) and then import the result to XWiki. But in most cases I simply attach the PDF created with LyX to the Wiki page in XWiki. We found out that this is often the best solution also for Word documents. regards Uwe p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter.
Re: shaded background color
Hi, Uwe Stöhr wrote: Another "research" line will be the integration with a wiki system. XWiki is our option. The XWiki Team is currently working with Word and Open Office integration with XWiki. I would like to propose to use LyX as another interface to XWiki to take profit of both worlds! This would be difficult because our file format changes with every major release. I get the point, but even though if in a first time XWiki is not capable of rendering documents, I think one point could be to be able to use XWiki as backend for LyX. I mean, LyX code will be stored in XWiki, thus it could be edited/rendered by any other LyX installation or edited directly within XWiki. We are also using XWiki at my work and I managed to create wiki files by exporting LyX files as HTML (via eLyXer) and then import the result to XWiki. But in most cases I simply attach the PDF created with LyX to the Wiki page in XWiki. We found out that this is often the best solution also for Word documents. Of course this is an option, but barely uses XWiki capabilities other than the attachment's historical. regards Uwe p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core, but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! Greetings, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Hi Ricardo, On Wed, May 19, 2010 at 8:05 PM, [Ricardo Rodriguez] eBioTIC.wrote: >> p.s. If you use my LyX for Windows installer >> (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to >> HTML converter. >> > I'm currently working on Mac OS X platforms like most of the team core, but > we must be able to support Windows and at least one/two Linux flavours to be > inclusive with as much people as possible in our proposals for different > kind of tools. So, any information about Mac, Windows or Linux platforms is > extremely welcome! I don't know how much eLyXer can help you, but it is multiplatform: it has been reported to work on Windows, Mac OS X and Linux. In fact it should work on any platform where Python 2.5 is available (0.98 does not support Python 2.4 due to a bug, already solved for 0.99). Some people have used eLyXer's core classes as a processing framework for LyX files; maybe you could explore this path too. Although I don't know anything right now about XWiki, I would be happy to assist in any such efforts. Alex.
Re: shaded background color
Am 19.05.2010 20:05, schrieb [Ricardo Rodriguez] eBioTIC.: p.s. If you use my LyX for Windows installer (http://wiki.lyx.org/Windows/LyXWinInstaller), eLyXer is the default LyX to HTML converter. I'm currently working on Mac OS X platforms like most of the team core,... eLyXer is available for all platform since it is a Python script: http://www.nongnu.org/elyxer/ but we must be able to support Windows and at least one/two Linux flavours to be inclusive with as much people as possible in our proposals for different kind of tools. So, any information about Mac, Windows or Linux platforms is extremely welcome! You find all infos at www.lyx.org and in our Wiki: wiki.lyx.org regards Uwe
shaded background color
Hi! Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8. As far as I know and found in the documentation I can change the background color of a, for instance, simple frame I must go to LyX Preferences Look Feel Colors and select and change the option for shaded text. I'm not able to find this option in this installation. Please, could you help me? Thanks!! Best, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Am 18.05.2010 23:08, schrieb [Ricardo Rodriguez] eBioTIC.: Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8. As far as I know and found in the documentation I can change the background color of a, for instance, simple frame I must go to LyX Preferences Look Feel Colors and select and change the option for shaded text. Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore the documentation is not yet up to date. I'm not able to find this option in this installation. Menu Document-Settings-Colors regards Uwe
Re: shaded background color
Thanks! Uwe Stöhr wrote: Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore the documentation is not yet up to date. I'm not able to find this option in this installation. Menu Document-Settings-Colors regards Uwe I'm aware of the situation, but there are several new features that are of key importance for us! I would like to contribute to the development of the new releases tough I'm far from being a programmer! Cheers, -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Am 19.05.2010 00:33, schrieb [Ricardo Rodriguez] eBioTIC.: I'm aware of the situation, but there are several new features that are of key importance for us! To satisfy my curiosity, what are your key features? I would like to contribute to the development of the new releases tough I'm far from being a programmer! What you can always do is to spread LyX by tellig others how much it can help when writing texts. regards Uwe
shaded background color
Hi! Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8. As far as I know and found in the documentation I can change the background color of a, for instance, simple frame I must go to LyX Preferences Look Feel Colors and select and change the option for shaded text. I'm not able to find this option in this installation. Please, could you help me? Thanks!! Best, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Am 18.05.2010 23:08, schrieb [Ricardo Rodriguez] eBioTIC.: Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8. As far as I know and found in the documentation I can change the background color of a, for instance, simple frame I must go to LyX Preferences Look Feel Colors and select and change the option for shaded text. Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore the documentation is not yet up to date. I'm not able to find this option in this installation. Menu Document-Settings-Colors regards Uwe
Re: shaded background color
Thanks! Uwe Stöhr wrote: Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore the documentation is not yet up to date. I'm not able to find this option in this installation. Menu Document-Settings-Colors regards Uwe I'm aware of the situation, but there are several new features that are of key importance for us! I would like to contribute to the development of the new releases tough I'm far from being a programmer! Cheers, -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Am 19.05.2010 00:33, schrieb [Ricardo Rodriguez] eBioTIC.: I'm aware of the situation, but there are several new features that are of key importance for us! To satisfy my curiosity, what are your key features? I would like to contribute to the development of the new releases tough I'm far from being a programmer! What you can always do is to spread LyX by tellig others how much it can help when writing texts. regards Uwe
shaded background color
Hi! Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8. As far as I know and found in the documentation I can change the background color of a, for instance, simple frame I must go to LyX > Preferences > Look & Feel > Colors and select and change the option for "shaded text". I'm not able to find this option in this installation. Please, could you help me? Thanks!! Best, Ricardo -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Am 18.05.2010 23:08, schrieb [Ricardo Rodriguez] eBioTIC.: Running a LyX 2.0.0 alpha 3 release on a MacBook Pro with Mac OS X 10.5.8. As far as I know and found in the documentation I can change the background color of a, for instance, simple frame I must go to LyX > Preferences > Look & Feel > Colors and select and change the option for "shaded text". Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore the documentation is not yet up to date. I'm not able to find this option in this installation. Menu Document->Settings->Colors regards Uwe
Re: shaded background color
Thanks! Uwe Stöhr wrote: Note that LyX 2 is still in alpha state - so not even stable enough for a beta release. Therefore the documentation is not yet up to date. I'm not able to find this option in this installation. Menu Document->Settings->Colors regards Uwe I'm aware of the situation, but there are several new features that are of key importance for us! I would like to contribute to the development of the new releases tough I'm far from being a programmer! Cheers, -- Ricardo Rodríguez CTO eBiotic. Life Sciences, Data Modeling and Information Management Systems
Re: shaded background color
Am 19.05.2010 00:33, schrieb [Ricardo Rodriguez] eBioTIC.: I'm aware of the situation, but there are several new features that are of key importance for us! To satisfy my curiosity, what are your key features? I would like to contribute to the development of the new releases tough I'm far from being a programmer! What you can always do is to spread LyX by tellig others how much it can help when writing texts. regards Uwe
Re: How do I change the background color of a LyX header/headline/whatchamacallit? SOLVED
On 4/11/2010 8:56 PM, Steve Litt wrote: Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. I saw that when I experimented with it, but I figured it needed some sort of width argument and that you'd be able to figure that out (having more motivation than I did :-) ). I searched for hours to try to find this, and you gave it to me in 1 minute. Thanks so much!!! You're welcome. :-) /Paul
Re: How do I change the background color of a LyX header/headline/whatchamacallit? SOLVED
On Monday 12 April 2010 08:23:29 Paul A. Rubin wrote: On 4/11/2010 8:56 PM, Steve Litt wrote: Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. I saw that when I experimented with it, but I figured it needed some sort of width argument and that you'd be able to figure that out (having more motivation than I did :-) ). You're not kidding I have more motivation. My May 2010 Linux Productivity Magazine is going to be on Beamer, so I have to get it just right! That's why I'm so glad you got me past that stumbling block. Now I actually have a version whose header features red, white and blue stripes. It's amazing what you can do with colorboxes. In setting up your solution and then expanding on it, I also found out what to you is probably obvious -- that setbeamercolor's first argument isn't an element, it's a fg/bg color combination whose name just might happen to correspond to an element. Meanwhile, I need to finish my presentation for a 10 minute talk on troubleshooting at Greater Orlando Linux User Group. My plan for Linux Productivity Magazine is to do it in two different magazine issues. The first issue will do just the basics. Then readers will email me saying here's a better way or Steve, you're full of bulls**t, here's how you should have done it. I'll tech edit all their suggestions and put the best ones into the second issue. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How do I change the background color of a LyX header/headline/whatchamacallit? SOLVED
On 4/11/2010 8:56 PM, Steve Litt wrote: Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. I saw that when I experimented with it, but I figured it needed some sort of width argument and that you'd be able to figure that out (having more motivation than I did :-) ). I searched for hours to try to find this, and you gave it to me in 1 minute. Thanks so much!!! You're welcome. :-) /Paul
Re: How do I change the background color of a LyX header/headline/whatchamacallit? SOLVED
On Monday 12 April 2010 08:23:29 Paul A. Rubin wrote: On 4/11/2010 8:56 PM, Steve Litt wrote: Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. I saw that when I experimented with it, but I figured it needed some sort of width argument and that you'd be able to figure that out (having more motivation than I did :-) ). You're not kidding I have more motivation. My May 2010 Linux Productivity Magazine is going to be on Beamer, so I have to get it just right! That's why I'm so glad you got me past that stumbling block. Now I actually have a version whose header features red, white and blue stripes. It's amazing what you can do with colorboxes. In setting up your solution and then expanding on it, I also found out what to you is probably obvious -- that setbeamercolor's first argument isn't an element, it's a fg/bg color combination whose name just might happen to correspond to an element. Meanwhile, I need to finish my presentation for a 10 minute talk on troubleshooting at Greater Orlando Linux User Group. My plan for Linux Productivity Magazine is to do it in two different magazine issues. The first issue will do just the basics. Then readers will email me saying here's a better way or Steve, you're full of bulls**t, here's how you should have done it. I'll tech edit all their suggestions and put the best ones into the second issue. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How do I change the background color of a LyX header/headline/whatchamacallit?
On 4/11/2010 8:56 PM, Steve Litt wrote: Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. I saw that when I experimented with it, but I figured it needed some sort of width argument and that you'd be able to figure that out (having more motivation than I did :-) ). I searched for hours to try to find this, and you gave it to me in 1 minute. Thanks so much!!! You're welcome. :-) /Paul
Re: How do I change the background color of a LyX header/headline/whatchamacallit?
On Monday 12 April 2010 08:23:29 Paul A. Rubin wrote: > On 4/11/2010 8:56 PM, Steve Litt wrote: > > Your code was almost exactly what I wanted, but it left white spaces at > > the slide's margins. > > I saw that when I experimented with it, but I figured it needed some > sort of width argument and that you'd be able to figure that out (having > more motivation than I did :-) ). You're not kidding I have more motivation. My May 2010 Linux Productivity Magazine is going to be on Beamer, so I have to get it just right! That's why I'm so glad you got me past that stumbling block. Now I actually have a version whose header features red, white and blue stripes. It's amazing what you can do with colorboxes. In setting up your solution and then expanding on it, I also found out what to you is probably obvious -- that setbeamercolor's first argument isn't an element, it's a fg/bg color combination whose name just might happen to correspond to an element. Meanwhile, I need to finish my presentation for a 10 minute talk on troubleshooting at Greater Orlando Linux User Group. My plan for Linux Productivity Magazine is to do it in two different magazine issues. The first issue will do just the basics. Then readers will email me saying "here's a better way" or "Steve, you're full of bulls**t, here's how you should have done it". I'll tech edit all their suggestions and put the best ones into the second issue. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
How do I change the background color of a LyX header/headline/whatchamacallit?
Hi all, When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says I love that dirty water in blue type, but the background remains white. How do I turn the header's background red? I'm looking for a LaTeX solution, and I've been RTFWing for a couple hours to no avail. Another thing I can't find on the web is a list of elements to which \setbeamercolor can be applied. I know of headline, normal text, footline, title, frametitle, but there must be plenty more and I can't find them. Can anyone point me to a complete or semicomplete list? Thanks SteveT
Re: How do I change the background color of a LyX header/headline/whatchamacallit?
Steve Litt sl...@... writes: When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says I love that dirty water in blue type, but the background remains white. How do I turn the header's background red? \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}{headline}% I love that dirty water% \end{beamercolorbox}% } Another thing I can't find on the web is a list of elements to which \setbeamercolor can be applied. I know of headline, normal text, footline, title, frametitle, but there must be plenty more and I can't find them. Can anyone point me to a complete or semicomplete list? No clue about that. /Paul
Re: How do I change the background color of a LyX header/headline/whatchamacallit? SOLVED
On Sunday 11 April 2010 20:00:38 Paul Rubin wrote: Steve Litt sl...@... writes: When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says I love that dirty water in blue type, but the background remains white. How do I turn the header's background red? \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}{headline}% I love that dirty water% \end{beamercolorbox}% } Confirmed! Thanks Paul! Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. So, armed with the fact that beamercolorbox was the operant fact, I found this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}[wd=\paperwidth,ht=.3cm, dp=.2cm, leftskip=.5cm,rightskip=.3cm,vskip=0.2cm]{headline}% I love that dirty water% \end{beamercolorbox}% } So what I did was add wd=\paperwidth to close the white spaces, ht=.3cm and dp=.2cm to define the header height and how far down the writing starts, and leftskip and rightskip so the writing doesn't start right at the edge of the paper. This gave me exactly what I wanted. I searched for hours to try to find this, and you gave it to me in 1 minute. Thanks so much!!! SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
How do I change the background color of a LyX header/headline/whatchamacallit?
Hi all, When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says I love that dirty water in blue type, but the background remains white. How do I turn the header's background red? I'm looking for a LaTeX solution, and I've been RTFWing for a couple hours to no avail. Another thing I can't find on the web is a list of elements to which \setbeamercolor can be applied. I know of headline, normal text, footline, title, frametitle, but there must be plenty more and I can't find them. Can anyone point me to a complete or semicomplete list? Thanks SteveT
Re: How do I change the background color of a LyX header/headline/whatchamacallit?
Steve Litt sl...@... writes: When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says I love that dirty water in blue type, but the background remains white. How do I turn the header's background red? \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}{headline}% I love that dirty water% \end{beamercolorbox}% } Another thing I can't find on the web is a list of elements to which \setbeamercolor can be applied. I know of headline, normal text, footline, title, frametitle, but there must be plenty more and I can't find them. Can anyone point me to a complete or semicomplete list? No clue about that. /Paul
Re: How do I change the background color of a LyX header/headline/whatchamacallit? SOLVED
On Sunday 11 April 2010 20:00:38 Paul Rubin wrote: Steve Litt sl...@... writes: When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says I love that dirty water in blue type, but the background remains white. How do I turn the header's background red? \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}{headline}% I love that dirty water% \end{beamercolorbox}% } Confirmed! Thanks Paul! Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. So, armed with the fact that beamercolorbox was the operant fact, I found this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}[wd=\paperwidth,ht=.3cm, dp=.2cm, leftskip=.5cm,rightskip=.3cm,vskip=0.2cm]{headline}% I love that dirty water% \end{beamercolorbox}% } So what I did was add wd=\paperwidth to close the white spaces, ht=.3cm and dp=.2cm to define the header height and how far down the writing starts, and leftskip and rightskip so the writing doesn't start right at the edge of the paper. This gave me exactly what I wanted. I searched for hours to try to find this, and you gave it to me in 1 minute. Thanks so much!!! SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
How do I change the background color of a LyX header/headline/whatchamacallit?
Hi all, When I do this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{I love that dirty water} Indeed the header says "I love that dirty water" in blue type, but the background remains white. How do I turn the header's background red? I'm looking for a LaTeX solution, and I've been RTFWing for a couple hours to no avail. Another thing I can't find on the web is a list of elements to which \setbeamercolor can be applied. I know of headline, normal text, footline, title, frametitle, but there must be plenty more and I can't find them. Can anyone point me to a complete or semicomplete list? Thanks SteveT
Re: How do I change the background color of a LyX header/headline/whatchamacallit?
Steve Littwrites: > > When I do this: > > \setbeamercolor{headline}{fg=blue,bg=red} > \setbeamertemplate{headline}[text line]{I love that dirty water} > > Indeed the header says "I love that dirty water" in blue type, but the > background remains white. How do I turn the header's background red? > \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}{headline}% I love that dirty water% \end{beamercolorbox}% } > > Another thing I can't find on the web is a list of elements to which > \setbeamercolor can be applied. I know of headline, normal text, footline, > title, frametitle, but there must be plenty more and I can't find them. Can > anyone point me to a complete or semicomplete list? > No clue about that. /Paul
Re: How do I change the background color of a LyX header/headline/whatchamacallit?
On Sunday 11 April 2010 20:00:38 Paul Rubin wrote: > Steve Littwrites: > > When I do this: > > > > \setbeamercolor{headline}{fg=blue,bg=red} > > \setbeamertemplate{headline}[text line]{I love that dirty water} > > > > Indeed the header says "I love that dirty water" in blue type, but the > > background remains white. How do I turn the header's background red? > > \setbeamercolor{headline}{fg=blue,bg=red} > \setbeamertemplate{headline}[text line]{% > \begin{beamercolorbox}{headline}% > I love that dirty water% > \end{beamercolorbox}% > } Confirmed! Thanks Paul! Your code was almost exactly what I wanted, but it left white spaces at the slide's margins. So, armed with the fact that beamercolorbox was the operant fact, I found this: \setbeamercolor{headline}{fg=blue,bg=red} \setbeamertemplate{headline}[text line]{% \begin{beamercolorbox}[wd=\paperwidth,ht=.3cm, dp=.2cm, leftskip=.5cm,rightskip=.3cm,vskip=0.2cm]{headline}% I love that dirty water% \end{beamercolorbox}% } So what I did was add wd=\paperwidth to close the white spaces, ht=.3cm and dp=.2cm to define the header height and how far down the writing starts, and leftskip and rightskip so the writing doesn't start right at the edge of the paper. This gave me exactly what I wanted. I searched for hours to try to find this, and you gave it to me in 1 minute. Thanks so much!!! SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Fwd: Background color for sections or subsection
pierre delaunoy schrieb: In fact, I only want to have a background color for the title of section or for the title of a subsection. Sorry for the misunderstanding In the file attached, is it possible to have 1.1 Programme 0 - Subsistance administration - Enseignement et recherche with a background color and 1.1.1 AB 12.01.02 - Dépenses permanentes pour achats de biens non durables et de services with another one ? This is possible. But every section in your document should have the same color to get a readable book. (Personally, I don't think it is a good idea to change the background color. If colors are really necessary, then better change the color of the text.) I attached a LyX file where I colored the background of all section headings and the text color of all subsection headings. Some further hints for writing a book: - Better use the book (KOMA-script) or memoir document class. These classes provide much more featues than the default book class. For example automatic print space calculation, title page formatting, binding correction, etc. (The LyX UserGuide is an example how the power of KOMA-script is uses - look at its document settings.) - If possible, use short titles for all section headings that are running in the PDF-output over more than one line. Otherwise the table of contents and the PDF bookmarks would become unreadable. - Don't overuse colors and horizontal lines. Good books use both very rarely. regards Uwe test_pdy.lyx Description: application/lyx
Re: Fwd: Background color for sections or subsection
pierre delaunoy schrieb: In fact, I only want to have a background color for the title of section or for the title of a subsection. Sorry for the misunderstanding In the file attached, is it possible to have 1.1 Programme 0 - Subsistance administration - Enseignement et recherche with a background color and 1.1.1 AB 12.01.02 - Dépenses permanentes pour achats de biens non durables et de services with another one ? This is possible. But every section in your document should have the same color to get a readable book. (Personally, I don't think it is a good idea to change the background color. If colors are really necessary, then better change the color of the text.) I attached a LyX file where I colored the background of all section headings and the text color of all subsection headings. Some further hints for writing a book: - Better use the book (KOMA-script) or memoir document class. These classes provide much more featues than the default book class. For example automatic print space calculation, title page formatting, binding correction, etc. (The LyX UserGuide is an example how the power of KOMA-script is uses - look at its document settings.) - If possible, use short titles for all section headings that are running in the PDF-output over more than one line. Otherwise the table of contents and the PDF bookmarks would become unreadable. - Don't overuse colors and horizontal lines. Good books use both very rarely. regards Uwe test_pdy.lyx Description: application/lyx
Re: Fwd: Background color for sections or subsection
pierre delaunoy schrieb: In fact, I only want to have a background color for the title of section or for the title of a subsection. Sorry for the misunderstanding In the file attached, is it possible to have "1.1 Programme 0 - Subsistance administration - Enseignement et recherche" with a background color and "1.1.1 AB 12.01.02 - Dépenses permanentes pour achats de biens non durables et de services" with another one ? This is possible. But every section in your document should have the same color to get a readable book. (Personally, I don't think it is a good idea to change the background color. If colors are really necessary, then better change the color of the text.) I attached a LyX file where I colored the background of all section headings and the text color of all subsection headings. Some further hints for writing a book: - Better use the book (KOMA-script) or memoir document class. These classes provide much more featues than the default book class. For example automatic print space calculation, title page formatting, binding correction, etc. (The LyX UserGuide is an example how the power of KOMA-script is uses - look at its document settings.) - If possible, use short titles for all section headings that are running in the PDF-output over more than one line. Otherwise the table of contents and the PDF bookmarks would become unreadable. - Don't overuse colors and horizontal lines. Good books use both very rarely. regards Uwe test_pdy.lyx Description: application/lyx
Background color for sections or subsection
Hello Does anyone know how to set a background color (i.e. lightgray) for a section or a subsection so that it appears also in the output PDF ? I have tried \colorbox and it works for standard text (paragraphs) but not for sections. Thanks Pierre Delaunoy
Re: Background color for sections or subsection
Am 10.03.2010 16:53, schrieb Pierre Delaunoy: Does anyone know how to set a background color (i.e. lightgray) for a section or a subsection so that it appears also in the output PDF? To achieve this, you must assure that the section that should be colored starts on a new page. This can be done by adding a page break in front of the section. Right after the linebreak and before the section, add this command as TeX-code \pagecolor{color} where color is the color you want. Finally add this to your document preamble: \...@ifundefined{textcolor} {\usepackage{color}}{} How to define your own color is explained in the EnbeddedObjects manual, sec. 2.11 Colored Tables. I sent you an example LyX file in private mail (too big for this mailing list). regards Uwe
Background color for sections or subsection
Hello Does anyone know how to set a background color (i.e. lightgray) for a section or a subsection so that it appears also in the output PDF ? I have tried \colorbox and it works for standard text (paragraphs) but not for sections. Thanks Pierre Delaunoy
Re: Background color for sections or subsection
Am 10.03.2010 16:53, schrieb Pierre Delaunoy: Does anyone know how to set a background color (i.e. lightgray) for a section or a subsection so that it appears also in the output PDF? To achieve this, you must assure that the section that should be colored starts on a new page. This can be done by adding a page break in front of the section. Right after the linebreak and before the section, add this command as TeX-code \pagecolor{color} where color is the color you want. Finally add this to your document preamble: \...@ifundefined{textcolor} {\usepackage{color}}{} How to define your own color is explained in the EnbeddedObjects manual, sec. 2.11 Colored Tables. I sent you an example LyX file in private mail (too big for this mailing list). regards Uwe
Background color for sections or subsection
Hello Does anyone know how to set a background color (i.e. lightgray) for a section or a subsection so that it appears also in the output PDF ? I have tried \colorbox and it works for standard text (paragraphs) but not for sections. Thanks Pierre Delaunoy
Re: Background color for sections or subsection
Am 10.03.2010 16:53, schrieb Pierre Delaunoy: Does anyone know how to set a background color (i.e. lightgray) for a section or a subsection so that it appears also in the output PDF? To achieve this, you must assure that the section that should be colored starts on a new page. This can be done by adding a page break in front of the section. Right after the linebreak and before the section, add this command as TeX-code \pagecolor{color} where "color" is the color you want. Finally add this to your document preamble: \...@ifundefined{textcolor} {\usepackage{color}}{} How to define your own color is explained in the EnbeddedObjects manual, sec. 2.11 "Colored Tables". I sent you an example LyX file in private mail (too big for this mailing list). regards Uwe
Re: Background color of Text.
nikunj . schrieb: I could do it. Include the package 'color' in preamble, i.e. add \usepackage{color} in the preamble. (Document-settings-latex preamble) After that go to tex mode/ERT (ctrl-L on windows ) and write \colorbox{green}{the text} within the ERT. More info at http://en.wikibooks.org/wiki/LaTeX/Colors For more info look at sec. 5.7 Colored Boxes of the EmbeddedObjects manual that you find in LyX's Help menu. regards Uwe
Re: Background color of Text.
nikunj . schrieb: I could do it. Include the package 'color' in preamble, i.e. add \usepackage{color} in the preamble. (Document-settings-latex preamble) After that go to tex mode/ERT (ctrl-L on windows ) and write \colorbox{green}{the text} within the ERT. More info at http://en.wikibooks.org/wiki/LaTeX/Colors For more info look at sec. 5.7 Colored Boxes of the EmbeddedObjects manual that you find in LyX's Help menu. regards Uwe
Re: Background color of Text.
nikunj . schrieb: I could do it. Include the package 'color' in preamble, i.e. add \usepackage{color} in the preamble. (Document->settings->latex preamble) After that go to tex mode/ERT (ctrl-L on windows ) and write " \colorbox{green}{the text} " within the ERT. More info at http://en.wikibooks.org/wiki/LaTeX/Colors For more info look at sec. 5.7 "Colored Boxes" of the EmbeddedObjects manual that you find in LyX's Help menu. regards Uwe
Background color of Text.
Hi, I have Lyx 1.6 running of windows.I am using Beamer class to make a presentation. I want to change the background color of some text like this is blue How do I do that ? Regards, Nikunj
Re: Background color of Text.
On Tue, Nov 17, 2009 at 10:35 AM, nikunj . nikunjk...@gmail.com wrote: Hi, I have Lyx 1.6 running of windows.I am using Beamer class to make a presentation. I want to change the background color of some text like this is blue I could do it. Include the package 'color' in preamble, i.e. add \usepackage{color} in the preamble. (Document-settings-latex preamble) After that go to tex mode/ERT (ctrl-L on windows ) and write \colorbox{green}{the text} within the ERT. More info at http://en.wikibooks.org/wiki/LaTeX/Colors How do I do that ? Regards, Nikunj
Background color of Text.
Hi, I have Lyx 1.6 running of windows.I am using Beamer class to make a presentation. I want to change the background color of some text like this is blue How do I do that ? Regards, Nikunj
Re: Background color of Text.
On Tue, Nov 17, 2009 at 10:35 AM, nikunj . nikunjk...@gmail.com wrote: Hi, I have Lyx 1.6 running of windows.I am using Beamer class to make a presentation. I want to change the background color of some text like this is blue I could do it. Include the package 'color' in preamble, i.e. add \usepackage{color} in the preamble. (Document-settings-latex preamble) After that go to tex mode/ERT (ctrl-L on windows ) and write \colorbox{green}{the text} within the ERT. More info at http://en.wikibooks.org/wiki/LaTeX/Colors How do I do that ? Regards, Nikunj
Background color of Text.
Hi, I have Lyx 1.6 running of windows.I am using Beamer class to make a presentation. I want to change the background color of some text like this is blue How do I do that ? Regards, Nikunj
Re: Background color of Text.
On Tue, Nov 17, 2009 at 10:35 AM, nikunj . <nikunjk...@gmail.com> wrote: > Hi, > > I have Lyx 1.6 running of windows.I am using Beamer class to make a > presentation. I want to change the background color of some text like this > is blue > I could do it. Include the package 'color' in preamble, i.e. add \usepackage{color} in the preamble. (Document->settings->latex preamble) After that go to tex mode/ERT (ctrl-L on windows ) and write " \colorbox{green}{the text} " within the ERT. More info at http://en.wikibooks.org/wiki/LaTeX/Colors > > How do I do that ? > > Regards, > Nikunj >
Re: How do you change background color and put a frame
Laurent Duperval schrieb: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? This is described in section 5.7. Colored Boxes of the Embedded Objects manual that you find in LyX's help menu. regards Uwe
Re: How do you change background color and put a frame
Laurent Duperval schrieb: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? This is described in section 5.7. Colored Boxes of the Embedded Objects manual that you find in LyX's help menu. regards Uwe
Re: How do you change background color and put a frame
Laurent Duperval schrieb: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? This is described in section "5.7. Colored Boxes" of the Embedded Objects manual that you find in LyX's help menu. regards Uwe
How do you change background color and put a frame
Hi, I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: How do you change background color and put a frame
Laurent Duperval wrote: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? The following works in LyX 1.5.x; not sure about 1.4.x. 1. Add \usepackage{xcolor} to the preamble. 2. Select your paragraphs and then Insert - Box to put them in a minipage. 3. Right-click the handle of the minipage and adjust the settings. You want minipage for the box type, and no frame decoration (it's coming later). You'll probably want to adjust the box width to conform to the surrounding margins. 4. If the left side of the box is not where you want it, put the cursor just before the box handle and use the paragraph settings button to toggle indent on or off (whichever you need). 5. If you are indenting paragraphs, insert the following in ERT as the first bit of the box content: \setlength{\parindent}{3ex}. (Adjust the indentation amount to taste.) LaTeX apparently zeros out the paragraph indentation inside a minipage. 6. Place the following in ERT just before the box: \fcolorbox{black}{cyan}{. The first color is the frame color, the second is the background color (again, adjust to taste). Put } in ERT just after the box. The box will be treated as an indivisible block (if any of it trails over to the next page, the whole box will move). HTH, Paul
How do you change background color and put a frame
Hi, I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: How do you change background color and put a frame
Laurent Duperval wrote: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? The following works in LyX 1.5.x; not sure about 1.4.x. 1. Add \usepackage{xcolor} to the preamble. 2. Select your paragraphs and then Insert - Box to put them in a minipage. 3. Right-click the handle of the minipage and adjust the settings. You want minipage for the box type, and no frame decoration (it's coming later). You'll probably want to adjust the box width to conform to the surrounding margins. 4. If the left side of the box is not where you want it, put the cursor just before the box handle and use the paragraph settings button to toggle indent on or off (whichever you need). 5. If you are indenting paragraphs, insert the following in ERT as the first bit of the box content: \setlength{\parindent}{3ex}. (Adjust the indentation amount to taste.) LaTeX apparently zeros out the paragraph indentation inside a minipage. 6. Place the following in ERT just before the box: \fcolorbox{black}{cyan}{. The first color is the frame color, the second is the background color (again, adjust to taste). Put } in ERT just after the box. The box will be treated as an indivisible block (if any of it trails over to the next page, the whole box will move). HTH, Paul
How do you change background color and put a frame
Hi, I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? L -- Prenez la parole en public en étant Speak to an audience while being moins nerveux et plus convaincant! less nervous and more convincing! Éveillez l'orateur en vous!Bring out the speaker in you! Information: [EMAIL PROTECTED] http://www.duperval.com (514) 902-0186
Re: How do you change background color and put a frame
Laurent Duperval wrote: I want to create a paragraph (or two) that have a different background color. I also want them to be framed. How do I do that? The following works in LyX 1.5.x; not sure about 1.4.x. 1. Add "\usepackage{xcolor}" to the preamble. 2. Select your paragraphs and then Insert -> Box to put them in a minipage. 3. Right-click the "handle" of the minipage and adjust the settings. You want minipage for the box type, and no frame decoration (it's coming later). You'll probably want to adjust the box width to conform to the surrounding margins. 4. If the left side of the box is not where you want it, put the cursor just before the box handle and use the paragraph settings button to toggle indent on or off (whichever you need). 5. If you are indenting paragraphs, insert the following in ERT as the first bit of the box content: "\setlength{\parindent}{3ex}". (Adjust the indentation amount to taste.) LaTeX apparently zeros out the paragraph indentation inside a minipage. 6. Place the following in ERT just before the box: "\fcolorbox{black}{cyan}{". The first color is the frame color, the second is the background color (again, adjust to taste). Put "}" in ERT just after the box. The box will be treated as an indivisible block (if any of it trails over to the next page, the whole box will move). HTH, Paul
Re: Bug with background color of LyX notes?
On 8/31/07, Paul A. Rubin [EMAIL PROTECTED] wrote: I have found what I think is a bug: 1. change the background color of LyX to white; Yuck! Hard on the eyes. 2. inside a LyX note, insert something in math mode. One gets white background for the piece of the LyX note in math mode instead of yellow. Do you confirm this bug? I can confirm it, but I'm not sure it's a bug. With the default background color, I still get a white background for the math-in-a-note inset. I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Paul
Re: Bug with background color of LyX notes?
Paul Smith wrote: I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. /Paul
Re: Bug with background color of LyX notes?
On Tuesday 04 September 2007 15:54:58 Paul A. Rubin wrote: Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) /Paul -- José Abílio
Re: Bug with background color of LyX notes?
On 9/4/07, José Matos [EMAIL PROTECTED] wrote: Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) Unfortunately, I know nothing about patches, and the best I can do is to file an enhancement request at bugzilla (and I am going to do it). Paul
Re: Bug with background color of LyX notes?
On 9/4/07, Paul Smith [EMAIL PROTECTED] wrote: Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) Unfortunately, I know nothing about patches, and the best I can do is to file an enhancement request at bugzilla (and I am going to do it). Done: http://bugzilla.lyx.org/show_bug.cgi?id=4200 Paul
Re: Bug with background color of LyX notes?
On 8/31/07, Paul A. Rubin [EMAIL PROTECTED] wrote: I have found what I think is a bug: 1. change the background color of LyX to white; Yuck! Hard on the eyes. 2. inside a LyX note, insert something in math mode. One gets white background for the piece of the LyX note in math mode instead of yellow. Do you confirm this bug? I can confirm it, but I'm not sure it's a bug. With the default background color, I still get a white background for the math-in-a-note inset. I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Paul
Re: Bug with background color of LyX notes?
Paul Smith wrote: I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. /Paul
Re: Bug with background color of LyX notes?
On Tuesday 04 September 2007 15:54:58 Paul A. Rubin wrote: Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) /Paul -- José Abílio
Re: Bug with background color of LyX notes?
On 9/4/07, José Matos [EMAIL PROTECTED] wrote: Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) Unfortunately, I know nothing about patches, and the best I can do is to file an enhancement request at bugzilla (and I am going to do it). Paul
Re: Bug with background color of LyX notes?
On 9/4/07, Paul Smith [EMAIL PROTECTED] wrote: Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) Unfortunately, I know nothing about patches, and the best I can do is to file an enhancement request at bugzilla (and I am going to do it). Done: http://bugzilla.lyx.org/show_bug.cgi?id=4200 Paul
Re: Bug with background color of LyX notes?
On 8/31/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > > I have found what I think is a bug: > > > > 1. change the background color of LyX to white; > > Yuck! Hard on the eyes. > > > > 2. inside a LyX note, insert something in math mode. > > > > One gets white background for the piece of the LyX note in math mode > > instead of yellow. Do you confirm this bug? > > > > I can confirm it, but I'm not sure it's a bug. With the default > background color, I still get a white background for the math-in-a-note > inset. I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Paul
Re: Bug with background color of LyX notes?
Paul Smith wrote: I have just noticed that one can select the math mode background color. However, unless one selects the same background color for normal text and for LyX notes, one cannot avoid the reported problem. I agree that this is not a bug, but an enhancement could be introduced to give the user the possibility of choosing the background color of math mode in LyX notes. Go for it. But I won't be surprised if it's a long wait before a developer gets around to that one. /Paul
Re: Bug with background color of LyX notes?
On Tuesday 04 September 2007 15:54:58 Paul A. Rubin wrote: > Go for it. But I won't be surprised if it's a long wait before a > developer gets around to that one. Have we told you that we accept patches? ;-) Not that every patch goes in directly but a patch is a nice start. :-) > /Paul -- José Abílio