Tag Info

New answers tagged

2

FontPro requires tftopl.exe, pltotf.exe, vptovf.exe, and vftovp.exe. MikTeX's version does not work. I install cygwin, install LCDF tools from w32tex distribution, and also the above 4 programs from w32tex, and then run FontPro. It works.


15

At first you don't need an equivalent for fontenc but for inputenc. You should (like inputenc) make the non-ascii chars active and map them to suitable commands. E.g. in an 8-bit encoded file you could do something like this: %OT1-encoded font \catcode`\ä=13 \defä{\"a} Räuber \bye When using a T1-encoded font life is a bit easier, as a lot of chars are ...


3

In order to get small caps from a font through the standard commands such as \textsc, the font you have loaded needs to have small caps. The font you've chosen, DejaVu Serif Condensed, doesn't. When you compile your MWE, you will as a result get a font warning from LaTeX that no small caps exist for this font, and that it will use the normal font instead: ...


0

Code: Well I searched a lot for a script to recognize uppercase letters and lowercase letters, with no success (How to check if the selected letter is uppercase or lowercase in a macro?). But then I found a more elegant way to make the fake small caps (and fake mid caps) in Faking small caps in XeLaTeX: \documentclass[a4paper,12pt,twoside]{memoir} ...


3

One solution is to create fake small caps. The MWE below defines a command \fakesc that uppercases and shrinks text to resemble small caps. \documentclass[a4paper,12pt,twoside]{memoir} \usepackage{DejaVuSerifCondensed} \usepackage[T1]{fontenc} \newcommand\fakesc[1]{\uppercase{{\scriptsize #1}}} \begin{document} The sign on the door said \fakesc{keep out}, ...


4

In general, I recommend working with the UTF-8 encoding for your LaTeX source code: % \usepackage{german} % outdated \usepackage[ngerman]{babel} % the new way \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} If you are working with the ISO-Latin-1 encoding, use this: % \usepackage{german} % outdated ...



Top 50 recent answers are included