Re: Page numbering

2016-03-29 Thread Gordon Cooper



On 30/03/16 01:08, Maria Gouskova wrote:

Section 17 on page 16 of the fancyhdr manual talks about this.

http://www.ctan.org/pkg/fancyhdr


Thank you Maria,  package chappg  should
solve my problem.

Gordon.



Re: Page numbering

2016-03-29 Thread Maria Gouskova
On Tue, Mar 29, 2016 at 12:29 AM, Gordon Cooper
 wrote:
> This has probably been asked and answered before. Have spent
> half the afternoon looking in Help and User Archives without success.
> Apologies for asking again.
>
> We are working on technical manuals,  authored in Lyx and published
> in html and pdf.  Authoring language is English, with translations happening
> as we find volunteers.  Russian is already done and three more European
> languages are in progress.
>
> Would like the page numbering (in the pdf's) to relate to Sections of the
> manual. Rather than a 1,2,3,4. sequence, I am looking (hoping?)
> for 1-1, 1-2, 1-3,. etc., for the first Section then 2-1,2-2... etc. for
> the
> next, and so on.  These sequences to be recognised in the TOC.
>
> The separation characters do not have to be hyphens, 1.1,
> 1.2 etc, or 1_1, 1_2  would be great.
>
> Why? Briefly, these manuals will be used over several years and most
> certainly have updates/additions. Sectional page numbers will make life
> easier for the editors. Me for one.
>
> Possible?
>
> Gordon
> Tauranga
> New Zealand.

Section 17 on page 16 of the fancyhdr manual talks about this.

http://www.ctan.org/pkg/fancyhdr

Maria


Re: page numbering problems in frontmatter

2012-01-09 Thread Richard Heck

On 01/09/2012 10:07 AM, Thomas DiPrete wrote:

Hi, I've produced a document in book class and am trying to get the
table of contents, list of tables, list of figures and the preface to
be numbered with roman numerals, and then the body of the document
should begin with number 1 in arabic.  If I do
\frontmatter
table of contents
list of figures
list of tables
[Preface material]
\mainmatter
[Chapter 1 material]

Then I get the table of contents in roman numbers.  But the list of
figures begins again with number 1 in arabic and continues in arabic
through the end of the preface after which it begins with page 1 again
in the first chapter.

If instead, I do


table of contents
\frontmatter
list of figures
list of tables
[Preface material]
\mainmatter
[Chapter 1 material]

This way, all the front matter is numbered in roman numbers (which I
want), but the numbering starts over again in the list of figures
(which I don't want).

How do I get all the front matter to be numbered consecutively in
roman numbers, followed by numbering in arabic numbers starting with 1
in the main material?
I think it will help if you can post a *small* example file that 
illustrates the problem.


Richard



Re: page numbering problems in frontmatter

2012-01-09 Thread Richard Heck

On 01/09/2012 10:07 AM, Thomas DiPrete wrote:

Hi, I've produced a document in book class and am trying to get the
table of contents, list of tables, list of figures and the preface to
be numbered with roman numerals, and then the body of the document
should begin with number 1 in arabic.  If I do
\frontmatter
table of contents
list of figures
list of tables
[Preface material]
\mainmatter
[Chapter 1 material]

Then I get the table of contents in roman numbers.  But the list of
figures begins again with number 1 in arabic and continues in arabic
through the end of the preface after which it begins with page 1 again
in the first chapter.

If instead, I do


table of contents
\frontmatter
list of figures
list of tables
[Preface material]
\mainmatter
[Chapter 1 material]

This way, all the front matter is numbered in roman numbers (which I
want), but the numbering starts over again in the list of figures
(which I don't want).

How do I get all the front matter to be numbered consecutively in
roman numbers, followed by numbering in arabic numbers starting with 1
in the main material?
I think it will help if you can post a *small* example file that 
illustrates the problem.


Richard



Re: page numbering problems in frontmatter

2012-01-09 Thread Richard Heck

On 01/09/2012 10:07 AM, Thomas DiPrete wrote:

Hi, I've produced a document in book class and am trying to get the
table of contents, list of tables, list of figures and the preface to
be numbered with roman numerals, and then the body of the document
should begin with number 1 in arabic.  If I do
\frontmatter
table of contents
list of figures
list of tables
[Preface material]
\mainmatter
[Chapter 1 material]

Then I get the table of contents in roman numbers.  But the list of
figures begins again with number 1 in arabic and continues in arabic
through the end of the preface after which it begins with page 1 again
in the first chapter.

If instead, I do


table of contents
\frontmatter
list of figures
list of tables
[Preface material]
\mainmatter
[Chapter 1 material]

This way, all the front matter is numbered in roman numbers (which I
want), but the numbering starts over again in the list of figures
(which I don't want).

How do I get all the front matter to be numbered consecutively in
roman numbers, followed by numbering in arabic numbers starting with 1
in the main material?
I think it will help if you can post a *small* example file that 
illustrates the problem.


Richard



Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Steve Litt
On Wednesday, August 17, 2011 04:03:36 PM ChiPro wrote:
 Hi,
 
 how does one change the page numbering format to the following:
 
 [Page number] / [Total number of pages]
 
 
 
 Example:
 
 At the bottom (center) of the fifth page of the document that has a
 total of 15 pages, I would like the PDF file to display 5 / 15.
 
 Thanks!

Try these:

http://www.ctan.org/pkg/lastpage

http://www.ctan.org/pkg/totpages

I asked this exact question a couple years ago, and those were the 
suggestions. I think I got lastpage to do what I wanted.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread ChiPro
Steve Litt slitt at troubleshooters.com writes:

 I asked this exact question a couple years ago, and those were the 
 suggestions. I think I got lastpage to do what I wanted.
 
 SteveT
 

Thanks Steve. Even more basic question, how do I install this package on my Mac?
(I'm a beginner)

Thanks!




Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Liviu Andronic
On Wed, Aug 17, 2011 at 10:58 PM, ChiPro chipro...@gmail.com wrote:
 Steve Litt slitt at troubleshooters.com writes:

 I asked this exact question a couple years ago, and those were the
 suggestions. I think I got lastpage to do what I wanted.

 SteveT


 Thanks Steve. Even more basic question, how do I install this package on my 
 Mac?
 (I'm a beginner)

See Help  Customization  Section 5 for some pointers.
Liviu


Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Steve Litt
On Wednesday, August 17, 2011 04:58:29 PM ChiPro wrote:
 Steve Litt slitt at troubleshooters.com writes:
  I asked this exact question a couple years ago, and those were
  the suggestions. I think I got lastpage to do what I wanted.
  
  SteveT
 
 Thanks Steve. Even more basic question, how do I install this
 package on my Mac? (I'm a beginner)

:-)

I guarantee you, as much of a beginner as you are with LyX, I'd be 
more of a beginner on Mac. I think between 1984 and now I've logged 
about 10 hours on a Mac.

On Linux you go to CTAN, download the package, put it in your LaTeX 
tree, and run the texhash program, then in your LyX document 
properties LaTeX Preamble you put \usepackage{lastline} or 
\usepackage{totpages}, and in your actual document text follow the 
directions in the package documentation.

Since you're a newbie I'm going to give you a piece of advice -- do as 
I say, not as I do. I personally use LaTeX to finesse a lot of what I 
need to do. On the other hand, there are many people on this list who 
can instantly find a package to do what I'd spend a half a day 
finessing. Those guys are a lot more productive than I. So become one 
of them -- get really familiar with what CTAN offers, and how to 
quickly find a package to enable a certain feature. There must be an 
efficient way to do it, because a lot of people on this list can do it 
instantly.

I have one other piece of advice for you, but let's wait until you're 
in a position where you can't get your title page or other front 
matter to look like you want it, and then ask me.

HTH

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Steve Litt
On Wednesday, August 17, 2011 04:03:36 PM ChiPro wrote:
 Hi,
 
 how does one change the page numbering format to the following:
 
 [Page number] / [Total number of pages]
 
 
 
 Example:
 
 At the bottom (center) of the fifth page of the document that has a
 total of 15 pages, I would like the PDF file to display 5 / 15.
 
 Thanks!

Try these:

http://www.ctan.org/pkg/lastpage

http://www.ctan.org/pkg/totpages

I asked this exact question a couple years ago, and those were the 
suggestions. I think I got lastpage to do what I wanted.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread ChiPro
Steve Litt slitt at troubleshooters.com writes:

 I asked this exact question a couple years ago, and those were the 
 suggestions. I think I got lastpage to do what I wanted.
 
 SteveT
 

Thanks Steve. Even more basic question, how do I install this package on my Mac?
(I'm a beginner)

Thanks!




Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Liviu Andronic
On Wed, Aug 17, 2011 at 10:58 PM, ChiPro chipro...@gmail.com wrote:
 Steve Litt slitt at troubleshooters.com writes:

 I asked this exact question a couple years ago, and those were the
 suggestions. I think I got lastpage to do what I wanted.

 SteveT


 Thanks Steve. Even more basic question, how do I install this package on my 
 Mac?
 (I'm a beginner)

See Help  Customization  Section 5 for some pointers.
Liviu


Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Steve Litt
On Wednesday, August 17, 2011 04:58:29 PM ChiPro wrote:
 Steve Litt slitt at troubleshooters.com writes:
  I asked this exact question a couple years ago, and those were
  the suggestions. I think I got lastpage to do what I wanted.
  
  SteveT
 
 Thanks Steve. Even more basic question, how do I install this
 package on my Mac? (I'm a beginner)

:-)

I guarantee you, as much of a beginner as you are with LyX, I'd be 
more of a beginner on Mac. I think between 1984 and now I've logged 
about 10 hours on a Mac.

On Linux you go to CTAN, download the package, put it in your LaTeX 
tree, and run the texhash program, then in your LyX document 
properties LaTeX Preamble you put \usepackage{lastline} or 
\usepackage{totpages}, and in your actual document text follow the 
directions in the package documentation.

Since you're a newbie I'm going to give you a piece of advice -- do as 
I say, not as I do. I personally use LaTeX to finesse a lot of what I 
need to do. On the other hand, there are many people on this list who 
can instantly find a package to do what I'd spend a half a day 
finessing. Those guys are a lot more productive than I. So become one 
of them -- get really familiar with what CTAN offers, and how to 
quickly find a package to enable a certain feature. There must be an 
efficient way to do it, because a lot of people on this list can do it 
instantly.

I have one other piece of advice for you, but let's wait until you're 
in a position where you can't get your title page or other front 
matter to look like you want it, and then ask me.

HTH

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Steve Litt
On Wednesday, August 17, 2011 04:03:36 PM ChiPro wrote:
> Hi,
> 
> how does one change the page numbering format to the following:
> 
> [Page number] / [Total number of pages]
> 
> 
> 
> Example:
> 
> At the bottom (center) of the fifth page of the document that has a
> total of 15 pages, I would like the PDF file to display "5 / 15".
> 
> Thanks!

Try these:

http://www.ctan.org/pkg/lastpage

http://www.ctan.org/pkg/totpages

I asked this exact question a couple years ago, and those were the 
suggestions. I think I got lastpage to do what I wanted.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread ChiPro
Steve Litt  troubleshooters.com> writes:

> I asked this exact question a couple years ago, and those were the 
> suggestions. I think I got lastpage to do what I wanted.
> 
> SteveT
> 

Thanks Steve. Even more basic question, how do I install this package on my Mac?
(I'm a beginner)

Thanks!




Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Liviu Andronic
On Wed, Aug 17, 2011 at 10:58 PM, ChiPro  wrote:
> Steve Litt  troubleshooters.com> writes:
>
>> I asked this exact question a couple years ago, and those were the
>> suggestions. I think I got lastpage to do what I wanted.
>>
>> SteveT
>>
>
> Thanks Steve. Even more basic question, how do I install this package on my 
> Mac?
> (I'm a beginner)
>
See Help > Customization > Section 5 for some pointers.
Liviu


Re: Page numbering: [Page #] / [Total # of pages]

2011-08-17 Thread Steve Litt
On Wednesday, August 17, 2011 04:58:29 PM ChiPro wrote:
> Steve Litt  troubleshooters.com> writes:
> > I asked this exact question a couple years ago, and those were
> > the suggestions. I think I got lastpage to do what I wanted.
> > 
> > SteveT
> 
> Thanks Steve. Even more basic question, how do I install this
> package on my Mac? (I'm a beginner)

:-)

I guarantee you, as much of a beginner as you are with LyX, I'd be 
more of a beginner on Mac. I think between 1984 and now I've logged 
about 10 hours on a Mac.

On Linux you go to CTAN, download the package, put it in your LaTeX 
tree, and run the texhash program, then in your LyX document 
properties LaTeX Preamble you put \usepackage{lastline} or 
\usepackage{totpages}, and in your actual document text follow the 
directions in the package documentation.

Since you're a newbie I'm going to give you a piece of advice -- do as 
I say, not as I do. I personally use LaTeX to finesse a lot of what I 
need to do. On the other hand, there are many people on this list who 
can instantly find a package to do what I'd spend a half a day 
finessing. Those guys are a lot more productive than I. So become one 
of them -- get really familiar with what CTAN offers, and how to 
quickly find a package to enable a certain feature. There must be an 
efficient way to do it, because a lot of people on this list can do it 
instantly.

I have one other piece of advice for you, but let's wait until you're 
in a position where you can't get your title page or other front 
matter to look like you want it, and then ask me.

HTH

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: page numbering question

2011-05-24 Thread Csikos Bela
Thank you for the quick answers.

Julien Rioux jri...@physics.utoronto.ca írta:
On 23/05/2011 2:42 PM, Paul Rubin wrote:
 Csikos Belabcsikos425at  freemail.hu  writes:


 Hello lyx users:

 My question is not specific to lyx but as I use lyx as a latex frontend I
 guess it is appropriate to ask it here.

 I would like to make a specific page numbering style in the footer,
 something like:

  page-number ---

 A horizontal line in the footer which is interrupted by the page number
 in the center. Is this possible in lyx/latex? How?


 If you have the mboxfill package installed, you can change the page style to
 fancy (Document  Settings...  Page Layout  Headings style) and add the
 following to the preamble of your document:

 \usepackage{mboxfill}
 \cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

 Paul


This solution is OK, but I want a rule, not a dashed line.
Unfortunately my example did not reflect his accurately.



Another solution also using fancy page headers in the document settings 
but plain tex otherwise. Put this in the preamble.

\def\hlinefill{\leavevmode\cleaders\hbox{\rule[0.6ex]{1em}{0.4pt}}\hfill}
\fancyfoot{\hlinefill~~~\thepage~~~\hlinefill}

In the above:
- 0.6ex is the height of the line (looks kind of centered)
- 1em is the width of a line segment which gets repeated to fill space
- 0.4pt is the thickness of the line (this particular choice is a 
default value elsewhere in tex)

This is what I need.


By the way, using fancy headers will add default headers, if you don't 
want them you get rid of them with

\fancyhead{}

-- 
Julien



Thank you both,

bcsikos



Re: page numbering question

2011-05-24 Thread Csikos Bela
Thank you for the quick answers.

Julien Rioux jri...@physics.utoronto.ca írta:
On 23/05/2011 2:42 PM, Paul Rubin wrote:
 Csikos Belabcsikos425at  freemail.hu  writes:


 Hello lyx users:

 My question is not specific to lyx but as I use lyx as a latex frontend I
 guess it is appropriate to ask it here.

 I would like to make a specific page numbering style in the footer,
 something like:

  page-number ---

 A horizontal line in the footer which is interrupted by the page number
 in the center. Is this possible in lyx/latex? How?


 If you have the mboxfill package installed, you can change the page style to
 fancy (Document  Settings...  Page Layout  Headings style) and add the
 following to the preamble of your document:

 \usepackage{mboxfill}
 \cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

 Paul


This solution is OK, but I want a rule, not a dashed line.
Unfortunately my example did not reflect his accurately.



Another solution also using fancy page headers in the document settings 
but plain tex otherwise. Put this in the preamble.

\def\hlinefill{\leavevmode\cleaders\hbox{\rule[0.6ex]{1em}{0.4pt}}\hfill}
\fancyfoot{\hlinefill~~~\thepage~~~\hlinefill}

In the above:
- 0.6ex is the height of the line (looks kind of centered)
- 1em is the width of a line segment which gets repeated to fill space
- 0.4pt is the thickness of the line (this particular choice is a 
default value elsewhere in tex)

This is what I need.


By the way, using fancy headers will add default headers, if you don't 
want them you get rid of them with

\fancyhead{}

-- 
Julien



Thank you both,

bcsikos



Re: page numbering question

2011-05-24 Thread Csikos Bela
Thank you for the quick answers.

Julien Rioux  írta:
>On 23/05/2011 2:42 PM, Paul Rubin wrote:>
> Csikos Bela  writes:>
>>
>>>
>> Hello lyx users:>
>>>
>> My question is not specific to lyx but as I use lyx as a latex "frontend" I>
>> guess it is appropriate to ask it here.>
>>>
>> I would like to make a specific page numbering style in the footer,>
>> something like:>
>>>
>>  page-number --->
>>>
>> A horizontal line in the footer which is interrupted by the page number>
>> in the center. Is this possible in lyx/latex? How?>
>>>
>>
> If you have the mboxfill package installed, you can change the page style to>
> "fancy" (Document>  Settings...>  Page Layout>  Headings style) and add the>
> following to the preamble of your document:>
>>
> \usepackage{mboxfill}>
> \cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}>
>>
> Paul>
>>

This solution is OK, but I want a rule, not a dashed line.
Unfortunately my example did not reflect his accurately.

>
>
Another solution also using fancy page headers in the document settings >
but plain tex otherwise. Put this in the preamble.>
>
\def\hlinefill{\leavevmode\cleaders\hbox{\rule[0.6ex]{1em}{0.4pt}}\hfill}>
\fancyfoot{\hlinefill~~~\thepage~~~\hlinefill}>
>
In the above:>
- 0.6ex is the height of the line (looks kind of centered)>
- 1em is the width of a line segment which gets repeated to fill space>
- 0.4pt is the thickness of the line (this particular choice is a >
default value elsewhere in tex)>

This is what I need.

>
By the way, using fancy headers will add default headers, if you don't >
want them you get rid of them with>
>
\fancyhead{}>
>
-- >
Julien>
>


Thank you both,

bcsikos



Re: page numbering question

2011-05-23 Thread Paul Rubin
Csikos Bela bcsikos425 at freemail.hu writes:

 
 Hello lyx users:
 
 My question is not specific to lyx but as I use lyx as a latex frontend I
 guess it is appropriate to ask it here.
 
 I would like to make a specific page numbering style in the footer, 
 something like:
 
  page-number ---
 
 A horizontal line in the footer which is interrupted by the page number
 in the center. Is this possible in lyx/latex? How?
 

If you have the mboxfill package installed, you can change the page style to
fancy (Document  Settings...  Page Layout  Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul






Re: page numbering question

2011-05-23 Thread Julien Rioux

On 23/05/2011 2:42 PM, Paul Rubin wrote:

Csikos Belabcsikos425at  freemail.hu  writes:



Hello lyx users:

My question is not specific to lyx but as I use lyx as a latex frontend I
guess it is appropriate to ask it here.

I would like to make a specific page numbering style in the footer,
something like:

 page-number ---

A horizontal line in the footer which is interrupted by the page number
in the center. Is this possible in lyx/latex? How?



If you have the mboxfill package installed, you can change the page style to
fancy (Document  Settings...  Page Layout  Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul








Another solution also using fancy page headers in the document settings 
but plain tex otherwise. Put this in the preamble.


\def\hlinefill{\leavevmode\cleaders\hbox{\rule[0.6ex]{1em}{0.4pt}}\hfill}
\fancyfoot{\hlinefill~~~\thepage~~~\hlinefill}

In the above:
- 0.6ex is the height of the line (looks kind of centered)
- 1em is the width of a line segment which gets repeated to fill space
- 0.4pt is the thickness of the line (this particular choice is a 
default value elsewhere in tex)


By the way, using fancy headers will add default headers, if you don't 
want them you get rid of them with


\fancyhead{}

--
Julien



Re: page numbering question

2011-05-23 Thread Paul Rubin
Csikos Bela bcsikos425 at freemail.hu writes:

 
 Hello lyx users:
 
 My question is not specific to lyx but as I use lyx as a latex frontend I
 guess it is appropriate to ask it here.
 
 I would like to make a specific page numbering style in the footer, 
 something like:
 
  page-number ---
 
 A horizontal line in the footer which is interrupted by the page number
 in the center. Is this possible in lyx/latex? How?
 

If you have the mboxfill package installed, you can change the page style to
fancy (Document  Settings...  Page Layout  Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul






Re: page numbering question

2011-05-23 Thread Julien Rioux

On 23/05/2011 2:42 PM, Paul Rubin wrote:

Csikos Belabcsikos425at  freemail.hu  writes:



Hello lyx users:

My question is not specific to lyx but as I use lyx as a latex frontend I
guess it is appropriate to ask it here.

I would like to make a specific page numbering style in the footer,
something like:

 page-number ---

A horizontal line in the footer which is interrupted by the page number
in the center. Is this possible in lyx/latex? How?



If you have the mboxfill package installed, you can change the page style to
fancy (Document  Settings...  Page Layout  Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul








Another solution also using fancy page headers in the document settings 
but plain tex otherwise. Put this in the preamble.


\def\hlinefill{\leavevmode\cleaders\hbox{\rule[0.6ex]{1em}{0.4pt}}\hfill}
\fancyfoot{\hlinefill~~~\thepage~~~\hlinefill}

In the above:
- 0.6ex is the height of the line (looks kind of centered)
- 1em is the width of a line segment which gets repeated to fill space
- 0.4pt is the thickness of the line (this particular choice is a 
default value elsewhere in tex)


By the way, using fancy headers will add default headers, if you don't 
want them you get rid of them with


\fancyhead{}

--
Julien



Re: page numbering question

2011-05-23 Thread Paul Rubin
Csikos Bela  freemail.hu> writes:

> 
> Hello lyx users:
> 
> My question is not specific to lyx but as I use lyx as a latex "frontend" I
> guess it is appropriate to ask it here.
> 
> I would like to make a specific page numbering style in the footer, 
> something like:
> 
>  page-number ---
> 
> A horizontal line in the footer which is interrupted by the page number
> in the center. Is this possible in lyx/latex? How?
> 

If you have the mboxfill package installed, you can change the page style to
"fancy" (Document > Settings... > Page Layout > Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul






Re: page numbering question

2011-05-23 Thread Julien Rioux

On 23/05/2011 2:42 PM, Paul Rubin wrote:

Csikos Bela  writes:



Hello lyx users:

My question is not specific to lyx but as I use lyx as a latex "frontend" I
guess it is appropriate to ask it here.

I would like to make a specific page numbering style in the footer,
something like:

 page-number ---

A horizontal line in the footer which is interrupted by the page number
in the center. Is this possible in lyx/latex? How?



If you have the mboxfill package installed, you can change the page style to
"fancy" (Document>  Settings...>  Page Layout>  Headings style) and add the
following to the preamble of your document:

\usepackage{mboxfill}
\cfoot{\mboxfill[2\width][c]{-}\thepage\mboxfill[2\width][c]{-}}

Paul








Another solution also using fancy page headers in the document settings 
but plain tex otherwise. Put this in the preamble.


\def\hlinefill{\leavevmode\cleaders\hbox{\rule[0.6ex]{1em}{0.4pt}}\hfill}
\fancyfoot{\hlinefill~~~\thepage~~~\hlinefill}

In the above:
- 0.6ex is the height of the line (looks kind of centered)
- 1em is the width of a line segment which gets repeated to fill space
- 0.4pt is the thickness of the line (this particular choice is a 
default value elsewhere in tex)


By the way, using fancy headers will add default headers, if you don't 
want them you get rid of them with


\fancyhead{}

--
Julien



RE: Page numbering

2011-04-30 Thread Christian Wilhelmsen
Heisann Marit!

The only way I can think of is, unfortunately, through code, or ERT (Evil
Red Text).

In your document, press CTRL+L, and a red box will appear. After your front
page you could tyoe in the red box : \pagestyle{fancy}
This will change the rest of your document class. I am writing my bachelor
thesis at this moment, and have been working a lot with making
my lyx document look exactly as I want, a lot of settings and some ERT is
unfortunately mandatory.

Document - settings - page layout - fancy and two-sided is the best way
to start I think.


- Christian Wilhelmsen


RE: Page numbering

2011-04-30 Thread Christian Wilhelmsen
Heisann Marit!

The only way I can think of is, unfortunately, through code, or ERT (Evil
Red Text).

In your document, press CTRL+L, and a red box will appear. After your front
page you could tyoe in the red box : \pagestyle{fancy}
This will change the rest of your document class. I am writing my bachelor
thesis at this moment, and have been working a lot with making
my lyx document look exactly as I want, a lot of settings and some ERT is
unfortunately mandatory.

Document - settings - page layout - fancy and two-sided is the best way
to start I think.


- Christian Wilhelmsen


RE: Page numbering

2011-04-30 Thread Christian Wilhelmsen
Heisann Marit!

The only way I can think of is, unfortunately, through code, or ERT (Evil
Red Text).

In your document, press CTRL+L, and a red box will appear. After your front
page you could tyoe in the red box : \pagestyle{fancy}
This will change the rest of your document class. I am writing my bachelor
thesis at this moment, and have been working a lot with making
my lyx document look exactly as I want, a lot of settings and some ERT is
unfortunately mandatory.

Document -> settings -> page layout -> fancy and two-sided is the best way
to start I think.


- Christian Wilhelmsen


Re: Page numbering

2011-04-28 Thread Paul Rubin
The default for article (paper) has headers containing section titles (if any)
and page numbers, with the page number in the upper right of the page (except
for page 1).  Are you not getting the page numbers in the upper right corner? 
If not, are you at least getting the rest of the header?

Paul




Re: Page numbering

2011-04-28 Thread Paul Rubin
The default for article (paper) has headers containing section titles (if any)
and page numbers, with the page number in the upper right of the page (except
for page 1).  Are you not getting the page numbers in the upper right corner? 
If not, are you at least getting the rest of the header?

Paul




Re: Page numbering

2011-04-28 Thread Paul Rubin
The default for article (paper) has headers containing section titles (if any)
and page numbers, with the page number in the upper right of the page (except
for page 1).  Are you not getting the page numbers in the upper right corner? 
If not, are you at least getting the rest of the header?

Paul




Re: Page numbering x of y

2010-11-01 Thread Stephan Witt
Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:

 Dear list members,
 I've been using Lyx for a month and I cannot find one feature that I need for 
 my Extended Essay. How do I set the page numbering in the form page x of y, 
 where x is the current page and y is the total number of pages? I'm really 
 puzzled. I looked at the documentation and FAQ but I didn't find anything 
 there.
 Thank you

I add a label at the very end of the document and use a reference to that label 
for y.
For x I add \thepage{} in ERT (the red box for TeX code).

Stephan



Re: Page numbering x of y

2010-11-01 Thread Ankur Srivastava
Thank you very much for your prompt reply. I'm still not sure about how to
do this. Could you please tell me step by step, I'm a new user and I don't
know much. I made a test document that is two pages long. I entered a label
2 in the end and I entered the code in the beginning but I don't know how to
do the cross reference and I feel that I'm doing something wrong.

On 1 November 2010 11:58, Stephan Witt st.w...@gmx.net wrote:

 Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:

  Dear list members,
  I've been using Lyx for a month and I cannot find one feature that I need
 for my Extended Essay. How do I set the page numbering in the form page x of
 y, where x is the current page and y is the total number of pages? I'm
 really puzzled. I looked at the documentation and FAQ but I didn't find
 anything there.
  Thank you

 I add a label at the very end of the document and use a reference to that
 label for y.
 For x I add \thepage{} in ERT (the red box for TeX code).

 Stephan




Re: Page numbering x of y

2010-11-01 Thread Stephan Witt
Am 01.11.2010 um 12:16 schrieb Ankur Srivastava:

 Thank you very much for your prompt reply. I'm still not sure about how to do 
 this. Could you please tell me step by step, I'm a new user and I don't know 
 much.

You know how to insert a label? (Insert-menu - Label...)
You know how to insert a reference? (Insert-menu - Cross-Reference...)

To make the ERT box with the current page number you type \thepage{} (without 
quotes), mark this text and use Insert-menu - TeX Code.

An example is attached.

Stephan

 I made a test document that is two pages long. I entered a label 2 in the end 
 and I entered the code in the beginning but I don't know how to do the cross 
 reference and I feel that I'm doing something wrong.
 
 On 1 November 2010 11:58, Stephan Witt st.w...@gmx.net wrote:
 Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
 
  Dear list members,
  I've been using Lyx for a month and I cannot find one feature that I need 
  for my Extended Essay. How do I set the page numbering in the form page x 
  of y, where x is the current page and y is the total number of pages? I'm 
  really puzzled. I looked at the documentation and FAQ but I didn't find 
  anything there.
  Thank you
 
 I add a label at the very end of the document and use a reference to that 
 label for y.
 For x I add \thepage{} in ERT (the red box for TeX code).


test1.lyx
Description: Binary data


Re: Page numbering x of y

2010-11-01 Thread Steve Litt
On Monday 01 November 2010 06:58:48 Stephan Witt wrote:
 Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
  Dear list members,
  I've been using Lyx for a month and I cannot find one feature that I need
  for my Extended Essay. How do I set the page numbering in the form page x
  of y, where x is the current page and y is the total number of pages? I'm
  really puzzled. I looked at the documentation and FAQ but I didn't find
  anything there. Thank you
 
 I add a label at the very end of the document and use a reference to that
  label for y. For x I add \thepage{} in ERT (the red box for TeX code).

That's brilliant!

I was trying for a long time to figure how to do that before finally learning 
about the official way to do it -- by using the lastpage package.

Here's the URL for lastpage:

http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage/

When I have the time I'm going to try your label/reference way. It's a *very* 
slick idea. 

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering x of y

2010-11-01 Thread Ankur Srivastava
Thank you very much for your reply. It is now clear to me. Is there any way
that this numbering style can replace the page numbers at the bottom?

On 1 November 2010 12:47, Stephan Witt st.w...@gmx.net wrote:

 Am 01.11.2010 um 12:16 schrieb Ankur Srivastava:

  Thank you very much for your prompt reply. I'm still not sure about how
 to do this. Could you please tell me step by step, I'm a new user and I
 don't know much.

 You know how to insert a label? (Insert-menu - Label...)
 You know how to insert a reference? (Insert-menu - Cross-Reference...)

 To make the ERT box with the current page number you type \thepage{}
 (without quotes), mark this text and use Insert-menu - TeX Code.

 An example is attached.

 Stephan

  I made a test document that is two pages long. I entered a label 2 in the
 end and I entered the code in the beginning but I don't know how to do the
 cross reference and I feel that I'm doing something wrong.
 
  On 1 November 2010 11:58, Stephan Witt st.w...@gmx.net wrote:
  Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
 
   Dear list members,
   I've been using Lyx for a month and I cannot find one feature that I
 need for my Extended Essay. How do I set the page numbering in the form page
 x of y, where x is the current page and y is the total number of pages? I'm
 really puzzled. I looked at the documentation and FAQ but I didn't find
 anything there.
   Thank you
 
  I add a label at the very end of the document and use a reference to that
 label for y.
  For x I add \thepage{} in ERT (the red box for TeX code).



Re: Page numbering x of y

2010-11-01 Thread Waluyo Adi Siswanto
 Thank you very much for your reply. It is now clear to me. Is there any way
 that this numbering style can replace the page numbers at the bottom?


In this situation, usually i use fancyhdr and lastpage
Document-Settings-Page layout, heading style changed to fancy

then in the latex preamble (Document-Settings-Latex preamble)
\usepackage{lastpage}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{{Page} \thepage { of} \pageref{LastPage}}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}

It will print, Page x of y at every bottom of the page.

Regards
waluyo


Re: Page numbering x of y

2010-11-01 Thread Stephan Witt
Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:

 Dear list members,
 I've been using Lyx for a month and I cannot find one feature that I need for 
 my Extended Essay. How do I set the page numbering in the form page x of y, 
 where x is the current page and y is the total number of pages? I'm really 
 puzzled. I looked at the documentation and FAQ but I didn't find anything 
 there.
 Thank you

I add a label at the very end of the document and use a reference to that label 
for y.
For x I add \thepage{} in ERT (the red box for TeX code).

Stephan



Re: Page numbering x of y

2010-11-01 Thread Ankur Srivastava
Thank you very much for your prompt reply. I'm still not sure about how to
do this. Could you please tell me step by step, I'm a new user and I don't
know much. I made a test document that is two pages long. I entered a label
2 in the end and I entered the code in the beginning but I don't know how to
do the cross reference and I feel that I'm doing something wrong.

On 1 November 2010 11:58, Stephan Witt st.w...@gmx.net wrote:

 Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:

  Dear list members,
  I've been using Lyx for a month and I cannot find one feature that I need
 for my Extended Essay. How do I set the page numbering in the form page x of
 y, where x is the current page and y is the total number of pages? I'm
 really puzzled. I looked at the documentation and FAQ but I didn't find
 anything there.
  Thank you

 I add a label at the very end of the document and use a reference to that
 label for y.
 For x I add \thepage{} in ERT (the red box for TeX code).

 Stephan




Re: Page numbering x of y

2010-11-01 Thread Stephan Witt
Am 01.11.2010 um 12:16 schrieb Ankur Srivastava:

 Thank you very much for your prompt reply. I'm still not sure about how to do 
 this. Could you please tell me step by step, I'm a new user and I don't know 
 much.

You know how to insert a label? (Insert-menu - Label...)
You know how to insert a reference? (Insert-menu - Cross-Reference...)

To make the ERT box with the current page number you type \thepage{} (without 
quotes), mark this text and use Insert-menu - TeX Code.

An example is attached.

Stephan

 I made a test document that is two pages long. I entered a label 2 in the end 
 and I entered the code in the beginning but I don't know how to do the cross 
 reference and I feel that I'm doing something wrong.
 
 On 1 November 2010 11:58, Stephan Witt st.w...@gmx.net wrote:
 Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
 
  Dear list members,
  I've been using Lyx for a month and I cannot find one feature that I need 
  for my Extended Essay. How do I set the page numbering in the form page x 
  of y, where x is the current page and y is the total number of pages? I'm 
  really puzzled. I looked at the documentation and FAQ but I didn't find 
  anything there.
  Thank you
 
 I add a label at the very end of the document and use a reference to that 
 label for y.
 For x I add \thepage{} in ERT (the red box for TeX code).


test1.lyx
Description: Binary data


Re: Page numbering x of y

2010-11-01 Thread Steve Litt
On Monday 01 November 2010 06:58:48 Stephan Witt wrote:
 Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
  Dear list members,
  I've been using Lyx for a month and I cannot find one feature that I need
  for my Extended Essay. How do I set the page numbering in the form page x
  of y, where x is the current page and y is the total number of pages? I'm
  really puzzled. I looked at the documentation and FAQ but I didn't find
  anything there. Thank you
 
 I add a label at the very end of the document and use a reference to that
  label for y. For x I add \thepage{} in ERT (the red box for TeX code).

That's brilliant!

I was trying for a long time to figure how to do that before finally learning 
about the official way to do it -- by using the lastpage package.

Here's the URL for lastpage:

http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage/

When I have the time I'm going to try your label/reference way. It's a *very* 
slick idea. 

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering x of y

2010-11-01 Thread Ankur Srivastava
Thank you very much for your reply. It is now clear to me. Is there any way
that this numbering style can replace the page numbers at the bottom?

On 1 November 2010 12:47, Stephan Witt st.w...@gmx.net wrote:

 Am 01.11.2010 um 12:16 schrieb Ankur Srivastava:

  Thank you very much for your prompt reply. I'm still not sure about how
 to do this. Could you please tell me step by step, I'm a new user and I
 don't know much.

 You know how to insert a label? (Insert-menu - Label...)
 You know how to insert a reference? (Insert-menu - Cross-Reference...)

 To make the ERT box with the current page number you type \thepage{}
 (without quotes), mark this text and use Insert-menu - TeX Code.

 An example is attached.

 Stephan

  I made a test document that is two pages long. I entered a label 2 in the
 end and I entered the code in the beginning but I don't know how to do the
 cross reference and I feel that I'm doing something wrong.
 
  On 1 November 2010 11:58, Stephan Witt st.w...@gmx.net wrote:
  Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
 
   Dear list members,
   I've been using Lyx for a month and I cannot find one feature that I
 need for my Extended Essay. How do I set the page numbering in the form page
 x of y, where x is the current page and y is the total number of pages? I'm
 really puzzled. I looked at the documentation and FAQ but I didn't find
 anything there.
   Thank you
 
  I add a label at the very end of the document and use a reference to that
 label for y.
  For x I add \thepage{} in ERT (the red box for TeX code).



Re: Page numbering x of y

2010-11-01 Thread Waluyo Adi Siswanto
 Thank you very much for your reply. It is now clear to me. Is there any way
 that this numbering style can replace the page numbers at the bottom?


In this situation, usually i use fancyhdr and lastpage
Document-Settings-Page layout, heading style changed to fancy

then in the latex preamble (Document-Settings-Latex preamble)
\usepackage{lastpage}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{{Page} \thepage { of} \pageref{LastPage}}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}

It will print, Page x of y at every bottom of the page.

Regards
waluyo


Re: Page numbering x of y

2010-11-01 Thread Stephan Witt
Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:

> Dear list members,
> I've been using Lyx for a month and I cannot find one feature that I need for 
> my Extended Essay. How do I set the page numbering in the form page x of y, 
> where x is the current page and y is the total number of pages? I'm really 
> puzzled. I looked at the documentation and FAQ but I didn't find anything 
> there.
> Thank you

I add a label at the very end of the document and use a reference to that label 
for y.
For x I add \thepage{} in ERT (the red box for TeX code).

Stephan



Re: Page numbering x of y

2010-11-01 Thread Ankur Srivastava
Thank you very much for your prompt reply. I'm still not sure about how to
do this. Could you please tell me step by step, I'm a new user and I don't
know much. I made a test document that is two pages long. I entered a label
2 in the end and I entered the code in the beginning but I don't know how to
do the cross reference and I feel that I'm doing something wrong.

On 1 November 2010 11:58, Stephan Witt  wrote:

> Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
>
> > Dear list members,
> > I've been using Lyx for a month and I cannot find one feature that I need
> for my Extended Essay. How do I set the page numbering in the form page x of
> y, where x is the current page and y is the total number of pages? I'm
> really puzzled. I looked at the documentation and FAQ but I didn't find
> anything there.
> > Thank you
>
> I add a label at the very end of the document and use a reference to that
> label for y.
> For x I add \thepage{} in ERT (the red box for TeX code).
>
> Stephan
>
>


Re: Page numbering x of y

2010-11-01 Thread Stephan Witt
Am 01.11.2010 um 12:16 schrieb Ankur Srivastava:

> Thank you very much for your prompt reply. I'm still not sure about how to do 
> this. Could you please tell me step by step, I'm a new user and I don't know 
> much.

You know how to insert a label? (Insert-menu -> Label...)
You know how to insert a reference? (Insert-menu -> Cross-Reference...)

To make the ERT box with the current page number you type "\thepage{}" (without 
quotes), mark this text and use Insert-menu -> TeX Code.

An example is attached.

Stephan

> I made a test document that is two pages long. I entered a label 2 in the end 
> and I entered the code in the beginning but I don't know how to do the cross 
> reference and I feel that I'm doing something wrong.
> 
> On 1 November 2010 11:58, Stephan Witt  wrote:
> Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
> 
> > Dear list members,
> > I've been using Lyx for a month and I cannot find one feature that I need 
> > for my Extended Essay. How do I set the page numbering in the form page x 
> > of y, where x is the current page and y is the total number of pages? I'm 
> > really puzzled. I looked at the documentation and FAQ but I didn't find 
> > anything there.
> > Thank you
> 
> I add a label at the very end of the document and use a reference to that 
> label for y.
> For x I add \thepage{} in ERT (the red box for TeX code).


test1.lyx
Description: Binary data


Re: Page numbering x of y

2010-11-01 Thread Steve Litt
On Monday 01 November 2010 06:58:48 Stephan Witt wrote:
> Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
> > Dear list members,
> > I've been using Lyx for a month and I cannot find one feature that I need
> > for my Extended Essay. How do I set the page numbering in the form page x
> > of y, where x is the current page and y is the total number of pages? I'm
> > really puzzled. I looked at the documentation and FAQ but I didn't find
> > anything there. Thank you
> 
> I add a label at the very end of the document and use a reference to that
>  label for y. For x I add \thepage{} in ERT (the red box for TeX code).

That's brilliant!

I was trying for a long time to figure how to do that before finally learning 
about the "official" way to do it -- by using the lastpage package.

Here's the URL for lastpage:

http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage/

When I have the time I'm going to try your label/reference way. It's a *very* 
slick idea. 

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Page numbering x of y

2010-11-01 Thread Ankur Srivastava
Thank you very much for your reply. It is now clear to me. Is there any way
that this numbering style can replace the page numbers at the bottom?

On 1 November 2010 12:47, Stephan Witt  wrote:

> Am 01.11.2010 um 12:16 schrieb Ankur Srivastava:
>
> > Thank you very much for your prompt reply. I'm still not sure about how
> to do this. Could you please tell me step by step, I'm a new user and I
> don't know much.
>
> You know how to insert a label? (Insert-menu -> Label...)
> You know how to insert a reference? (Insert-menu -> Cross-Reference...)
>
> To make the ERT box with the current page number you type "\thepage{}"
> (without quotes), mark this text and use Insert-menu -> TeX Code.
>
> An example is attached.
>
> Stephan
>
> > I made a test document that is two pages long. I entered a label 2 in the
> end and I entered the code in the beginning but I don't know how to do the
> cross reference and I feel that I'm doing something wrong.
> >
> > On 1 November 2010 11:58, Stephan Witt  wrote:
> > Am 01.11.2010 um 11:47 schrieb Ankur Srivastava:
> >
> > > Dear list members,
> > > I've been using Lyx for a month and I cannot find one feature that I
> need for my Extended Essay. How do I set the page numbering in the form page
> x of y, where x is the current page and y is the total number of pages? I'm
> really puzzled. I looked at the documentation and FAQ but I didn't find
> anything there.
> > > Thank you
> >
> > I add a label at the very end of the document and use a reference to that
> label for y.
> > For x I add \thepage{} in ERT (the red box for TeX code).
>


Re: Page numbering x of y

2010-11-01 Thread Waluyo Adi Siswanto
> Thank you very much for your reply. It is now clear to me. Is there any way
> that this numbering style can replace the page numbers at the bottom?
>

In this situation, usually i use fancyhdr and lastpage
Document->Settings->Page layout, heading style changed to "fancy"

then in the latex preamble (Document->Settings->Latex preamble)
\usepackage{lastpage}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{{Page} \thepage { of} \pageref{LastPage}}
\rfoot{}
\renewcommand{\headrulewidth}{0pt}

It will print, Page x of y at every bottom of the page.

Regards
waluyo


Re: Page numbering for subpages

2009-12-15 Thread Les Denham
On Monday 14 December 2009 16:29:04 Dainis Zegners wrote:
 Hello to everybody!
 
 I have the following problem to solve in Lyx:
 
 I have a couple of graphics in floats that each fill a whole page. I want
  that these pages are inserted as subpages, that is with numberings 40a,
  40b, etc.
 
 The reason is that I am writting a thesis with a maximum page limit of 40,
  but I am allowed to count pages with graphs only as subpages.
 
 I have already searched the internet for some hours but have not found a
 solution yet. I found a latex package called subfigure , but some how this
  did not work together with the float environment.
 
 I would greatly appreciate any help, thanks in advance !
 
Dainis,

I don't know of any easy way of doing this, but the following process should 
work:

1.  Get the numbers of subsequent pages right.  You can do this with the LaTeX 
command \setpagenumber{41} inserted after your last figure, but if you don't 
have any pages after the last figure you won't need to do this.

2. Export to PDF from LyX.

3. Use PDFTK to uncompress the PDF file.
(http://www.accesspdf.com/pdftk/)

4. Use a text editor on the uncompressed PDF file, and change the page numbers 
as required.

5. If needed, use the text editor on the uncompressed PDF file to change any 
references to the page numbers of the figures on the pages you just 
renumbered.  If you only used figure numbers in crossreferences, you will only 
have to change the List of Figures.

6. Use PDFTK to compress the PDF file. 

I can see some potential problems. The justification of the edited numbers 
will be off slightly. Finding the numbers to edit in the uncompressed PDF file 
could be difficult.  You could simplify that problem by using PDFTK to extract 
the pages to be edited individually, and just uncompressing them.

Les
-- 
Les Denham
---
http://www.hal-pc.org/~ldenham
---
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


RE: Page numbering for subpages

2009-12-15 Thread Rob Oakes
Hi, 

This could also be done using a set of LaTeX commands following your main
body text.  This is a rough first draft, but the general procedure goes like
this:

1.) Create a variable to keep track of the current page.

2.) Redefine \thepage macro so that it will paginate the sub-figures
appropriately.  This will involve resetting the page counter

3.) Set page back to its previous value.

If you follow this procedure at every figure/subfigure groups, it should
have the desired effect.  A rough draft of the code is below.  Also, you
might consider redefining one of the float environments (or creating your
own) so that it applies these definitions automatically.  That would spare
you from needing to add them before every block of figures.
%%

% Add to the document preamble
\newcommand{\currentpage}{\relax}

End of Body Text
___

% Add the following before the first figure as ERT

% Create Value to Keep Track of the Current Page
\renewcommand{\currentpage}{\value{page}}
\setcounter{page}{0} % Set the page counter value to zero
\renewcommand{\thepage}{\arabic{\currentpage}\alph{page}} % Track the sub
pages
___

Sub-figures
___

% Add the following before the next figure as ERT

\setcounter{page}{\currentpage} % Restores the currentpage value
\renewcommand{\thepage}{\arabic{page}} % Restores the previous definition

%%

This is an extremely rough solution, and I haven't tested it, but it would
generally have the effect that you're looking for.

Cheers,

Rob Oakes



Re: Page numbering for subpages

2009-12-15 Thread Les Denham
On Monday 14 December 2009 16:29:04 Dainis Zegners wrote:
 Hello to everybody!
 
 I have the following problem to solve in Lyx:
 
 I have a couple of graphics in floats that each fill a whole page. I want
  that these pages are inserted as subpages, that is with numberings 40a,
  40b, etc.
 
 The reason is that I am writting a thesis with a maximum page limit of 40,
  but I am allowed to count pages with graphs only as subpages.
 
 I have already searched the internet for some hours but have not found a
 solution yet. I found a latex package called subfigure , but some how this
  did not work together with the float environment.
 
 I would greatly appreciate any help, thanks in advance !
 
Dainis,

I don't know of any easy way of doing this, but the following process should 
work:

1.  Get the numbers of subsequent pages right.  You can do this with the LaTeX 
command \setpagenumber{41} inserted after your last figure, but if you don't 
have any pages after the last figure you won't need to do this.

2. Export to PDF from LyX.

3. Use PDFTK to uncompress the PDF file.
(http://www.accesspdf.com/pdftk/)

4. Use a text editor on the uncompressed PDF file, and change the page numbers 
as required.

5. If needed, use the text editor on the uncompressed PDF file to change any 
references to the page numbers of the figures on the pages you just 
renumbered.  If you only used figure numbers in crossreferences, you will only 
have to change the List of Figures.

6. Use PDFTK to compress the PDF file. 

I can see some potential problems. The justification of the edited numbers 
will be off slightly. Finding the numbers to edit in the uncompressed PDF file 
could be difficult.  You could simplify that problem by using PDFTK to extract 
the pages to be edited individually, and just uncompressing them.

Les
-- 
Les Denham
---
http://www.hal-pc.org/~ldenham
---
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


RE: Page numbering for subpages

2009-12-15 Thread Rob Oakes
Hi, 

This could also be done using a set of LaTeX commands following your main
body text.  This is a rough first draft, but the general procedure goes like
this:

1.) Create a variable to keep track of the current page.

2.) Redefine \thepage macro so that it will paginate the sub-figures
appropriately.  This will involve resetting the page counter

3.) Set page back to its previous value.

If you follow this procedure at every figure/subfigure groups, it should
have the desired effect.  A rough draft of the code is below.  Also, you
might consider redefining one of the float environments (or creating your
own) so that it applies these definitions automatically.  That would spare
you from needing to add them before every block of figures.
%%

% Add to the document preamble
\newcommand{\currentpage}{\relax}

End of Body Text
___

% Add the following before the first figure as ERT

% Create Value to Keep Track of the Current Page
\renewcommand{\currentpage}{\value{page}}
\setcounter{page}{0} % Set the page counter value to zero
\renewcommand{\thepage}{\arabic{\currentpage}\alph{page}} % Track the sub
pages
___

Sub-figures
___

% Add the following before the next figure as ERT

\setcounter{page}{\currentpage} % Restores the currentpage value
\renewcommand{\thepage}{\arabic{page}} % Restores the previous definition

%%

This is an extremely rough solution, and I haven't tested it, but it would
generally have the effect that you're looking for.

Cheers,

Rob Oakes



Re: Page numbering for subpages

2009-12-15 Thread Les Denham
On Monday 14 December 2009 16:29:04 Dainis Zegners wrote:
> Hello to everybody!
> 
> I have the following problem to solve in Lyx:
> 
> I have a couple of graphics in floats that each fill a whole page. I want
>  that these pages are inserted as subpages, that is with numberings 40a,
>  40b, etc.
> 
> The reason is that I am writting a thesis with a maximum page limit of 40,
>  but I am allowed to count pages with graphs only as subpages.
> 
> I have already searched the internet for some hours but have not found a
> solution yet. I found a latex package called subfigure , but some how this
>  did not work together with the float environment.
> 
> I would greatly appreciate any help, thanks in advance !
> 
Dainis,

I don't know of any easy way of doing this, but the following process should 
work:

1.  Get the numbers of subsequent pages right.  You can do this with the LaTeX 
command \setpagenumber{41} inserted after your last figure, but if you don't 
have any pages after the last figure you won't need to do this.

2. Export to PDF from LyX.

3. Use PDFTK to uncompress the PDF file.
(http://www.accesspdf.com/pdftk/)

4. Use a text editor on the uncompressed PDF file, and change the page numbers 
as required.

5. If needed, use the text editor on the uncompressed PDF file to change any 
references to the page numbers of the figures on the pages you just 
renumbered.  If you only used figure numbers in crossreferences, you will only 
have to change the List of Figures.

6. Use PDFTK to compress the PDF file. 

I can see some potential problems. The justification of the edited numbers 
will be off slightly. Finding the numbers to edit in the uncompressed PDF file 
could be difficult.  You could simplify that problem by using PDFTK to extract 
the pages to be edited individually, and just uncompressing them.

Les
-- 
Les Denham
---
http://www.hal-pc.org/~ldenham
---
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


RE: Page numbering for subpages

2009-12-15 Thread Rob Oakes
Hi, 

This could also be done using a set of LaTeX commands following your main
body text.  This is a rough first draft, but the general procedure goes like
this:

1.) Create a variable to keep track of the current page.

2.) Redefine \thepage macro so that it will paginate the sub-figures
appropriately.  This will involve resetting the "page" counter

3.) Set "page" back to its previous value.

If you follow this procedure at every figure/subfigure groups, it should
have the desired effect.  A rough draft of the code is below.  Also, you
might consider redefining one of the float environments (or creating your
own) so that it applies these definitions automatically.  That would spare
you from needing to add them before every block of figures.
%%

% Add to the document preamble
\newcommand{\currentpage}{\relax}

End of Body Text
___

% Add the following before the first "figure" as ERT

% Create Value to Keep Track of the Current Page
\renewcommand{\currentpage}{\value{page}}
\setcounter{page}{0} % Set the page counter value to zero
\renewcommand{\thepage}{\arabic{\currentpage}\alph{page}} % Track the sub
pages
___

Sub-figures
___

% Add the following before the next figure as ERT

\setcounter{page}{\currentpage} % Restores the currentpage value
\renewcommand{\thepage}{\arabic{page}} % Restores the previous definition

%%

This is an extremely rough solution, and I haven't tested it, but it would
generally have the effect that you're looking for.

Cheers,

Rob Oakes



Re: page numbering

2009-02-17 Thread Sengottuvelavan t.p.
So simple !!! Thanks to both of u

@ Uwe schrieb:

\addcontentsline {toc}{chapter}{...}

i tried it ...its working ...I used it for abstract, acknowledgment,
biblio... but in case of abstract which is not actually numbered (created
with abstract environ)  has taken  page number from immediate following
chapter for TOC

how to rectify it


Regards
Velavan


Re: page numbering

2009-02-17 Thread Sengottuvelavan t.p.
So simple !!! Thanks to both of u

@ Uwe schrieb:

\addcontentsline {toc}{chapter}{...}

i tried it ...its working ...I used it for abstract, acknowledgment,
biblio... but in case of abstract which is not actually numbered (created
with abstract environ)  has taken  page number from immediate following
chapter for TOC

how to rectify it


Regards
Velavan


Re: page numbering

2009-02-17 Thread Sengottuvelavan t.p.
So simple !!! Thanks to both of u

@ Uwe schrieb:

\addcontentsline {toc}{chapter}{...}

i tried it ...its working ...I used it for abstract, acknowledgment,
biblio... but in case of abstract which is not actually numbered (created
with abstract environ)  has taken  page number from immediate following
chapter for TOC

how to rectify it


Regards
Velavan


Re: page numbering

2009-02-13 Thread Dave Hewitt
 I am preparing project report ...i want to number abstract and
 acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
 chapters ...How to do that
 
 From other threads i came to know abt   \frontmatter \mainmatter \backmatter
 .. but i am not using koma-script..normal report document class

\Xmatter definitions are not specific to Koma-script, but are restricted to 
books

You don't need that, though. Just add

\pagenumbering{roman}

in ERT where you want pages to start roman and

\pagenumbering{arabic}

to reset counter and go to arabic



Re: page numbering

2009-02-13 Thread Uwe Stöhr

Sengottuvelavan t.p. schrieb:


I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal report document class


Then you have to redefine the page numbering using the command
\pagenumbering{type}
in TeX code at the beginning of your acknowledgment..

So when you want to have the page numbers in big Roman numbers, then use
\pagenumbering{Roman}
The other types are
roman
Alph
alph
arabic

regards Uwe


Re: page numbering

2009-02-13 Thread Dave Hewitt
 I am preparing project report ...i want to number abstract and
 acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
 chapters ...How to do that
 
 From other threads i came to know abt   \frontmatter \mainmatter \backmatter
 .. but i am not using koma-script..normal report document class

\Xmatter definitions are not specific to Koma-script, but are restricted to 
books

You don't need that, though. Just add

\pagenumbering{roman}

in ERT where you want pages to start roman and

\pagenumbering{arabic}

to reset counter and go to arabic



Re: page numbering

2009-02-13 Thread Uwe Stöhr

Sengottuvelavan t.p. schrieb:


I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal report document class


Then you have to redefine the page numbering using the command
\pagenumbering{type}
in TeX code at the beginning of your acknowledgment..

So when you want to have the page numbers in big Roman numbers, then use
\pagenumbering{Roman}
The other types are
roman
Alph
alph
arabic

regards Uwe


Re: page numbering

2009-02-13 Thread Dave Hewitt
> I am preparing project report ...i want to number abstract and
> acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
> chapters ...How to do that
> 
> From other threads i came to know abt   \frontmatter \mainmatter \backmatter
> .. but i am not using koma-script..normal "report" document class

\Xmatter definitions are not specific to Koma-script, but are restricted to 
books

You don't need that, though. Just add

\pagenumbering{roman}

in ERT where you want pages to start roman and

\pagenumbering{arabic}

to reset counter and go to arabic



Re: page numbering

2009-02-13 Thread Uwe Stöhr

Sengottuvelavan t.p. schrieb:


I am preparing project report ...i want to number abstract and
acknowledgment, acronyms, etc... in roman and normal numbers (arabic) for
chapters ...How to do that

From other threads i came to know abt   \frontmatter \mainmatter \backmatter
.. but i am not using koma-script..normal "report" document class


Then you have to redefine the page numbering using the command
\pagenumbering{type}
in TeX code at the beginning of your acknowledgment..

So when you want to have the page numbers in big Roman numbers, then use
\pagenumbering{Roman}
The other types are
roman
Alph
alph
arabic

regards Uwe


Re: page numbering

2008-11-25 Thread Yago
You need the packages fancyhdr and lastpage in your preamble. And add this 
command also in the preamble:


\cfoot{\thepage of \pageref{LastPage}}
- Original Message - 
From: chilly009 [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, November 25, 2008 3:15 PM
Subject: page numbering




hey

Anyone have a command that gives the possibilty of numbering pages like 
4

of 87 or 4/87??

kevin
--
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3636 (20081124) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Re: page numbering

2008-11-25 Thread Yago
You need the packages fancyhdr and lastpage in your preamble. And add this 
command also in the preamble:


\cfoot{\thepage of \pageref{LastPage}}
- Original Message - 
From: chilly009 [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, November 25, 2008 3:15 PM
Subject: page numbering




hey

Anyone have a command that gives the possibilty of numbering pages like 
4

of 87 or 4/87??

kevin
--
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3636 (20081124) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Re: page numbering

2008-11-25 Thread Yago
You need the packages fancyhdr and lastpage in your preamble. And add this 
command also in the preamble:


\cfoot{\thepage of \pageref{LastPage}}
- Original Message - 
From: "chilly009" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, November 25, 2008 3:15 PM
Subject: page numbering




hey

Anyone have a command that gives the possibilty of numbering pages like 
4

of 87 or 4/87??

kevin
--
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3636 (20081124) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






Re: page numbering on slides

2008-05-13 Thread Paul A. Rubin

Tomek wrote:

But would there be a way to put something in Lyx's preamble edit box, in
order to display numbers on the default Lyx slides document?




Is page number not on by default?  It is when I use File - New from 
Template.  You don't have Document - Settings - Page Layout - Page 
style set to 'empty', do you?


/Paul



Re: page numbering on slides

2008-05-13 Thread Paul A. Rubin

Tomek wrote:

But would there be a way to put something in Lyx's preamble edit box, in
order to display numbers on the default Lyx slides document?




Is page number not on by default?  It is when I use File - New from 
Template.  You don't have Document - Settings - Page Layout - Page 
style set to 'empty', do you?


/Paul



Re: page numbering on slides

2008-05-13 Thread Paul A. Rubin

Tomek wrote:

But would there be a way to put something in Lyx's preamble edit box, in
order to display numbers on the default Lyx "slides" document?




Is page number not on by default?  It is when I use File -> New from 
Template.  You don't have Document -> Settings -> Page Layout -> Page 
style set to 'empty', do you?


/Paul



Re: page numbering on slides

2008-05-10 Thread Paul A. Rubin

Tomek wrote:

Hi,

How to turn on page numbering on slides?

Thanks,
Tomek




Probably depends on what document class you're using (beamer, foiltex, 
powerdot, ...).


/Paul



Re: page numbering on slides

2008-05-10 Thread Tomek
But would there be a way to put something in Lyx's preamble edit box, in
order to display numbers on the default Lyx slides document?



Re: page numbering on slides

2008-05-10 Thread Paul A. Rubin

Tomek wrote:

Hi,

How to turn on page numbering on slides?

Thanks,
Tomek




Probably depends on what document class you're using (beamer, foiltex, 
powerdot, ...).


/Paul



Re: page numbering on slides

2008-05-10 Thread Tomek
But would there be a way to put something in Lyx's preamble edit box, in
order to display numbers on the default Lyx slides document?



Re: page numbering on slides

2008-05-10 Thread Paul A. Rubin

Tomek wrote:

Hi,

How to turn on page numbering on slides?

Thanks,
Tomek




Probably depends on what document class you're using (beamer, foiltex, 
powerdot, ...).


/Paul



Re: page numbering on slides

2008-05-10 Thread Tomek
But would there be a way to put something in Lyx's preamble edit box, in
order to display numbers on the default Lyx "slides" document?



Re: Page numbering etc

2008-02-29 Thread David Hewitt



 1) If I want the page numbering to start on page x (or at least x = 2),
 how do I do it?
 

ERT code '\thispagestyle{empty}' will suppress page numbers

ERT code '\pagenumbering{X}' will reset the page counter and use either
X=arabic, roman, or other numbering convention

Some combo will get what you want. Might be a better way.



 2) I use Document class: article, and LyX version 1.5.3. I can't get
 'Table of Contents' to work. The only thing appearing is the headline:
 'Contents' and no more, although I have several chapters in the document.
 

LyX does not include environments for Chapters in article class (I doubt
LaTeX does either - don't know). I use Sections (not the starred versions -
Section*, e.g.) and it works fine.

-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Page-numbering-etc-tp15754268p15760884.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Page numbering etc

2008-02-29 Thread M-L
On Fri, 29 Feb 2008, Maximilian Wollner shared this with us all:
--} As for your second question, do you use numbered or unnumbered  
--} sections? Unnumbered sections are not put into the TOC (by default)

I use them mostly and they are added into the TOC by default in Debian 
testing. I also use numberless subsections and subsubsections which are also 
shown by default?

But obviously that's not normal behaviour?

Go to Document/Settings/Numbering and TOC and set the sliders.

HTH
Charlie
-- 
Registered Linux User:- 329524
**
The definition of stupid is doing something the same way twice and expecting 
different results. .Albert Einstein

Debian - Just the best way to do magic.


Re: Page numbering etc

2008-02-29 Thread David Hewitt



 1) If I want the page numbering to start on page x (or at least x = 2),
 how do I do it?
 

ERT code '\thispagestyle{empty}' will suppress page numbers

ERT code '\pagenumbering{X}' will reset the page counter and use either
X=arabic, roman, or other numbering convention

Some combo will get what you want. Might be a better way.



 2) I use Document class: article, and LyX version 1.5.3. I can't get
 'Table of Contents' to work. The only thing appearing is the headline:
 'Contents' and no more, although I have several chapters in the document.
 

