2

I have some trouble using \usepackage[T1]{fontenc}: \textsf text is no longer sans-serif. For instance,

{\Huge\textsf{\bfseries SOME TEXT some text}} 

becomes

enter image description here

instead of the usual

enter image description here

I suppose there is something wrong between packages, but I cannot find the problem. What should be done to recover the usual sans-serif text? Any idea is welcome.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
Jjm
  • 237
  • 1
    Please show us a compilable code we can copy and test on our computer. Then we can help you. Thanks. – Mensch Feb 10 '15 at 17:55
  • 1
    Seems that you are using the cm-super fonts. Did you introduce the line \usepackage[T1]{fontenc} somewhere in your code? If it's the case, comment it out, or add \usepackage{lmodern}if you want to stick to the T1 font encoding. – Franck Pastor Feb 10 '15 at 17:57
  • 1
    Do you have the usual suspects included? cmsuper or lmodern? – Johannes_B Feb 10 '15 at 17:57
  • I have seen the duplicate of karlkoeller. The first possibility of adding \usepackage{lmodern} has lead to some horrible phenomena in the formulas (changed symbols, I had never seen something like this). The second possibility, however, to use \usepackage{fix-cm}, has worked perfectly. Thank you very much to all four of you. – Jjm Feb 10 '15 at 18:13
  • 1
    just a quibble ... the changed text is still sans serif. it just isn't bold. – barbara beeton Feb 10 '15 at 19:30

0 Answers0