Re: Latex vs. non-latex fonts

2024-01-16 Thread Steve Litt
Neal Becker said on Fri, 12 Jan 2024 09:09:51 -0500

>I'm writing another paper for IEEE conference.  I'm using lualatex to
>produce pdf.
>
>In documen/settings/fonts, I'm set to using all defaults.  If I don't
>check 'use non-TeX fonts', the output looks good.  If I do check 'use
>non-TeX fonts', the fonts look much thinner and to my eye not very
>pleasing.  Again I have not changed any font settings from defaults.
>
>Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.
>
>Thanks,
>Neal

Hi Neal,

I gave up on Computer Modern fonts years ago, because they're so thin
as to be difficult for a poorly sighted person to read quickly. Whether
"use non-tex fonts" is checked or not (it might be worse one way or
another, but it's not good either way). I now use exclusively (for
normal purposes):

* TeX Gyre Schola for normal serif fonts.

* TeX Gyre Heros for normal sans-serif fonts.

* TeX Gyre Cursor for monospaced fonts.

These fonts are readable, at a glance, on paper or on screen. They look
good, at least to me. All you do is install them from CTAN, check "use
non-tex fonts", and compile with LuaTeX and LuaLaTeX.

Once in a while I use Ubuntu Condensed when needing condensed fonts.

Note that if it's to be read exclusively on a screen (HTML or ePub), I
don't specify fonts, so that the user's preferences rule.

HTH,

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-14 Thread Herbert Voss



Am 14.01.24 um 17:05 schrieb Neal Becker:



On Sun, Jan 14, 2024 at 2:48 AM Herbert Voss 
 wrote:




Am 13.01.24 um 16:49 schrieb Neal Becker:
> I have tried kpfonts.  Surprisingly, it also has the same
problem with
> authormark misplaced!
>

Looks like a bug with the IEEE layout of LyX. Export the
test-document to
LaTeX (pdflatex) and run it and it will be okay.

Herbert



Looks like if I export to pdflatex and run pdflatex it works!
But if I export to lualatex and run lualatex the asterisks are 
misplaced. Any idea of what is the cause?


It is a bug in IEEEtran which is _not_ configured to run with lualatex.
However, the export from LyX to lualatex is wrong if you have the
LyX-document configured for pdflatex.

For lualatex use this preamble in _LyX_

\usepackage{flushend}

\usepackage{kpfonts-otf}

