代码搜索结果
找到约 10,000 项符合
L 的代码
l10.1a
#once #create message
.ND
.tr %$
.EQ
delim $$
.EN
.LP
The next topic goes back to the problem of formatting
equations on the page. Sometimes it is desirable to
line up one part of an equation with so
l11.1a
#once #create message
.ND
.tr %$
.EQ
delim $$
.EN
.LP
We have introduced a fair number of "magic" words like
sub and sup and over and pi and sum. What happens if
you need to print an equation that co
l4.1a
#once #create message
.ND
.EQ
delim $$
.EN
.LP
The next neqn word to learn is "over", which makes
fractions like
.EQ
a+b over c
.EN
In fact that line was made by
.EQ
a+b over c
.EN
To begin w
l8.1a
#once #create message
.ND
.LP
The next neqn operation is called "sqrt" - it makes
square root signs over things, like this:
.EQ
sqrt a+b
.EN
(They don't look very good on a terminal, unfortunately.)
T
l12.1a
#once #create message
.ND
.tr %$
.EQ
delim $$
.EN
.LP
The next step is to learn how to put big parentheses,
brackets, braces or bars around equations, like this:
.EQ
left | a sup 2 over b sub i right
l7.1a
#print
Although specifying lines by line number is
easy to understand, it is hard to do in a long
file. You will therefore want to learn other
ways of addressing lines. The 'current line'
is address
l56.1a
#print
Is there just as easy a way of
printing the immediately preceding line?
Not quite, but almost. The line
-
will print the line just before the line you
are on. What's the equivalent command
l72.2a
#print
A command related to the 'g' command is the 'v' command. The
'v' command also selects lines on which another command is to
be executed; the difference between 'g' and 'v' is that
the 'v' comm
l5.1a
#print
The most frequently used editor command is
p
which prints out a line. Try that now.
Type the command sequence
p
w
q
to print out a line, and then write out the file.
Then type "ready".
#cr
l35.1a
#print
The "*" character is also used in substitute commands,
but it has a different meaning. Here it means
"any number of repetitions of the previous character".
(including zero!). Thus
a*
is any