Re: [NTG-context] How to set a layout shown in the attachment png file?

2009-04-16 Thread Alex Lubberts
 I attached a PNG file to show the layout that I want. I want the text part
 narrowed and
 right aligned. I tried the following settings:

 \setuplayout
[backspace=20mm,
 topspace=20mm,
 height=257mm,
 width=170mm,
 %textwidth=115mm,
 header=10mm,
 footer=0mm,
 rightmargin=0mm,
 leftmargin=25mm,
 leftmargindistance=-25mm,]

 The problem is that text is too wide. I commented the 'textwidth' for it
 will make the
 narrowed text centering. What else do I need to set?

From the picture the exact measures are not clear, but perhaps you should
try:
  ...
  width=115mm,
  ...
  leftmargindistance=25mm]
'width' is used to set the textwidth. And 'leftmargindistance'is used to
indicate the distance between the lefmargin column and the body text, so I
think it should be a positive amount. This setting will result in an empty
backspace of 20mm + margin of 25mm + 25mm whitespace + 115mm bodytext +
cutspace of 25mm cutspace (assuming you're using A4 papersize).

Regards,
Alex


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to set a layout shown in the attachment png file?

2009-04-16 Thread Wei-Wei Guo

Hi Ales,

Alex Lubberts 写道:

I attached a PNG file to show the layout that I want. I want the text part
narrowed and
right aligned. I tried the following settings:

\setuplayout
   [backspace=20mm,
topspace=20mm,
height=257mm,
width=170mm,
%textwidth=115mm,
header=10mm,
footer=0mm,
rightmargin=0mm,
leftmargin=25mm,
leftmargindistance=-25mm,]

The problem is that text is too wide. I commented the 'textwidth' for it
will make the
narrowed text centering. What else do I need to set?


From the picture the exact measures are not clear, but perhaps you should


The picture only shows relative position of header, text, and margin.



try:
  ...
  width=115mm,
  ...
  leftmargindistance=25mm]
'width' is used to set the textwidth. And 'leftmargindistance'is used to
indicate the distance between the lefmargin column and the body text, so I
think it should be a positive amount. This setting will result in an empty
backspace of 20mm + margin of 25mm + 25mm whitespace + 115mm bodytext +
cutspace of 25mm cutspace (assuming you're using A4 papersize).


I tried. It doesn't work. As my understanding, margin and margindistance do not
affect layout. They only decide where margins are.


Best wishes,
Wei-Wei

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] How to set a layout shown in the attachment png file?

2009-04-15 Thread Wei-Wei Guo

Dear all,

I attached a PNG file to show the layout that I want. I want the text part 
narrowed and
right aligned. I tried the following settings:

\setuplayout
  [backspace=20mm,
   topspace=20mm,
   height=257mm,
   width=170mm,
   %textwidth=115mm,
   header=10mm,
   footer=0mm,
   rightmargin=0mm,
   leftmargin=25mm,
   leftmargindistance=-25mm,]

The problem is that text is too wide. I commented the 'textwidth' for it will 
make the
narrowed text centering. What else do I need to set?


Best wishes,
Wei-Wei
inline: mylayout.png___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___