LyX does not include environments for Chapters in article class (I doubt
LaTeX does either - don't know). I use Sections (not the starred versions -
Section*, e.g.) and it works fine.

-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Page-numbering-etc-tp15754268p15760884.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Page numbering etc

2008-02-29 Thread M-L
On Fri, 29 Feb 2008, Maximilian Wollner shared this with us all:
--} As for your second question, do you use numbered or unnumbered  
--} sections? Unnumbered sections are not put into the TOC (by default)

I use them mostly and they are added into the TOC by default in Debian 
testing. I also use numberless subsections and subsubsections which are also 
shown by default?

But obviously that's not normal behaviour?

Go to Document/Settings/Numbering and TOC and set the sliders.

HTH
Charlie
-- 
Registered Linux User:- 329524
**
The definition of stupid is doing something the same way twice and expecting 
different results. .Albert Einstein

Debian - Just the best way to do magic.


Re: Page numbering etc

2008-02-29 Thread David Hewitt



> 1) If I want the page numbering to start on page x (or at least x = 2),
> how do I do it?
> 

ERT code '\thispagestyle{empty}' will suppress page numbers

ERT code '\pagenumbering{X}' will reset the page counter and use either
X=arabic, roman, or other numbering convention

Some combo will get what you want. Might be a better way.



