/usr/share/doc/texinfo/html/Fonts.html is in texinfo-doc-nonfree 4.13a-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | <html lang="en">
<head>
<title>Fonts - GNU Texinfo 4.13</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Texinfo 4.13">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Emphasis.html#Emphasis" title="Emphasis">
<link rel="prev" href="Smallcaps.html#Smallcaps" title="Smallcaps">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This manual is for GNU Texinfo (version 4.13, 18 September 2008),
a documentation system that can produce both online information and a
printed manual from a single source.
Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software
Foundation; with no Invariant Sections, with the Front-Cover Texts
being ``A GNU Manual'', and with the Back-Cover Texts as in (a)
below. A copy of the license is included in the section entitled
``GNU Free Documentation License.''
(a) The FSF's Back-Cover Text is: ``You are free to copy and modify
this GNU Manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom.''
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Fonts"></a>
<p>
Previous: <a rel="previous" accesskey="p" href="Smallcaps.html#Smallcaps">Smallcaps</a>,
Up: <a rel="up" accesskey="u" href="Emphasis.html#Emphasis">Emphasis</a>
<hr>
</div>
<h4 class="subsection">9.2.3 Fonts for Printing, Not Info</h4>
<p><a name="index-Fonts-for-printing_002c-not-Info-453"></a>
<a name="index-fonttextsize-454"></a><a name="index-Font-size_002c-reducing-455"></a><a name="index-Reducing-font-size-456"></a><a name="index-Smaller-fonts-457"></a>Texinfo provides one command to change the size of the main body font
in the TeX output for a document: <code>@fonttextsize</code>. It has no
effect at all in other output. It takes a single argument on the
remainder of the line, which must be either ‘<samp><span class="samp">10</span></samp>’ or ‘<samp><span class="samp">11</span></samp>’.
For example:
<pre class="example"> @fonttextsize 10
</pre>
<p><a name="index-Printing-cost_002c-reducing-458"></a>The effect is to reduce the body font to a 10<span class="dmn">pt</span> size (the
default is 11<span class="dmn">pt</span>). Fonts for other elements, such as sections
and chapters, are reduced accordingly. This should only be used in
conjunction with <code>@smallbook</code> (see <a href="smallbook.html#smallbook">Printing “Small” Books</a>) or similar, since 10<span class="dmn">pt</span> fonts on standard paper
(8.5x11 or A4) are too small. One reason to use this command is to
save pages, and hence printing cost, for physical books.
<p>Texinfo does not at present have commands to switch the font family
to use, or more general size-changing commands.
<p><a name="index-Styles_002c-font-459"></a>Texinfo also provides a number of font commands that specify font changes
in the printed manual and (where possible) in the HTML output, but
have no effect in the Info file. All the commands apply to an
argument that follows, surrounded by braces.
<dl>
<dt><code>@b</code><dd><a name="index-b-_0040r_007b_0028bold-font_0029_007d-460"></a><a name="index-Bold-font-461"></a>selects <b>bold</b> face;
<br><dt><code>@i</code><dd><a name="index-i-_0040r_007b_0028italic-font_0029_007d-462"></a><a name="index-Italic-font-463"></a>selects an <i>italic</i> font;
<br><dt><code>@r</code><dd><a name="index-r-_0040r_007b_0028roman-font_0029_007d-464"></a><a name="index-Roman-font-465"></a><a name="index-Default-font-466"></a>selects a <span class="roman">roman</span> font, which is the usual font in which text is
printed. It may or may not be seriffed.
<br><dt><code>@sansserif</code><dd><a name="index-sansserif-_0040r_007b_0028sans-serif-font_0029_007d-467"></a><a name="index-Sans-serif-font-468"></a>selects a <span class="sansserif">sans serif</span> font;
<br><dt><code>@slanted</code><dd><a name="index-slanted-_0040r_007b_0028slanted-font_0029_007d-469"></a><a name="index-Slanted-font-470"></a><a name="index-Oblique-font-471"></a>selects a <i>slanted</i> font;
<br><dt><code>@t</code><dd><a name="index-t-_0040r_007b_0028typewriter-font_0029_007d-472"></a><a name="index-Monospace-font-473"></a><a name="index-Fixed_002dwidth-font-474"></a><a name="index-Typewriter-font-475"></a>selects the <tt>fixed-width</tt>, typewriter-style font used by <code>@code</code>;
</dl>
<p>(The commands with longer names were invented much later than the
others, at which time it did not seem desirable to use very short
names for such an infrequently needed feature.)
<p><a name="index-g_t_003clineannotation_003e-Docbook-tag-476"></a>Only the <code>@r</code> command has much use: in example-like
environments, you can use the <code>@r</code> command to write comments in
the standard roman font instead of the fixed-width font. This looks
better in printed output, and produces a <code><lineannotation></code> tag
in Docbook output.
<p>For example,
<pre class="example"> @lisp
(+ 2 2) ; @r{Add two plus two.}
@end lisp
</pre>
<p class="noindent">produces
<pre class="lisp"> (+ 2 2) ; <span class="roman">Add two plus two.</span>
</pre>
<p>In general, you should avoid using the other font commands. Some of
them are only useful when documenting functionality of specific font
effects, such as in TeX and related packages.
</body></html>
|