Questions tagged [font-expansion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14 votes
2 answers
613 views

Is there microtype support for plain TeX?

Is there code to make the microtypography primitives, particularly font expansion, usable with the plain TeX format running with native PDF-output engines (namely pdfTeX and LuaTeX)? I don't think the ...
user avatar
  • 1,668
0 votes
0 answers
66 views

Fully expand an argument before using it in latex

I'm trying to make a function that takes an argument and returns the number of words in the argument, once it is expanded. Something along the lines of \wordcount{Some text goes here with \macros{abc} ...
user avatar
  • 133
1 vote
0 answers
114 views

dvipdfmx and dvips do not expand fonts properly with lualatex in DVI mode

dvilualatex with microtype is supposed to support expansion, even in DVI mode. And indeed it seems to work when producing the DVI file. But then the generated file does not actually include expanded ...
user avatar
  • 77
1 vote
0 answers
452 views

Any way whatsoever to get font expansion in XeLaTeX

I have recently switched to XeLaTeX from LuaLaTeX for various reasons, and am missing microtype’s font expansion. Is there a way (any way whatsoever) that this can be achieved, even if it is unstable (...
user avatar
0 votes
0 answers
672 views

New ACM Latex compilation error: ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts [duplicate]

I'm trying to compile the new ACM latex template for my camera ready paper provided in http://www.cs.wustl.edu/~lu/CPSWeek2017-Typesetting/ This template doesn't compile for me and shows following ...
user avatar
  • 145
8 votes
1 answer
391 views

Microtype package is not supported dvips output

I am using microtype package for good kerning text output. I am using below mentioned settings in my tex file. \usepackage{microtype} \DisableLigatures[f]{size=normalsize-}%disable Ligatures I ...
user avatar
  • 1,231
3 votes
1 answer
126 views

microtype features not applying on italic and bold faces

I'm trying to extend the microtype features also to the bold and italic faces of a given font family. In the sample text, the expansion features apply only to the roman shape. This is the source ...
user avatar
4 votes
1 answer
648 views

How do I make expanded fonts and install them?

I am running pdfTeX with dvi output. If font expansion is enabled, then I need the extra fonts, such as cmr10+20. When I try to view the dvi, xdvi tries to make various fonts and fails; the file ...
user avatar
13 votes
1 answer
264 views

Why does pdfTeX use character expansion instead of line scaling?

In order to achieve better spacing and line breaking, pdfTeX can expand fonts. The user decides how much stretching and shrinking is allowed for each desired font, and in what increments. However, ...
user avatar
11 votes
1 answer
16k views

On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package

According to this question pdftex-error-font-expansion-auto-expansion-is-only-possible-with-scalable To get rid of the error above, is to load a scalable font like lmodern \usepackage[T1]{fontenc} \...
user avatar
  • 18.3k
2 votes
0 answers
387 views

microtype in XeLaTeX [duplicate]

Currently microtype package supports only protrusion in XeLaTeX. Is there an option to use other micro-typography features (expansion, kerning, spacing, tracking) in XeLaTeX? Or should I forget about ...
user avatar
  • 1,316
3 votes
1 answer
5k views

pdfTeX font expansion error during compilation

Background I am using Miktex 2.9 and TeXworks on top of that on a Windows 7 64-bit machine. To write my paper I have to use a provided template by 3rd party. However, I am not very experienced with ...
user avatar
4 votes
0 answers
2k views

Rare pdflatex "Auto Expansion is only possible with scalable font" on scaleable-font document [duplicate]

I know I am sounding crazy, but this looks like a veritable pdflatex bug to me. even small innocent changes to the file make it go away. \documentclass[12pt]{article} \usepackage[english]{babel} %%...
user avatar
  • 3,411
9 votes
2 answers
1k views

dtx file: how to run it?

I want to clarify first that I am a beginner, and thus my question might be imprecise or inadequate. Anyway: I found this documentation file for the package microtype, can be easily found on ctan. It ...
user avatar
6 votes
2 answers
4k views

Why do I suddenly get an auto expansion error?

On files that have worked previously, I'm suddenly getting the following error ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts. This error does not appear if I ...
user avatar
  • 9,969
39 votes
7 answers
2k views

Microtypography on equations

Is there a way to make all three lines of math in the code below take up the same amount of length by use of font expansion? I know too little about microtype to even see if it could offer a solution. ...
user avatar
  • 1,891
5 votes
1 answer
1k views

LuaTeX error (font expansion): font has been expanded with different expansion step

I am suddenly getting the following error when trying to compile my document with LuaLaTeX and my simple question is: what does it mean? LuaTeX error (font expansion): font has been expanded with ...
user avatar
  • 2,317
9 votes
1 answer
525 views

Which font expansion parameters are ideal for different fonts?

Following up on this question Set font expansion so that distortion is not noticeable I think a list of fonts and their respective ideal stretch and shrink parameters is missing. This would be a great ...
7 votes
1 answer
1k views

pdfTeX font expansion error - \SetExpansion in microtype package

I am trying to hammer in some stacked matrix notation to fit the paragraph by shrinking the font. To do so I am using the \SetExpansion option from the microtype package. But pdfTeX is spitting out ...
user avatar
  • 585
13 votes
1 answer
2k views

How to set expansion and protrusion for TeX Gyre Pagella using LuaLaTeX?

For my documents, I have often used the mathpazo package combined with microtype and have found the result to be really good. Because now I need to create PDFs which contain a variety of diacritics ...
user avatar
  • 519
21 votes
1 answer
2k views

Set font expansion so that distortion is not noticeable

In a comment to The kerning option of microtype Karl Karlsson writes: Most of the typographers agree, that Font expansion distorts the font. Personally, I see it, and I agree - the distortion is ...
user avatar
  • 34.5k
98 votes
10 answers
119k 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 ...
user avatar
  • 2,104
5 votes
2 answers
1k 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 ...
user avatar
8 votes
3 answers
3k 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 ...
user avatar
  • 1,204
11 votes
4 answers
1k views

What possibilities are there of using OpenType fonts and margin kerning?

I really like the protrusion and margin kerning features of pdfTeX and LuaTeX. I also like to use other fonts than those available for TeX. What choices do I have when I want to use both? Also, what ...