Re: selecting fonts in xetex

2011-05-11 Thread Guenter Milde
On 2011-05-11, Neal Becker wrote:

> was good.  Only missing a \tt font to go with it.  I tried Deja Sans
> Mono, but the characters look larger than the roman text, not good.
> Also tried Nimbus mono, but it's too thin.

You can scale the fonts with fontspec, e.g.

\setmonofont[HyphenChar=None,Scale=MatchUppercase]{FreeMono}

Günter



Re: selecting fonts in xetex

2011-05-11 Thread Neal Becker
Bruce Pourciau wrote:

> 
> On May 11, 2011, at 2:32 AM, Guenter Milde wrote:
> 
>>> How are math fonts selected?
>>
>> By default, math fonts are not changed and still taken from the 8-bit
>> encoded CM fonts.
>>
>> To configure math fonts, there are two options:
> 
> You could also, within LyX, use the mathpazo package: In Document
> Settings > Fonts choose Palatino and check Small Caps and Old Style
> figures. This gives you Zapf's lovely Palatino for text and symbols
> for mathematics that have been redrawn (Palatino'd) to blend well with
> the text.
> 
> Bruce

Unfortunately, on my setup (texlive-2010) Palatino seems quite broken.  Every 
character seems to be underined (load of errors in log), and all text chars are 
blank.



Re: selecting fonts in xetex

2011-05-11 Thread Bruce Pourciau


On May 11, 2011, at 2:32 AM, Guenter Milde wrote:


How are math fonts selected?


By default, math fonts are not changed and still taken from the 8-bit
encoded CM fonts.

To configure math fonts, there are two options:


You could also, within LyX, use the mathpazo package: In Document  
Settings > Fonts choose Palatino and check Small Caps and Old Style  
figures. This gives you Zapf's lovely Palatino for text and symbols  
for mathematics that have been redrawn (Palatino'd) to blend well with  
the text.


Bruce



Re: selecting fonts in xetex

2011-05-11 Thread Neal Becker
>Guenter Milde wrote:

> On 2011-05-10, Neal Becker wrote:
> 
>> I'm interested in trying out xetex.  Any suggestions for font settings
>> to try (free, widely available)?  This is fedora 14, have stix fonts.
> 
> This very much depends on what you want to achieve.
> As with XeTeX, you can use system fonts, this leaves the realm of TeX
> and you can follow the advise of the typesetting gurus.
> 
> Some links:
> http://en.wikipedia.org/wiki/Typophile_%28Internet_Forum%29
> http://praegnanz.de/essays/freie-schriften-anspruch-und-wirklichkeit
> (German)
> http://www.100besteschriften.de/ (German)
> 
> If you want matching math fonts, the selection becomes considerably
> narrower.
> 
>> How are math fonts selected?
> 
> By default, math fonts are not changed and still taken from the 8-bit
> encoded CM fonts.
> 
> To configure math fonts, there are two options:
> 
> a) load a traditional math-font package like fourier, txfonts or
>qtxfonts or mathdesign or kpmath or ...
>*before* configuring the text fonts.
>
>In LyX this means to leave the Font GUI at [Default], read the
>fontconfig documentation and configure text fonts in the LaTeX
>preamble, e.g.
>
>% Requirements
>\usepackage{fourier}
>
>% Text font
>\usepackage[no-math]{fontspec}
>\usepackage{xunicode}
>\setmainfont[BoldFont={XITS Bold},ItalicFont={XITS Italic}]{XITS Math}
>\setsansfont{DejaVu Sans}
>% \setmonofont[HyphenChar=None,Scale=MatchUppercase]{DejaVu Sans Mono}
>\setmonofont[HyphenChar=None,Scale=MatchUppercase]{FreeMono}
> 
> b) use the experimental "unicode-math" package
>http://ctan.org/pkg/unicode-math
>with one of the few OpenType Math fonts Asana-Math, XITS, Cambria-Math
>(from MS-Word), NeuEuler or (the soon to be released) LM-Math.
>
>Again, you need to call and configure this in the LaTeX preamble.
>See the comprehensive package documentation
>http://mirror.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf
>   
>As this is hithero not tested with LyX, you might expect some
>incompatibilities and problems.
> 
> Günter

Thanks!  I found setting 
roman -> XITS
+
\usepackage{unicode-math}
\setmathfont{XITS Math}

was good.  Only missing a \tt font to go with it.  I tried Deja Sans Mono, but 
the characters look larger than the roman text, not good.  Also tried Nimbus 
mono, but it's too thin.



Re: selecting fonts in xetex

2011-05-11 Thread Guenter Milde
On 2011-05-10, Neal Becker wrote:

> I'm interested in trying out xetex.  Any suggestions for font settings
> to try (free, widely available)?  This is fedora 14, have stix fonts.

