Re: font question: where to find font family name

2012-06-20 Thread stefano franchi
On Wed, Jun 20, 2012 at 11:49 AM, Csikos Bela  wrote:
> stefano franchi  írta:
>>On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela  wrote:>
>> Hello:>
>>>
>> According to my knowledge if I want to use other fonts than the few in lyx 
>> GUI selection window, I have to load them manually.>
>> For this I can use a command, eg.  \renewcommand{\rmdefault}{ptm}.>
>> ptm here specifies (Adobe?) times font family.>
>> My question is where can I find the font family name I have to specify in 
>> this command. I read fntguide and a few other docs but I could not find how 
>> to determine the font family name.>
>> For example I have installed tex-gyre-pagella fonts but I don't know what is>
>> the font family name for it. Where can I find it (not only for this font but 
>> for other fonts as well)?>
>>>
>> Thanks,>
>>>
>> bcsikos>
>>>
>>
> Finding standard Latex font names may be less than trivial at times.>
> See here for basic information:>
> http://tug.org/pracjourn/2006-1/schmidt/schmidt.pdf>
>>
> For the family names of the standard postscript fonts, look at table 3>
> in the following doc:>
>>
> ftp://www.ctan.org/pub/tex-archive/macros/latex/required/psnfss/psnfss2e.pdf>
>>
> For the TeX Gyre fonts, you should use their own docs. For instance,>
> Pagella's name should be qpl (not tested). In general, TeX Gyre fonts>
> come with their own latex packages that simplify their use. For>
> instance, pagella can be used by loading the tgpagella package in your>
> preamble (instead of using the \rmdefault command) :>
>>
> \usepackage{tgpagella}>
>>
> Hope it helps,>
>>
> Stefano>
>
>
> Thank you.
> I did not know about tgpagella package.
> I thought there should be somewhere a database or file which
> list all the fonts with their tex code names.
> For example if I browse my latex font directory and find a font
> (not among the standard fonts) which I'd like to use, how to know what its
> name is. Or all font installed in latex have accompanying document which 
> describes this?

Well, I moved away from standard (pdf)Latex and on to Luatex precisely
to avoid this kind of  font problems. If I remember correctly, the
Latex (latest version) standard fonts include only the computer modern
and its variations plus the standard postscript fonts (Times,
palatino, etc). The Latex companion has a good discussion of these,
including an explanation of the font naming scheme. All other font is
non-standard and usually comes with its own documentation and usually
with its own package (like tgpagella). There are files in your texlive
installation that specify which font corresponds to which file---and
there is a whole sophisticated machinery (updmap) that manages it.
Personally, I wouldn't mess with it. If you really want to use
nonstandard fonts I would leave (pdf)tex for a more font-friendly
backend. You may disagree, in which case I would suggest starting with
the Latex Companion and then reading the PSNFSS documentation.

Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: font question: where to find font family name

2012-06-20 Thread Csikos Bela
stefano franchi  írta:
>On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela  wrote:>
> Hello:>
>>
> According to my knowledge if I want to use other fonts than the few in lyx 
> GUI selection window, I have to load them manually.>
> For this I can use a command, eg.  \renewcommand{\rmdefault}{ptm}.>
> ptm here specifies (Adobe?) times font family.>
> My question is where can I find the font family name I have to specify in 
> this command. I read fntguide and a few other docs but I could not find how 
> to determine the font family name.>
> For example I have installed tex-gyre-pagella fonts but I don't know what is>
> the font family name for it. Where can I find it (not only for this font but 
> for other fonts as well)?>
>>
> Thanks,>
>>
> bcsikos>
>>
>
Finding standard Latex font names may be less than trivial at times.>
See here for basic information:>
http://tug.org/pracjourn/2006-1/schmidt/schmidt.pdf>
>
For the family names of the standard postscript fonts, look at table 3>
in the following doc:>
>
ftp://www.ctan.org/pub/tex-archive/macros/latex/required/psnfss/psnfss2e.pdf>
>
For the TeX Gyre fonts, you should use their own docs. For instance,>
Pagella's name should be qpl (not tested). In general, TeX Gyre fonts>
come with their own latex packages that simplify their use. For>
instance, pagella can be used by loading the tgpagella package in your>
preamble (instead of using the \rmdefault command) :>
>
\usepackage{tgpagella}>
>
Hope it helps,>
>
Stefano>


Thank you.
I did not know about tgpagella package.
I thought there should be somewhere a database or file which
list all the fonts with their tex code names.
For example if I browse my latex font directory and find a font
(not among the standard fonts) which I'd like to use, how to know what its
name is. Or all font installed in latex have accompanying document which 
describes this?

Thanks,
bcsikos



Re: font question: where to find font family name

2012-06-19 Thread stefano franchi
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela  wrote:
> Hello:
>
> According to my knowledge if I want to use other fonts than the few in lyx 
> GUI selection window, I have to load them manually.
> For this I can use a command, eg.  \renewcommand{\rmdefault}{ptm}.
> ptm here specifies (Adobe?) times font family.
> My question is where can I find the font family name I have to specify in 
> this command. I read fntguide and a few other docs but I could not find how 
> to determine the font family name.
> For example I have installed tex-gyre-pagella fonts but I don't know what is
> the font family name for it. Where can I find it (not only for this font but 
> for other fonts as well)?
>
> Thanks,
>
> bcsikos
>

Finding standard Latex font names may be less than trivial at times.
See here for basic information:
http://tug.org/pracjourn/2006-1/schmidt/schmidt.pdf

For the family names of the standard postscript fonts, look at table 3
in the following doc:

ftp://www.ctan.org/pub/tex-archive/macros/latex/required/psnfss/psnfss2e.pdf

For the TeX Gyre fonts, you should use their own docs. For instance,
Pagella's name should be qpl (not tested). In general, TeX Gyre fonts
come with their own latex packages that simplify their use. For
instance, pagella can be used by loading the tgpagella package in your
preamble (instead of using the \rmdefault command) :

\usepackage{tgpagella}

Hope it helps,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


font question: where to find font family name

2012-06-19 Thread Csikos Bela
Hello:

According to my knowledge if I want to use other fonts than the few in lyx GUI 
selection window, I have to load them manually.
For this I can use a command, eg.  \renewcommand{\rmdefault}{ptm}.
ptm here specifies (Adobe?) times font family.
My question is where can I find the font family name I have to specify in this 
command. I read fntguide and a few other docs but I could not find how to 
determine the font family name.
For example I have installed tex-gyre-pagella fonts but I don't know what is
the font family name for it. Where can I find it (not only for this font but 
for other fonts as well)?

Thanks,

bcsikos