Re: lambda > solved, but font question

2018-04-19 Thread Guenter Milde
On 2018-04-18, Wolfgang Engelmann wrote:
> Am 18.04.2018 um 19:11 schrieb Guenter Milde:
>> On 2018-04-16, Wolfgang Engelmann wrote:
>>> Am 16.04.2018 um 10:06 schrieb Wolfgang Engelmann:

>>>> I select in lyx (2.3.0) in math
>>>> \lambda_{max}=528nm
>>>> but get in the pdf output
>>>>    ̆max = 528nm
>>>> why? (Debian stretch)

>> Can you test with View>Source whether the "mathpazo" package is used?

> I could, however,  not find View>source, to check for mathpazo
> I am using Lyx2.3.0 Debian/TeXlive2017
> perhaps this is what you ment:
> Code-preview pane

Yes, the name was changed.

> it showed

> $\mathrm{\lambda_{max}=528nm}$

Now, if you change in the code preview the "viewport" (second drop-down list
on the left) from [Current Paragraph] to [Complete Source] or [Preamble
only], you will be able to see the LyX-written LaTeX preamble.

With Document>Settings>Fonts as

Roman:  Palatino
SansDefault
TT  Default
Math:   Automatic

I get the preamble:

\documentclass[english]{article}
\usepackage{mathpazo}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}

i.e. there is no need for

> \usepackage{mathpazo}

in the custom LaTeX preamble (Document>Settings>LaTeX Preamble).

>> You can also try with setting Fonts>Mathematics: Times Roman New TX
> I tried this, but \lambda is not shown


Now found the difference: You put \lambda in \mathrm.

Unfortunately, support for upright Greek letters in mathematics is
limited in traditional TeX. Standard TeX and most mathematical packages
use either italic Greek characters or a text font without Greek letters
with \mathrm. This is why you get an italic lambda with LatinModern or
Times but a wrong (text) character with Palatino.

For background and details, see
http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html#oml-font-encoding

