Tags

Brett Hutley, in a post on TeX, LaTeX and Texinfo mentioned that he likes setting his documents in a Sans-serif font in Texinfo.

This intrigued me, but I could not get it to work at all. Until I actually read the Texinfo log message, of course.

Just in case I ever forget how I did it, here it is:

@c %**start Sans-Serif
@c Sans-Serif does not work too well yet. Drat. Needs some work...
@c @set SANSSERIF

@ifset SANSSERIF
@tex
@sf
@setfont@secrm@sfbshape{11}{@magstep1}@endcsname
@setfont@chaprm@sfbshape{11}{@magstep2}@endcsname
@setfont@titlerm@sfbshape{11}{@magstep3}@endcsname
@setfont@ssecrm@sfbshape{11}{@magstephalf}@endcsname
@end tex
@end ifset
@c %**end Sans-serif Fonts


This is currently commented out, since it breaks all kinds of headings, indexes and other miscellaneous mark-up rather badly, but it is a beginning…

And hopefully this saves someone else a bit of frustration as well…