Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Britt1  
#1 Posted : 04 April 2019 22:15:41(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

How do you put in a header that automatically puts in the page number of the calculation you are on, in a multi page document?

Edited by moderator 05 April 2019 13:57:28(UTC)  | Reason: title edited - please don't write everything in capital letters

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 05 April 2019 01:33:06(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Insert> Header and Footer (to enable them)
Insert> Field> Current page index (this can go to any math or text region in the header/footer)
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Britt1  
#3 Posted : 05 April 2019 15:42:56(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Originally Posted by: mkraska Go to Quoted Post
Insert> Header and Footer (to enable them)
Insert> Field> Current page index (this can go to any math or text region in the header/footer)


That works, for simple page numbering, but I wanted to say Page X of X and have the X's be automatic.
Offline Davide Carpi  
#4 Posted : 05 April 2019 15:53:59(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: Britt1 Go to Quoted Post
That works, for simple page numbering, but I wanted to say Page X of X and have the X's be automatic.


Simply add another field:

insert > field > Number of pages

Edited by user 05 April 2019 15:55:29(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Britt1  
#5 Posted : 05 April 2019 16:07:32(UTC)
Britt1


Rank: Advanced Member

Groups: Registered
Joined: 20/03/2019(UTC)
Posts: 73
United States
Location: Mandeville, LA

Originally Posted by: Davide Carpi Go to Quoted Post
Originally Posted by: Britt1 Go to Quoted Post
That works, for simple page numbering, but I wanted to say Page X of X and have the X's be automatic.


Simply add another field:

insert > field > Number of pages


I figured out how to do that, but why is it so tedious. To do that, you have to put in the first number, then exit the command, come back in put in the word "of" then exit, and come back in and put in the number of pages, otherwise, it just changes the one box you are in, and it does not work. Seems like you should be able to put it in in one step.
Offline Davide Carpi  
#6 Posted : 05 April 2019 16:53:04(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: Britt1 Go to Quoted Post
I figured out how to do that, but why is it so tedious. To do that, you have to put in the first number, then exit the command, come back in put in the word "of" then exit, and come back in and put in the number of pages, otherwise, it just changes the one box you are in, and it does not work. Seems like you should be able to put it in in one step.


Fields are a recent feature, they might be improved in future (a shortcut for the dialog, some sort of dynamic assistant, composed fields, an insert that doesn't close the dialog, ...). I agree it might be simplified, however isn't something you use massively in a document (you have to set it once per document or even less, if you prepare your own template to copy and use as starting point for every project).

Also, you can copy/paste this if you want:

Code:
page \[PAGENUM[0]]\ of \[COUNT[0]]\


If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 06/04/2019(UTC)
Offline ElSid  
#7 Posted : 15 November 2019 18:49:59(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
David,
I'm doing custom footers and inserted the Current Page Index (pagenum) field on the right hand side. How do I get it to start on page 3? I cannot find a way to edit this fields.
BTW; I have a LibreOffice cover sheet I want to use

Edited by user 16 November 2019 05:10:19(UTC)  | Reason: Not specified

Offline Kenny Lemens  
#8 Posted : 01 April 2022 01:12:05(UTC)
Kenny Lemens


Rank: Advanced Member

Groups: Registered
Joined: 11/01/2018(UTC)
Posts: 131
Man
United States
Location: Wisconsin

Was thanked: 58 time(s) in 37 post(s)
Greetings,

There is a simple solution, type the following:
Code:
page \[PAGENUM[2]]\ of \[COUNT[2]]\」 

Your first sheet will start on page '3' and your total page number will be increased by +2


Similar Post: https://en.smath.com/for..._postst17506_Fields.aspx


-Kenny Lemens
"No matter where you go, there you are." -Buckaroo Banzai

Hotkeys: https://en.smath.com/for...rce.ashx?a=45771&b=2
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.