Commit dfe1fb06 authored by Karl Berry's avatar Karl Berry
Browse files

reduce body text size for emacs manual to 10pt

parent 2dca98f3
2006-05-05 Karl Berry <>
* texinfo.tex (\definetextfonsizexi, \definetextfonsizex): new cmds.
(\fonttextsize): new user-level command to change text font size.
* emacs.texi: call @fonttextsize 10, inside @tex to avoid
errors from the current release of makeinfo (4.8).
* help.texi (Library Keywords): change widest word in multitable
template from `emulations' to `convenience'. (Not sure if this is
related to the font change.)
2006-05-05 Eli Zaretskii <>
* files.texi (File Names): Add a footnote about limited support of
......@@ -42,7 +42,13 @@ Software Foundation raise funds for GNU development.''
@setchapternewpage odd
@c per rms and peterb, use 10pt fonts for the main text, mostly to
@c save on paper cost. Also do not declare @setchapternewpage odd.
@c Do this inside @tex for now, so current makeinfo does not complain.
@fonttextsize 10
@end tex
@defcodeindex op
@synindex pg cp
......@@ -401,7 +401,7 @@ The @kbd{C-h p} command lets you search the standard Emacs Lisp
libraries by topic keywords. Here is a partial list of keywords you can
@multitable {emulations} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
@multitable {convenience} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
@item abbrev@tab abbreviation handling, typing shortcuts, macros.
@item bib@tab code related to the @code{bib} bibliography processor.
@item c@tab support for the C language and related languages.
......@@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
......@@ -1471,6 +1471,7 @@
% We don't need math for this font style.
% Default leading.
\newdimen\textleading \textleading = 13.2pt
......@@ -1492,11 +1493,13 @@
% Set the font macro #1 to the font named #2, adding on the
% specified font prefix (normally `cm').
% #3 is the font's design size, #4 is a scale factor
\def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4}
% Use cm as the default font prefix.
% To specify the font prefix, you must define \fontprefix
% before you read in texinfo.tex.
......@@ -1520,6 +1523,10 @@
% Definitions for a main text size of 11pt. This is the default in
% Texinfo.
% Text fonts (11.2pt, magstep1).
......@@ -1633,6 +1640,165 @@
% reset the current fonts
} % end of 11pt text font size definitions
% Definitions to make the main text be 10pt Computer Modern, with
% section, chapter, etc., sizes following suit. This is for the GNU
% Press printing of the Emacs 22 manual. Maybe other manuals in the
% future. Used with @smallbook, which sets the leading to 12pt.
% Text fonts (10pt).
\font\texti=cmmi10 scaled \mainmagstep
\font\textsy=cmsy10 scaled \mainmagstep
% A few fonts for @defun names and args.
\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
% Fonts for indices, footnotes, small examples (9pt).
% Fonts for small examples (8pt).
% Fonts for title page (20.4pt):
\font\titlei=cmmi12 scaled \magstep3
\font\titlesy=cmsy10 scaled \magstep4
% Chapter fonts (14.4pt).
\font\chapi=cmmi12 scaled \magstep1
\font\chapsy=cmsy10 scaled \magstep2
% Section fonts (12pt).
\font\secsy=cmsy10 scaled \magstep1
% Subsection fonts (10pt).
% Reduced fonts for @acro in text (9pt).
% reduce space between paragraphs
\divide\parskip by 2
% reset the current fonts
} % end of 10pt text font size definitions
% We provide the user-level command
% @fonttextsize 10
% (or 11) to redefine the text font size. pt is assumed.
\wlog{doing @fonttextsize \textsizearg}%
% Set \globaldefs so that documents can use this inside @tex, since
% makeinfo 4.8 does not support it, but we need it nonetheless.
\begingroup \globaldefs=1
\ifx\textsizearg\xword \definetextfontsizex
\else \ifx\textsizearg\xiword \definetextfontsizexi
\errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'}
% In order for the font changes to affect most math symbols and letters,
% we have to define the \textfont of the standard families. Since
% texinfo doesn't allow for producing subscripts and superscripts except
......@@ -1743,7 +1909,7 @@
% Set up the default fonts, so we can use them for creating boxes.
\textfonts \rm
% Define these so they can be easily changed for other fonts.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment