Text FormattingDouble dash?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
hub
Posts: 12
Joined: Sun Oct 05, 2008 12:25 pm

Re: Double dash?

Post by hub »

The preloaded packages is babel, graphics, lmodern, frontenc, inputenc, theorem, amsmath, amsfonts, amssymb and hypreref according to the documentation.
I dont know which packages thats loading fonts, except amsfonts.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Double dash?

Post by phi »

The Computer Modern and the Latin Modern fonts (loaded by lmodern) indeed exhibit this behavior when used with T1 encoding, unlike the default OT1 encoding. Here is a discussion alongside a good solution that uses the microtype package:
http://groups.google.de/group/comp.text ... 13f69e639d
For the record: put

Code: Select all

\usepackage{microtype}
\DisableLigatures{encoding = T1, family = tt*}
in the preamble.
Post Reply