Re: font question: where to find font family name

2012-06-21 Thread stefano franchi
On Wed, Jun 20, 2012 at 11:49 AM, Csikos Bela bcsikos...@freemail.hu wrote:
 stefano franchi stefano.fran...@gmail.com írta:
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela bcsikos...@freemail.hu 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 AM 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-21 Thread stefano franchi
On Wed, Jun 20, 2012 at 11:49 AM, Csikos Bela bcsikos...@freemail.hu wrote:
 stefano franchi stefano.fran...@gmail.com írta:
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela bcsikos...@freemail.hu 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 AM 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-21 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 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 stefano.fran...@gmail.com írta:
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela bcsikos...@freemail.hu 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-20 Thread Csikos Bela
stefano franchi stefano.fran...@gmail.com írta:
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela bcsikos...@freemail.hu 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-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 bcsikos...@freemail.hu 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 AM 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-19 Thread stefano franchi
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela bcsikos...@freemail.hu 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 AM 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-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 University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

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


Re: font question

2011-07-14 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
2011/7/8 Csikos Bela bcsikos...@freemail.hu:
 Hello:

 I have a question related to latex fonts, xetex and unicode.

 In lyx2 under document  settings  fonts I can set Use non-TeX fonts (via 
 XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
 guess. Does this mean as well that the standard tex fonts won't be available?
 Or can they be still chosen? If yes, how? I am confused.

It is slightly confusing. You can use XeTeX and TeX fonts: uncheck
'Use non-TeX fonts', select your preferred TeX fonts and compile View
 Other  PDF (XeTeX). (When you do this, I'm not sure if you benefit
entirely from the Unicode capabilities of XeTeX, since the TeX fonts
are not---to my knowledge---Unicode aware.)

Otherwise, if you need XeTeX with full Unicode support (again, I'm not
sure if above you miss anything), check 'Use non-TeX fonts', select
your preferred system fonts (which, in some cases, can be OTF versions
of the TeX fonts) and compile View  PDF (XeTeX). Unicode is the only
encoding that XeTeX supports, so you don't need to select anything
else.

Regards
Liviu


Thank you.
I will try both methods and compare them.
Thanks again,

bcsikos



Re: font question

2011-07-14 Thread Csikos Bela
Liviu Andronic landronim...@gmail.com írta:
2011/7/8 Csikos Bela bcsikos...@freemail.hu:
 Hello:

 I have a question related to latex fonts, xetex and unicode.

 In lyx2 under document  settings  fonts I can set Use non-TeX fonts (via 
 XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
 guess. Does this mean as well that the standard tex fonts won't be available?
 Or can they be still chosen? If yes, how? I am confused.

It is slightly confusing. You can use XeTeX and TeX fonts: uncheck
'Use non-TeX fonts', select your preferred TeX fonts and compile View
 Other  PDF (XeTeX). (When you do this, I'm not sure if you benefit
entirely from the Unicode capabilities of XeTeX, since the TeX fonts
are not---to my knowledge---Unicode aware.)

Otherwise, if you need XeTeX with full Unicode support (again, I'm not
sure if above you miss anything), check 'Use non-TeX fonts', select
your preferred system fonts (which, in some cases, can be OTF versions
of the TeX fonts) and compile View  PDF (XeTeX). Unicode is the only
encoding that XeTeX supports, so you don't need to select anything
else.

Regards
Liviu


Thank you.
I will try both methods and compare them.
Thanks again,

bcsikos



Re: font question

2011-07-14 Thread Csikos Bela
Liviu Andronic  írta:
>2011/7/8 Csikos Bela :>
> Hello:>
>>
> I have a question related to latex fonts, xetex and unicode.>
>>
> In lyx2 under document > settings > fonts I can set "Use non-TeX fonts (via 
> XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
> guess. Does this mean as well that the standard tex fonts won't be available?>
> Or can they be still chosen? If yes, how? I am confused.>
>>
It is slightly confusing. You can use XeTeX and TeX fonts: uncheck>
'Use non-TeX fonts', select your preferred TeX fonts and compile View>
> Other > PDF (XeTeX). (When you do this, I'm not sure if you benefit>
entirely from the Unicode capabilities of XeTeX, since the TeX fonts>
are not---to my knowledge---Unicode aware.)>
>
Otherwise, if you need XeTeX with full Unicode support (again, I'm not>
sure if above you miss anything), check 'Use non-TeX fonts', select>
your preferred system fonts (which, in some cases, can be OTF versions>
of the TeX fonts) and compile View > PDF (XeTeX). Unicode is the only>
encoding that XeTeX supports, so you don't need to select anything>
else.>
>
Regards>
Liviu>


Thank you.
I will try both methods and compare them.
Thanks again,

bcsikos



Re: font question

2011-07-08 Thread Liviu Andronic
2011/7/8 Csikos Bela bcsikos...@freemail.hu:
 Hello:

 I have a question related to latex fonts, xetex and unicode.

 In lyx2 under document  settings  fonts I can set Use non-TeX fonts (via 
 XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
 guess. Does this mean as well that the standard tex fonts won't be available?
 Or can they be still chosen? If yes, how? I am confused.

It is slightly confusing. You can use XeTeX and TeX fonts: uncheck
'Use non-TeX fonts', select your preferred TeX fonts and compile View
 Other  PDF (XeTeX). (When you do this, I'm not sure if you benefit
entirely from the Unicode capabilities of XeTeX, since the TeX fonts
are not---to my knowledge---Unicode aware.)

Otherwise, if you need XeTeX with full Unicode support (again, I'm not
sure if above you miss anything), check 'Use non-TeX fonts', select
your preferred system fonts (which, in some cases, can be OTF versions
of the TeX fonts) and compile View  PDF (XeTeX). Unicode is the only
encoding that XeTeX supports, so you don't need to select anything
else.

Regards
Liviu


 Thanks,

 bcsikos






-- 
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: font question

2011-07-08 Thread Liviu Andronic
2011/7/8 Csikos Bela bcsikos...@freemail.hu:
 Hello:

 I have a question related to latex fonts, xetex and unicode.

 In lyx2 under document  settings  fonts I can set Use non-TeX fonts (via 
 XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
 guess. Does this mean as well that the standard tex fonts won't be available?
 Or can they be still chosen? If yes, how? I am confused.

It is slightly confusing. You can use XeTeX and TeX fonts: uncheck
'Use non-TeX fonts', select your preferred TeX fonts and compile View
 Other  PDF (XeTeX). (When you do this, I'm not sure if you benefit
entirely from the Unicode capabilities of XeTeX, since the TeX fonts
are not---to my knowledge---Unicode aware.)

Otherwise, if you need XeTeX with full Unicode support (again, I'm not
sure if above you miss anything), check 'Use non-TeX fonts', select
your preferred system fonts (which, in some cases, can be OTF versions
of the TeX fonts) and compile View  PDF (XeTeX). Unicode is the only
encoding that XeTeX supports, so you don't need to select anything
else.

Regards
Liviu


 Thanks,

 bcsikos






-- 
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: font question

2011-07-08 Thread Liviu Andronic
2011/7/8 Csikos Bela :
> Hello:
>
> I have a question related to latex fonts, xetex and unicode.
>
> In lyx2 under document > settings > fonts I can set "Use non-TeX fonts (via 
> XeTeX/LuaTeX). If I want to use unicode encoding I have to set this option, I 
> guess. Does this mean as well that the standard tex fonts won't be available?
> Or can they be still chosen? If yes, how? I am confused.
>
It is slightly confusing. You can use XeTeX and TeX fonts: uncheck
'Use non-TeX fonts', select your preferred TeX fonts and compile View
> Other > PDF (XeTeX). (When you do this, I'm not sure if you benefit
entirely from the Unicode capabilities of XeTeX, since the TeX fonts
are not---to my knowledge---Unicode aware.)

Otherwise, if you need XeTeX with full Unicode support (again, I'm not
sure if above you miss anything), check 'Use non-TeX fonts', select
your preferred system fonts (which, in some cases, can be OTF versions
of the TeX fonts) and compile View > PDF (XeTeX). Unicode is the only
encoding that XeTeX supports, so you don't need to select anything
else.

Regards
Liviu


> Thanks,
>
> bcsikos
>
>
>



-- 
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: font question

2003-09-02 Thread William Adams
Jonas asked:
I am looking for an alternative to Word and found LyX very interesting.
I use several home-made fonts with special characters (like hookedo, 
v-with-accent, av-ligatures etc.) not available in standard fonts. In 
LyX I could use these fonts as screen fonts, but I could not figure 
out how to use them as print fonts. So how do I do? I have installed 
LyX 1.3.2 on Aqua (Mac OSX 10.2.6).
You have to install the fonts for use by (La)TeX.

Here's a set of instructions which I just posted to the Mac OS X TeX 
list:

Read the Fontinst documentation
(available from www.tug.org)

But if you're using non-standard encodings, you might not need this.

and Philipp Lehman's wonderful tutorial.

The latter is linked to at 
http://members.aol.com/willadams/books-free-type.html

Short version:
 - rename fonts according to the fontname scheme (www.tug.org/fontname 
I think it's at)
(you'll use zsomething, say zjw)

 - run fontinst (this is on CTAN) on said .afm files w/ the three line 
driver file:
\input fontinst
\latinfamily{pad}{}
(that'd by zjw)

\bye
(you can use padj and/or padx if you've got the expert set)
Or, use afm2tfm and just get .pl files. You'll probably need to convert 
the fonts from Mac format to PC/Unix format.

 - run vptovf and pltotf (these are included w/ gwtex) on the .vpl and 
.pl files
 - then add the fonts to your .map file(s), store everything away 
appropriately and update the filename database if you store them 
somewhere other than your ~/Library/texmf subtree
William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: font question

2003-09-02 Thread William Adams
Jonas asked:
I am looking for an alternative to Word and found LyX very interesting.
I use several home-made fonts with special characters (like hookedo, 
v-with-accent, av-ligatures etc.) not available in standard fonts. In 
LyX I could use these fonts as screen fonts, but I could not figure 
out how to use them as print fonts. So how do I do? I have installed 
LyX 1.3.2 on Aqua (Mac OSX 10.2.6).
You have to install the fonts for use by (La)TeX.

Here's a set of instructions which I just posted to the Mac OS X TeX 
list:

Read the Fontinst documentation
(available from www.tug.org)

But if you're using non-standard encodings, you might not need this.

and Philipp Lehman's wonderful tutorial.

The latter is linked to at 
http://members.aol.com/willadams/books-free-type.html

Short version:
 - rename fonts according to the fontname scheme (www.tug.org/fontname 
I think it's at)
(you'll use zsomething, say zjw)

 - run fontinst (this is on CTAN) on said .afm files w/ the three line 
driver file:
\input fontinst
\latinfamily{pad}{}
(that'd by zjw)

\bye
(you can use padj and/or padx if you've got the expert set)
Or, use afm2tfm and just get .pl files. You'll probably need to convert 
the fonts from Mac format to PC/Unix format.

 - run vptovf and pltotf (these are included w/ gwtex) on the .vpl and 
.pl files
 - then add the fonts to your .map file(s), store everything away 
appropriately and update the filename database if you store them 
somewhere other than your ~/Library/texmf subtree
William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: font question

2003-09-02 Thread William Adams
Jonas asked:
I am looking for an alternative to Word and found LyX very interesting.
I use several home-made fonts with special characters (like hookedo, 
v-with-accent, av-ligatures etc.) not available in standard fonts. In 
LyX I could use these fonts as screen fonts, but I could not figure 
out how to use them as print fonts. So how do I do? I have installed 
LyX 1.3.2 on Aqua (Mac OSX 10.2.6).
You have to install the fonts for use by (La)TeX.

Here's a set of instructions which I just posted to the Mac OS X TeX 
list:

Read the Fontinst documentation
(available from www.tug.org)

But if you're using non-standard encodings, you might not need this.

and Philipp Lehman's wonderful tutorial.

The latter is linked to at 
http://members.aol.com/willadams/books-free-type.html

Short version:
 - rename fonts according to the fontname scheme (www.tug.org/fontname 
I think it's at)
(you'll use zsomething, say zjw)

 - run fontinst (this is on CTAN) on said .afm files w/ the three line 
driver file:
\input fontinst
\latinfamily{pad}{}
(that'd by zjw)

\bye
(you can use padj and/or padx if you've got the expert set)
Or, use afm2tfm and just get .pl files. You'll probably need to convert 
the fonts from Mac format to PC/Unix format.

 - run vptovf and pltotf (these are included w/ gwtex) on the .vpl and 
.pl files
 - then add the fonts to your .map file(s), store everything away 
appropriately and update the filename database if you store them 
somewhere other than your ~/Library/texmf subtree
William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: Re: font question

2002-01-24 Thread Guenter Milde

On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner [EMAIL PROTECTED]:

 Rodney K wrote:
  
  I am trying to create a document using the helvetica font. However,
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica. How do
  I do this?
 
 This may be a dumb answer, but are you mixing up screen fonts and
 printer fonts? The fonts you see in LyX have nothing to do with
 the ones you see in the print previewer (which are the ones that
 actually get printed).  Hit Ctrl-t to check your PostScript
 output.

While the above is true, it is indeed the case, that 
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica.
It loads the package helvetica.sty this package just uses helvetica instead
of computer-modern-sans-serif for sans serif.


To change to helvetica as default, you need to put

   % Default font is sans serif
   \renewcommand{\familydefault}{\sfdefault}
   
   and optional:
   % change this also in Formulas:
   \renewcommand{\textrm}{\textsf}% für Text in Math
   % \renewcommand{\mathrm}{\mathsf}  % this may be too much

in the LaTeX preamble.


After that, the fonts in LyX are still the same, but in dvi and ps are
sans-serif.

Actually, I consider the helvetica option from the document properties
dialog box to be misleading and I wished it would go.
 

--
[EMAIL PROTECTED]




Re: Re: font question

2002-01-24 Thread Jean-Pierre.Chretien


Date: Thu, 24 Jan 2002 09:32:55 +0100 (CET)
From: Guenter Milde [EMAIL PROTECTED]
Subject: Re: Re: font question
To: LyX users [EMAIL PROTECTED]

On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner [EMAIL PROTECTED]:

 Rodney K wrote:
  
  I am trying to create a document using the helvetica font. However,
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica. How do
  I do this?
 
 This may be a dumb answer, but are you mixing up screen fonts and
 printer fonts? The fonts you see in LyX have nothing to do with
 the ones you see in the print previewer (which are the ones that
 actually get printed).  Hit Ctrl-t to check your PostScript
 output.

While the above is true, it is indeed the case, that 
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica.
It loads the package helvetica.sty this package just uses helvetica instead
of computer-modern-sans-serif for sans serif.


To change to helvetica as default, you need to put

   % Default font is sans serif
   \renewcommand{\familydefault}{\sfdefault}
   
   and optional:
   % change this also in Formulas:
   \renewcommand{\textrm}{\textsf}% für Text in Math
   % \renewcommand{\mathrm}{\mathsf}  % this may be too much

in the LaTeX preamble.


After that, the fonts in LyX are still the same, but in dvi and ps are
sans-serif.

Actually, I consider the helvetica option from the document properties
dialog box to be misleading and I wished it would go.

The point is that the Layout-Document-Font selects the fonts
for each of the three families, so that's OK.
If you want to be more precise, you have to look at the .sty file
to know what happens
(e.g. palatino changes only the serif font, but sets
sans-serif and typewriter to ps fonts).

It's always possible to change the family locally 
with Layout-Character (if it makes sense typographically), 
what is missing is a selector between
serif, sans-serif and typewriter.

It can be done in the Layout-Document-Font-family menu,
but also (more easily ?) with a marker in the Style menu,
coded in a .inc which is always loaded.

Are there plans about it ?
This becomes a V(ery)FAQ.

-- 
Jean-Pierre





Re: Re: Re: font question

2002-01-24 Thread Jean-Pierre.Chretien


Date: Thu, 24 Jan 2002 11:29:33 +0100 (CET)
From: Guenter Milde [EMAIL PROTECTED]
Subject: Re: Re: Re: font question
To: Jean-Pierre.Chretien [EMAIL PROTECTED]

On Thu, 24 Jan 2002 09:50:17 +0100 (MET) wrote Jean-Pierre.Chretien 
[EMAIL PROTECTED]:

   selecting the helvetica font from the document properties dialog box
   does not change the font from the default (romans?) to helvetica.
 It loads the package helvetica.sty this package just uses helvetica 
instead
 of computer-modern-sans-serif for sans serif.
 
 To change to helvetica as default, you need to put
% Default font is sans serif
\renewcommand{\familydefault}{\sfdefault}

 in the LaTeX preamble.

 Actually, I consider the helvetica option from the document properties
 dialog box to be misleading and I wished it would go.
 
 The point is that the Layout-Document-Font selects the fonts
 for each of the three families, so that's OK.

So what happens, if I want to change the default settings for more than one
family, sans-serif to helvetica and roman to times, say?

 If you want to be more precise, you have to look at the .sty file
 to know what happens
 (e.g. palatino changes only the serif font, but sets
 sans-serif and typewriter to ps fonts).

I found this out by trial and error, but this exacly is my point: I'd like
LyX to be intuitively/transparent: I had to look at the tex-output to see
what exactly the Option Helvetica is doing (loading helvetica.sty) and then
look in helvet.sty why it does not do the desired action. I would really like 
the
  Layout-Dokument-Zeichensatz (Layout-Document-Font?)
list to change the _default_ font of the document. 

i.e. my wish would be to only take packages in the list that change all 
defaults 
 like 
 ae: Almost European Computer Modern,
 pslatex: Use PostScript fonts by default. (sf, rm, tt + math)
 amd maybe
 times: Times font as default roman (but sets rm, sf and tt)
 palatino: Palatino font as default roman (but sets rm, sf and tt)
 newcent: NewCenturySchoolbook font as default roman (but sets rm, sf and 
tt)
 bookman: Bookman font as default roman (but sets rm, sf and tt)
 but not
 helvet: Helvetica font as default sans (no change to rm, tt)
 avant:  AvantGarde font as default sans (no change to rm, tt)

In fact it would be nice:
 1 to select a bunch of fonts as a whole (pslatex e.g. for
 screen resolution in pdf)
 2 to select a font name separately for each family (like Netscape 6.1)
 3 to select a familydefault for the document (id.)
 
 In fact, 1 and 3 are enough for common usage if you know what
 is behind the current Font menu, so I suggest that the above lines
 should go somewhere in the LyX docs.
 What is needed is then only the familydefault selection mechanism.

 what is missing is a selector between
 serif, sans-serif and typewriter.

What do you mean by selector? A toobar button? 

No, a menu in the Layout-Document (see below).
Toggling at will between serif and sans-serif will not produce good typography,
but you may need a shortcut to sans-serif in a part of a document
without willing to hack the class or style files.

Maybe we could change the emph and sc buttons to three buttons that cycle
through family (rm, sf, tt),  weight (normal, bf), and style 
(normal, em, it, sc, sl)?

You may affect the Font button to the current Layout-Character settings,
so you can have it toggling family, but again this is not
a good way to work.


 It can be done in the Layout-Document-Font-family menu,
 but also (more easily ?) with a marker in the Style menu,
 coded in a .inc which is always loaded.

Is Layout-Document-Font the same as Layout-Document-Font-family ?
(I have a German LyX 1.1.6fix3, with only Layout-Dokument-Zeichensatz)

I should have written 
« It could be done in a Layout-Document-Font-family menu » :-)


I don't have a a.inc on my system, so sorry, I don't know about a marker in
the Style menu.

In the share/layout directory: .inc files are for 
common layouts which can be used by several layout files and inc(luded)
there.

An item in the Style menu (e.g Serif) which calls
the required latex command \renewcommand{\familydefault}...
Anoter item Sans-serif goes back to Roman
A text highlights the change in the LyX Window.
See the idea ?

This is a workaround, the
Layout-Document-Font-family
is really the basic thing needed.

-- 
Jean-Pierre

 




Re: Re: font question

2002-01-24 Thread Guenter Milde

On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner [EMAIL PROTECTED]:

 Rodney K wrote:
  
  I am trying to create a document using the helvetica font. However,
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica. How do
  I do this?
 
 This may be a dumb answer, but are you mixing up screen fonts and
 printer fonts? The fonts you see in LyX have nothing to do with
 the ones you see in the print previewer (which are the ones that
 actually get printed).  Hit Ctrl-t to check your PostScript
 output.

While the above is true, it is indeed the case, that 
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica.
It loads the package helvetica.sty this package just uses helvetica instead
of computer-modern-sans-serif for sans serif.


To change to helvetica as default, you need to put

   % Default font is sans serif
   \renewcommand{\familydefault}{\sfdefault}
   
   and optional:
   % change this also in Formulas:
   \renewcommand{\textrm}{\textsf}% für Text in Math
   % \renewcommand{\mathrm}{\mathsf}  % this may be too much

in the LaTeX preamble.


After that, the fonts in LyX are still the same, but in dvi and ps are
sans-serif.

Actually, I consider the helvetica option from the document properties
dialog box to be misleading and I wished it would go.
 

--
[EMAIL PROTECTED]




Re: Re: font question

2002-01-24 Thread Jean-Pierre.Chretien


Date: Thu, 24 Jan 2002 09:32:55 +0100 (CET)
From: Guenter Milde [EMAIL PROTECTED]
Subject: Re: Re: font question
To: LyX users [EMAIL PROTECTED]

On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner [EMAIL PROTECTED]:

 Rodney K wrote:
  
  I am trying to create a document using the helvetica font. However,
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica. How do
  I do this?
 
 This may be a dumb answer, but are you mixing up screen fonts and
 printer fonts? The fonts you see in LyX have nothing to do with
 the ones you see in the print previewer (which are the ones that
 actually get printed).  Hit Ctrl-t to check your PostScript
 output.

While the above is true, it is indeed the case, that 
  selecting the helvetica font from the document properties dialog box
  does not change the font from the default (romans?) to helvetica.
It loads the package helvetica.sty this package just uses helvetica instead
of computer-modern-sans-serif for sans serif.


To change to helvetica as default, you need to put

   % Default font is sans serif
   \renewcommand{\familydefault}{\sfdefault}
   
   and optional:
   % change this also in Formulas:
   \renewcommand{\textrm}{\textsf}% für Text in Math
   % \renewcommand{\mathrm}{\mathsf}  % this may be too much

in the LaTeX preamble.


After that, the fonts in LyX are still the same, but in dvi and ps are
sans-serif.

Actually, I consider the helvetica option from the document properties
dialog box to be misleading and I wished it would go.

The point is that the Layout-Document-Font selects the fonts
for each of the three families, so that's OK.
If you want to be more precise, you have to look at the .sty file
to know what happens
(e.g. palatino changes only the serif font, but sets
sans-serif and typewriter to ps fonts).

It's always possible to change the family locally 
with Layout-Character (if it makes sense typographically), 
what is missing is a selector between
serif, sans-serif and typewriter.

It can be done in the Layout-Document-Font-family menu,
but also (more easily ?) with a marker in the Style menu,
coded in a .inc which is always loaded.

Are there plans about it ?
This becomes a V(ery)FAQ.

-- 
Jean-Pierre





Re: Re: Re: font question

2002-01-24 Thread Jean-Pierre.Chretien


Date: Thu, 24 Jan 2002 11:29:33 +0100 (CET)
From: Guenter Milde [EMAIL PROTECTED]
Subject: Re: Re: Re: font question
To: Jean-Pierre.Chretien [EMAIL PROTECTED]

On Thu, 24 Jan 2002 09:50:17 +0100 (MET) wrote Jean-Pierre.Chretien 
[EMAIL PROTECTED]:

   selecting the helvetica font from the document properties dialog box
   does not change the font from the default (romans?) to helvetica.
 It loads the package helvetica.sty this package just uses helvetica 
instead
 of computer-modern-sans-serif for sans serif.
 
 To change to helvetica as default, you need to put
% Default font is sans serif
\renewcommand{\familydefault}{\sfdefault}

 in the LaTeX preamble.

 Actually, I consider the helvetica option from the document properties
 dialog box to be misleading and I wished it would go.
 
 The point is that the Layout-Document-Font selects the fonts
 for each of the three families, so that's OK.

So what happens, if I want to change the default settings for more than one
family, sans-serif to helvetica and roman to times, say?

 If you want to be more precise, you have to look at the .sty file
 to know what happens
 (e.g. palatino changes only the serif font, but sets
 sans-serif and typewriter to ps fonts).

I found this out by trial and error, but this exacly is my point: I'd like
LyX to be intuitively/transparent: I had to look at the tex-output to see
what exactly the Option Helvetica is doing (loading helvetica.sty) and then
look in helvet.sty why it does not do the desired action. I would really like 
the
  Layout-Dokument-Zeichensatz (Layout-Document-Font?)
list to change the _default_ font of the document. 

i.e. my wish would be to only take packages in the list that change all 
defaults 
 like 
 ae: Almost European Computer Modern,
 pslatex: Use PostScript fonts by default. (sf, rm, tt + math)
 amd maybe
 times: Times font as default roman (but sets rm, sf and tt)
 palatino: Palatino font as default roman (but sets rm, sf and tt)
 newcent: NewCenturySchoolbook font as default roman (but sets rm, sf and 
tt)
 bookman: Bookman font as default roman (but sets rm, sf and tt)
 but not
 helvet: Helvetica font as default sans (no change to rm, tt)
 avant:  AvantGarde font as default sans (no change to rm, tt)

In fact it would be nice:
 1 to select a bunch of fonts as a whole (pslatex e.g. for
 screen resolution in pdf)
 2 to select a font name separately for each family (like Netscape 6.1)
 3 to select a familydefault for the document (id.)
 
 In fact, 1 and 3 are enough for common usage if you know what
 is behind the current Font menu, so I suggest that the above lines
 should go somewhere in the LyX docs.
 What is needed is then only the familydefault selection mechanism.

 what is missing is a selector between
 serif, sans-serif and typewriter.

What do you mean by selector? A toobar button? 

No, a menu in the Layout-Document (see below).
Toggling at will between serif and sans-serif will not produce good typography,
but you may need a shortcut to sans-serif in a part of a document
without willing to hack the class or style files.

Maybe we could change the emph and sc buttons to three buttons that cycle
through family (rm, sf, tt),  weight (normal, bf), and style 
(normal, em, it, sc, sl)?

You may affect the Font button to the current Layout-Character settings,
so you can have it toggling family, but again this is not
a good way to work.


 It can be done in the Layout-Document-Font-family menu,
 but also (more easily ?) with a marker in the Style menu,
 coded in a .inc which is always loaded.

Is Layout-Document-Font the same as Layout-Document-Font-family ?
(I have a German LyX 1.1.6fix3, with only Layout-Dokument-Zeichensatz)

I should have written 
« It could be done in a Layout-Document-Font-family menu » :-)


I don't have a a.inc on my system, so sorry, I don't know about a marker in
the Style menu.

In the share/layout directory: .inc files are for 
common layouts which can be used by several layout files and inc(luded)
there.

An item in the Style menu (e.g Serif) which calls
the required latex command \renewcommand{\familydefault}...
Anoter item Sans-serif goes back to Roman
A text highlights the change in the LyX Window.
See the idea ?

This is a workaround, the
Layout-Document-Font-family
is really the basic thing needed.

-- 
Jean-Pierre

 




Re: Re: font question

2002-01-24 Thread Guenter Milde

On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner <[EMAIL PROTECTED]>:

> Rodney K wrote:
> > 
> > I am trying to create a document using the helvetica font. However,
> > selecting the helvetica font from the document properties dialog box
> > does not change the font from the default (romans?) to helvetica. How do
> > I do this?
> 
> This may be a dumb answer, but are you mixing up screen fonts and
> printer fonts? The fonts you see in LyX have nothing to do with
> the ones you see in the print previewer (which are the ones that
> actually get printed).  Hit Ctrl-t to check your PostScript
> output.

While the above is true, it is indeed the case, that 
> > selecting the helvetica font from the document properties dialog box
> > does not change the font from the default (romans?) to helvetica.
It loads the package helvetica.sty this package just uses helvetica instead
of computer-modern-sans-serif for sans serif.


To change to helvetica as default, you need to put

   % Default font is sans serif
   \renewcommand{\familydefault}{\sfdefault}
   
   and optional:
   % change this also in Formulas:
   \renewcommand{\textrm}{\textsf}% für "Text in Math"
   % \renewcommand{\mathrm}{\mathsf}  % this may be too much

in the LaTeX preamble.


After that, the fonts in LyX are still the same, but in dvi and ps are
sans-serif.

Actually, I consider the helvetica option from the document properties
dialog box to be misleading and I wished it would go.
 

--
[EMAIL PROTECTED]




Re: Re: font question

2002-01-24 Thread Jean-Pierre.Chretien


>>Date: Thu, 24 Jan 2002 09:32:55 +0100 (CET)
>>From: Guenter Milde <[EMAIL PROTECTED]>
>>Subject: Re: Re: font question
>>To: LyX users <[EMAIL PROTECTED]>
>>
>>On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner <[EMAIL PROTECTED]>:
>>
>>> Rodney K wrote:
>>> > 
>>> > I am trying to create a document using the helvetica font. However,
>>> > selecting the helvetica font from the document properties dialog box
>>> > does not change the font from the default (romans?) to helvetica. How do
>>> > I do this?
>>> 
>>> This may be a dumb answer, but are you mixing up screen fonts and
>>> printer fonts? The fonts you see in LyX have nothing to do with
>>> the ones you see in the print previewer (which are the ones that
>>> actually get printed).  Hit Ctrl-t to check your PostScript
>>> output.
>>
>>While the above is true, it is indeed the case, that 
>>> > selecting the helvetica font from the document properties dialog box
>>> > does not change the font from the default (romans?) to helvetica.
>>It loads the package helvetica.sty this package just uses helvetica instead
>>of computer-modern-sans-serif for sans serif.
>>
>>
>>To change to helvetica as default, you need to put
>>
>>   % Default font is sans serif
>>   \renewcommand{\familydefault}{\sfdefault}
>>   
>>   and optional:
>>   % change this also in Formulas:
>>   \renewcommand{\textrm}{\textsf}% für "Text in Math"
>>   % \renewcommand{\mathrm}{\mathsf}  % this may be too much
>>
>>in the LaTeX preamble.
>>
>>
>>After that, the fonts in LyX are still the same, but in dvi and ps are
>>sans-serif.
>>
>>Actually, I consider the helvetica option from the document properties
>>dialog box to be misleading and I wished it would go.

The point is that the Layout->Document->Font selects the fonts
for each of the three families, so that's OK.
If you want to be more precise, you have to look at the .sty file
to know what happens
(e.g. palatino changes only the serif font, but sets
sans-serif and typewriter to ps fonts).

It's always possible to change the family locally 
with Layout-Character (if it makes sense typographically), 
what is missing is a selector between
serif, sans-serif and typewriter.

It can be done in the Layout->Document->Font-family menu,
but also (more easily ?) with a marker in the Style menu,
coded in a .inc which is always loaded.

Are there plans about it ?
This becomes a V(ery)FAQ.

-- 
Jean-Pierre





Re: Re: Re: font question

2002-01-24 Thread Jean-Pierre.Chretien


>>Date: Thu, 24 Jan 2002 11:29:33 +0100 (CET)
>>From: Guenter Milde <[EMAIL PROTECTED]>
>>Subject: Re: Re: Re: font question
>>To: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
>>
>>On Thu, 24 Jan 2002 09:50:17 +0100 (MET) wrote "Jean-Pierre.Chretien" 
<[EMAIL PROTECTED]>:
>>
>>> >>> > selecting the helvetica font from the document properties dialog box
>>> >>> > does not change the font from the default (romans?) to helvetica.
>>> >>It loads the package helvetica.sty this package just uses helvetica 
instead
>>> >>of computer-modern-sans-serif for sans serif.
>>> >>
>>> >>To change to helvetica as default, you need to put
>>> >>   % Default font is sans serif
>>> >>   \renewcommand{\familydefault}{\sfdefault}
>>
>>> >>in the LaTeX preamble.
>>
>>> >>Actually, I consider the helvetica option from the document properties
>>> >>dialog box to be misleading and I wished it would go.
>>> 
>>> The point is that the Layout->Document->Font selects the fonts
>>> for each of the three families, so that's OK.
>>
>>So what happens, if I want to change the default settings for more than one
>>family, sans-serif to helvetica and roman to times, say?
>>
>>> If you want to be more precise, you have to look at the .sty file
>>> to know what happens
>>> (e.g. palatino changes only the serif font, but sets
>>> sans-serif and typewriter to ps fonts).
>>
>>I found this out by trial and error, but this exacly is my point: I'd like
>>LyX to be intuitively/transparent: I had to look at the tex-output to see
>>what exactly the Option Helvetica is doing (loading helvetica.sty) and then
>>look in helvet.sty why it does not do the desired action. I would really like 
>>the
>>  Layout->Dokument->Zeichensatz (Layout->Document->Font?)
>>list to change the _default_ font of the document. 
>>
>>i.e. my wish would be to only take packages in the list that change all 
>>defaults 
>> like 
>> ae: Almost European Computer Modern,
>> pslatex: Use PostScript fonts by default. (sf, rm, tt + math)
>> amd maybe
>> times: Times font as default roman (but sets rm, sf and tt)
>> palatino: Palatino font as default roman (but sets rm, sf and tt)
>> newcent: NewCenturySchoolbook font as default roman (but sets rm, sf and 
tt)
>> bookman: Bookman font as default roman (but sets rm, sf and tt)
>> but not
>> helvet: Helvetica font as default sans (no change to rm, tt)
>> avant:  AvantGarde font as default sans (no change to rm, tt)

In fact it would be nice:
 1 to select a bunch of fonts as a whole (pslatex e.g. for
 screen resolution in pdf)
 2 to select a font name separately for each family (like Netscape 6.1)
 3 to select a familydefault for the document (id.)
 
 In fact, 1 and 3 are enough for common usage if you know what
 is behind the current Font menu, so I suggest that the above lines
 should go somewhere in the LyX docs.
 What is needed is then only the familydefault selection mechanism.

>>> what is missing is a selector between
>>> serif, sans-serif and typewriter.
>>
>>What do you mean by selector? A toobar button? 

No, a menu in the Layout-Document (see below).
Toggling at will between serif and sans-serif will not produce good typography,
but you may need a shortcut to sans-serif in a part of a document
without willing to hack the class or style files.
>>
>>Maybe we could change the emph and sc buttons to three buttons that cycle
>>through family (rm, sf, tt),  weight (normal, bf), and style 
>>(normal, em, it, sc, sl)?

You may affect the Font button to the current Layout-Character settings,
so you can have it toggling family, but again this is not
a good way to work.

>>
>>> It can be done in the Layout->Document->Font-family menu,
>>> but also (more easily ?) with a marker in the Style menu,
>>> coded in a .inc which is always loaded.
>>
>>Is Layout->Document->Font the same as Layout->Document->Font-family ?
>>(I have a German LyX 1.1.6fix3, with only Layout->Dokument->Zeichensatz)

I should have written 
« It could be done in a Layout->Document->Font-family menu » :-)

>>
>>I don't have a a.inc on my system, so sorry, I don't know about a marker in
>>the Style menu.

In the share/layout directory: .inc files are for 
common layouts which can be used by several layout files and inc(luded)
there.

An item in the Style menu (e.g Serif) which calls
the required latex command \renewcommand{\familydefault}...
Anoter item Sans-serif goes back to Roman
A text highlights the change in the LyX Window.
See the idea ?

This is a workaround, the
Layout->Document->Font-family
is really the basic thing needed.

-- 
Jean-Pierre

 




Re: font question

2001-12-11 Thread Wayan


On 10 Dec 2001, Rodney K wrote:

 I am trying to create a document using the helvetica font. However,
 selecting the helvetica font from the document properties dialog box
 does not change the font from the default (romans?) to helvetica. How do
 I do this?

Changing the document font with command Layout  Character etc will not
change the font type on screen. You will get it if you export document as
a postscript or pdf or print the document. If you want to change the
screen font use command Edit  Preference.

Wayan




Re: font question

2001-12-11 Thread Wayan


On 10 Dec 2001, Rodney K wrote:

 I am trying to create a document using the helvetica font. However,
 selecting the helvetica font from the document properties dialog box
 does not change the font from the default (romans?) to helvetica. How do
 I do this?

Changing the document font with command Layout  Character etc will not
change the font type on screen. You will get it if you export document as
a postscript or pdf or print the document. If you want to change the
screen font use command Edit  Preference.

Wayan




Re: font question

2001-12-11 Thread Wayan


On 10 Dec 2001, Rodney K wrote:

> I am trying to create a document using the helvetica font. However,
> selecting the helvetica font from the document properties dialog box
> does not change the font from the default (romans?) to helvetica. How do
> I do this?

Changing the document font with command Layout > Character etc will not
change the font type on screen. You will get it if you export document as
a postscript or pdf or print the document. If you want to change the
screen font use command Edit > Preference.

Wayan