\DeclareRobustCommand*\IEEEauthorrefmark[1]{\ensuremath{{}^{\ifcase#1\or 
*\or \dagger\or \ddagger\or%


\mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger

\or \ddagger\ddagger \else\expandafter\romannumeral#1\fi}}}

and also enable the button for "Use non TeX fonts (lualatex/xelatex)


Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-14 Thread Neal Becker
On Sun, Jan 14, 2024 at 2:48 AM Herbert Voss 
wrote:

>
>
> Am 13.01.24 um 16:49 schrieb Neal Becker:
> > I have tried kpfonts.  Surprisingly, it also has the same problem with
> > authormark misplaced!
> >
>
> Looks like a bug with the IEEE layout of LyX. Export the test-document to
> LaTeX (pdflatex) and run it and it will be okay.
>
> Herbert
>


Looks like if I export to pdflatex and run pdflatex it works!
But if I export to lualatex and run lualatex the asterisks are misplaced.
Any idea of what is the cause?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 16:49 schrieb Neal Becker:
I have tried kpfonts.  Surprisingly, it also has the same problem with 
authormark misplaced!




Looks like a bug with the IEEE layout of LyX. Export the test-document to
LaTeX (pdflatex) and run it and it will be okay.

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Christopher Menzel
Try the Palatino font with \usepackage{mathpazo}. That’s an attractive, classic 
TeX font combo.

-chris

> On Jan 13, 2024, at 9:50 AM, Neal Becker  wrote:
> 
> 
> I have tried kpfonts.  Surprisingly, it also has the same problem with 
> authormark misplaced!
> 
> 
> 
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
I have tried kpfonts.  Surprisingly, it also has the same problem with
authormark misplaced!


mwe-kpfonts.lyx
Description: application/lyx


mwe-kpfonts.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
>
> I have
  No. Filename Symbolic namePath
   1.  cambria.ttc cambria   /usr/local/share/fonts/c/
   2.  cambria.ttc cambriamath   /usr/local/share/fonts/c/
   3. cambriab.ttf cambria  /usr/share/fonts/msttcore/
   4. cambriai.ttf cambria  /usr/share/fonts/msttcore/
   5. cambriaz.ttf cambria  /usr/share/fonts/msttcore/

Perhaps I am having some problem because I have cambria from 2 different
sources?  I grabbed the msttcore stuff, but that was missing cambriamath.
So then I found cambria.ttc which I manually installed, which has
cambriamath.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 16:02 schrieb Neal Becker:



Here is a mwe of the problem with Cambria (abstract is not bold).
I seem to have cambria-bold:
 luaotfload-tool -i --find="Cambria Bold"
luaotfload | resolve : Font "Cambria Bold" found!
luaotfload | resolve : Resolved file name 
"/usr/share/fonts/msttcore/cambriab.ttf"


voss>tmp:$ luafindfont cambria
  No.    Filename Symbolic 
name    Path
   1. Cambria.otf cambria 
/Users/voss/Library/Fonts/Cambria/
   2. Cambria.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   3.    Cambria_Bold.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   4. Cambria_Bold_Italic.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   5.  Cambria_Italic.ttf cambria 
/Users/voss/Library/Fonts/Cambria/
   6. CambriaMath.otf cambriamath 
/Users/voss/Library/Fonts/Cambria/



gives you all fonts which will be found by TeX

Herbert










--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 15:57 schrieb Neal Becker:

Here is a mwe of the New PX problem.


There is _no_ such  problem with current up-to-date TL2023.

Herbert






On Sat, Jan 13, 2024 at 9:33 AM Neal Becker  wrote:



On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel
 wrote:

On Jan 12, 2024, at 9:03 AM, Neal Becker 
wrote:

I'm writing another paper for IEEE conference.  I'm using
lualatex to
produce pdf.

In document/settings/fonts, I'm set to using all defaults. If
I don't
check 'use non-TeX fonts', the output looks good. If I do
check 'use
non-TeX fonts', the fonts look much thinner and to my eye not
very
pleasing.  Again I have not changed any font settings from
defaults.


And that’s why they don’t look good. You need to choose one
from the drop-down list. The problem with using non-TeX fonts
is that there might not be a corresponding math font. One that
does have a math font and that looks quite nice is Cambria. If
you are using MacOS or Windows you should have it on your
machine if you’ve installed Office 365 or a standalone of any
of the usual Microsoft applications. To get the corresponding
math font once you’ve selected Cambria from the drop-down, add
the following to the preamble:

\usepackage{unicode-math}
\setmathfont{Cambria Math}

If you’re using Linux, there are instructions to be found on
the interwebs for installing the Microsoft fonts Cambria,
Calibri, and Consolas. They are extracted from the old
PowerPoint Viewer, which Microsoft released for free and hence
(so I recall gathering from discussions in various forums) can
be extracted and used legally.


Is there a recommended alternative set of fonts?


For TeX fonts, I really like New PX
, a descendent of
Palatino with a very nice math font. Add the following to your
preamble (and select “Default” from the drop-down font list):

\usepackage[T1]{fontenc}
\usepackage{newpxtext,newpxmath}

Vastly superior aesthetically to the long outdated (but still,
sadly, oft-used) Computer Modern default.

Chris Menzel

I just tried out the New PX alternative.  It looks good except for
one strange problem.  In the top of the paper is author name and
authormark.  Authormark (1 author) will be an asterisk.  With CM
the asterisk is in the normal position, but with New PX the
asterisk is about the middle of the text height, not in a
superscript position.  Since this is right at the top of the paper
and glaringly obvious I don't think I can use it.



--
/Those who don't understand recursion are doomed to repeat it/



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
Here is a mwe of the problem with Cambria (abstract is not bold).
I seem to have cambria-bold:
 luaotfload-tool -i --find="Cambria Bold"
luaotfload | resolve : Font "Cambria Bold" found!
luaotfload | resolve : Resolved file name
"/usr/share/fonts/msttcore/cambriab.ttf"


mwe-cambria.pdf
Description: Adobe PDF document


mwe-cambria.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Herbert Voss



Am 13.01.24 um 15:33 schrieb Neal Becker:



And that’s why they don’t look good. You need to choose one from
the drop-down list. The problem with using non-TeX fonts is that
there might not be a corresponding math font. One that does have a
math font and that looks quite nice is Cambria. If you are using
MacOS or Windows you should have it on your machine if you’ve
installed Office 365 or a standalone of any of the usual Microsoft
applications. To get the corresponding math font once you’ve
selected Cambria from the drop-down, add the following to the
preamble:



use a package which defines text _and_ mathfont, e.g. kpfonts-otf
See https://pkks.de/fontpackages.html


Herbert




--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
Here is a mwe of the New PX problem.


On Sat, Jan 13, 2024 at 9:33 AM Neal Becker  wrote:

>
>
> On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
> wrote:
>
>> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>>
>> I'm writing another paper for IEEE conference.  I'm using lualatex to
>> produce pdf.
>>
>> In document/settings/fonts, I'm set to using all defaults. If I don't
>> check 'use non-TeX fonts', the output looks good. If I do check 'use
>> non-TeX fonts', the fonts look much thinner and to my eye not very
>> pleasing.  Again I have not changed any font settings from defaults.
>>
>>
>> And that’s why they don’t look good. You need to choose one from the
>> drop-down list. The problem with using non-TeX fonts is that there might
>> not be a corresponding math font. One that does have a math font and that
>> looks quite nice is Cambria. If you are using MacOS or Windows you should
>> have it on your machine if you’ve installed Office 365 or a standalone of
>> any of the usual Microsoft applications. To get the corresponding math font
>> once you’ve selected Cambria from the drop-down, add the following to the
>> preamble:
>>
>> \usepackage{unicode-math}
>> \setmathfont{Cambria Math}
>>
>> If you’re using Linux, there are instructions to be found on the
>> interwebs for installing the Microsoft fonts Cambria, Calibri, and
>> Consolas. They are extracted from the old PowerPoint Viewer, which
>> Microsoft released for free and hence (so I recall gathering from
>> discussions in various forums) can be extracted and used legally.
>>
>> Is there a recommended alternative set of fonts?
>>
>>
>> For TeX fonts, I really like New PX
>> , a descendent of Palatino with a
>> very nice math font. Add the following to your preamble (and select
>> “Default” from the drop-down font list):
>>
>> \usepackage[T1]{fontenc}
>> \usepackage{newpxtext,newpxmath}
>>
>> Vastly superior aesthetically to the long outdated (but still, sadly,
>> oft-used) Computer Modern default.
>>
>> Chris Menzel
>>
>> I just tried out the New PX alternative.  It looks good except for one
> strange problem.  In the top of the paper is author name and authormark.
> Authormark (1 author) will be an asterisk.  With CM the asterisk is in the
> normal position, but with New PX the asterisk is about the middle of the
> text height, not in a superscript position.  Since this is right at the top
> of the paper and glaringly obvious I don't think I can use it.
>


-- 
*Those who don't understand recursion are doomed to repeat it*
%% LyX 2.4.0~RC1 created this file.  For more info, see https://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[american,conference]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage[utf8]{luainputenc}
\usepackage{geometry}
\geometry{verbose}

\makeatletter
%% User specified LaTeX commands.
%\pdfoptionpdfminorversion=7
%\usepackage{cite}
%\usepackage{hyperref}
%\usepackage{url}
\usepackage{flushend}
%\usepackage{unicode-math}
%\setmathfont{Cambria Math}
\usepackage[T1]{fontenc}
\usepackage{newpxtext,newpxmath}

\makeatother

\usepackage{babel}
\begin{document}
\title{A Very Interesting Title}
\author{\IEEEauthorblockN{Neal Becker\IEEEauthorrefmark{1}}\IEEEauthorblockA{Hughes Network Systems, Germantown MD\\
Email: \IEEEauthorrefmark{1}neal.bec...@hughes.com}}
\maketitle
\begin{abstract}
This abstract is very abstract
\end{abstract}


\section{Introduction}

Consider the topic introduced.
\end{document}


mwe.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread Neal Becker
On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
wrote:

> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>
> I'm writing another paper for IEEE conference.  I'm using lualatex to
> produce pdf.
>
> In document/settings/fonts, I'm set to using all defaults. If I don't
> check 'use non-TeX fonts', the output looks good. If I do check 'use
> non-TeX fonts', the fonts look much thinner and to my eye not very
> pleasing.  Again I have not changed any font settings from defaults.
>
>
> And that’s why they don’t look good. You need to choose one from the
> drop-down list. The problem with using non-TeX fonts is that there might
> not be a corresponding math font. One that does have a math font and that
> looks quite nice is Cambria. If you are using MacOS or Windows you should
> have it on your machine if you’ve installed Office 365 or a standalone of
> any of the usual Microsoft applications. To get the corresponding math font
> once you’ve selected Cambria from the drop-down, add the following to the
> preamble:
>
> \usepackage{unicode-math}
> \setmathfont{Cambria Math}
>
> If you’re using Linux, there are instructions to be found on the interwebs
> for installing the Microsoft fonts Cambria, Calibri, and Consolas. They are
> extracted from the old PowerPoint Viewer, which Microsoft released for free
> and hence (so I recall gathering from discussions in various forums) can be
> extracted and used legally.
>
> Is there a recommended alternative set of fonts?
>
>
> For TeX fonts, I really like New PX ,
> a descendent of Palatino with a very nice math font. Add the following to
> your preamble (and select “Default” from the drop-down font list):
>
> \usepackage[T1]{fontenc}
> \usepackage{newpxtext,newpxmath}
>
> Vastly superior aesthetically to the long outdated (but still, sadly,
> oft-used) Computer Modern default.
>
> Chris Menzel
>
> I just tried out the New PX alternative.  It looks good except for one
strange problem.  In the top of the paper is author name and authormark.
Authormark (1 author) will be an asterisk.  With CM the asterisk is in the
normal position, but with New PX the asterisk is about the middle of the
text height, not in a superscript position.  Since this is right at the top
of the paper and glaringly obvious I don't think I can use it.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread José Matos
On Fri, 2024-01-12 at 16:25 -0500, Neal Becker wrote:
> Thanks!  I am on linux (fedora). 

I am sorry for hijacking this thread.
If you are using copr:
https://copr.fedorainfracloud.org/coprs/jamatos/lyx-devel

the version available has switched now to qt6.

Tell me if you have issues.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
On Fri, Jan 12, 2024 at 5:58 PM Christopher Menzel 
wrote:

> On Jan 12, 2024, at 3:25 PM, Neal Becker  wrote:
>
> On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
> wrote:
>
>> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>>
>> I'm writing another paper for IEEE conference.  I'm using lualatex to
>> produce pdf.
>>
>> In document/settings/fonts, I'm set to using all defaults. If I don't
>> check 'use non-TeX fonts', the output looks good. If I do check 'use
>> non-TeX fonts', the fonts look much thinner and to my eye not very
>> pleasing.  Again I have not changed any font settings from defaults.
>>
>>
>> And that’s why they don’t look good. You need to choose one from the
>> drop-down list. The problem with using non-TeX fonts is that there might
>> not be a corresponding math font. One that does have a math font and that
>> looks quite nice is Cambria. If you are using MacOS or Windows you should
>> have it on your machine if you’ve installed Office 365 or a standalone of
>> any of the usual Microsoft applications. To get the corresponding math font
>> once you’ve selected Cambria from the drop-down, add the following to the
>> preamble:
>>
>> \usepackage{unicode-math}
>> \setmathfont{Cambria Math}
>>
>> If you’re using Linux, there are instructions to be found on the
>> interwebs for installing the Microsoft fonts Cambria, Calibri, and
>> Consolas. They are extracted from the old PowerPoint Viewer, which
>> Microsoft released for free and hence (so I recall gathering from
>> discussions in various forums) can be extracted and used legally.
>>
>> Thanks!  I am on linux (fedora).  I found instructions to install
> msfonts.  Now I have Cambria, but it seems not Cambria math?
>
> Package fontspec Error: The font "CambriaMath" cannot be found.
>
>
> Note there’s a space in the \setmathfont{Cambria Math} declaration, in
> case that’s relevant.
>
> Any hints?
> In /usr/share/fonts/mscorefonts I have
>   -r--r--r--. 1 root root 331916 Sep 26  2006 cambriab.ttf
>   -r--r--r--. 1 root root 336812 Aug  9  2006 cambriai.ttf
>   -r--r--r--. 1 root root 326024 Aug  9  2006 cambriaz.ttf
> (along with others not starting with 'cambrai’)
>
>
> Hm, here’s everything I’ve got on my Kali Linux installation:
>
> ╭─cmenzel@kali-linux-2022-2 ~
> ╰─$ locate cambria
> /usr/share/fonts/truetype/vista/cambria.ttf
> /usr/share/fonts/truetype/vista/cambriab.ttf
> /usr/share/fonts/truetype/vista/cambriai.ttf
> /usr/share/fonts/truetype/vista/cambriamath.ttf
> /usr/share/fonts/truetype/vista/cambriaz.ttf
> /usr/share/texmf/tex/context/fonts/mkiv/cambria-math.lfg
> /usr/share/texmf/tex/context/fonts/mkiv/cambria.lfg
> /usr/share/texmf/tex/context/fonts/mkiv/type-imp-cambria.mkiv
>
> In case you didn’t use the instructions I followed, give →THESE
> ← a try.
>
> -chris
>

Thanks, getting close.  Now compiles without error, but one thing strange.
The Abstract should be bold, but in Cambria it does not seem to be bold.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Christopher Menzel
On Jan 12, 2024, at 3:25 PM, Neal Becker  wrote:
> On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel  > wrote:
>> On Jan 12, 2024, at 9:03 AM, Neal Becker > > wrote:
>>> I'm writing another paper for IEEE conference.  I'm using lualatex to 
>>> produce pdf.
>>> 
>>> In document/settings/fonts, I'm set to using all defaults. If I don't 
>>> check 'use non-TeX fonts', the output looks good. If I do check 'use 
>>> non-TeX fonts', the fonts look much thinner and to my eye not very 
>>> pleasing.  Again I have not changed any font settings from defaults.
>> 
>> And that’s why they don’t look good. You need to choose one from the 
>> drop-down list. The problem with using non-TeX fonts is that there might not 
>> be a corresponding math font. One that does have a math font and that looks 
>> quite nice is Cambria. If you are using MacOS or Windows you should have it 
>> on your machine if you’ve installed Office 365 or a standalone of any of the 
>> usual Microsoft applications. To get the corresponding math font once you’ve 
>> selected Cambria from the drop-down, add the following to the preamble:
>> 
>> \usepackage{unicode-math}
>> \setmathfont{Cambria Math}
>> 
>> If you’re using Linux, there are instructions to be found on the interwebs 
>> for installing the Microsoft fonts Cambria, Calibri, and Consolas. They are 
>> extracted from the old PowerPoint Viewer, which Microsoft released for free 
>> and hence (so I recall gathering from discussions in various forums) can be 
>> extracted and used legally.
>> 
> Thanks!  I am on linux (fedora).  I found instructions to install msfonts.  
> Now I have Cambria, but it seems not Cambria math?
>  
> Package fontspec Error: The font "CambriaMath" cannot be found.

Note there’s a space in the \setmathfont{Cambria Math} declaration, in case 
that’s relevant.

> Any hints?
> In /usr/share/fonts/mscorefonts I have
>   -r--r--r--. 1 root root 331916 Sep 26  2006 cambriab.ttf
>   -r--r--r--. 1 root root 336812 Aug  9  2006 cambriai.ttf
>   -r--r--r--. 1 root root 326024 Aug  9  2006 cambriaz.ttf
> (along with others not starting with 'cambrai’)

Hm, here’s everything I’ve got on my Kali Linux installation:

╭─cmenzel@kali-linux-2022-2 ~  
╰─$ locate cambria
/usr/share/fonts/truetype/vista/cambria.ttf
/usr/share/fonts/truetype/vista/cambriab.ttf
/usr/share/fonts/truetype/vista/cambriai.ttf
/usr/share/fonts/truetype/vista/cambriamath.ttf
/usr/share/fonts/truetype/vista/cambriaz.ttf
/usr/share/texmf/tex/context/fonts/mkiv/cambria-math.lfg
/usr/share/texmf/tex/context/fonts/mkiv/cambria.lfg
/usr/share/texmf/tex/context/fonts/mkiv/type-imp-cambria.mkiv

In case you didn’t use the instructions I followed, give →THESE 
← a try.

-chris



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
On Fri, Jan 12, 2024 at 3:15 PM Christopher Menzel 
wrote:

> On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
>
> I'm writing another paper for IEEE conference.  I'm using lualatex to
> produce pdf.
>
> In document/settings/fonts, I'm set to using all defaults. If I don't
> check 'use non-TeX fonts', the output looks good. If I do check 'use
> non-TeX fonts', the fonts look much thinner and to my eye not very
> pleasing.  Again I have not changed any font settings from defaults.
>
>
> And that’s why they don’t look good. You need to choose one from the
> drop-down list. The problem with using non-TeX fonts is that there might
> not be a corresponding math font. One that does have a math font and that
> looks quite nice is Cambria. If you are using MacOS or Windows you should
> have it on your machine if you’ve installed Office 365 or a standalone of
> any of the usual Microsoft applications. To get the corresponding math font
> once you’ve selected Cambria from the drop-down, add the following to the
> preamble:
>
> \usepackage{unicode-math}
> \setmathfont{Cambria Math}
>
> If you’re using Linux, there are instructions to be found on the interwebs
> for installing the Microsoft fonts Cambria, Calibri, and Consolas. They are
> extracted from the old PowerPoint Viewer, which Microsoft released for free
> and hence (so I recall gathering from discussions in various forums) can be
> extracted and used legally.
>
> Thanks!  I am on linux (fedora).  I found instructions to install
msfonts.  Now I have Cambria, but it seems not Cambria math?

Package fontspec Error: The font "CambriaMath" cannot be found.

Any hints?
In /usr/share/fonts/mscorefonts I have
  -r--r--r--. 1 root root 331916 Sep 26  2006 cambriab.ttf
  -r--r--r--. 1 root root 336812 Aug  9  2006 cambriai.ttf
  -r--r--r--. 1 root root 326024 Aug  9  2006 cambriaz.ttf
(along with others not starting with 'cambrai')

>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Christopher Menzel
On Jan 12, 2024, at 9:03 AM, Neal Becker  wrote:
> I'm writing another paper for IEEE conference.  I'm using lualatex to 
> produce pdf.
> 
> In document/settings/fonts, I'm set to using all defaults. If I don't 
> check 'use non-TeX fonts', the output looks good. If I do check 'use 
> non-TeX fonts', the fonts look much thinner and to my eye not very 
> pleasing.  Again I have not changed any font settings from defaults.

And that’s why they don’t look good. You need to choose one from the drop-down 
list. The problem with using non-TeX fonts is that there might not be a 
corresponding math font. One that does have a math font and that looks quite 
nice is Cambria. If you are using MacOS or Windows you should have it on your 
machine if you’ve installed Office 365 or a standalone of any of the usual 
Microsoft applications. To get the corresponding math font once you’ve selected 
Cambria from the drop-down, add the following to the preamble:

\usepackage{unicode-math}
\setmathfont{Cambria Math}

If you’re using Linux, there are instructions to be found on the interwebs for 
installing the Microsoft fonts Cambria, Calibri, and Consolas. They are 
extracted from the old PowerPoint Viewer, which Microsoft released for free and 
hence (so I recall gathering from discussions in various forums) can be 
extracted and used legally.

> Is there a recommended alternative set of fonts?

For TeX fonts, I really like New PX , a 
descendent of Palatino with a very nice math font. Add the following to your 
preamble (and select “Default” from the drop-down font list):

\usepackage[T1]{fontenc}
\usepackage{newpxtext,newpxmath}

Vastly superior aesthetically to the long outdated (but still, sadly, oft-used) 
Computer Modern default.

Chris Menzel

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
On Fri, Jan 12, 2024 at 9:33 AM Eckhard Höffner 
wrote:

> Look at the document properties of the different pdf files. There is a
> section about the embedded fonts in the pdf. If you are using the
> regular Computer Modern (or LM); these fonts apear indeed very thin.
>
>
> Am 12.01.24 um 15:09 schrieb Neal Becker:
> > I'm writing another paper for IEEE conference.  I'm using lualatex to
> > produce pdf.
> >
> > In documen/settings/fonts, I'm set to using all defaults. If I don't
> > check 'use non-TeX fonts', the output looks good. If I do check 'use
> > non-TeX fonts', the fonts look much thinner and to my eye not very
> > pleasing.  Again I have not changed any font settings from defaults.
> >
> > Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.
> >
> > Thanks,
> > Neal
> >
> --
> Eckhard Höffner
> Volkarstr. 64
> D-80636 München
>

Is there a recommended alternative set of fonts?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-12 Thread Eckhard Höffner
Look at the document properties of the different pdf files. There is a 
section about the embedded fonts in the pdf. If you are using the 
regular Computer Modern (or LM); these fonts apear indeed very thin.



Am 12.01.24 um 15:09 schrieb Neal Becker:
I'm writing another paper for IEEE conference.  I'm using lualatex to 
produce pdf.


In documen/settings/fonts, I'm set to using all defaults. If I don't 
check 'use non-TeX fonts', the output looks good. If I do check 'use 
non-TeX fonts', the fonts look much thinner and to my eye not very 
pleasing.  Again I have not changed any font settings from defaults.


Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.

Thanks,
Neal


--
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Latex vs. non-latex fonts

2024-01-12 Thread Neal Becker
I'm writing another paper for IEEE conference.  I'm using lualatex to
produce pdf.

In documen/settings/fonts, I'm set to using all defaults.  If I don't check
'use non-TeX fonts', the output looks good.  If I do check 'use non-TeX
fonts', the fonts look much thinner and to my eye not very pleasing.  Again
I have not changed any font settings from defaults.

Any thoughts or suggestions?  Oh, this is lyx-2.4.0beta5.

Thanks,
Neal
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users