Document Classes ⇒ referencing a post calculated value...
-
- Posts: 2
- Joined: Fri Mar 18, 2022 12:50 pm
referencing a post calculated value...
I would like to modify the solution proposed by cgnieder (Tue Jul 03, 2012 11:09 pm) so that I can use the result of \getlastvalue{mycounter} further. I would like to be able to assign this number to a counter, and to use it to define the number of columns in a table as in \begin{tabular}{*\getlastvalue{mycounter}{c}} ... and so on.
How to do that?
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