General ⇒ use a counter "a priori" (in advance)
use a counter "a priori" (in advance)
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
Re: use a counter "a priori" (in advance)
Hope that helps
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
use a counter "a priori" (in advance)
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10