tex >> Latin Modern fonts - won't scale?

by ricky » Wed, 31 Oct 2007 01:19:55 GMT

I am having two (unrelated?) problems with the latin modern fonts.

1. The integral and summation signs will not scale. For example, the
\LARGE command seems to have no effect.

2. tex4ht does not properly render math text. For example, $f(x)$
displays as f(x) instead of something like <em>f(x)</em>.

I'm running the latest updated version of MiKTeX version 2.6 and
tex4ht on a windows 2003 machine. The problem with tex4ht seems to be
more recent.

thanks
ricky



tex >> Latin Modern fonts - won't scale?

by JosCarlos Santos » Wed, 31 Oct 2007 01:56:50 GMT






Read the FAQ:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=exscale

Best regards,

Jose Carlos Santos



tex >> Latin Modern fonts - won't scale?

by Enrico Gregorio » Wed, 31 Oct 2007 04:33:06 GMT





\usepackage{exscale}


Not using it, sorry.

Ciao
Enrico


Latin Modern fonts - won't scale?

by corff » Wed, 31 Oct 2007 04:59:00 GMT



: I am having two (unrelated?) problems with the latin modern fonts.

: 1. The integral and summation signs will not scale. For example, the
: \LARGE command seems to have no effect.

My example text:
\documentclass{minimal}
\begin{document}
\LARGE LARGE
\end{document}

! Undefined control sequence.
l.3 \LARGE
LARGE

No wonder it has no effect.

Oliver.

--
Dr. Oliver Corff e-mail: XXXX@XXXXX.COM


Latin Modern fonts - won't scale?

by Uwe Siart » Wed, 31 Oct 2007 14:12:38 GMT

< XXXX@XXXXX.COM > writes:


You ran into a trap here. Use some other document class.

--
Uwe


Latin Modern fonts - won't scale?

by corff » Wed, 31 Oct 2007 14:32:14 GMT



: < XXXX@XXXXX.COM > writes:

: > \documentclass{minimal}
: >
: > ! Undefined control sequence.
: > l.3 \LARGE
: > LARGE

: You ran into a trap here. Use some other document class.

Oops. Quelle gaffe.

Oliver.

--
Dr. Oliver Corff e-mail: XXXX@XXXXX.COM


Latin Modern fonts - won't scale?

by Szabolcs Horv » Wed, 31 Oct 2007 15:27:41 GMT



>

Though there might be some other solution, I simply use the default
fonts when compiling to html. This solves the <em>f(x)</em> problem.

See
http://groups.google.com/group/comp.text.tex/browse_thread/thread/4d3f31524f16771d/bbe882c1bfcdf595 #bbe882c1bfcdf595
for including portions of the document conditionally (in this case, the
lmodern package).


Latin Modern fonts - won't scale?

by ricky » Fri, 02 Nov 2007 00:11:59 GMT



>> >>>> 1. The integral and summation signs will not scale. For example, the >>>> \LARGE command seems to have no effect. >> >> Read the FAQ: >> >> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=exscale >> >> Best regards, >> >> Jose Carlos Santos

The computer modern fonts scale just fine (without the exscale
package). It's the latin modern fonts that exhibit the problem with or
without the exscale package. I've found a workaround but I like the
latin modern fonts so I hoped that some package would scale these as
well?



Latin Modern fonts - won't scale?

by rf10 » Fri, 02 Nov 2007 00:58:06 GMT

ricky < XXXX@XXXXX.COM > writes:



(really?)


you change to cm fonts for maths?

looking at the macros i don't see _why_ this is happening. if i
didn't know the guys who created latin modern, i would suspect
something wrong with metrics ... but that doesn't seem likely.

furthermore, i'm surprised you find exscale doesn't solve the
problem. loaded after lmodern.sty, it switches the extended maths
symbols back to cm, and that works for me.

(i assume your work-around involved switching back to cm for maths.
it would be nice to know, for sure, but of course, that's what exscale
is doing.)
--
Robin Fairbairns, Cambridge


Latin Modern fonts - won't scale?

by ricky » Fri, 02 Nov 2007 21:25:41 GMT






I need the larger fonts for my calculus lectures (I use overheads).
The work-around was to use the pxfonts in these cases.

Now that I've loaded the exscale package after the lmodern fonts, the
scaling works as advertised. Thanks.

I was under the impression that the Latin Modern fonts were true
Postscript fonts in the sense that scaling of these fonts was not (in
general) a problem. I do understand that there are installation issues
to consider but I'm not sure where to look.

regards
ricky



Latin Modern fonts - won't scale?

by Enrico Gregorio » Fri, 02 Nov 2007 22:08:26 GMT






This is the contents of the file omxlmex.fd


\ProvidesFile{omxlmex.fd}[2007/01/14 v1.3 Font defs for Latin Modern]

\DeclareFontFamily{OMX}{lmex}{}
\DeclareFontShape{OMX}{lmex}{m}{n}{%
<->sfixed*lmex10%
}{}
\endinput