Do you really want an *upright* Lambda? This would indicate a
constant value or a physical unit (see, e.g.
http://old.iupac.org/standing/idcns/italic-roman_dec99.pdf).

If you put only the "max" and the unit into \mathrm, everything should be
fine (except for the missing space between value and unit).

Otherwise, see
http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html#how-to-get-upright-small-greek-letters
for options to get upright Greek in 8-bit LaTeX maths or use non-TeX fonts
with Xe/LuaTeX.

regards,

Günter



Re: lambda > solved, but font question

2018-04-18 Thread Wolfgang Engelmann


Am 18.04.2018 um 19:11 schrieb Guenter Milde:

On 2018-04-16, Wolfgang Engelmann wrote:


[-- Type: text/plain, Encoding: 8bit --]




Am 16.04.2018 um 10:06 schrieb Wolfgang Engelmann:

I select in lyx (2.3.0) in math
\lambda_{max}=528nm
but get in the pdf output
   ̆max = 528nm
why? (Debian stretch)
Wolfgang

just changed the fonts in settings from
palatino
helvetica
computer modern typewriter
to computer modern, which displaces the \lambda correctly.
But I don't like the font too much. Any alternatives?

It works here LyX 2.2.2, Debian/TeXlive17, Palatino

Can you test with View>Source whether the "mathpazo" package is used?

Thanks for your help.
I could, however,  not find View>source, to check for mathpazo
I am using Lyx2.3.0 Debian/TeXlive2017
perhaps this is what you ment:
Code-preview pane
it showed

$\mathrm{\lambda_{max}=528nm}$

I have added in document>settings

\usepackage{mathpazo}

but that did not help either.

Wolfgang



You can also try with setting Fonts>Mathematics: Times Roman New TX

I tried this, but \lambda is not shown
Wolfgang


Günter





Re: lambda > solved, but font question

2018-04-18 Thread Guenter Milde
On 2018-04-16, Wolfgang Engelmann wrote:

> [-- Type: text/plain, Encoding: 8bit --]



> Am 16.04.2018 um 10:06 schrieb Wolfgang Engelmann:

>> I select in lyx (2.3.0) in math
>> \lambda_{max}=528nm

>> but get in the pdf output

>>   ̆max = 528nm

>> why? (Debian stretch)

>> Wolfgang

> just changed the fonts in settings from
> palatino
> helvetica
> computer modern typewriter

> to computer modern, which displaces the \lambda correctly.
> But I don't like the font too much. Any alternatives?

It works here LyX 2.2.2, Debian/TeXlive17, Palatino

Can you test with View>Source whether the "mathpazo" package is used?

You can also try with setting Fonts>Mathematics: Times Roman New TX

Günter



Re: lambda

2018-04-17 Thread John Kane
Beats me. I did a copy and paste of your code and it seems fine. Rather
elegant in fact.
I did the same in a text editor and $\lambda_{max}=528nm$ seems fine.

  Ubuntu 16.04; LyX 2.3.0.

While we are not using Windows, I'd try the traditional Reboot (just
because it's MS) and see if it helps.


On 16 April 2018 at 04:06, Wolfgang Engelmann 
wrote:

> I select in lyx (2.3.0) in math
> \lambda_{max}=528nm
>
> but get in the pdf output
>
>   ̆max = 528nm
>
> why? (Debian stretch)
>
> Wolfgang
>



-- 
John Kane
Kingston ON Canada


Re: lambda > solved, but font question

2018-04-17 Thread Guenter Milde
On 2018-04-16, Wolfgang Engelmann wrote:

> [-- Type: text/plain, Encoding: 8bit --]



> Am 16.04.2018 um 10:06 schrieb Wolfgang Engelmann:

>> I select in lyx (2.3.0) in math
>> \lambda_{max}=528nm

>> but get in the pdf output

>>   ̆max = 528nm

>> why? (Debian stretch)

>> Wolfgang

> just changed the fonts in settings from
> palatino
> helvetica
> computer modern typewriter

> to computer modern, which displaces the \lambda correctly.
> But I don't like the font too much. Any alternatives?

Many: see 
http://milde.users.sourceforge.net/Matheschriften/matheschriften.html

For palatino, I recommend newtxmath.

Günter



Re: lambda > solved, but font question

2018-04-16 Thread Wolfgang Engelmann



Am 16.04.2018 um 10:06 schrieb Wolfgang Engelmann:


I select in lyx (2.3.0) in math
\lambda_{max}=528nm

but get in the pdf output

  ̆max = 528nm

why? (Debian stretch)

Wolfgang


just changed the fonts in settings from
palatino
helvetica
computer modern typewriter

to computer modern, which displaces the \lambda correctly.
But I don't like the font too much. Any alternatives?
Wolfgang


lambda

2018-04-16 Thread Wolfgang Engelmann

I select in lyx (2.3.0) in math
\lambda_{max}=528nm

but get in the pdf output

  ̆max = 528nm

why? (Debian stretch)

Wolfgang



Re: Lambda not shown

2013-09-11 Thread Marcus Glöder

Hello and a nice day,

on 10.09.2013 09:42, Guenter Milde was writing:

Examples for system fonts with a wide coverage including Greek are Free
Serif, Linux Libertine, and Deja Vu.


Another fine system font with a very good implementation of greek glyphs 
is Gentium. An example is attached. The german text is a cite from 
Benninghaus (1989).




Günter


Best regards
Marcus


References

Benninghaus, Hans, 1989: Statistik für Soziologen 1. Deskriptive 
Statistik. (= Teubner Studienskripten 22) Stuttgart: Teubner


--
PMs: m.gloe...@gmx.de


luatex_unicode_gentium_lambda.lyx
Description: application/lyx


luatex_unicode_gentium_lambda.pdf
Description: Adobe PDF document


Re: Lambda not shown

2013-09-11 Thread Marcus Glöder

Hello and a nice day,

on 10.09.2013 09:42, Guenter Milde was writing:

Examples for system fonts with a wide coverage including Greek are Free
Serif, Linux Libertine, and Deja Vu.


Another fine system font with a very good implementation of greek glyphs 
is Gentium. An example is attached. The german text is a cite from 
Benninghaus (1989).




Günter


Best regards
Marcus


References

Benninghaus, Hans, 1989: Statistik für Soziologen 1. Deskriptive 
Statistik. (= Teubner Studienskripten 22) Stuttgart: Teubner


--
PMs: m.gloe...@gmx.de


luatex_unicode_gentium_lambda.lyx
Description: application/lyx


luatex_unicode_gentium_lambda.pdf
Description: Adobe PDF document


Re: Lambda not shown

2013-09-11 Thread Marcus Glöder

Hello and a nice day,

on 10.09.2013 09:42, Guenter Milde was writing:

Examples for system fonts with a wide coverage including Greek are Free
Serif, Linux Libertine, and Deja Vu.


Another fine system font with a very good implementation of greek glyphs 
is Gentium. An example is attached. The german text is a cite from 
Benninghaus (1989).




Günter


Best regards
Marcus


References

Benninghaus, Hans, 1989: Statistik für Soziologen 1. Deskriptive 
Statistik. (= Teubner Studienskripten 22) Stuttgart: Teubner


--
PMs: m.gloe...@gmx.de


luatex_unicode_gentium_lambda.lyx
Description: application/lyx


luatex_unicode_gentium_lambda.pdf
Description: Adobe PDF document


Re: Lambda not shown

2013-09-10 Thread Guenter Milde
On 2013-09-09, =?utf-8?Q?Philipp_Gr=C3=B6ne?= wrote:

 [-- Type: text/plain, Encoding: 7bit --]

 Hello!

 Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
 shown.
 The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
 activated Non-Tex-Fonts in the Document-Options. If I don't do that,  
 deltas aren't shown, either. I use LuaTex.

With non-TeX-fonts, there is no feedback whether a particular glyph is
actually present in the font.

As non-TeX-fonts are system fonts, you can use any font-viewing
application to check the coverage. Many system fonts (including the
LuaTeX/XeTeX default Latin Modern) do not include Greek characters (LM
has only capital Greek chars).

Examples for system fonts with a wide coverage including Greek are Free
Serif, Linux Libertine, and Deja Vu.

Günter




Re: Lambda not shown

2013-09-10 Thread Guenter Milde
On 2013-09-09, =?utf-8?Q?Philipp_Gr=C3=B6ne?= wrote:

 [-- Type: text/plain, Encoding: 7bit --]

 Hello!

 Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
 shown.
 The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
 activated Non-Tex-Fonts in the Document-Options. If I don't do that,  
 deltas aren't shown, either. I use LuaTex.

With non-TeX-fonts, there is no feedback whether a particular glyph is
actually present in the font.

As non-TeX-fonts are system fonts, you can use any font-viewing
application to check the coverage. Many system fonts (including the
LuaTeX/XeTeX default Latin Modern) do not include Greek characters (LM
has only capital Greek chars).

Examples for system fonts with a wide coverage including Greek are Free
Serif, Linux Libertine, and Deja Vu.

Günter




Re: Lambda not shown

2013-09-10 Thread Guenter Milde
On 2013-09-09, =?utf-8?Q?Philipp_Gr=C3=B6ne?= wrote:

> [-- Type: text/plain, Encoding: 7bit --]

> Hello!

> Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
> shown.
> The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
> activated "Non-Tex-Fonts" in the Document-Options. If I don't do that,  
> deltas aren't shown, either. I use LuaTex.

With non-TeX-fonts, there is no feedback whether a particular glyph is
actually present in the font.

As "non-TeX-fonts" are system fonts, you can use any "font-viewing
application" to check the coverage. Many system fonts (including the
LuaTeX/XeTeX default Latin Modern) do not include Greek characters (LM
has only capital Greek chars).

