Re: How does one use the Liberation fonts in LyX?
On Wed, Aug 31, 2011 at 1:30 AM, Steve Litt sl...@troubleshooters.com wrote: UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? I couldn't say. Best start a new thread on this. What I heard from the list is that XeTeX is bleeding edge development compared to the good old and stable TeX engine. The output may be quite different since XeTeX uses fancier typographic choices by default (somewhat similar to 'microtype'). It also eases up life if you need to combine various Unicode characters in your documents, although XeTeX can also be used with normal LaTeX fonts. I guess best would be to read up their documentation and search on the internet. How do I compile to PDF so that the fonts are embedded in the PDF? LyX already takes care of this. To test, compile a document, open it with Evince, and check File Properties Fonts. Regards Liviu Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: How does one use the Liberation fonts in LyX?
On 2011-08-30, Steve Litt wrote: Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? For non-TeX fonts (i.e. Unicode-encoded system fonts) you must use either the XeTeX or LuaTeX engine instead of the pdfTeX/eTeX one. Both should be used with the LaTeX macro extensions. In most distributions, the commands are latex pdfTeX engine with LaTeX macros and DVI output pdflatex pdfTeX engine with LaTeX macros and PDF output xelatexXeTeX engine with LaTeX macros and PDF output lualatex LuaTeX engine with LaTeX macros and PDF output Of course, LyX knows this and calls them appropriately. However, hand-made scripts will need adaption. Should I expect any side effects or problems? This depends. As you want to change the font anyway, minor layout changes will not be visible (like with e.g. switching the engine but keeping Latin Modern as text font). Some packages are not supported (e.g. microtype is only partially supported). Some languages are only supported by babel (package for pdfTeX) while others are only supported by polyglossia (the language package for XeTeX) Preamble and ERT commands might need adaption. Günter
Re: How does one use the Liberation fonts in LyX?
On Wed, Aug 31, 2011 at 1:30 AM, Steve Litt sl...@troubleshooters.com wrote: UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? I couldn't say. Best start a new thread on this. What I heard from the list is that XeTeX is bleeding edge development compared to the good old and stable TeX engine. The output may be quite different since XeTeX uses fancier typographic choices by default (somewhat similar to 'microtype'). It also eases up life if you need to combine various Unicode characters in your documents, although XeTeX can also be used with normal LaTeX fonts. I guess best would be to read up their documentation and search on the internet. How do I compile to PDF so that the fonts are embedded in the PDF? LyX already takes care of this. To test, compile a document, open it with Evince, and check File Properties Fonts. Regards Liviu Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: How does one use the Liberation fonts in LyX?
On 2011-08-30, Steve Litt wrote: Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? For non-TeX fonts (i.e. Unicode-encoded system fonts) you must use either the XeTeX or LuaTeX engine instead of the pdfTeX/eTeX one. Both should be used with the LaTeX macro extensions. In most distributions, the commands are latex pdfTeX engine with LaTeX macros and DVI output pdflatex pdfTeX engine with LaTeX macros and PDF output xelatexXeTeX engine with LaTeX macros and PDF output lualatex LuaTeX engine with LaTeX macros and PDF output Of course, LyX knows this and calls them appropriately. However, hand-made scripts will need adaption. Should I expect any side effects or problems? This depends. As you want to change the font anyway, minor layout changes will not be visible (like with e.g. switching the engine but keeping Latin Modern as text font). Some packages are not supported (e.g. microtype is only partially supported). Some languages are only supported by babel (package for pdfTeX) while others are only supported by polyglossia (the language package for XeTeX) Preamble and ERT commands might need adaption. Günter
Re: How does one use the Liberation fonts in LyX?
On Wed, Aug 31, 2011 at 1:30 AM, Steve Littwrote: > UDMan Liviu! > > I'd already installed xetex, but hadn't thought to reconfigure LyX. > After reconfiguring LyX, it worked. I saw all the liberation fonts. > Thank you! > > Now when everyone says "you must use XeTeX", does that mean that in my > scripts that make books, I substitute the xetex command for the latex > command? Should I expect any side effects or problems? > I couldn't say. Best start a new thread on this. What I heard from the list is that XeTeX is bleeding edge development compared to the good old and stable TeX engine. The output may be quite different since XeTeX uses fancier typographic choices by default (somewhat similar to 'microtype'). It also eases up life if you need to combine various Unicode characters in your documents, although XeTeX can also be used with "normal" LaTeX fonts. I guess best would be to read up their documentation and search on the internet. > How do I compile to PDF so that the fonts are embedded in the PDF? > LyX already takes care of this. To test, compile a document, open it with Evince, and check File > Properties > Fonts. Regards Liviu > Thanks > > SteveT > > Steve Litt > Author: The Key to Everyday Excellence > http://www.troubleshooters.com/bookstore/key_excellence.htm > Twitter: http://www.twitter.com/stevelitt > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: How does one use the Liberation fonts in LyX?
On 2011-08-30, Steve Litt wrote: > Now when everyone says "you must use XeTeX", does that mean that in my > scripts that make books, I substitute the xetex command for the latex > command? For "non-TeX fonts" (i.e. Unicode-encoded system fonts) you must use either the XeTeX or LuaTeX "engine" instead of the pdfTeX/eTeX one. Both should be used with the LaTeX macro extensions. In most distributions, the commands are latex pdfTeX engine with LaTeX macros and DVI output pdflatex pdfTeX engine with LaTeX macros and PDF output xelatexXeTeX engine with LaTeX macros and PDF output lualatex LuaTeX engine with LaTeX macros and PDF output Of course, LyX knows this and calls them appropriately. However, hand-made scripts will need adaption. > Should I expect any side effects or problems? This depends. As you want to change the font anyway, minor layout changes will not be visible (like with e.g. switching the engine but keeping Latin Modern as text font). Some packages are not supported (e.g. microtype is only partially supported). Some languages are only supported by babel (package for pdfTeX) while others are only supported by "polyglossia" (the language package for XeTeX) Preamble and ERT commands might need adaption. Günter
Re: How does one use the Liberation fonts in LyX?
Hi Rob (or anyone else who knows the answer), Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Thanks SteveT On Monday, December 14, 2009 10:11:33 AM Rob Oakes wrote: Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelat ex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdfte x-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:02:38 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu Thanks Liviu, For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:31:54 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? How do I compile to PDF so that the fonts are embedded in the PDF? Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Rob (or anyone else who knows the answer), Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Thanks SteveT On Monday, December 14, 2009 10:11:33 AM Rob Oakes wrote: Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelat ex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdfte x-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:02:38 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu Thanks Liviu, For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:31:54 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? How do I compile to PDF so that the fonts are embedded in the PDF? Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Rob (or anyone else who knows the answer), Now that LyX 2.0 is out, is the answer any simpler to the question "how do you use Liberation fonts in LyX?"? Thanks SteveT On Monday, December 14, 2009 10:11:33 AM Rob Oakes wrote: > Hi Steve, > > I think that you have one of two options. The first, of course is > to install the fonts onto your system in the normal way and then > use XeTeX to compile the document. If you choose this route, you > can assign the font through the use of the \setfont macros: > \setmainfont{font name}, \setsansfont{font name}, > \setmonofont{font name} > > If using LyX 1.6.5, you will need to set up XeLaTeX to work with > LyX. There is information on how to do this on the wiki. If using > LyX SVN, it already has support built-in. Just go to Document > Settings -> Output and enable "Use XeTeX". > > Additional information about XeLaTex and font support is available > at: > > http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelat > ex/ > > The alternative is to see if someone has created a font definition > file. You can also create your own. Additional information about > the process is available from the excellent blog, Existential > Type: > > http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdfte > x-and-opentype/ > > I personally prefer to go the XeLaTeX route. Since moving over to > LyX SVN, I use it to compile more or less everything. While there > are some packages it doesn't support (like microtype), I find that > it does a good job with just about everything. I've even been > able to use some of the more exotic modules (like Sweave) and > classes (like Tufte) without problems. For an example output, > see: > > http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf > > (Aside: In the example above, using xetex allowed me to use the > same typefaces that Tufte uses -- Bembo and Gil Sans -- without > creating a font definition file for them -- which ranks right > alongside major oral surgery on my priority list.) > > Cheers, > > Rob Oakes
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 10:21 PM, Steve Littwrote: > Now that LyX 2.0 is out, is the answer any simpler to the question > "how do you use Liberation fonts in LyX?"? > Should be. Select Fonts > Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:02:38 PM Liviu Andronic wrote: > On Tue, Aug 30, 2011 at 10:21 PM, Steve Littwrote: > > Now that LyX 2.0 is out, is the answer any simpler to the > > question "how do you use Liberation fonts in LyX?"? > > Should be. Select Fonts > Use non-TeX fonts, then (assuming that > the fonts are registered with the system) Liberation should be > accessible in the font-selection combo. Now you will be compiling > your documents with XeTeX. > Liviu Thanks Liviu, For some reason, the "Use Non Tex Fonts" checkbox on my Document Settings->fonts screen is grayed out and can't be checked. Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 11:28 PM, Steve Littwrote: > For some reason, the "Use Non Tex Fonts" checkbox on my Document > Settings->fonts screen is grayed out and can't be checked. > Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:31:54 PM Liviu Andronic wrote: > On Tue, Aug 30, 2011 at 11:28 PM, Steve Littwrote: > > For some reason, the "Use Non Tex Fonts" checkbox on my Document > > Settings->fonts screen is grayed out and can't be checked. > > Then I guess you don't have XeTeX installed. Install it, > reconfigure LyX, and after LyX restart try again the Fonts > dialogue. > Liviu UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says "you must use XeTeX", does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? How do I compile to PDF so that the fonts are embedded in the PDF? Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
How does one use the Liberation fonts in LyX?
Hi all, How does one use the Liberation fonts in LyX? These are truetype fonts metrically identical to Microsoft's main fonts: Liberation Mono - Courier New Liberation Sans - Arial Liberation Serif - Times New Roman (http://en.wikipedia.org/wiki/Liberation_fonts) Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelatex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
How does one use the Liberation fonts in LyX?
Hi all, How does one use the Liberation fonts in LyX? These are truetype fonts metrically identical to Microsoft's main fonts: Liberation Mono - Courier New Liberation Sans - Arial Liberation Serif - Times New Roman (http://en.wikipedia.org/wiki/Liberation_fonts) Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelatex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
How does one use the Liberation fonts in LyX?
Hi all, How does one use the Liberation fonts in LyX? These are truetype fonts metrically identical to Microsoft's main fonts: Liberation Mono -> Courier New Liberation Sans -> Arial Liberation Serif -> Times New Roman (http://en.wikipedia.org/wiki/Liberation_fonts) Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings -> Output and enable "Use XeTeX". Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelatex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes