At one point I did something to Miktex, the result is miss aligned letters. At least that is my impression. I have two example photos:
and
. The first photo: to my eyes H is lower than C and O beside it. The second: v letter is under r. They look wrong. Any document that I write is full of similar misaligned letters. What have I done!
Asked
Active
Viewed 299 times
3
Steven B. Segletes
- 237,551
Bezdomnyi
- 31
1 Answers
2
\documentclass[border=12pt]{standalone}
\begin{document}
Testing
\end{document}
Add just \usepackage[T1]{fontenc}:
While T1 encoding gives one access to a wider range of font glyphs, the problem here is that LaTeX's default font (computer modern) is designed only for the older OT1 encoding. When one switches to T1 encoding, a bitmap version is constructed and used. The remedy is to use a font that was designed for T1 encoding. The lmodern font is a version of computer modern, specifically designed for T1 encoding.
Therefore, also add \usepackage{lmodern}:
Steven B. Segletes
- 237,551
-
I don't get your results (bitmap font) with
\usepackage[T1]{fontenc}, if I compile withpdflatex. Nor do I get it withlatexfollowed by either viewing the DVI file (in Skim), ordvips+ viewing the PS , ordvipdfmx+ viewing the PDF. How can you get bitmap fonts? :-) – ShreevatsaR Sep 19 '17 at 18:39 -
Oh but I use TeX Live on Mac, not MikTeX, so perhaps the config is different on Windows. Nevermind. – ShreevatsaR Sep 19 '17 at 18:45
-
Something is wrong with your setup if you have no type1 versions of T1 cmr – David Carlisle Sep 19 '17 at 19:42
-
If bitmaps are used with T1-encoding then you either don't have the cm-super package installed, or you have a quite all tex. – Ulrike Fischer Sep 19 '17 at 20:58
-
@DavidCarlisle I have never known it to behave differently in all the years I have been TeXing. – Steven B. Segletes Sep 19 '17 at 22:27
-
@UlrikeFischer Must be a MikTeX default, because it has always been that way, as I said to David. – Steven B. Segletes Sep 19 '17 at 22:28
-
@StevenB.Segletes it's also the default in a full texlive install – David Carlisle Sep 19 '17 at 22:36



\usepackage[T1]{fontenc}without also doing a\usepackage{lmodern}maybe? – Steven B. Segletes Sep 19 '17 at 18:11