Questions tagged [refcount]
refcount package helps to extract numerical data from references. Then it can be used, for example, for calculations.
14
questions
1
vote
1
answer
318
views
Counting pages within certain chapters or sections of a book class document
Problem: For a document I need to submit to my university, the word count is unimportant but the page count is required to be equal to or less than a certain value (32 in this case). In the executive ...
1
vote
2
answers
41
views
Is there a way to change the style of a float depending on whether it is on the same page of call out or not (again)?
(This is a follow-up of the (unfortunately closed) question Is there a way to change the style of a float depending on whether it is on the same page of call out or not?))
In order to change the style ...
2
votes
1
answer
427
views
Beamer: Table of Contents based on Frame Numbers (instead of page number)
I am trying to generate a table of contents in beamer, but instead of displaying the page number on the right side, I would like to access/display the frame number. So my question is:
How do I create ...
0
votes
1
answer
62
views
Referencing dynamically changing items in cvlist
In an academic CV, I want to flexibly refer to cv list items when I add items to this list. Specifically, I want to refer to the item number of a publication elsewhere, and when I update my list of ...
1
vote
0
answers
140
views
Latex get counter value at beginning of section [duplicate]
I am trying to access the final value of a counter in each section at the beginning of the section. The reason for knowing the value ahead of time is to use it in a bar plot that summarizes ...
4
votes
2
answers
129
views
babel conflicts with, I think, refcount
The following code is continued from this post and this one. The following code compiles ok without babel but not with it. See the console output below. Is there a way resolve this issue?
\...
3
votes
1
answer
120
views
Use Numberstring in cref call
Trying to conform to what my GF wants in her thesis: she would like chapter references as "Chapter One", "Chapter Two", etc. I found this answer, which looks to work, but I was hoping to use these ...
2
votes
2
answers
294
views
How to use `refcount` for chapter-wise counters?
I'm using the refcount package to set some counters to the same values as counters from another .tex file. The labels from the other .tex file are imported with the zref-xr package.
This method fails ...
2
votes
1
answer
245
views
Carrying counters over to another file using zref
During my last experiences with cross-referencing on total counts between different files, a problem of carrying counters over to another file appears. Somehow there is an error when I use for these ...
1
vote
1
answer
255
views
How to get a total number of literature references and save it to a user defined counter?
During my last experience with Cross-referencing on total counts between different files, which can be read here, a problem of saving the total number of literature references in a user defined ...
2
votes
1
answer
130
views
How to make refcount work with roman page numbers?
Is there a way to make the following MWE work with roman page numbers?
\documentclass{article}
\usepackage{refcount}
\newcounter{mycount}
\begin{document}
%\pagenumbering{roman}
\stepcounter{mycount}
...
1
vote
1
answer
190
views
Cross reference chapter number as string
I'm trying to print the chapter number of a cross referenced labelled chapter, not as an Arabic or Roman numeral, but written out as a word.
I have managed to find some information here, which ...
2
votes
0
answers
22
views
Referencing custom counter [duplicate]
I want to define a new counter for numbering some headlines. I also would like to reference them. So, if I label the headline 3, then \ref should just return the number 3.
Unfortunately, all other ...
3
votes
1
answer
245
views
Maintain hyperref using refcount and fmtcount
I am using a combination of refcount and fmtcount to allow chapter references to produce a string (based on the solution to Macro to generate ordinal words from numbers?). However, I have found that ...