Re: Adjust margin for just one page

2009-09-05 Thread Pavel Sanda
Matthias Bußjäger wrote:
 clluiz schrieb:
 I´m having problems to change the margin of just one page in lyx. I tried 
 to
 use the packages changepage and chngpage without success. How can I change
 the margins for just one page in lyx?
   

 I've done this to solve this problem for a twosided doc:

 \newlength\oddsidemarginorig
 \oddsidemarginorig=\oddsidemargin
 \oddsidemargin -5 mm  %or whatever you want/need
...
 TEXT
...
 \oddsidemargin=\oddsidemarginorig  %recovery of the original value

 Perhaps it works in your case, perhaps you have to make some changes, 
 perhaps there's a better way ;)

worth to add into the wiki tips.
pavel


Re: Adjust margin for just one page

2009-09-05 Thread Pavel Sanda
Matthias Bußjäger wrote:
 clluiz schrieb:
 I´m having problems to change the margin of just one page in lyx. I tried 
 to
 use the packages changepage and chngpage without success. How can I change
 the margins for just one page in lyx?
   

 I've done this to solve this problem for a twosided doc:

 \newlength\oddsidemarginorig
 \oddsidemarginorig=\oddsidemargin
 \oddsidemargin -5 mm  %or whatever you want/need
...
 TEXT
...
 \oddsidemargin=\oddsidemarginorig  %recovery of the original value

 Perhaps it works in your case, perhaps you have to make some changes, 
 perhaps there's a better way ;)

worth to add into the wiki tips.
pavel


Re: Adjust margin for just one page

2009-09-05 Thread Pavel Sanda
Matthias Bußjäger wrote:
> clluiz schrieb:
>> I´m having problems to change the margin of just one page in lyx. I tried 
>> to
>> use the packages changepage and chngpage without success. How can I change
>> the margins for just one page in lyx?
>>   
>
> I've done this to solve this problem for a twosided doc:
>
> \newlength\oddsidemarginorig
> \oddsidemarginorig=\oddsidemargin
> \oddsidemargin -5 mm  %or whatever you want/need
>...
> TEXT
>...
> \oddsidemargin=\oddsidemarginorig  %recovery of the original value
>
> Perhaps it works in your case, perhaps you have to make some changes, 
> perhaps there's a better way ;)

worth to add into the wiki tips.
pavel


Re: Adjust margin for just one page

2009-09-01 Thread Matthias Bußjäger

clluiz schrieb:

I´m having problems to change the margin of just one page in lyx. I tried to
use the packages changepage and chngpage without success. How can I change
the margins for just one page in lyx?
  


I've done this to solve this problem for a twosided doc:

\newlength\oddsidemarginorig
\oddsidemarginorig=\oddsidemargin
\oddsidemargin -5 mm  %or whatever you want/need
   ...
TEXT
   ...
\oddsidemargin=\oddsidemarginorig  %recovery of the original value

Perhaps it works in your case, perhaps you have to make some changes, 
perhaps there's a better way ;)


Re: Adjust margin for just one page

2009-09-01 Thread Matthias Bußjäger

clluiz schrieb:

I´m having problems to change the margin of just one page in lyx. I tried to
use the packages changepage and chngpage without success. How can I change
the margins for just one page in lyx?
  


I've done this to solve this problem for a twosided doc:

\newlength\oddsidemarginorig
\oddsidemarginorig=\oddsidemargin
\oddsidemargin -5 mm  %or whatever you want/need
   ...
TEXT
   ...
\oddsidemargin=\oddsidemarginorig  %recovery of the original value

Perhaps it works in your case, perhaps you have to make some changes, 
perhaps there's a better way ;)


Re: Adjust margin for just one page

2009-09-01 Thread Matthias Bußjäger

clluiz schrieb:

I´m having problems to change the margin of just one page in lyx. I tried to
use the packages changepage and chngpage without success. How can I change
the margins for just one page in lyx?
  


I've done this to solve this problem for a twosided doc:

\newlength\oddsidemarginorig
\oddsidemarginorig=\oddsidemargin
\oddsidemargin -5 mm  %or whatever you want/need
   ...
TEXT
   ...
\oddsidemargin=\oddsidemarginorig  %recovery of the original value

Perhaps it works in your case, perhaps you have to make some changes, 
perhaps there's a better way ;)