> 2) I use Document class: article, and LyX version 1.5.3. I can't get
> 'Table of Contents' to work. The only thing appearing is the headline:
> 'Contents' and no more, although I have several chapters in the document.
> 

LyX does not include environments for Chapters in article class (I doubt
LaTeX does either - don't know). I use Sections (not the starred versions -
Section*, e.g.) and it works fine.

-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Page-numbering-etc-tp15754268p15760884.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Page numbering etc

2008-02-29 Thread M-L
On Fri, 29 Feb 2008, Maximilian Wollner shared this with us all:
>--} As for your second question, do you use numbered or unnumbered  
>--} sections? Unnumbered sections are not put into the TOC (by default)

I use them mostly and they are added into the TOC by default in Debian 
testing. I also use numberless subsections and subsubsections which are also 
shown by default?

But obviously that's not normal behaviour?

Go to Document/Settings/Numbering and TOC and set the sliders.

HTH
Charlie
-- 
Registered Linux User:- 329524
**
The definition of stupid is doing something the same way twice and expecting 
different results. .Albert Einstein
<<<>>>
Debian - Just the best way to do magic.


Re: Page Numbering

2007-10-31 Thread Typhoon
On Wed, 31 Oct 2007 09:26:15 -0400
Chris Lue [EMAIL PROTECTED] wrote:

 Hi,
 
 I am writing a dissertation using lyx 1.44.  I am using the
 book document class.  I have a problem formatting the page numbers
 the correct way.  The first page of the first chapter of the body
 should be number one.  Page numbers should appear on all pages in the
 body. (I have no problem numbering the body).  Secondly, there should
 be no numbers on any of the pages preceding the body.  (I have
 trouble with removing the page numbers, specifically from the first
 page of a section). At the beginning of the document I use the
 command \frontmatter and \pagestyle{empty}.  Before each section
 such as the table of contents and list of figures I use the command 
 \thispagestyle{empty}.  Before the body of the document I use the 
 commands \mainmatter and \pagestyle{plain}.
 The result is that the first page of table of contents, list of 
 tables, etc. has a roman numeral.  If those sections have more than
 one page the subsequent pages have no numbers.  The first page of
 chapter 1 is numbered with a arabic 1, and all the subsequent pages
 are numbered correctly.  Does anyone know why \thispagestyle{empty}
 does not work in the frontmatter?

