home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
lout2.lzh
/
LOUT2
/
DOC
/
TR.BEGIN
/
s04
< prev
next >
Wrap
Text File
|
1994-01-25
|
3KB
|
86 lines
@Section
@Tag { fonts }
@Title { Fonts and unusual characters }
@Begin
@PP
This section explains how to gain access to the many different fonts and
unusual characters available with Lout. We have already seen the
@Code "@I" symbol, which changes the font of the following thing to
{@I Italic}. Similarly, there is @Code "@B" for {@B Bold}, @Code "@S"
for @S SMALL {@S CAPITALS},
@FootNote {
Owing to problems behind the scenes, if several words are grouped within one
@Code "@S" symbol they will be kept together on one line, so to get small
capitals over several lines it is necessary to apply @Code "@S" to each
word individually. This does not happen with other font symbols.
}
and @Code "@R" for Roman.
@PP
The @Code "@Font" symbol can be used to get many other fonts (a local
expert should be able to supply the full list):
@ID @Code {
"{ Helvetica Slope } @Font { Hi there }" &0io
}
has result
@ID {
{ Helvetica Slope } @Font { Hi there }
}
Each font has a family name, such as Times, Helvetica, or Courier, and a
face name, generally Base, Slope, or Bold. The fonts that were
called Roman, Italic, and Bold above are Times Base, Times Slope, and
Times Bold. When changing families the new family and a face must be
specified, but when changing face within a family just the face name is
enough.
@PP
The @Code "@Font" symbol also changes sizes:
@ID @Code {
"+5p @Font Hello"
"-3p @Font Hello"
"12p @Font Hello"
}
has result
@ID {
+5p @Font Hello -3p @Font Hello 12p @Font Hello
}
with the first Hello 5 points larger than it would have been otherwise,
the second 3 points smaller, and the third in a 12 point font. There are
72 points to one inch, and most documents are set in 10 or 12 point.
@PP
There are symbols for some unusual characters that do not appear
on keyboards:
@ID @Tab
vmargin { 0.5vx }
@Fmta { @Col @Code A ! @Col B }
{
@Rowa A { "``" } B { `` }
@Rowa A { "''" } B { '' }
@Rowa A { "--" } B { -- }
@Rowa A { "---" } B { --- }
@Rowa A { "@Bullet" } B { @Bullet }
@Rowa A { "@Star" } B { @Star }
@Rowa A { "@ParSym" } B { @ParSym }
@Rowa A { "@SectSym" } B { @SectSym }
@Rowa A { "@Dagger" } B { @Dagger }
@Rowa A { "@DaggerDbl" } B { @DaggerDbl }
@Rowa A { "@CDot" } B { @CDot }
@Rowa A { "@Sterling" } B { @Sterling }
@Rowa A { "@Yen" } B { @Yen }
@Rowa A { "@Florin" } B { @Florin }
@Rowa A { "@Degree" } B { @Degree }
@Rowa A { "@Minute" } B { @Minute }
@Rowa A { "@Second" } B { @Second }
@Rowa A { "@Lozenge" } B { @Lozenge }
@Rowa A { "@Multiply" } B { @Multiply }
@Rowa A { "@Divide" } B { @Divide }
@Rowa A { "@CopyRight" } B { @CopyRight }
@Rowa A { "@Register" } B { @Register }
@Rowa A { "@TradeMark" } B { @TradeMark }
@Rowa A { "@Date" } B { @Date }
}
These may be used anywhere. The Adobe Systems Symbol font has many more such
characters; the Eq equation formatting package [{@Ref kingston92eq}] has
the complete list. For example, @Code "@Eq { heart }" will give
@Eq { heart }. Accented characters are also available (see Appendix
{@NumberOf accented}).
@End @Section