Hi all,
I would like to do have this result:
The main code proceed in N steps:
* step number 1
* ...
* step number n
with N = the counter of the enumeration *
But when i try with "counter", it doesn't understand that i want the next counter and not the previous one (whatever the type).
And when i try with "label", it doesn't understand that i don't want a link (hypertext / hyperref).
Do you have any idea ?
Thanks,
Chris.
currently my solution is:
The main code proceed in \ref{myCounter} steps:
\begin{enumerate}
\item step number 1
...
\item step number n
\label{myCounter}
\end{enumerate}
which works but gives me a red and clickable result that I don't really want
General ⇒ use a counter "a priori" (in advance)
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
Re: use a counter "a priori" (in advance)
Do you want to remove the red or remove the clickable link? To make the ref's not links, use the starred version \ref*{MyCounter} and to remove the red boxes, use \hypersetup{pdfborder={0 0 0}} in your preamble after you include the hyperref package.
Hope that helps
Hope that helps
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
use a counter "a priori" (in advance)
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10