See page 50 of The Not So Short Introduction to LaTeX2e. Better yet,
set aside some time and read the whole thing.

Alan


 
 Thanks,
 Chris
 
 -- 
 Chris Lue
 Chemistry Department
 Emory University 
 Room 406 Atwood Hall
 1515 Dickey Drive
 Atlanta GA 30322
 
 Office- 404-727-0029
 Lab 404-727-4409
 Fax- 404-727-6586
 email- [EMAIL PROTECTED]
 Learn-link- [EMAIL PROTECTED]
 
 


Re: Page Numbering

2007-10-31 Thread Typhoon
On Wed, 31 Oct 2007 09:26:15 -0400
Chris Lue [EMAIL PROTECTED] wrote:

 Hi,
 
 I am writing a dissertation using lyx 1.44.  I am using the
 book document class.  I have a problem formatting the page numbers
 the correct way.  The first page of the first chapter of the body
 should be number one.  Page numbers should appear on all pages in the
 body. (I have no problem numbering the body).  Secondly, there should
 be no numbers on any of the pages preceding the body.  (I have
 trouble with removing the page numbers, specifically from the first
 page of a section). At the beginning of the document I use the
 command \frontmatter and \pagestyle{empty}.  Before each section
 such as the table of contents and list of figures I use the command 
 \thispagestyle{empty}.  Before the body of the document I use the 
 commands \mainmatter and \pagestyle{plain}.
 The result is that the first page of table of contents, list of 
 tables, etc. has a roman numeral.  If those sections have more than
 one page the subsequent pages have no numbers.  The first page of
 chapter 1 is numbered with a arabic 1, and all the subsequent pages
 are numbered correctly.  Does anyone know why \thispagestyle{empty}
 does not work in the frontmatter?

