projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fatta una bella passata di spell su tutto quanto ...
[gapil.git]
/
macro.tex
diff --git
a/macro.tex
b/macro.tex
index 9feadaa9d15e36a1bdb230970d1c28232e7e0118..bff8918bc46fec18118ca05b62bb24aaa24db7f1 100644
(file)
--- a/
macro.tex
+++ b/
macro.tex
@@
-9,14
+9,17
@@
% Figure commands
%
\newcommand{\curfig}{fig.~\thefigure}
% Figure commands
%
\newcommand{\curfig}{fig.~\thefigure}
+
\newcommand{\nfig}{%
\setcounter{usercount}{\value{figure}}%
\addtocounter{usercount}{1}%
fig.~\thechapter.\theusercount}
\newcommand{\nfig}{%
\setcounter{usercount}{\value{figure}}%
\addtocounter{usercount}{1}%
fig.~\thechapter.\theusercount}
+
\newcommand{\pfig}{%
\setcounter{usercount}{\value{figure}}%
\addtocounter{usercount}{-1}%
fig.~\thechapter.\theusercount}
\newcommand{\pfig}{%
\setcounter{usercount}{\value{figure}}%
\addtocounter{usercount}{-1}%
fig.~\thechapter.\theusercount}
+
\newcommand{\figref}[1]{fig.~\ref{#1}}
%
% Tables commands
\newcommand{\figref}[1]{fig.~\ref{#1}}
%
% Tables commands