X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=macro.tex;h=9069b57be285f6ebfaa1b72a749eda5246340a28;hp=d5b75744e9287748b0185418abf8347ad7a4d40f;hb=76c815519021c83247a87d9f4318fc4aaa533f56;hpb=bff17765a4aa5e979e0a72b70917c70254e97c98 diff --git a/macro.tex b/macro.tex index d5b7574..9069b57 100644 --- 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]{% -\index{#1@{\tt {#1}}}\texttt{#1}% +\index{#1@{{\tt {#1}} (funzione)}}\texttt{#1}% } % 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{\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