See page 50 of The Not So Short Introduction to LaTeX2e. Better yet,
set aside some time and read the whole thing.

Alan


 
 Thanks,
 Chris
 
 -- 
 Chris Lue
 Chemistry Department
 Emory University 
 Room 406 Atwood Hall
 1515 Dickey Drive
 Atlanta GA 30322
 
 Office- 404-727-0029
 Lab 404-727-4409
 Fax- 404-727-6586
 email- [EMAIL PROTECTED]
 Learn-link- [EMAIL PROTECTED]
 
 


Re: Page Numbering

2007-10-31 Thread Typhoon
On Wed, 31 Oct 2007 09:26:15 -0400
Chris Lue <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am writing a dissertation using lyx 1.44.  I am using the
> "book" document class.  I have a problem formatting the page numbers
> the correct way.  The first page of the first chapter of the body
> should be number one.  Page numbers should appear on all pages in the
> body. (I have no problem numbering the body).  Secondly, there should
> be no numbers on any of the pages preceding the body.  (I have
> trouble with removing the page numbers, specifically from the first
> page of a section). At the beginning of the document I use the
> command "\frontmatter" and "\pagestyle{empty}.  Before each section
> such as the table of contents and list of figures I use the command 
> "\thispagestyle{empty}".  Before the body of the document I use the 
> commands "\mainmatter" and "\pagestyle{plain}".
> The result is that the first page of table of contents, list of 
> tables, etc. has a roman numeral.  If those sections have more than
> one page the subsequent pages have no numbers.  The first page of
> chapter 1 is numbered with a arabic 1, and all the subsequent pages
> are numbered correctly.  Does anyone know why "\thispagestyle{empty}
> does not work in the "frontmatter"?

