Re: lmodern?
On Fri, Apr 8, 2011 at 11:39 AM, Sam Lewis wrote: > >> LyX already departs from LaTeX defaults by changing the font encoding >> from OT1 to T1. (See the line >> \usepackage[T1]{inputenc} > > Is this not absurd for a default setting: I.e. T1 and CM? If the majority of > users supposedly not primarily write in English, should it not be T1 + LM? If > however most write in English should it not be OT1 + LM? Why bother with CM? > Or > am I missing something? > The status quo makes little sense for either case, but it's quite hard to come up with a 'one size fits all' setting. The trouble is that LaTeX classes can define default font settings, and they are not universally CM. This means that pre-selecting LM is not a panacea: it would distort default settings of classes that default to some non-CM font. But this was discussed at length. Please search the archives. Regards Liviu > Perhaps a survey might shed light on the situation. > > Cheers, Sam > > > -- 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: lmodern?
> LyX already departs from LaTeX defaults by changing the font encoding > from OT1 to T1. (See the line > \usepackage[T1]{inputenc} Is this not absurd for a default setting: I.e. T1 and CM? If the majority of users supposedly not primarily write in English, should it not be T1 + LM? If however most write in English should it not be OT1 + LM? Why bother with CM? Or am I missing something? Perhaps a survey might shed light on the situation. Cheers, Sam
Re: lmodern?
On 2011-04-06, Liviu Andronic wrote: > On Wed, Apr 6, 2011 at 2:23 PM, Neal Becker wrote: >> I'm trying lyx-2.0.0rc2. >> Do I still need to keep manually adding \usepackage{lmodern} to get >> vector fonts? I would have hoped that if this wasn't the default by >> now, > There have been several lengthy discussions on this topic, and the > consensus was that it made little sense to depart from LaTeX defaults; > people unhappy with the default font should choose a different one. No consensus could be reached, therefore no change. LyX already departs from LaTeX defaults by changing the font encoding from OT1 to T1. (See the line \usepackage[T1]{inputenc} in the latex source's header.) With the LaTeX default OT1, you would get vector fonts by default, but also "faked" accented Latin letters (like öäü). BTW: installing the CM-Super fonts would give you the CM-Super vector font version of CM also with T1 font encoding automatically. >> at least I'd find an option on the document settings. Lmodern is supported by the GUI already in 1.6. I recommend activating this in your default template file(s). People never requiring accented Latin letters could also configure the font encoding setting in the preferences. Günter
Re: lmodern?
On Wed, Apr 6, 2011 at 2:23 PM, Neal Becker wrote: > I'm trying lyx-2.0.0rc2. > > Do I still need to keep manually adding \usepackage{lmodern} to get vector > fonts? I would have hoped that if this wasn't the default by now, at least > I'd > find an option on the document settings. > There have been several lengthy discussions on this topic, and the consensus was that it made little sense to depart from LaTeX defaults; people unhappy with the default font should choose a different one. Regards Liviu
Re: lmodern?
Neal Becker wrote: > I'm trying lyx-2.0.0rc2. > > Do I still need to keep manually adding \usepackage{lmodern} to get vector > fonts? I would have hoped that if this wasn't the default by now, at least > I'd > find an option on the document settings. document->settings->fonts->latin modern roman works even in 1.6. p
lmodern?
I'm trying lyx-2.0.0rc2. Do I still need to keep manually adding \usepackage{lmodern} to get vector fonts? I would have hoped that if this wasn't the default by now, at least I'd find an option on the document settings.
Re: lmodern pdfs not sharp on-screen
Dear Iwan, 2009/6/17 Barankay, Iwan > Barankay, Iwan wrote: > > > 3) I really wanted to save time and not have to learn the innards of lyx > or tex on how to install fonts etc. thinking that there must be solution to > this general problem given that Latin Modern Roman is the recommended font > in lyx - but may be I am too optimistic? > Thanks, > > Iwan You are not too optimistic. Really, it is easy. I am not a LaTeX guru and I didn't install any additional font, as I said. But this is not required because it is very very easy to use different fonts. You just have to add a few lines in the preamble of your document (in the Document menu). Than in Characters you set the family: for example, if you use utopia choose Family: Roman; and then Roman: Predefined; Sans Serif: Predefined. And that's all. Here it is an example of the three lines I put at the beginning of the preamble of a LyX document when I want to use utopia: \usepackage{utopia} \usepackage{berasans} \renewcommand{\ttdefault}{lmtt} Pierfranco
Re: lmodern pdfs not sharp on-screen
Barankay, Iwan wrote: >> Hi, >> I am using the latest Lyx and chose lmodern (Latin Modern) as my default fo= >> nt. When I generate pdfs the font looks just not sharp on screen. It prints= >> fine but I want it to look sharp on screen. I hunted through the mailing l= >> ist but could not find a solution (e.g. adding lmodern to the preamble does= >> not help). When I use Times the pdfs look sharp on screen but I would real= >> ly like to keep the Latin Modern or something that looks like it. >> Any suggestions? >> >>Thanks, >>Iwan Hi, Thanks for the informative suggestions. Let me may be clarify the issue: 1) I wanted a font that looks sharp on screen and will do so on many people's screens: I want to post my pdf-document onto my webpage and want it to look good on many people's screen over which I don't have control. This seems to be a tall order but when I look at other people's documents, who may be much more proficient in Tex than I am, then their pdf documents, using e.g. fonts like the dcr10 look so sharp. Latin Modern, however, looks so thin and not sharp on screen. 2) I wanted to keep the Latin Modern look but may be that may not be possible. I agree that Utopia or Times looks very sharp on screen. 3) I really wanted to save time and not have to learn the innards of lyx or tex on how to install fonts etc. thinking that there must be solution to this general problem given that Latin Modern Roman is the recommended font in lyx - but may be I am too optimistic? Thanks, Iwan
Re: lmodern pdfs not sharp on-screen
Hi all, speaking of fonts, I could add my experience with LaTeX (LyX) using MAC OS X and mostly Preview, that is the default PDF viewer on MAC computers. Actually I have never used lmodern because it didn't look well on the screen, as it has been said. After several trials I have found out that these fonts were best both for screen reading and for printing. In the Roman family: Charter, Fourier, Utopia. For the sans serif family I use berasans. All these fonts are available through a standard LaTeX distribution, or at least with a MAC OS X LaTeX distribution, so you don't need to install any additional font. best wishes Pierfranco 2009/6/17 Olivier Ripoll > Barankay, Iwan wrote: > >> Hi, >> I am using the latest Lyx and chose lmodern (Latin Modern) as my default >> font. When I generate pdfs the font looks just not sharp on screen. It >> prints fine but I want it to look sharp on screen. I hunted through the >> mailing list but could not find a solution (e.g. adding lmodern to the >> preamble does not help). When I use Times the pdfs look sharp on screen but >> I would really like to keep the Latin Modern or something that looks like >> it. >> Any suggestions? >> >> Thanks, >> >> Iwan >> >> > Hi, > > You may have problems to find a font looking sharp everywhere, because it's > also dependent on the viewer software (a lot) and some OS settings ('OS' in > the widest meaning): > On Windows XP, for example, pdf with latin modern sans-serif look sharp on > screen when using Adobe Reader 8 or GSview, but do not look so sharp with > Sumatra (0.9) or Foxit reader 3. There are two different display modes in > Foxit (both not-good-looking) and three in Adobe Reader. And there are yet > other alternatives... > I guess it may be more uniform on linux, as most readers share libraries > (poppler, etc.), but Foxit and Adobe Reader may still differ. > > Sorry for the somehow bad news, but I'm afraid there is no universal > answer. Good luck in your quest. > > Best regards, > > Olivier > >
Re: lmodern pdfs not sharp on-screen
Barankay, Iwan wrote: Hi, I am using the latest Lyx and chose lmodern (Latin Modern) as my default font. When I generate pdfs the font looks just not sharp on screen. It prints fine but I want it to look sharp on screen. I hunted through the mailing list but could not find a solution (e.g. adding lmodern to the preamble does not help). When I use Times the pdfs look sharp on screen but I would really like to keep the Latin Modern or something that looks like it. Any suggestions? Thanks, Iwan Hi, You may have problems to find a font looking sharp everywhere, because it's also dependent on the viewer software (a lot) and some OS settings ('OS' in the widest meaning): On Windows XP, for example, pdf with latin modern sans-serif look sharp on screen when using Adobe Reader 8 or GSview, but do not look so sharp with Sumatra (0.9) or Foxit reader 3. There are two different display modes in Foxit (both not-good-looking) and three in Adobe Reader. And there are yet other alternatives... I guess it may be more uniform on linux, as most readers share libraries (poppler, etc.), but Foxit and Adobe Reader may still differ. Sorry for the somehow bad news, but I'm afraid there is no universal answer. Good luck in your quest. Best regards, Olivier
Re: lmodern pdfs not sharp on-screen
On Wed, Jun 17, 2009 at 6:58 AM, Guenter Milde wrote: >> I am using the latest Lyx and chose lmodern (Latin Modern) as my default fo= >> nt. When I generate pdfs the font looks just not sharp on screen. It prints= >> fine but I want it to look sharp on screen. I hunted through the mailing l= >> ist but could not find a solution (e.g. adding lmodern to the preamble does= >> not help). When I use Times the pdfs look sharp on screen but I would real= >> ly like to keep the Latin Modern or something that looks like it. >> Any suggestions? > > Latin Modern is not "screen optimized" but designed for print. > > Have a look at the PDF examples in the TeX Font Catalogue and select a font > that suits your needs. > > http://www.tug.dk/FontCatalogue/ If you are on Linux, then use Okular as the pdf viewer. Latin Modern looks great on Okular. Paul
Re: lmodern pdfs not sharp on-screen
On 2009-06-17, Barankay, Iwan wrote: > I am using the latest Lyx and chose lmodern (Latin Modern) as my default fo= > nt. When I generate pdfs the font looks just not sharp on screen. It prints= > fine but I want it to look sharp on screen. I hunted through the mailing l= > ist but could not find a solution (e.g. adding lmodern to the preamble does= > not help). When I use Times the pdfs look sharp on screen but I would real= > ly like to keep the Latin Modern or something that looks like it. > Any suggestions? Latin Modern is not "screen optimized" but designed for print. Have a look at the PDF examples in the TeX Font Catalogue and select a font that suits your needs. http://www.tug.dk/FontCatalogue/ Günter
lmodern pdfs not sharp on-screen
Hi, I am using the latest Lyx and chose lmodern (Latin Modern) as my default font. When I generate pdfs the font looks just not sharp on screen. It prints fine but I want it to look sharp on screen. I hunted through the mailing list but could not find a solution (e.g. adding lmodern to the preamble does not help). When I use Times the pdfs look sharp on screen but I would really like to keep the Latin Modern or something that looks like it. Any suggestions? Thanks, Iwan
Re: lmodern, ae and missing fonts
On Friday 17 of June 2005 18:01, Martijn Brouwer wrote: > Which means that lm fonts are fine as long you only use a few > common font sizes, I assume. It is OK to use them for whatever -- extrapolation of the sizes not covered directly by the fonts is done by lmodern.sty (which is what you load with \usepackage{lmodern}) and by browsing through the list of files in lmodern package (dpkg -L lmodern on Debian) it seems that still you get much more fonts then with your average fonts (and possibly still more or at least the same number as with Adobe Professional fonts). Best, Matej -- Matej Cepl, http://www.ceplovi.cz/matej/blog/ GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 He uses statistics as a drunken man uses lamp-posts... for support, rather than illumination. -- Andrew Lang
Re: lmodern, ae and missing fonts
Martijn Brouwer wrote: > As far as I know type1 fonts (such as lmodern) scale just by multiplying > the width and height by the same factor. The CM and EC fonts are scaled > more subtle depending on the size. I assume that the lmodern fonts > look the same as EC modern at all font sizes. How doest that work? You are right, that expressibe abilities of Metafont are much bigger than Type1's. Therefore there are two options how to create Type1 fonts emulating Computer Modern fonts -- either just to select some most used size of tons (which is I assume what lmodern does), or to generate A LOT of Type1 fonts. There IS the font which does the latter <http://www.ctan.org/tex-archive/help/Catalogue/entries/cm-super.html>, but the result is that fonts itself is huge (whole tarball with many thousands fonts has over 70MB) and the resulting documents (if you use many fonts) are big as well. Matej -- Matej Cepl, http://www.ceplovi.cz/matej GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 He has never been known to use a word that might send a reader to the dictionary. -- William Faulkner (about Ernest Hemingway)
Re: lmodern, ae and missing fonts
Although my thesis looks nice now with only type 1 fonts, I have few more questions. Just for curiosity. As far as I know type1 fonts (such as lmodern) scale just by multiplying the width and height by the same factor. The CM and EC fonts are scaled more subtle depending on the size. I assume that the lmodern fonts look the same as EC modern at all font sizes. How doest that work? Second one. Do the lmfonts completely cover the EC fonts? From what I have read, the EC fonts cover many different fonts. Is this also true for the lmfonts? I have a colleague who is also writing his thesis. He uses T1 encoding and the ae package, which means that he has scalable computer modern fonts. However, when he switches off the ae package, he still has computer modern fonts, even though he uses T1 encoding. This surprises me, since I understood that when you use T1, latex uses the EC fonts. Is this some special trick of MikTeX? bye, Martijn Brouwer Martijn Brouwer wrote: Hi, I have finished my PhD thesis (Many thanks to all contributers to LyX). When I went with my postscript file to the printer we found that the resolution of the fonts was too small. It turned out that I had the standard EC bitmap fonts with a resolution of 600dpi. After a day playing with latex and dvips I have now five versions of my thesis: 1) With low resolution bitmap fonts 2) With higher resolution bitmap fonts (by defining another printer for dvips) 3) With scalable CM (bluesky) fonts. For this I had to swith off T1 encoding 4) With scalable CM fonts and T1 encoding using the ae package 5) With scalable lmodern fonts I have a few questions: With Version 3-5, I cannot use large, bold, smallcaps font. Latex uses the default font instead. I have worked around it by switching to large small caps. Is there a way to get this combination of font attributes? - Am I correct when I say that lmodern is to EC fonts what bluesky is to CM? - Why is ae considered bad? Because it is a pseudofont that performs tricks to make accented glyphs? I have concluded that lmfonts are the way to go. I only found this after nearly a day searching internet, an experimentning. I think that LyX should automatically load lmodern whan T1 encoding is used and the fonts are available. Bye, Martijn Brouwer
lmodern, ae and missing fonts
Hi, I have finished my PhD thesis (Many thanks to all contributers to LyX). When I went with my postscript file to the printer we found that the resolution of the fonts was too small. It turned out that I had the standard EC bitmap fonts with a resolution of 600dpi. After a day playing with latex and dvips I have now five versions of my thesis: 1) With low resolution bitmap fonts 2) With higher resolution bitmap fonts (by defining another printer for dvips) 3) With scalable CM (bluesky) fonts. For this I had to swith off T1 encoding 4) With scalable CM fonts and T1 encoding using the ae package 5) With scalable lmodern fonts I have a few questions: With Version 3-5, I cannot use large, bold, smallcaps font. Latex uses the default font instead. I have worked around it by switching to large small caps. Is there a way to get this combination of font attributes? - Am I correct when I say that lmodern is to EC fonts what bluesky is to CM? - Why is ae considered bad? Because it is a pseudofont that performs tricks to make accented glyphs? I have concluded that lmfonts are the way to go. I only found this after nearly a day searching internet, an experimentning. I think that LyX should automatically load lmodern whan T1 encoding is used and the fonts are available. Bye, Martijn Brouwer
Re: lmodern problems of Fedora Core 3
Angus Leeming wrote: > > Try > > updmap --disable lm.map > > texhash > > updmap --enable lm.map updmap --enable Map lm.map > > Good idea. I'll try it this evening. (Home machine.) If it fails, try and post a question to comp.text.tex. Good luck, Jürgen
Re: lmodern problems of Fedora Core 3
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> I followed them exactly. No joy. >> >> $ cat updates.dat >> Main version number: teTeX-2.0 >> $ updmap --enable Map lm.map >> using config file /usr/share/texmf/web2c/updmap.cfg >> /usr/share/texmf/web2c/updmap.cfg unchanged. Map files not recreated. > > Hmm, difficult. Are all the files where they should be? Yes. > did you run texhash before the updmap script? Yes. > did you get any error or warning messages? >From texhash? No. From updmap? Just the warning you see above. > Try > updmap --disable lm.map > texhash > updmap --enable lm.map Good idea. I'll try it this evening. (Home machine.) -- Angus
Re: lmodern problems of Fedora Core 3
Angus Leeming wrote: > I followed them exactly. No joy. > > $ cat updates.dat > Main version number: teTeX-2.0 > $ updmap --enable Map lm.map > using config file /usr/share/texmf/web2c/updmap.cfg > /usr/share/texmf/web2c/updmap.cfg unchanged. Map files not recreated. Hmm, difficult. Are all the files where they should be? did you run texhash before the updmap script? did you get any error or warning messages? Try updmap --disable lm.map texhash updmap --enable lm.map Jürgen
Re: lmodern problems of Fedora Core 3
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> I'm no font guru, so I'd value some advice on how to get lmodern working >> on this box. > > Did you follow the instructions given here? > http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts I followed them exactly. No joy. $ cat updates.dat Main version number: teTeX-2.0 $ updmap --enable Map lm.map using config file /usr/share/texmf/web2c/updmap.cfg /usr/share/texmf/web2c/updmap.cfg unchanged. Map files not recreated. -- Angus
Re: lmodern problems of Fedora Core 3
Angus Leeming wrote: > I'm no font guru, so I'd value some advice on how to get lmodern working on > this box. Did you follow the instructions given here? http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts Jürgen
Re: lmodern problems of Fedora Core 3
Angus Leeming wrote: > Eg, diffusion appears as di?usion. That's meant to be an oe ligature, not a ? character. -- Angus
lmodern problems of Fedora Core 3
I'm having real problems using lmodern.sty on Fedora Core 3. Attached is a sample .tex file and resulting .dvi and .ps output. $ xdvi trial kpathsea: Running mktexpk --mfmode cx --bdpi 300 --mag 1+0/300 --dpi 300 cork-lmr10 mktexpk: don't know how to create bitmap font for cork-lmr10. kpathsea: Appending font creation commands to missfont.log. xdvi: Can't find font cork-lmr10; using Type1 version of cmr10 instead. $ dvips trial This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2005.05.21:1841' -> trial.ps kpathsea: Running mktexpk --mfmode ljfzzz --bdpi 1200 --mag 1+0/1200 --dpi 1200cork-lmr10 mktexpk: don't know how to create bitmap font for cork-lmr10. kpathsea: Appending font creation commands to missfont.log. dvips: Font cork-lmr10 not found, characters will be left blank. . [1] I've just downloaded the latest and greatest lm from ctan (tex/latex/lm, fonts/{afm,tfm,type1}/public/lm but the output is unchanged. Eg, diffusion appears as di?usion. I'm no font guru, so I'd value some advice on how to get lmodern working on this box. -- Angus trial.dvi Description: TeX dvi file trial.ps Description: PostScript document \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{lmodern} \usepackage{babel} \begin{document} lmodern output on Fedora Core 3 has real problems with ligatures. E.g., diffusion. See the mess it makes of 2001--2002 and of --- shock horror! \end{document}
Re: lmodern, aka "lost in font land"
Angus Leeming wrote: > Herbert Voss wrote: >> there is a good FAQ, maintained by Robin Fairbains of the UK TeX >> users group ;-) >> >> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts > > Good man! It went like a breeze. Thanks again. -- Angus
Re: lmodern, aka "lost in font land"
Herbert Voss wrote: > there is a good FAQ, maintained by Robin Fairbains of the UK TeX > users group ;-) > > http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts Good man! > I would suggest to install the TeX-Live, then everything > is well installed. > > http://TeXnik.de/texlive.phtml Oh, but that's just giving up ;-) -- Angus
Re: lmodern, aka "lost in font land"
Angus Leeming wrote: But, basically, I'm clueless. Can someone kind show me the way forward? there is a good FAQ, maintained by Robin Fairbains of the UK TeX users group ;-) http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts I would suggest to install the TeX-Live, then everything is well installed. http://TeXnik.de/texlive.phtml Herbert
lmodern, aka "lost in font land"
Let's not presume that I know what to do with these files: - The Latin Modern fonts can be freely used and distributed under the GNU Public Licence (see http://www.opensource.org/licenses/gpl-license.php). The fonts, as compared to the CM family, contain a lot of additional characters, mainly accented ones, but not only. The list of fonts and characters available so far can be found at the end of this file. The package consists of the files in the directories conforming to the TeX Directory Structure: doc/ this info plus LaTeX examples (test files); dvips/support files for dvips (enc, .map); fonts/font files (.afm, .tfm, .pfm and .pfb); tex/ the relevant LaTeX support files (very many thanks to Daniel Flippo and Marcin Woli\'nski). There is one set of PostScript fonts and four sets of TeX Font Metric files, corresponding to: -- Cork encoding (cork-*.tfm), -- QX encoding (qx-*.tfm), -- TeX'n'ANSI aka LY1 encoding (texnansi-*.tfm), and -- Text Companion for EC fonts aka TS1 (ts1-*.tfm). It is presumed that a potential user knows what to do with all these files. - I'm running Fedora Core 1 here. I've grabbed lmodern_0.92.orig.tar.gz (paradoxically from http://packages.qa.debian.org/l/lmodern.html). It's 6.1MB in size. It unpacks to: lm/fonts/type1/public/lm/*.pf[bm] lm/fonts/afm/public/lm/*.afm.gz lm/fonts/tfm/public/lm/*.tfm lm/dvips/lm/*.(enc,map} lm/doc/fonts/lm/[the docs above and some 'test' docs.] lm/tex/latex/lm/lmodern.sty, *.fd I can shove lm/tex/latex/lm/lmodern.sty into my texmf tree and run texhash, but I've no real idea what to do with the font files, or indeed, with the files in lm/dvips/lm. I see that I have a bunch of .afm fonts here: /usr/share/fonts/afms/adobe together with this: /usr/share/fonts/afms/fonts.cache-1 which suggests that I should be updating some database or other. Who? What? How? I also find a bunch of .pfb fonts in subdirectories starting here: /usr/share/texmf/fonts/type1/public /usr/share/fonts/default/Type1/ But, basically, I'm clueless. Can someone kind show me the way forward? -- Angus
Re: install lmodern fonts
John O'Gorman wrote: > Where do you find the instructions for installing lmodern fonts? > I use teTeX under Linux. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts Regards, Jürgen.
install lmodern fonts
Where do you find the instructions for installing lmodern fonts? I use teTeX under Linux. John O'Gorman