diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-18 18:11:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-18 18:11:53 -0300 |
commit | 6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94 (patch) | |
tree | aaa9315d3e799e10c1a7fa74cebebe2b5e11db84 | |
parent | 60bdc370d90298723552b5c62e84052b1c06de91 (diff) | |
download | lua-6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94.tar.gz lua-6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94.tar.bz2 lua-6b61582e47b8dc9c2f9ebce4593f8b7a5e6aaf94.zip |
do not use $...$ to italic.
-rw-r--r-- | manual.tex | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,11 +1,12 @@ | |||
1 | % $Id: manual.tex,v 2.0 1997/06/17 18:45:16 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 2.1 1997/06/18 20:14:52 roberto Exp roberto $ |
2 | 2 | ||
3 | \documentstyle[fullpage,11pt,bnf]{article} | 3 | \documentstyle[fullpage,11pt,bnf]{article} |
4 | 4 | ||
5 | \newcommand{\rw}[1]{{\bf #1}} | 5 | \newcommand{\rw}[1]{{\bf #1}} |
6 | \newcommand{\See}[1]{Section~\ref{#1}} | 6 | \newcommand{\See}[1]{Section~\ref{#1}} |
7 | \newcommand{\see}[1]{(see \See{#1})} | 7 | \newcommand{\see}[1]{(see \See{#1})} |
8 | \newcommand{\M}[1]{$#1$} | 8 | \newcommand{\M}[1]{\emph{#1}} |
9 | \newcommand{\Math}[1]{$#1$} | ||
9 | \newcommand{\nil}{{\bf nil}} | 10 | \newcommand{\nil}{{\bf nil}} |
10 | \newcommand{\Line}{\rule{\linewidth}{.5mm}} | 11 | \newcommand{\Line}{\rule{\linewidth}{.5mm}} |
11 | \def\tecgraf{{\sf TeC\kern-.21em\lower.7ex\hbox{Graf}}} | 12 | \def\tecgraf{{\sf TeC\kern-.21em\lower.7ex\hbox{Graf}}} |
@@ -37,7 +38,7 @@ Waldemar Celes | |||
37 | \tecgraf\ --- Computer Science Department --- PUC-Rio | 38 | \tecgraf\ --- Computer Science Department --- PUC-Rio |
38 | } | 39 | } |
39 | 40 | ||
40 | \date{\small \verb$Date: 1997/06/17 18:45:16 $} | 41 | \date{\small \verb$Date: 1997/06/18 20:14:52 $} |
41 | 42 | ||
42 | \maketitle | 43 | \maketitle |
43 | 44 | ||
@@ -2024,7 +2025,7 @@ and the part matching \verb|%s*| has number 3. | |||
2024 | 2025 | ||
2025 | This library is an interface to some functions of the standard C math library. | 2026 | This library is an interface to some functions of the standard C math library. |
2026 | In addition, it registers a tag method for the binary operator \verb|^| that | 2027 | In addition, it registers a tag method for the binary operator \verb|^| that |
2027 | returns \M{x^y} when applied to numbers \verb|x^y|. | 2028 | returns \Math{x^y} when applied to numbers \verb|x^y|. |
2028 | 2029 | ||
2029 | The library provides the following functions: | 2030 | The library provides the following functions: |
2030 | \Deffunc{abs}\Deffunc{acos}\Deffunc{asin}\Deffunc{atan} | 2031 | \Deffunc{abs}\Deffunc{acos}\Deffunc{asin}\Deffunc{atan} |
@@ -2050,7 +2051,7 @@ The functions \verb|random| and \verb|randomseed| are interfaces to | |||
2050 | the simple random generator functions \verb|rand| and \verb|srand|, | 2051 | the simple random generator functions \verb|rand| and \verb|srand|, |
2051 | provided by ANSI C. | 2052 | provided by ANSI C. |
2052 | The function \verb|random| returns pseudo-random numbers in the | 2053 | The function \verb|random| returns pseudo-random numbers in the |
2053 | range \M{[0,1)}. | 2054 | range \Math{[0,1)}. |
2054 | 2055 | ||
2055 | 2056 | ||
2056 | \subsection{I/O Facilities} \label{libio} | 2057 | \subsection{I/O Facilities} \label{libio} |
@@ -2265,8 +2266,8 @@ lua_Function lua_stackedfunction (int level); | |||
2265 | \end{verbatim} | 2266 | \end{verbatim} |
2266 | It returns a handle (\verb|lua_Function|) to the {\em activation record\/} | 2267 | It returns a handle (\verb|lua_Function|) to the {\em activation record\/} |
2267 | of the function executing at a given level. | 2268 | of the function executing at a given level. |
2268 | Level 0 is the current running function, | 2269 | Level~0 is the current running function, |
2269 | while level \M{n+1} is the function that has called level \M{n}. | 2270 | while level \Math{n+1} is the function that has called level \Math{n}. |
2270 | When called with a level greater than the stack depth, | 2271 | When called with a level greater than the stack depth, |
2271 | \verb|lua_stackedfunction| returns \verb|LUA_NOOBJECT|. | 2272 | \verb|lua_stackedfunction| returns \verb|LUA_NOOBJECT|. |
2272 | 2273 | ||