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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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