Open main menu

Changes

10 bytes removed ,  16:28, 8 June 2020
m
no edit summary
< [[Visuals]] < [[FontsBasics|Text formatting]]
Your font has no Small Caps variant? Do you need Small Caps switching depending on the \it, \bf, \bi, \tt, \ss, ... ? Here is the recipe for generating and installing Pseudo Small Caps (small letters are scaled down versions of capitals - typographicaly not clear solution but if the font has no real Small Caps...). The example is done on Latin Modern family but can be applied to another Type1 font. (Note: pdftex doesn't handle this sort of transformation on TTF fonts.)
1. Pseudo Small Caps generation. [http://typokvitek.com/tex/context/pseudocaps/make-pseudocaps.txt All commands (txt)]<br>
<texcode>
texfont --fontroot=X:\ --en=ec --ve=public --co=lm --source=auto --ca=0.8 lmbx10
</texcode><br>
2. Typescript definitions. [http://typokvitek.com/tex/context/pseudocaps/type-lm-var.tex Complete type script] (copy URL to browser?!)
: a) Metric file correspondencies:<br>
<texcode>
\stoptypescript
</texcode><br>
3. Usage. [http://typokvitek.com/tex/context/pseudocaps/smallcaps.pdf PDF] [http://typokvitek.com/tex/context/pseudocaps/smallcaps.tex Source] (copy URL to browser?!)
<texcode>
\usetypescriptfile[type-lm-var]
\stoptext
</texcode>
 
[[Category:Old_Content]]