Examples for system fonts with a wide coverage including Greek are Free
Serif, Linux Libertine, and Deja Vu.

Günter




Lambda not shown

2013-09-09 Thread Philipp Gröne

Hello!

Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
shown.
The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
activated Non-Tex-Fonts in the Document-Options. If I don't do that,  
deltas aren't shown, either. I use LuaTex.


A minimal example is attached.

I hope I provided all necessary information. Thanks in advance!
Ph.

Minimalnolambda.pdf
Description: Adobe PDF document


Lambda not shown

2013-09-09 Thread Philipp Gröne

Hello!

Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
shown.
The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
activated Non-Tex-Fonts in the Document-Options. If I don't do that,  
deltas aren't shown, either. I use LuaTex.


A minimal example is attached.

I hope I provided all necessary information. Thanks in advance!
Ph.

Minimalnolambda.pdf
Description: Adobe PDF document


Lambda not shown

2013-09-09 Thread Philipp Gröne

Hello!

Lowercase-lambdas are not shown in my Lyx-documents. Uppercase Deltas are  
shown.
The Preset I use is thesis (chapter-1 or chapter-2, does not matter). I  
activated "Non-Tex-Fonts" in the Document-Options. If I don't do that,  
deltas aren't shown, either. I use LuaTex.


A minimal example is attached.

I hope I provided all necessary information. Thanks in advance!
Ph.

Minimalnolambda.pdf
Description: Adobe PDF document