Discussion:
Problem with /cleardoublepage{}
Helge Hafting
2009-08-24 13:24:25 UTC
Permalink
Hi,
I'm new to lyx and i think it's a very good program. I've a trouble i'm trying
to fix from a long time and i googled a lot without finding anything useful
which works.
The problem is simple, i've a frontpage which should be not numbered and that
must have a blank page afterwards.
I just typed some test characters and i did Insert->Formatting->Clear Double
Page.
I tried with New Page, Clear Page and Page Break but the result is even the
same: nothing changes when i print as pdf or dvi or ps.
What exactly is the problem? Do you get numbers you don't want on those
pages?

Use the TeX-button (or Insert->TeX Code) and add the command
\thispagestyle{empty}
on all of the pages where you don't want a number.

New page/page break/clear page has nothing to do with numbering and
such, these commands just gives you pages without normal text on them.

Helge Hafting
Vincenzo Ampolo
2009-08-24 13:32:13 UTC
Permalink
Post by Helge Hafting
New page/page break/clear page has nothing to do with numbering and
such, these commands just gives you pages without normal text on them.
Sorry i'm not good at english and i didn't explain good.

I had two problems: the first one is to hide the page number and this command
fixed it "\thispagestyle{empty} "

The second issue is that i need a blank page somewhere in my document. Is
there a way to add it ? i tried with
Insert->Formatting->Clear Double Page.
Insert->Formatting->Page Break.
Insert->Formatting->New Page.
Insert->Formatting->Clear Page.

But none of them worked.

How can i do it?

Thanks
--
Vincenzo Ampolo
http://goshawknest.wordpress.com/
http://vincenzo-ampolo.net

GnuPG Key:
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x9BF47CA71E506DE9
Vincenzo Ampolo
2009-08-24 15:15:30 UTC
Permalink
Post by Vincenzo Ampolo
I had two problems: the first one is to hide the page number and this
command fixed it "\thispagestyle{empty} "
The second issue is that i need a blank page somewhere in my document. Is
there a way to add it ? i tried with
Insert->Formatting->Clear Double Page.
Insert->Formatting->Page Break.
Insert->Formatting->New Page.
Insert->Formatting->Clear Page.
But none of them worked.
How can i do it?
Thanks
I solved with this trick:
Insert->Formatting->Clear Double Page
type CTRL+ SPACE
Insert->Formatting->Clear Double Page
In this way i've finally an empty page.

Thx ;)
--
Vincenzo Ampolo
http://goshawknest.wordpress.com/
http://vincenzo-ampolo.net

GnuPG Key:
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x9BF47CA71E506DE9
Loading...