projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finito con alarm e abort.
[gapil.git]
/
macro.tex
diff --git
a/macro.tex
b/macro.tex
index 842859c3196879458b2118856203ab829307974f..9854b62c9e0dfe7d493364032464ce6007b54fc1 100644
(file)
--- a/
macro.tex
+++ b/
macro.tex
@@
-119,7
+119,10
@@
tab.~\thechapter.\theusercount}
% variables, macros, and everything can be useul,
%
\newcommand{\cmd}[1]{\texttt{#1}} % shell command
% variables, macros, and everything can be useul,
%
\newcommand{\cmd}[1]{\texttt{#1}} % shell command
-\newcommand{\func}[1]{\texttt{#1}} % library function (or system call)
+\newcommand{\code}[1]{\texttt{#1}} % for simple code
+\newcommand{\func}[1]{%
+\index{#1@{\tt {#1}}}\texttt{#1}%
+} % library function (or system call)
\newcommand{\macro}[1]{\texttt{#1}} % macro constant
\newcommand{\var}[1]{\texttt{#1}} % variable
\newcommand{\file}[1]{\texttt{#1}} % file name
\newcommand{\macro}[1]{\texttt{#1}} % macro constant
\newcommand{\var}[1]{\texttt{#1}} % variable
\newcommand{\file}[1]{\texttt{#1}} % file name