projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correzioni all'uso improprio di \macro
[gapil.git]
/
macro.tex
diff --git
a/macro.tex
b/macro.tex
index d5b75744e9287748b0185418abf8347ad7a4d40f..9069b57be285f6ebfaa1b72a749eda5246340a28 100644
(file)
--- a/
macro.tex
+++ b/
macro.tex
@@
-110,10
+110,16
@@
\newcommand{\cmd}[1]{\texttt{#1}} % shell command
\newcommand{\code}[1]{\texttt{#1}} % for simple code
\newcommand{\func}[1]{%
\newcommand{\cmd}[1]{\texttt{#1}} % shell command
\newcommand{\code}[1]{\texttt{#1}} % for simple code
\newcommand{\func}[1]{%
-\index{#1@{
\tt {#1}
}}\texttt{#1}%
+\index{#1@{
{\tt {#1}} (funzione)
}}\texttt{#1}%
} % library function (or system call)
} % library function (or system call)
-\newcommand{\macro}[1]{\texttt{#1}} % macro constant
+\newcommand{\macro}[1]{%
+\index{#1@{{\tt {#1}} (costante)}}\texttt{#1}
+} % macro constant
+\newcommand{\errcode}[1]{%
+\index{#1@{{\tt {#1}} (errore)}}\texttt{#1}%
+} % macro constant
\newcommand{\var}[1]{\texttt{#1}} % variable
\newcommand{\var}[1]{\texttt{#1}} % variable
+\newcommand{\const}[1]{\texttt{#1}} % constant name
\newcommand{\file}[1]{\texttt{#1}} % file name
\newcommand{\link}[1]{\texttt{#1}} % html link
\newcommand{\ctyp}[1]{\texttt{#1}} % C standard type
\newcommand{\file}[1]{\texttt{#1}} % file name
\newcommand{\link}[1]{\texttt{#1}} % html link
\newcommand{\ctyp}[1]{\texttt{#1}} % C standard type