See page 50 of "The Not So Short Introduction to LaTeX2e". Better yet,
set aside some time and read the whole thing.

Alan


> 
> Thanks,
> Chris
> 
> -- 
> Chris Lue
> Chemistry Department
> Emory University 
> Room 406 Atwood Hall
> 1515 Dickey Drive
> Atlanta GA 30322
> 
> Office- 404-727-0029
> Lab 404-727-4409
> Fax- 404-727-6586
> email- [EMAIL PROTECTED]
> Learn-link- [EMAIL PROTECTED]
> 
> 


Re: Page Numbering

2007-09-03 Thread Uwe Stöhr

Josef Holzmayr schrieb:

I would like LyX to start the page numbers not on page 1, but on page 8 
or 9, for example, and have all the pages before indexed as i, ii .. 
and so on. How can that be archieved?


See the attached LyX-file.
(When you need different page numbering e.g. for the table of contents, have a look in the preamble 
of LyX's EmbeddedObjects manual to see how this is done.)


regards Uwe


newfile3.lyx
Description: application/lyx


Re: Page Numbering

2007-09-03 Thread Andre Poenitz
On Mon, Sep 03, 2007 at 11:53:10AM +0200, Josef Holzmayr wrote:
 Hi!
 
 I would like LyX to start the page numbers not on page 1, but on page
 8 or 9, for example, and have all the pages before indexed as i,
 ii ..  and so on. How can that be archieved?
 
 Regard, J. Holzmayr
 
 PS: please reply direct, as i've not subscripted to the list. Thanks.
 
 
 Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
 USt-IdNr.: DE 128592548
 
 WICHTIGER HINWEIS: Diese E-Mail enthält möglicherweise vertrauliche
 oder persönliche Inhalte, die ausschließlich für deren Empfänger
 bestimmt sind. Sollten Sie nicht der korrekte Empfänger sein, dann
 dürfen Sie die E-Mail und deren Inhalt weder kopieren, noch irgendwie
 verwenden.  Sollten Sie diese E-Mail fälschlicherweise erhalten haben,
 dann teilen Sie uns dies bitte mit.

Ich habe diese E-Mail moeglicherweise versehentlich erhalten. Falls es
sich bei mir nicht um den korrekten Empfaenger handelt, bitte ich Sie,
diese E-Mail bis spaetestens 17. 9. 2007, 12 Uhr mitteleuropaeischer
Sommerzeit persoenlich wieder abzuholen und sie dem korrekten Empfaenger
zuzustellen. 

Mit freundliche Gruessen,
Andre' Poenitz


Re: Page Numbering

2007-09-03 Thread Steve Litt
On Monday 03 September 2007 05:53, Josef Holzmayr wrote:
 Hi!

 I would like LyX to start the page numbers not on page 1, but on page 8
 or 9, for example, and have all the pages before indexed as i, ii ..
 and so on. How can that be archieved?

 Regard, J. Holzmayr

 PS: please reply direct, as i've not subscripted to the list. Thanks.

Personally, I think the preceding is about as rude as it gets, and I think all 
mailing lists should simply ignore those who can't be bothered to subscribe. 
This list has many very knowledgeable people, all of whom are very busy, and 
anything making them work harder in supplying free advice is just plain rude.

Maybe this guy should subscribe for a couple months, begin to give advice to 
others, and then take advice.

Of course, this is just one man's opinion.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Page Numbering

2007-09-03 Thread Rich Shepard

On Mon, 3 Sep 2007, Steve Litt wrote:


Personally, I think the preceding is about as rude as it gets, and I think
all mailing lists should simply ignore those who can't be bothered to
subscribe. This list has many very knowledgeable people, all of whom are
very busy, and anything making them work harder in supplying free advice
is just plain rude.



Of course, this is just one man's opinion.


  Make that two men. There are a number of issues disclosed here. First,
basic 'Netiquette has been ignored. Second, why would one post a question to
a mail list and not expect to see the answer on the list. Third, such
questions have been asked before and the answer is in the archives. Fourth,
there's a lack of understanding of TeX, LaTeX, and LyX with no indication
of how the answer was sought before asking on the list.

  However, I won't classify the request as rude, but naively foolish.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerators(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Page Numbering

2007-09-03 Thread Uwe Stöhr

Josef Holzmayr schrieb:

I would like LyX to start the page numbers not on page 1, but on page 8 
or 9, for example, and have all the pages before indexed as i, ii .. 
and so on. How can that be archieved?


See the attached LyX-file.
(When you need different page numbering e.g. for the table of contents, have a look in the preamble 
of LyX's EmbeddedObjects manual to see how this is done.)


regards Uwe


newfile3.lyx
Description: application/lyx


Re: Page Numbering

2007-09-03 Thread Andre Poenitz
On Mon, Sep 03, 2007 at 11:53:10AM +0200, Josef Holzmayr wrote:
 Hi!
 
 I would like LyX to start the page numbers not on page 1, but on page
 8 or 9, for example, and have all the pages before indexed as i,
 ii ..  and so on. How can that be archieved?
 
 Regard, J. Holzmayr
 
 PS: please reply direct, as i've not subscripted to the list. Thanks.
 
 
 Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
 USt-IdNr.: DE 128592548
 
 WICHTIGER HINWEIS: Diese E-Mail enthält möglicherweise vertrauliche
 oder persönliche Inhalte, die ausschließlich für deren Empfänger
 bestimmt sind. Sollten Sie nicht der korrekte Empfänger sein, dann
 dürfen Sie die E-Mail und deren Inhalt weder kopieren, noch irgendwie
 verwenden.  Sollten Sie diese E-Mail fälschlicherweise erhalten haben,
 dann teilen Sie uns dies bitte mit.

Ich habe diese E-Mail moeglicherweise versehentlich erhalten. Falls es
sich bei mir nicht um den korrekten Empfaenger handelt, bitte ich Sie,
diese E-Mail bis spaetestens 17. 9. 2007, 12 Uhr mitteleuropaeischer
Sommerzeit persoenlich wieder abzuholen und sie dem korrekten Empfaenger
zuzustellen. 

Mit freundliche Gruessen,
Andre' Poenitz


Re: Page Numbering

2007-09-03 Thread Steve Litt
On Monday 03 September 2007 05:53, Josef Holzmayr wrote:
 Hi!

 I would like LyX to start the page numbers not on page 1, but on page 8
 or 9, for example, and have all the pages before indexed as i, ii ..
 and so on. How can that be archieved?

 Regard, J. Holzmayr

 PS: please reply direct, as i've not subscripted to the list. Thanks.

Personally, I think the preceding is about as rude as it gets, and I think all 
mailing lists should simply ignore those who can't be bothered to subscribe. 
This list has many very knowledgeable people, all of whom are very busy, and 
anything making them work harder in supplying free advice is just plain rude.

Maybe this guy should subscribe for a couple months, begin to give advice to 
others, and then take advice.

Of course, this is just one man's opinion.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Page Numbering

2007-09-03 Thread Rich Shepard

On Mon, 3 Sep 2007, Steve Litt wrote:


Personally, I think the preceding is about as rude as it gets, and I think
all mailing lists should simply ignore those who can't be bothered to
subscribe. This list has many very knowledgeable people, all of whom are
very busy, and anything making them work harder in supplying free advice
is just plain rude.



Of course, this is just one man's opinion.


  Make that two men. There are a number of issues disclosed here. First,
basic 'Netiquette has been ignored. Second, why would one post a question to
a mail list and not expect to see the answer on the list. Third, such
questions have been asked before and the answer is in the archives. Fourth,
there's a lack of understanding of TeX, LaTeX, and LyX with no indication
of how the answer was sought before asking on the list.

  However, I won't classify the request as rude, but naively foolish.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerators(TM)
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Page Numbering

2007-09-03 Thread Uwe Stöhr

Josef Holzmayr schrieb:

I would like LyX to start the page numbers not on page 1, but on page 8 
or 9, for example, and have all the pages before indexed as "i", "ii" .. 
and so on. How can that be archieved?


See the attached LyX-file.
(When you need different page numbering e.g. for the table of contents, have a look in the preamble 
of LyX's EmbeddedObjects manual to see how this is done.)


regards Uwe


newfile3.lyx
Description: application/lyx


Re: Page Numbering

2007-09-03 Thread Andre Poenitz
On Mon, Sep 03, 2007 at 11:53:10AM +0200, Josef Holzmayr wrote:
> Hi!
> 
> I would like LyX to start the page numbers not on page 1, but on page
> 8 or 9, for example, and have all the pages before indexed as "i",
> "ii" ..  and so on. How can that be archieved?
> 
> Regard, J. Holzmayr
> 
> PS: please reply direct, as i've not subscripted to the list. Thanks.
> 
> 
> Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
> Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
> USt-IdNr.: DE 128592548
> 
> WICHTIGER HINWEIS: Diese E-Mail enthält möglicherweise vertrauliche
> oder persönliche Inhalte, die ausschließlich für deren Empfänger
> bestimmt sind. Sollten Sie nicht der korrekte Empfänger sein, dann
> dürfen Sie die E-Mail und deren Inhalt weder kopieren, noch irgendwie
> verwenden.  Sollten Sie diese E-Mail fälschlicherweise erhalten haben,
> dann teilen Sie uns dies bitte mit.

Ich habe diese E-Mail moeglicherweise versehentlich erhalten. Falls es
sich bei mir nicht um den korrekten Empfaenger handelt, bitte ich Sie,
diese E-Mail bis spaetestens 17. 9. 2007, 12 Uhr mitteleuropaeischer
Sommerzeit persoenlich wieder abzuholen und sie dem korrekten Empfaenger
zuzustellen. 

Mit freundliche Gruessen,
Andre' Poenitz


Re: Page Numbering

2007-09-03 Thread Steve Litt
On Monday 03 September 2007 05:53, Josef Holzmayr wrote:
> Hi!
>
> I would like LyX to start the page numbers not on page 1, but on page 8
> or 9, for example, and have all the pages before indexed as "i", "ii" ..
> and so on. How can that be archieved?
>
> Regard, J. Holzmayr
>
> PS: please reply direct, as i've not subscripted to the list. Thanks.

Personally, I think the preceding is about as rude as it gets, and I think all 
mailing lists should simply ignore those who can't be bothered to subscribe. 
This list has many very knowledgeable people, all of whom are very busy, and 
anything making them work harder in supplying free advice is just plain rude.

Maybe this guy should subscribe for a couple months, begin to give advice to 
others, and then take advice.

Of course, this is just one man's opinion.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Page Numbering

2007-09-03 Thread Rich Shepard

On Mon, 3 Sep 2007, Steve Litt wrote:


Personally, I think the preceding is about as rude as it gets, and I think
all mailing lists should simply ignore those who can't be bothered to
subscribe. This list has many very knowledgeable people, all of whom are
very busy, and anything making them work harder in supplying free advice
is just plain rude.



Of course, this is just one man's opinion.


  Make that two men. There are a number of issues disclosed here. First,
basic 'Netiquette has been ignored. Second, why would one post a question to
a mail list and not expect to see the answer on the list. Third, such
questions have been asked before and the answer is in the archives. Fourth,
there's a lack of understanding of TeX, LaTeX, and LyX with no indication
of how the answer was sought before asking on the list.

  However, I won't classify the request as rude, but naively foolish.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.| Accelerators(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Page numbering and empty pages

2007-04-12 Thread Uwe Stöhr

Christian Richter schrieb:


I am writing a document with Lyx 1.4.3 using documentclass: book
(koma-script, double pages).

At the end of the document there is a list of figures, bibliography and 
glossar.


The problem is that for example the list of figures needs only one
page so that there is an empty page before the bibliography starts,
which I want to remove. How can I do this?


In a similar document I use the following class options in the document 
settings:

fleqn,tablecaptionabove,BCOR7.5mm,titlepage,bibtotoc,liststotoc,openany

The option openany should fix it for you.

regards Uwe


Re: Page numbering and empty pages

2007-04-12 Thread Uwe Stöhr

Christian Richter schrieb:


I am writing a document with Lyx 1.4.3 using documentclass: book
(koma-script, double pages).

At the end of the document there is a list of figures, bibliography and 
glossar.


The problem is that for example the list of figures needs only one
page so that there is an empty page before the bibliography starts,
which I want to remove. How can I do this?


In a similar document I use the following class options in the document 
settings:

fleqn,tablecaptionabove,BCOR7.5mm,titlepage,bibtotoc,liststotoc,openany

The option openany should fix it for you.

regards Uwe


  1   2   3   >