Debian Codegraph @

texmf-dist/doc/otherformats/texsis/base/TXSfonts.doc

raw
1 %% file: TXSfonts.doc - Type Sizes and Styles - TeXsis version 2.18
2 %% @(#) $Id: TXSfonts.doc,v 18.2 2000/05/17 00:19:46 myers Exp $
3 %======================================================================*
4 % (C) Copyright 1989, 1992 by Eric Myers and Frank E. Paige
5 % This file is a part of TeXsis. Distribution and/or modifications
6 % are allowed under the terms of the LaTeX Project Public License (LPPL).
7 % See the file COPYING or ftp://ftp.texsis.org/texsis/LPPL
8 %======================================================================*
9 \ifx\undefined\meta\texsis\input TXSdocM.doc\draft\fi
10
11
12 \section{Type Sizes, Type Styles, and Line Spacing \label{sect.fonts}}
13
14 This section describes the \TeXsis\ commands for changing font sizes,
15 typestyles and the spacing between lines. It also describes how you
16 can make footnotes, and a special feature for balancing quotation
17 marks.
18
19 \subsection{Type Sizes and Styles}
20
21 Plain \TeX\ is set up to use 10\pt\ type, with smaller sizes for
22 superscripts and subscripts.
23 \TeXsis\ expands the available type sizes to include 11, 12, 14, and
24 16\pt\ type, and \TeXsis\ makes it easy to change from one size of
25 type to another.
26 Type sizes are selected with the following commands:
27 \index{type sizes}%
28 \description{Xtwentyfourpointpoint\qquad}
29 \itm{\CS{ninepoint}}
30 Gives 9 \pt\ type (not illustrated).
31 \itm{\CS{tenpoint} }
32 Gives {\tenpoint 10 \pt\ type, like this.}
33 \itm{\CS{elevenpoint} }
34 Gives 11 \pt\ type. (not illustrated).
35 \itm{\CS{twelvepoint} }
36 Gives {\twelvepoint 12 \pt\ type, like this.}
37 \itm{\CS{fourteenpoint} }
38 Gives {\fourteenpoint 14 \pt\ type, like this.}
39 \itm{\CS{sixteenpoint} }
40 Gives {\sixteenpoint 16 \pt\ type, like this.}
41 \itm{\CS{twentypoint}}
42 Gives 20 \pt\ type (not illustrated).
43 \itm{\CS{twentyfourpoint}}
44 Gives 24 \pt\ type (not illustrated).
45 \enddescription
46 In some implementations of \TeX\ there is insufficient room to load
47 all of these fonts, so \idx{fonts} are loaded only when they are first
48 used, and not all of them can be illustrated here.
49 \TeXsis\ starts out with \CS{tenpoint}, just like Plain \TeX, but
50 switches to \CS{twelvepoint} once you say \cs{texsis}.
51
52 In Plain \TeX\ you can switch between Roman, Bold, or Italic
53 typestyles with the commands \cs{rm}, \cs{bf}, and \cs{it}.
54 The same is true with \TeXsis.
55 These commands change the style of the type, but not the size.
56 The complete set of commands to change typestyles is:
57 \index{typestyles}%
58 \description{~rm~\qquad}
59 \itm{\cs{rm} }
60 Gives Roman type. Available in all sizes.
61 \itm{\cs{it} }
62 Gives {\it italic type} for emphasis. Available in all sizes.
63 \itm{\cs{sl} }
64 Gives {\sl slanted type} for book titles, etc. Available in all sizes.
65 \itm{\cs{bf} }
66 Gives {\bf bold face type} for emphasis. Available in all sizes.
67 \itm{\cs{tt} }
68 Gives {\tt typewriter type} for listing computer programs, \TeX\
69 examples, etc. Available in 10, 11, and 12~pt.
70 \itm{\CS{mib}}
71 Gives math italic bold in math mode (|$...$|) for titles. Available in
72 10, 11, 12, 14, 16, 20, and 24~pt base sizes, but the minimum size for
73 subscripts and superscripts is 10\pt.
74 \itm{\CS{scr}}
75 Gives script capital letters (using Ralph Smith's Formal Script fonts,
76 the |rsfs| fonts, if they are available on your computer).
77 Use |\scr| as you would use |\cal|.
78 \enddescription
79
80 \TeXsis\ includes the mathematics fonts in all sizes; these are
81 used automatically when you type equations between the math quotes,
82 |$...$|. Limited \idx{sans-serif fonts} are also available using the commands
83 \cs{tenss} and \cs{twelvess}.
84
85 Two special symbols, \CS{Tbf} and \CS{tbf}, are used to produce
86 ``\idx{Title bold face}'' and ``\idx{small title bold face}.'' The first is
87 used to print the title of a paper and titles of the chapters of a
88 paper, and the second is used to print the titles of sections of a
89 paper. You are free to change the definitions of these control words,
90 but if you do not they default to 14\pt\ boldface for \CS{Tbf} and 12\pt\
91 boldface for \CS{tbf}.
92
93 Math italic bold (\CS{mib}) is listed with the other fonts but
94 is actually slightly different: it substitutes boldfaced versions of
95 the math italic and math symbol fonts for the normal ones {\sl
96 everywhere\/} in math mode (|$...$|). These fonts are available only
97 with with Computer Modern fonts and only in 10\pt\ and larger sizes;
98 the standard math fonts are used for smaller superscripts. Since
99 \CS{mib} effectively redefines |$..$|, it must be placed before the
100 math material (i.e., outside the math quotes) and the whole formula
101 will be bold. For example,
102 \TeXexample
103 {\tbf\mib Observation of $Z^0 \to \mu^+\mu^-$}
104 |endTeXexample
105 will produce the indicated text in \CS{tbf} size with a bold formula,
106 provided you have the right fonts. The easiest way to find out is to try
107 it. Since the \CS{mib} fonts are not available everywhere, they are never
108 loaded or used unless you explicitly ask for them.
109
110 Plain \TeX\ includes a \idx{calligraphic script} font known as
111 \cs{cal}, but the letters in this font are not quite what most
112 physicists are accustomed to using for things like \idx{Lagrangian}
113 densities or \idx{functional measure}s.
114 Ralph Smith\index{Smith, Ralph} of U.C. San Diego has created a new
115 ``\idx{formal script}'' font with much better letters for such
116 purposes, and \TeXsis\ supports this font provided that it is
117 available on your computer.
118 To get this new font you simply use \CS{scr} in place of \cs{cal}.
119 An example is:
120 \TeXexample
121 $$
122 {\scr L} = - \del^\mu \phi^\ast \del_\mu \phi + m^2 \phi^2
123 $$
124 |endTeXexample
125 \noindent
126 Unfortunately, we don't know if your computer has the |rsfs|
127 fonts\index{rsfs font} so we won't try to show you the output from
128 this example.
129 The quickest way to determine whether the fonts are available on your
130 system is to try this example and verify that \TeX\ does not complain
131 about the font.
132 If your system does not have the font then you can obtain it from
133 CTAN, or from the \TeXsis\ ftp server. (See the front cover of this
134 manual for instructions.)
135
136 \bigskip
137 \pagecheck{0.65\vsize}
138
139 \subsection{Interline Spacing}
140
141 When you use the macros \cs{tenpoint}, \cs{twelvepoint}, etc., the
142 style of the type is reset to Roman, as if you'd also typed \cs{rm}. The
143 \idx{baseline skip} (the \idx{distance between lines}) is also set to be
144 suitable for the type size.
145 Several commands are provided that vary the interline spacing, both in
146 the text and in auxiliary material such as tables.
147 These are:
148 \description{~doublespaced~\qquad}\singlespaced\parskip=12pt
149 %
150 \itm{\CS{doublespaced}}
151 Makes the baseline skip 1.5 times its normal value.
152 True double spacing looks too wide with typesetting.
153 %
154 \itm{\CS{singlespaced} }
155 Resets the baseline skip to its normal value.
156 %
157 \itm{\CS{TrueDoubleSpacing}}
158 Makes the baselineskip twice its normal value.
159 This usually looks too wide for a final document, but it is desirable
160 in a manuscript being submitted to journals such as Physical Review.
161 %
162 \itm{\CS{triplespaced}}
163 Makes the baseline skip 3~times its normal value.
164 This should only be used for drafts of papers to leave room for notes
165 or corrections.
166 %
167 \itm{\CS{widenspacing}}
168 Increases the current spacing by a factor of 1.25.
169 With single spacing this is the analog of $1 {1\over2}$ spacing on a
170 typewriter.
171 Repeating |\widenspacing| increases the spacing by 1.25~times whatever
172 it already was; it does not reset the spacing to singlespaced first.
173 \enddescription
174 When \TeXsis\ is first started the default is |\singlespaced|, but once
175 it is initialized with the |\texsis| command (or |\preprint| or
176 |\paper|, etc...) the spacing is set to |\doublespaced|.
177
178
179 \bigskip
180 \pagecheck{0.65\vsize}
181
182 \subsection{Footnotes}
183
184 Even when a paper is double spaced, you may want to have the
185 footnotes single spaced. Also, if the text is in 12~point type you may
186 nevertheless want to have the footnotes in 10~point type.
187 In \TeXsis\ you can do this easily using \CS{Footnote} in place of
188 \cs{footnote}, as in this example:\Footnote\dag{This is an example of
189 the use of {\tt\bs Footnote} in \TeXsis.}\index{footnotes}%
190 \TeXexample
191 ... as in this example:\Footnote\dag{This is an example of
192 the use of {\tt\bs Footnote} in \TeXsis.}
193 |endTeXexample
194 \noindent
195 |\Footnote| also automatically puts the reference mark (in this case the
196 dagger symbol |\dag|) in a superscript.\Footnote{*}{The footnote
197 character is typeset in math mode, as if it were between two {\tt
198 \$}'s.}\ \
199 %
200 The typestyle used for the text of the footnote is
201 controlled by \CS{FootFont}, which defaults to:
202 \TeXexample
203 \def\FootFont{\tenpoint}
204 |endTeXexample
205 \noindent
206 If you want to change this you can do so somewhere near the beginning of
207 your document. The spacing between multiple paragraphs in a |\Footnote|
208 (if you are prone to being so verbose) is set to zero, regardless of the
209 \cs{parskip} in the main part of the document, but you can also change
210 this by adding \cs{parskip}|=|\meta{amount} to your new definition of
211 |\FootFont|. If you want a singlespaced footnote in the |\FootFont|
212 typestyle but without putting a reference
213 mark in the text you can use
214 \CS{Vfootnote} just as you would use \cs{vfootnote} in Plain \TeX. And
215 of course if |\Footnote| or |\Vfootnote| cannot do what you need even
216 after changing |\FootFont| then you can always use \cs{footnote} or
217 \cs{vfootnote} from Plain \TeX.%%
218 %
219 \Footnote{\ddag}{A technical footnote: With
220 |\footnote| from plain \TeX\ the group is closed before the footnote is
221 typeset, so any line spacing you set inside the footnote is lost. You
222 can solve this by putting a |\par| or |\vskip 0pt| at the end of your
223 footnote, but then the final strut is put on a separate line. Getting
224 footnotes to work just right is tricky business, which is why we wrote
225 \CS{Footnote}.}
226
227 \bigskip
228
229 Sometimes it is desirable to have footnotes numbered consecutively.
230 This is easily done with \CS{NFootnote}, which keeps a count of the
231 footnotes it has created and uses the numbers for the reference marks.
232 Just as with \CS{Footnote}, the text is single spaced and printed in
233 the \CS{FootFont} typestyle.\NFootnote{This is an example of a
234 numbered footnote, which was created by saying ``|...printed in the
235 {\tt\bs FootFont} typestyle.\NFootnote{This is an example ... }|''}
236 The footnote counter is called \CS{footnum}, so if you want to start
237 over numbering footnotes (at the begining of a new chapter, for
238 example), then simply set this back to zero, by saying
239 \TeXexample
240 \footnum=0
241 |endTeXexample
242
243
244 %==================================================*
245 \pagecheck{0.65\vsize}
246
247 \subsection{Automatic Quote Balancing}
248
249 One of the differences between typing and typesetting is the way in
250 which quote marks are handled.
251 On a typewriter you would simply use the non-oriented double-quote
252 mark (|"|) both to begin and end the quoted material.
253 In typesetting, however, quoted text begins with a left-quote mark
254 (``) and ends with a right-quote mark ('').
255 To produce these in \TeX\ you have to type two single-quote marks,
256 either |``| or |''|.
257 This is not very difficult to do, but unless you have an editing
258 program which does it for you, it is easy to forget and use the
259 double-quote marks instead.
260 With \TeXsis\ that's okay.
261 If you say\index{quote balancing}%
262 \example
263 \CS{quoteon}
264 \endexample
265 then the next time a double-quote mark comes along it will be
266 translated into a left-quote mark.
267 The double-quote mark after that will become a right-quote mark, and
268 so on, so that material enclosed in double-quote marks will be typeset
269 correctly.
270 All you have to do is remember to use the double-quote marks in pairs.
271
272 In some special cases you may not want \TeXsis\ to be so smart
273 about double-quotes. You can turn this feature off by saying
274 \example
275 \CS{quoteoff}
276 \endexample
277 The default though, once you have said |\texsis|, is |\quoteon|.
278
279 %>>> EOF TXSfonts.doc <<<