This very much depends on what you want to achieve.
As with XeTeX, you can use system fonts, this leaves the realm of TeX
and you can follow the advise of the typesetting gurus.

Some links:
http://en.wikipedia.org/wiki/Typophile_%28Internet_Forum%29
http://praegnanz.de/essays/freie-schriften-anspruch-und-wirklichkeit
(German)
http://www.100besteschriften.de/ (German)

If you want matching math fonts, the selection becomes considerably
narrower.

> How are math fonts selected?

By default, math fonts are not changed and still taken from the 8-bit
encoded CM fonts.

To configure math fonts, there are two options:

a) load a traditional math-font package like fourier, txfonts or
   qtxfonts or mathdesign or kpmath or ...
   *before* configuring the text fonts.
   
   In LyX this means to leave the Font GUI at [Default], read the
   fontconfig documentation and configure text fonts in the LaTeX
   preamble, e.g. 
   
   % Requirements
   \usepackage{fourier}
   
   % Text font
   \usepackage[no-math]{fontspec}
   \usepackage{xunicode}
   \setmainfont[BoldFont={XITS Bold},ItalicFont={XITS Italic}]{XITS Math}
   \setsansfont{DejaVu Sans}
   % \setmonofont[HyphenChar=None,Scale=MatchUppercase]{DejaVu Sans Mono}
   \setmonofont[HyphenChar=None,Scale=MatchUppercase]{FreeMono}

b) use the experimental "unicode-math" package 
   http://ctan.org/pkg/unicode-math
   with one of the few OpenType Math fonts Asana-Math, XITS, Cambria-Math
   (from MS-Word), NeuEuler or (the soon to be released) LM-Math.
   
   Again, you need to call and configure this in the LaTeX preamble.
   See the comprehensive package documentation
   http://mirror.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf
  
   As this is hithero not tested with LyX, you might expect some
   incompatibilities and problems.

Günter



Re: selecting fonts in xetex

2011-05-10 Thread Liviu Andronic
2011/5/10 Richard Heck :
> I tried several for my forthcoming book, though I eventually settled on
> New Century Schoolbook, mostly because switching to XeTeX threatened to
> change too much else. But I liked the Liberation and Linux Libertine
> fonts a lot, and also the Stix ones.
>
I also like Libertine & Biolinum. Other fonts that were suggested
elsewhere on this list are Fontin & Fontin Sans, and Minion Pro (the
latter not freely available, but please correct me). Otherwise, you
can stick with good old Palatino & Optima (available as URW Classico)
even when compiling with XeTeX.

Regards
Liviu


Re: selecting fonts in xetex

2011-05-10 Thread Richard Heck
On 05/10/2011 02:51 PM, Neal Becker wrote:
> On Tuesday 10 May 2011, Richard Heck wrote:
>> On 05/10/2011 02:22 PM, Neal Becker wrote:
>>> I'm interested in trying out xetex.  Any suggestions for font settings to
>>> try (free, widely available)?  This is fedora 14, have stix fonts.
>> You can use almost any font you have installed. The Liberation fonts
>> seem quite good. You can use Deja Vu fonts, whatever.
>>
> I'm wondering if there any 'good' suggestions.  Perhaps from someone more 
> knowlegable in the subject than I am (that'd be just about anyone).
>
I tried several for my forthcoming book, though I eventually settled on
New Century Schoolbook, mostly because switching to XeTeX threatened to
change too much else. But I liked the Liberation and Linux Libertine
fonts a lot, and also the Stix ones.

Richard



Re: selecting fonts in xetex

2011-05-10 Thread Neal Becker
On Tuesday 10 May 2011, Richard Heck wrote:
> On 05/10/2011 02:22 PM, Neal Becker wrote:
> > I'm interested in trying out xetex.  Any suggestions for font settings to
> > try (free, widely available)?  This is fedora 14, have stix fonts.
> 
> You can use almost any font you have installed. The Liberation fonts
> seem quite good. You can use Deja Vu fonts, whatever.
> 

I'm wondering if there any 'good' suggestions.  Perhaps from someone more 
knowlegable in the subject than I am (that'd be just about anyone).

> > How are math fonts selected?
> 
> This is one I do not know
> 
> Richard



Re: selecting fonts in xetex

2011-05-10 Thread Richard Heck
On 05/10/2011 02:22 PM, Neal Becker wrote:
> I'm interested in trying out xetex.  Any suggestions for font settings to try 
> (free, widely available)?  This is fedora 14, have stix fonts.
>
You can use almost any font you have installed. The Liberation fonts
seem quite good. You can use Deja Vu fonts, whatever.

> How are math fonts selected?
>
This is one I do not know

Richard



selecting fonts in xetex

2011-05-10 Thread Neal Becker
I'm interested in trying out xetex.  Any suggestions for font settings to try 
(free, widely available)?  This is fedora 14, have stix fonts.

How are math fonts selected?