Itβs very neat that I can use any Truetype font available for my Windows computer using MikTex and XeTeX .
%!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[]{article} \usepackage{xltxtra,fontspec,xunicode} \defaultfontfeatures{Scale=MatchLowercase} \title{Fonttest} \begin{document} \section{Section Title} { \setromanfont{Palatino Linotype} The quick brown fox jumps over the lazy dog. } \section{Section Title} { \setromanfont{ProggyCleanTTSZBP} The quick brown fox jumps over the lazy dog. } \end{document}
Is there a way to automatically generate a fotn test page for every available font? . So I donβt need to enter a test page for each available font manually?
Actually, I donβt even know how to get to the long font name needed for \setromanfont - without typing it from the screen. The Windows directory lists the file names, obviously. It may be possible to do this in TeX, but I could manage it using a Python script or such.
source share