summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex2e-html/ltx-257.html
blob: 616a63de4f0ff98459e00ceb90f70e49b863c76b (plain)
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
<html>
<head><title>Help On LaTeX \line</title></head>
<body bgcolor="#ffffff" text="#000000" link="#000099" vlink="#cc0000" alink="#cc0000">
<h1><font size="-2">Hypertext Help with LaTeX</font><br><font color="#cc0000">\line</font></h1>
<p>
 <tt>\line(x-slope,y-slope){length}</tt>
<p>
 The <tt>\line</tt> command draws a line of the specified length and slope.
<p>
The slope is determined by <tt>(x-slope,y-slope)</tt> which are signed
integers of magnitude less than or equal to 6 and which have no common
divisor except for plus or minus one; For example (1,0) is a horizontal
line; (1,1) gives a slope of
45 degress; (0,1) is a vertical line; (-1,1) is 135 degrees.
<p>
The <strong>horizontal</strong> extent of the line is given by the  
<tt>length</tt> parameter, except in the case of a vertical line in 
which case <tt>length</tt> specifies the vertical height.
<hr>
See also <A href="ltx-27.html">Environments</A>, 
    <A href="ltx-43.html">picture</A><br>
See also <a href="ltx-341.html"><tt>\vector</tt></a><br> 
Back to the <a href="ltx-2.html">Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 12 May 1995.
</address>
</body>
</html>