7
votes
3answers
127 views

Shrink monospaced font in custom (verbatim) environments

I'm redesigning lecture notes for a university class since the students wanted to read the notes on their tablets, e-book readers, etc. I have code blocks in these documents, defined in the cdblk and ...
5
votes
0answers
144 views

How to use Multiple-Master-Font-instances for HZ/microtype instead of horizontal scaling? (ConTeXt) [closed]

Question I would like to use a Multiple Master font with a width axis for the HZ-program (=Herman Zapf Programm, equivalent to the microtype-package of LaTeX) In standard configuration, ConTeXt (and ...
5
votes
1answer
204 views

Optical Kerning with microtype

I am dissapointed with microtypes kerning. This MWE: \documentclass[ngerman,10pt]{article} \usepackage[ngerman]{babel} \usepackage{lmodern} \usepackage[T1]{fontenc} ...
4
votes
1answer
182 views

microtype tracking disables small caps in luaLaTeX

Normall microtype tracking loosens the tracking of small caps. However, with fontspec's \setmainfont{ebgaramond}, small caps are completely disabled and I get a loose normal text, as opposed to ...
4
votes
2answers
224 views

Modifying (i.e., partially overriding) microtype's character protrusion settings for specific characters

I would like to disable or modify character protrusion (enabled by microtype) for specific characters. Let me illustrate the issue with the en-dash, which protrudes far too wide for my taste: ...
4
votes
3answers
536 views

Is microtype compatible (and effective) with a font like Calibri?

Is microtype compatible (and effective) with a font like Calibri ? For details on microtype, see also here and here. Edit With "compatible" I mean error-message-free. With ...
2
votes
1answer
291 views

microtype has issues with mathdesign \mathsf font [closed]

I am using \documentclass{amsart} \usepackage{microtype} \usepackage[bitstream-charter,cal=cmcal]{mathdesign} Sometimes \mathsf{...} produces pdfTeX error (font expansion): auto expansion is ...
6
votes
1answer
149 views

Strange behaviour of \textsection in footnote with fixltx2e

This is a follow-up question to How do I enable protrusion for footnotes with \fnsymbol using microtype?, and my answer there. The MWE that I provided there \documentclass[10pt]{article} ...
13
votes
4answers
415 views

Which ligatures do the fonts used in my document offer?

This is a follow-up question to: How do I know which ligatures are used in my document? In order to know which ligatures I might consider disabling (I have in mind microtype's \DisableLigatures ...
7
votes
1answer
303 views

How do I know which ligatures are used in my document?

In order to know which ligatures I might consider disabling, I would like to know which ones are actually used in my document. (Which ligatures are provided by a font is a more general question; I ...
6
votes
2answers
279 views

Deciding Which Glyphs to Use in Font Encoding

I wanted to use one of my favorite fonts, Crimson, while still maintaining full support from the microtype package. Since XeTeX and LuaTeX are not fully supported by the microtype package (as of ...
7
votes
1answer
664 views

Squeezing/shrinking text horizontally

How can I 'squeeze' or 'shrink' some text horizontally? I've heard of the microtype package but I'm not familiar with its options. I tried playing around with it but I could only get it to shrink the ...
16
votes
3answers
627 views

Conflict between microtype, LuaLaTeX, and otf fonts when typesetting material in small-caps

I'm using the microtype package (microtype beta 2.5 build 08) to modify my document and I'd like to retain its functionality across all font shapes with the exception of small-caps (\scshape). How do ...
3
votes
1answer
169 views

\SetTracking in the math environment

I have been trying to use the \SetTracking option in microtype to shrink a paragraph that has some text and math. However, I notice that only the text - and not the math fonts - are being adjusted. ...
37
votes
2answers
3k views

microtype settings for dummies

More than a year ago, a friend of mine was totally excited about microtype features in LaTeX. He was talking about it quite a bit and then said to me: "Show me your document, let me input some lines ...
11
votes
2answers
671 views

Microtype warning with lmodern package and KOMA-script

With a simple document \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \usepackage{lmodern} \begin{document} \chapter{Test test test} ...
8
votes
1answer
638 views

microtype settings for Adobe Caslon Pro?

Has anyone developed microtype settings for Adobe Caslon Pro? After a lot of searching, I cannot find a definitive upstream source for the microtype package, and the latest version I can find (2.5 ...
13
votes
3answers
4k views

How to set-up LuaTeX, Microtype, with Minion Pro, Myriad Pro

Since recently I am using LuaLaTeX with the most recent beta version of Microtype, along with the fonts Minion Pro and Myriad Pro. In the manual of Microtype it says: Currently, this package ...
15
votes
2answers
771 views

What font configuration is used by microtype documentation

I really like the font configuration (appearance) of the documentation for microtype package (see here). How do I find out the combination they're using? (I will fix the protrusion etc later but first ...
8
votes
2answers
2k views

Which LaTeX font packages contain real small caps and work with the “microtype” package?

I'm wondering which font packages are available in MikTeX and TeXLive containing real small caps and also work together with the "microtype" package? For instance, kpfonts has real small caps but ...
1
vote
1answer
683 views

microtype versus mathastext: unknown slot number error

The following MWE compiles with pdftex but produces a mysterious warning. \documentclass{article} \usepackage{libertine} \usepackage{mathastext} \usepackage{microtype} \begin{document} Here is some ...
9
votes
3answers
3k views

Making text narrow

I'm using \textlsfrom the microtype package to increase space between letters, but I can't find a command that will make a text look narrow (or maybe a very narrow serif font?). What is the best way ...
1
vote
1answer
277 views

Times (or Termes) with protrusion/hanging in ConTeXt MkIV

On the ConTeXt wiki, http://wiki.contextgarden.net/Protrusion#MkIV, some examples are given of how to use Termes fonts and how to use microtypographical extensions. The bottom example works, but I ...
15
votes
3answers
11k views

pdfTeX error (font expansion): auto expansion is only possible with scalable

I'm using a custom class file. My main file looks like this: \documentclass[12pt,a4paper]{thesis} \begin{document} \frontmatter \pagenumbering{alph} \pagenumbering{roman} \clearpage ...
24
votes
3answers
906 views

Can I get full justification for italic text?

In the TeXbook, Knuth notes that italics can lead to problems with justification: EXERCISE 14.16 When an entire paragraph is typeset in italic or slanted type, it sometimes appears to be offset ...
5
votes
2answers
698 views

microtype font expansion and DVI output; problem with kpathsea

Consider the following file test.tex \documentclass[11pt]{report} \usepackage[T1]{fontenc} \usepackage[protrusion,expansion]{microtype} \begin{document} \chapter{A new chapter} Some actual testing ...
8
votes
3answers
1k views

How to adjust font size or kerning to fit line width?

I have some text that nearly fits the given line width. I can see that a minimal adjustment of font size or kerning would make the text fit, but how do I tell LaTeX to squeeze the text? Yes, this ...