LaTeX forum ⇒ 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)
buster
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

A E F and T sized differently in lmodern pacakge?

Postby buster » Wed Dec 22, 2010 8:02 pm

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

  1. \documentclass[11pt,a4paper,english]{report}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[latin1]{inputenc}
  4. \usepackage{babel}
  5. \usepackage{chapterbib}
  6. \usepackage{lmodern}
  7. \usepackage{blindtext}
  8. \usepackage{amsmath}
  9. \usepackage{graphicx}
  10. \usepackage{xcolor}
  11. \usepackage{setspace}
  12.  
  13. \begin{document}
  14. \include{chap}
  15. \end{document}


the code for chap is just

  1. \chapter{Introduction}
  2. ABCDEFGHIJKLMNOPQRSTUVWXYZ


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!)

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
Location: Amherst, MA

Postby frabjous » Wed Dec 22, 2010 9:30 pm

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 2875 times

Link:
BBcode:
HTML:
Hide post links
Show post links

buster
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

Postby buster » Thu Dec 23, 2010 12:18 am

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

  1. This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=pdflatex 2010.12.22) 22 DEC 2010 21:57
  2. entering extended mode
  3. **C:/Users/Dave/Desktop/Uni*home/mwe/test.tex
  4. ("C:/Users/Dave/Desktop/Uni home/mwe/test.tex"
  5. LaTeX2e <2009/09/24>
  6. Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
  7. rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
  8. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\report.cls"
  9. Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
  10. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\size11.clo"
  11. File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  12. )
  13. \c@part=\count79
  14. \c@chapter=\count80
  15. \c@section=\count81
  16. \c@subsection=\count82
  17. \c@subsubsection=\count83
  18. \c@paragraph=\count84
  19. \c@subparagraph=\count85
  20. \c@figure=\count86
  21. \c@table=\count87
  22. \abovecaptionskip=\skip41
  23. \belowcaptionskip=\skip42
  24. \bibindent=\dimen102
  25. )
  26. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\fontenc.sty"
  27. Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
  28.  
  29. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\t1enc.def"
  30. File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
  31. LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
  32. ))
  33. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\inputenc.sty"
  34. Package: inputenc 2008/03/30 v1.1d Input encoding file
  35. \inpenc@prehook=\toks14
  36. \inpenc@posthook=\toks15
  37.  
  38. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\latin1.def"
  39. File: latin1.def 2008/03/30 v1.1d Input encoding file
  40. ))
  41. ("C:\Program Files\MiKTeX 2.8\tex\generic\babel\babel.sty"
  42. Package: babel 2008/07/06 v3.8l The Babel package
  43.  
  44. *************************************
  45. * Local config file bblopts.cfg used
  46. *
  47. ("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\bblopts.cfg"
  48. File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
  49. )
  50. ("C:\Program Files\MiKTeX 2.8\tex\generic\babel\english.ldf"
  51. Language: english 2005/03/30 v3.3o English support from the babel system
  52.  
  53. ("C:\Program Files\MiKTeX 2.8\tex\generic\babel\babel.def"
  54. File: babel.def 2008/07/06 v3.8l Babel common definitions
  55. \babel@savecnt=\count88
  56. \U@D=\dimen103
  57. )
  58. \l@canadian = a dialect from \language\l@american
  59. \l@australian = a dialect from \language\l@british
  60. \l@newzealand = a dialect from \language\l@british
  61. ))
  62. (C:\Users\Dave\AppData\Roaming\MiKTeX\2.8\tex\latex\cite\chapterbib.sty
  63. \c@inputfile=\count89
  64. Package: chapterbib 2010/09/18 v 1.17
  65. )
  66. ("C:\Program Files\MiKTeX 2.8\tex\latex\lm\lmodern.sty"
  67. Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
  68. LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
  69. (Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
  70. LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
  71. (Font) OML/cmm/m/it --> OML/lmm/m/it on input line 23.
  72. LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
  73. (Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
  74. LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
  75. (Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
  76. LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
  77. (Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
  78. LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
  79. (Font) OML/cmm/b/it --> OML/lmm/b/it on input line 27.
  80. LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
  81. (Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
  82. LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
  83. (Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
  84. LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
  85. (Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
  86. LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
  87. (Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
  88. LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
  89. (Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
  90. LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
  91. (Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
  92. LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
  93. (Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
  94. LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
  95. (Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
  96. LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
  97. (Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
  98. LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
  99. (Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
  100. )
  101. (C:\Users\Dave\AppData\Roaming\MiKTeX\2.8\tex\latex\blindtext\blindtext.sty
  102. Package: blindtext 2009/12/29 V1.9c blindtext-Package
  103.  
  104. ("C:\Program Files\MiKTeX 2.8\tex\latex\tools\xspace.sty"
  105. Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
  106. )
  107. \c@blindtext=\count90
  108. \c@Blindtext=\count91
  109. \blind@countxx=\count92
  110. \blindtext@numBlindtext=\count93
  111. \blind@countyy=\count94
  112. \c@blindlist=\count95
  113. \c@blindlistlevel=\count96
  114. \c@blindlist@level=\count97
  115. \blind@listitem=\count98
  116. \c@blind@listcount=\count99
  117. \c@blind@levelcount=\count100
  118. \blind@mathformula=\count101
  119. \blind@Mathformula=\count102
  120. )
  121. ("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsmath.sty"
  122. Package: amsmath 2000/07/18 v2.13 AMS math features
  123. \@mathmargin=\skip43
  124.  
  125. For additional information on amsmath, use the `?' option.
  126. ("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amstext.sty"
  127. Package: amstext 2000/06/29 v2.01
  128.  
  129. ("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsgen.sty"
  130. File: amsgen.sty 1999/11/30 v2.0
  131. \@emptytoks=\toks16
  132. \ex@=\dimen104
  133. ))
  134. ("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsbsy.sty"
  135. Package: amsbsy 1999/11/29 v1.2d
  136. \pmbraise@=\dimen105
  137. )
  138. ("C:\Program Files\MiKTeX 2.8\tex\latex\ams\math\amsopn.sty"
  139. Package: amsopn 1999/12/14 v2.01 operator names
  140. )
  141. \inf@bad=\count103
  142. LaTeX Info: Redefining \frac on input line 211.
  143. \uproot@=\count104
  144. \leftroot@=\count105
  145. LaTeX Info: Redefining \overline on input line 307.
  146. \classnum@=\count106
  147. \DOTSCASE@=\count107
  148. LaTeX Info: Redefining \ldots on input line 379.
  149. LaTeX Info: Redefining \dots on input line 382.
  150. LaTeX Info: Redefining \cdots on input line 467.
  151. \Mathstrutbox@=\box26
  152. \strutbox@=\box27
  153. \big@size=\dimen106
  154. LaTeX Font Info: Redeclaring font encoding OML on input line 567.
  155. LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
  156. \macc@depth=\count108
  157. \c@MaxMatrixCols=\count109
  158. \dotsspace@=\muskip10
  159. \c@parentequation=\count110
  160. \dspbrk@lvl=\count111
  161. \tag@help=\toks17
  162. \row@=\count112
  163. \column@=\count113
  164. \maxfields@=\count114
  165. \andhelp@=\toks18
  166. \eqnshift@=\dimen107
  167. \alignsep@=\dimen108
  168. \tagshift@=\dimen109
  169. \tagwidth@=\dimen110
  170. \totwidth@=\dimen111
  171. \lineht@=\dimen112
  172. \@envbody=\toks19
  173. \multlinegap=\skip44
  174. \multlinetaggap=\skip45
  175. \mathdisplay@stack=\toks20
  176. LaTeX Info: Redefining \[ on input line 2666.
  177. LaTeX Info: Redefining \] on input line 2667.
  178. )
  179. ("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\graphicx.sty"
  180. Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  181.  
  182. ("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\keyval.sty"
  183. Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
  184. \KV@toks@=\toks21
  185. )
  186. ("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\graphics.sty"
  187. Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  188.  
  189. ("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\trig.sty"
  190. Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
  191. )
  192. ("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\graphics.cfg"
  193. File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  194. )
  195. Package graphics Info: Driver file: pdftex.def on input line 91.
  196.  
  197. ("C:\Program Files\MiKTeX 2.8\tex\latex\pdftex-def\pdftex.def"
  198. File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
  199. \Gread@gobject=\count115
  200. ))
  201. \Gin@req@height=\dimen113
  202. \Gin@req@width=\dimen114
  203. )
  204. (C:\Users\Dave\AppData\Roaming\MiKTeX\2.8\tex\latex\xcolor\xcolor.sty
  205. Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
  206.  
  207. ("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\color.cfg"
  208. File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  209. )
  210. Package xcolor Info: Driver file: pdftex.def on input line 225.
  211. Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
  212. Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
  213. Package xcolor Info: Model `RGB' extended on input line 1353.
  214. Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
  215. Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
  216. Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
  217. Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
  218. Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
  219. Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
  220. )
  221. (C:\Users\Dave\AppData\Roaming\MiKTeX\2.8\tex\latex\setspace\setspace.sty
  222. Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package
  223.  
  224. Package: `setspace' 6.7 <2000/12/01>
  225. ) ("C:\Users\Dave\Desktop\Uni home\mwe\test.aux"
  226. ("C:\Users\Dave\Desktop\Uni home\mwe\chap.aux"))
  227. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 15.
  228. LaTeX Font Info: ... okay on input line 15.
  229. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 15.
  230. LaTeX Font Info: ... okay on input line 15.
  231. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 15.
  232. LaTeX Font Info: ... okay on input line 15.
  233. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 15.
  234. LaTeX Font Info: ... okay on input line 15.
  235. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 15.
  236. LaTeX Font Info: ... okay on input line 15.
  237. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 15.
  238. LaTeX Font Info: ... okay on input line 15.
  239. LaTeX Font Info: Try loading font information for T1+lmr on input line 15.
  240.  
  241. ("C:\Program Files\MiKTeX 2.8\tex\latex\lm\t1lmr.fd"
  242. File: t1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
  243. )
  244. ("C:\Program Files\MiKTeX 2.8\tex\context\base\supp-pdf.tex"
  245. [Loading MPS to PDF converter (version 2006.09.02).]
  246. \scratchcounter=\count116
  247. \scratchdimen=\dimen115
  248. \scratchbox=\box28
  249. \nofMPsegments=\count117
  250. \nofMParguments=\count118
  251. \everyMPshowfont=\toks22
  252. \MPscratchCnt=\count119
  253. \MPscratchDim=\dimen116
  254. \MPnumerator=\count120
  255. \everyMPtoPDFconversion=\toks23
  256. ) ("C:\Users\Dave\Desktop\Uni home\mwe\chap.tex"
  257. Chapter 1.
  258. ) [1
  259.  
  260.  
  261.  
  262.  
  263. {C:/Users/Dave/AppData/Local/MiKTeX/2.8/pdftex/config/pdftex.map}]
  264. ("C:\Users\Dave\Desktop\Uni home\mwe\test.aux"
  265. ("C:\Users\Dave\Desktop\Uni home\mwe\chap.aux"))
  266.  
  267. *File List*
  268. report.cls 2007/10/19 v1.4h Standard LaTeX document class
  269. size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  270. fontenc.sty
  271. t1enc.def 2005/09/27 v1.99g Standard LaTeX file
  272. inputenc.sty 2008/03/30 v1.1d Input encoding file
  273. latin1.def 2008/03/30 v1.1d Input encoding file
  274. babel.sty 2008/07/06 v3.8l The Babel package
  275. bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
  276. english.ldf 2005/03/30 v3.3o English support from the babel system
  277. chapterbib.sty 2010/09/18 v 1.17
  278. lmodern.sty 2009/10/30 v1.6 Latin Modern Fonts
  279. blindtext.sty 2009/12/29 V1.9c blindtext-Package
  280. xspace.sty 2006/05/08 v1.12 Space after command names (DPC,MH)
  281. amsmath.sty 2000/07/18 v2.13 AMS math features
  282. amstext.sty 2000/06/29 v2.01
  283. amsgen.sty 1999/11/30 v2.0
  284. amsbsy.sty 1999/11/29 v1.2d
  285. amsopn.sty 1999/12/14 v2.01 operator names
  286. graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  287. keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
  288. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  289. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  290. graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  291. pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
  292. xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
  293. color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  294. setspace.sty 2000/12/01 6.7 Contributed and Supported LaTeX2e package
  295. t1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
  296. supp-pdf.tex
  297. chap.tex
  298. ***********
  299.  
  300. )
  301. Here is how much of TeX's memory you used:
  302. 2813 strings out of 495285
  303. 34696 string characters out of 3180396
  304. 96305 words of memory out of 3000000
  305. 5993 multiletter control sequences out of 15000+200000
  306. 16710 words of font info for 20 fonts, out of 3000000 for 9000
  307. 14 hyphenation exceptions out of 8191
  308. 27i,5n,35p,259b,131s stack positions out of 5000i,500n,10000p,200000b,50000s
  309. {C:/Program Files/MiKTeX 2.8/fonts/enc/dvips/lm/lm-ec.enc}<C:/Program Files/M
  310. iKTeX 2.8/fonts/type1/public/lm/lmbx12.pfb><C:/Program Files/MiKTeX 2.8/fonts/t
  311. ype1/public/lm/lmr10.pfb>
  312. Output written on test.pdf (1 page, 51225 bytes).
  313. PDF statistics:
  314. 15 PDF objects out of 1000 (max. 8388607)
  315. 0 named destinations out of 1000 (max. 500000)
  316. 1 words of extra memory for PDF output out of 10000 (max. 10000000)

Link:
BBcode:
HTML:
Hide post links
Show post links

buster
Posts: 19
Joined: Thu Mar 04, 2010 5:49 pm

Postby buster » Wed Mar 02, 2011 6:25 pm

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.jpg
200% zoom
200.jpg (7.58 KiB) Viewed 2786 times


the bold E is not affected, the other is
177.jpg
177% zoom
177.jpg (7.05 KiB) Viewed 2786 times


both are affected here
150.jpg
150% zoom
150.jpg (5.81 KiB) Viewed 2786 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.

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 1 guest