3
votes
1answer
60 views

Page numbering range with first - last page

I've been trying to output a page range, including the first and last page numbers of the chapter (e.g. "p. 20 - 39"). I've been using the \pageref{LastPage} command for the last page of the chapter, ...
5
votes
1answer
152 views

How to change Fancyref's page numbering behaviour?

I am using the Fancyref (\Fref{}) package for cross referencing but every reference is in the form "Figure 4 on the next page". How can I tell the package to only include "on page xxx" if the ...
18
votes
3answers
506 views

Stable alternative to \thepage

As I read and found out the command \thepage doesn't always output the correct page number. The proposed alternative is to use \pageref{here}\label{here}. But this seems too unhandy, because I have ...
1
vote
1answer
82 views

Creating pagerefs referring to article version in beamer presentation

Is there any existing way to include references to page numbers in the supporting material in a beamer presentation? Assume that I have two files, one for generating the handout in article class, ...
1
vote
0answers
148 views

Roman number not showing with \pageref [closed]

I tried to use the \pageref to show page number when referencing to a figure/table, it works fine where I have arabic number but for the tables that appear in my appendix the numbers are not showing. ...
4
votes
3answers
311 views

redefine \ref so that it also shows page number?

i was idly wondering instead of having see Section \ref{labelname} produces see Section 4.1.1 i could make it so that see Section \ref{labelname} produces see Section 4.1.1 (p65) is this ...
0
votes
0answers
54 views

How to compose and compile separate .tex files into a single article/book? [duplicate]

Possible Duplicate: How can I divide my book into different project without repeating myself? I want to compose and compile separate .tex files without repeat the preamble in every source ...
7
votes
1answer
126 views

How can I conditionally include the page number in a cross-reference (when the object referenced is on a different page)?

When a cross-reference to a figure is not on the same page as the figure, I would like to include the page number in the figure. But when they are on the same page, this is redundant--and I want to ...
2
votes
2answers
339 views

Test equality between number of the current page and the one of one reference indicated

In the following code, I have one problem with the test \ifthenelse{\equal{\pageref{#1}}{\thepage}}{...}{...}. Why doesn't this detect the equality hoped if the reference is in the same page where it ...
4
votes
2answers
423 views

How can I add extra \pagemark that marks the number of the page where current chapter starts and where it ends?

I'm using KOMA-Script scrbook class. And scrpage2 package for headings: \usepackage{scrpage2} \clearscrheadfoot \pagestyle{scrheadings} \cfoot[\pagemark]{\pagemark} \chead[]{\headmark} I want to ...
5
votes
1answer
246 views

How to find absolute page number as an integer?

Is there a simple way to retrieve an absolute page number from a label, where by absolute I mean counting all pages as integers sequentially starting from the first page of the document, without any ...
0
votes
1answer
320 views

Query on the \pageref command

I am trying to use the \pageref command and although it seems to work appropriately and finds the correct page number, for some reason (unknown to me..) it causes big spaces before and after the page ...
28
votes
6answers
3k views

How to use \pageref{foo} as a number?

What I want to do is to show a "progress bar" in the header to show how far you are in the document, by making a rule with width pagenumber divided by total pages times the paper width. This is what ...