No wonder that it does not scale. Moreover, the font lmex is available
only at 10 pt and is identical to cmex10. I'd say that the only
solution (although not perfect at big sizes) is to use exscale and the
scalable CM fonts.

Ciao
Enrico


Latin Modern fonts - won't scale?

by rf10 » Fri, 02 Nov 2007 22:43:37 GMT

ricky < XXXX@XXXXX.COM > writes:


good. at least i've helped you past one hurdle ;-)


the cm fonts, in their usual type 1 format, are every bit as scaleable
as are the lm fonts. the problem is the macros to make the system
realise that these fonts should be allowed to scale.

i spent a little time playing with the lm issue, yesterday, but
couldn't work it out. it needs someone who knows the latex code
better, to examine what the lm people have done wrong ... or for me to
have some time (with a clear head at my disposal -- not currently
available) to start from first principles.
--
Robin Fairbairns, Cambridge


Latin Modern fonts - won't scale?

by Dan » Tue, 06 Nov 2007 03:12:36 GMT




The following test document gives me the same results with or without
lmodern:

\documentclass{article}
%\usepackage{lmodern}
\begin{document}
Test {\LARGE $\int_0^1 f(x) \,dx$}
{\LARGE
\begin{equation}
\int_0^1 f(x) \,dx = g(1) - g(0)
\end{equation} }
\end{document}

Amazingly, no one seems to have asked you for
a minimal document.


Dan



Latin Modern fonts - won't scale?

by Dan » Tue, 06 Nov 2007 03:20:24 GMT






And here is the contents of omxcmex.fd
which doesn't scale either:

\DeclareFontFamily{OMX}{cmex}{}
\DeclareFontShape{OMX}{cmex}{m}{n}{%
<->sfixed*cmex10%
}{}
\endinput

The real problem seems to be that if lmodern is loaded after
exscale, some of the font settings are put back the way they
were. Since the OP claimed cm scaled correctly, I assume
he originally used exscale but failed to tell us that.

He also failed to supply a minimal complete nonworking
document


Dan



Latin Modern fonts - won't scale?

by Enrico Gregorio » Tue, 06 Nov 2007 04:31:19 GMT





That's why I said "no wonder". It's well known that the CMEX font
doesn't scale, unless exscale or amsfonts is loaded.

My first answer was to load exscale; it was obvious, in my mind,
that it had to be declared /after/ lmodern, since we want to
override its features.

Ciao
Enrico


Similar Threads

1. Version 1.106 of the Latin Modern family of fonts

2. Latin Modern font

On Fri, 8 Aug 2003, MiKTeX.org wrote:

> Thanks for the suggestion. What do you think are the advantages of the
> Latin Modern fonts compared with cm-super?
>
> Christian Schenk < XXXX@XXXXX.COM >
>


Mainly size, although the new 31 July TeX FAQ describes "its outlines [as]
rather cleaner than those of cm-super." I'm assuming the difference is due
to MetaType1 vs. TeXtrace algorithm.

Until now, the cm-super has been a necessary 65 Mb overkill to get CM
Type1 eth ( and thorn (, both common characters in Icelandic. As is
often the case, there is some overlap in package functionality, but
non-English CM/Type1 enthusiasts like myself can now use:

ae if exotics like eng, eth, and thorn are not needed
lm for a complete T1 set
cm-lgc or cm-super for typesetting in Cyrillic

Below is my attempt to summarize these packages, bearing in mind that my
expertise is fish, not fonts :) I hope the newest packages will soon be
added to to the MiKTeX Package Manager.

Thanks,
Arni Magnusson



=========================
 ae (standard in MiKTeX)
=========================
Description: virtual fonts for already-existing glyphs
Encodings: T1, but missing some
Size: 0.6 Mb


===============================
 cm-super (optional in MiKTeX)
===============================
Description: TeXtraced Latin and Cyrillic glyphs
Encodings: T1, TS1, T2A, T2B, T2C, X2
Size: 65.0 Mb


======================================
 cm-lgc (not available in MiKTeX yet)
======================================
Description: TeXtraced Latin, Greek, and Cyrillic glyphs when needed
Encodings: T1, TS1, T2A, LGR
Size: 14.2 Mb


==================================
 lm (not available in MiKTeX yet)
==================================
Description: MetaType1'd Latin glyphs
Encodings: T1, TS1, LY1
Size: 5.7 Mb

3. latin modern fonts

4. Wishes for the Latin Modern font family

5. Printing problem concerning Latin Modern fonts

6. Latin modern font?

I saw a new font recently uploaded in fonts/ps-type1 and it looks VERY
interesting to me, but the info about it is quite terse.

Can someone shed some light? How are they generated? Are they
automatically traced (a la cm-super)? Or are they manually designed
(and maybe hinted?). What was the starting point for the added glyphs?

Is there some project site from which a sample pdf can be downloaded?

Thanks

-- 
Oscar Lazzarino

7. Using Latin Modern and another font with fontspec?

8. Latin Modern Fonts on MikTeX