[XeTeX] selecting font size

Peter Dyballa Peter_Dyballa at Web.DE
Fri Apr 16 11:02:39 CEST 2010

Am 16.04.2010 um 09:47 schrieb Brian Wilson:

> For \documentclass{book} I can choose between 10pt-12pt.

(Could be memoir offers more.) What you can do is to create a file  

In /usr/local/texlive/2009/texmf-dist/tex/latex/base you can find the  
"main" document book.cls and its companions bk1{0|1|2}.clo. Depending  
on the point size you supply to book.cls this file later loads


These "specialised" files (re)set default font sizes like \normalsize,  
\small, \large, etc. They also reset the actual size of plain TeX's  
\@viiipt etc. sizes (Roman letters are chosen because in TeX a macro  
is not allowed to contain a digit as part of its name, and "viiipt"  
stands for 8 pt). Maybe its worth to take the bk11.clo as template and  
change all the dimensions to become 150 %... (It's probably best to  
create that file in your private area to unrestricted write access and  
no need to run texhash to make it known to the system.)

"Complicated" formulae which build the definition of \normalsize etc.  
are so complicated because they also pass to TeX flexible space around  
the components of text (i.e. characters and words) and around basic  
building block like tables, lists, paragraphs, titles.

You might like to see how pTeX (I think a rather commercial TeX for  
typesetting in Japanese with its rather large glyphs) has handled the  
font sizes and flexible space issues. There are also TeX  
implementations for Korean and there is a (generic?) CJK "font engine"  
to allow TeX to handle fonts with 2,000 or 3,000 code points instead  
of 128 or 256. It should be accompanied by some STY or CLS files which  
set up "styles" for larger glyphs than used with Latin, Greek,  
Cyrillic, Arabic, Hebrew scripts.



A lot of us are working harder than we want, at things we don't like  
to do. Why? ...In order to afford the sort of existence we don't care  
to live.
				– Bradford Angier

More information about the XeTeX mailing list