Fonts & Character SetsA E F and T sized differently in lmodern pacakge?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
buster
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

A E F and T sized differently in lmodern pacakge?

Post by buster »

I noticed today that some uppercase letters are slightly smaller than the rest. The A, E, F and T are all slightly smaller in my pdf document. This looks quite bad, but I have no idea what is causing it.
The only change I have made was to add the mhchem package. After removing it I was still getting the same problem. So I did a MWE, without the mhchem package, which I have copied below

Code: Select all

Code, edit and compile here:
\documentclass[11pt,a4paper,english]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{chapterbib}
\usepackage{lmodern}
\usepackage{blindtext}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{setspace}
\begin{document}
\include{chap}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
the code for chap is just

Code: Select all

Code, edit and compile here:
\chapter{Introduction}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
the AEF and T are all still slightly smaller. I took away all the other packages one by one to see if there was any change.

Removing the lmodern package returned the font to what I assume is a default font? This is evenly sized, but doesn't look as good and appears faded in the pdf (although is not faded when printed)
Is the lmodern package supposed to look like that? If not, can I correct it? and if so, can anyone recommend an alternative font? (apparently I have terrible taste!)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

A E F and T sized differently in lmodern pacakge?

Post by frabjous »

Could you add \listfiles to the beginning your document and compile, and post both the .log file and output .pdf here?

The lmodern (Latin Modern) and default (Computer Modern) fonts are very hard for me to tell apart. And even with lmodern, I don't see the problem you see. I hope it's not my eyesight:
lmodern.png
lmodern.png (5.53 KiB) Viewed 17936 times
buster
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

A E F and T sized differently in lmodern pacakge?

Post by buster »

i was just about to post a lot of what was below. having restarted my computer (again) i went to reprint lmodern v computer modern to see exactly what else was different and it's now all normal. i'll leave what i wrote below in case anyone else has this weird problem but it looks like it was just my computer needing a restart.

Thanks very much for your help!

(edit: the worst part was my head kept rearranging those letters to spell out fate)

[when i print it out using the default font (computer modern) it looks mostly similar other than the aforementioned letters. though the pdf on screen looks very different. aside from those letters the spacing looks different, (the title pages especially) and it appears to be more faded, but that is just on screen where its hard to read.

i put \listfiles after the packages and before the \document
i hope that's the right place?

can't find a way to copy the output part from latex - is there a way to do this? i cant even copy one line at a time.
there are no errors or warnings and this does appear
lmodern.sty 2009/10/30 v1.6 Latin Modern Fonts

the log file is quoted below

any help very much appreciated

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=pdflatex 2010.12.22) 22 DEC 2010 21:57
entering extended mode
**C:/Users/Dave/Desktop/Uni*home/mwe/test.tex
("C:/Users/Dave/Desktop/Uni home/mwe/test.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("C:\Program Files\MiKTeX 2.8\tex\latex\base\report.cls"
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.8\tex\latex\base\size11.clo"
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.8\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
("C:\Program Files\MiKTeX 2.8\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
("C:\Program Files\MiKTeX 2.8\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files\MiKTeX 2.8\tex\latex\base\latin1.def"
File: latin1.def 2008/03/30 v1.1d Input encoding file
))
("C:\Program Files\MiKTeX 2.8\tex\generic\babel\babel.sty"
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
buster
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

A E F and T sized differently in lmodern pacakge?

Post by buster »

so this happened again (apart from A's now being fine) and upon more investigation it seems the letters appear to change depending on the zoom applied in the pdf reader (adobe)
eg
only the bold E is affected here
200% zoom
200% zoom
200.jpg (7.58 KiB) Viewed 17847 times
the bold E is not affected, the other is
177% zoom
177% zoom
177.jpg (7.05 KiB) Viewed 17847 times
both are affected here
150% zoom
150% zoom
150.jpg (5.81 KiB) Viewed 17847 times
at >=300% its fine
at 100% it's fine
at 75% it's not

this is completely harmless as it prints out fine, though it does really annoy me when i look at it. just thought i'd post in case it drove anyone else to distraction.

SERENITY NOW.
Post Reply