Tag Info

New answers tagged

2

The manfnt.map is missing from the MiKTeX distribution, hence the type 1 fonts are not mentioned in dvips.map and friends. What you can do: Create manfnt.map, copying these two lines % Thomas Esser, 1998, public domain. manfnt manfnt <manfnt.pfb Place in a LocalTeXMF (if you don't have one, create one and add it to the list of TeX roots via MiKTeX ...


3

The font is indeed bold, as the following test file shows \documentclass{article} \usepackage[T1]{fontenc} \newcommand{\test}[1]{% normal: {#1test} --- bold: {#1\bfseries test}\par\medskip } \begin{document} \sffamily \test{\normalsize} \test{\large} \test{\Large} \test{\LARGE} \test{\huge} \test{\Huge} \fontencoding{OT1}\selectfont ...


4

They are both using bold but the T1 font is available in more design sizes so is considerably thinner at large size, the OT1 font is only available in 10pt and gets scaled. You can force the T1 font to do the same, just using the 10pt scaled by adding \makeatletter\input{t1cmss.fd}\makeatother \DeclareFontShape{T1}{cmss}{bx}{n}% ...


4

This approach didn't work for me in the bibliography, if you have the same problem simply insert one of the phantom commands: @article{Foo, title = {Hello -\phantom{}- World}, } This will work as desired.


1

The mathastext package may do what you're looking for. The package's user guide states that mathastext's basic aim is to have the same font for text and mathematics. \documentclass{article} \usepackage{mathastext} \begin{document} $x=\gamma*4$ \end{document}


2

As David Carlisle said, it must work with pdflatex as well. Probably you editor uses utf8 by default, and the declared input encoding and the real one must coincide. So declareutf8 encoding and use the Latin Modern fonts (don't load fontenc in that case, since the lmodern package does it for you): \documentclass[12pt,twoside]{report} ...


1

A typical italian preamble may instead be \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} than followed by any \begin{document} Hello \end{document} (first comment by Ian Thompson is definitely right). ...but I am sure that, by today, you've learnt better than me the difference between ...



Top 50 recent answers are included