ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Centering the page
@ 2008-11-22 16:44 Mohamed Bana
  2008-11-27 12:17 ` Mohamed Bana
  0 siblings, 1 reply; 5+ messages in thread
From: Mohamed Bana @ 2008-11-22 16:44 UTC (permalink / raw)
  To: ntg-context

%%% Document %%%

% engine=luatex
\enableregime [utf-8]
\mainlanguage[uk]
\language[uk]
\setuppapersize [A4]
                 [A4]
\showframe
%\showlayout

%\setuplayout[width=middle]

\setupwhitespace  [medium]

\starttext
\input knuth

\input zapf

\input tufte
\stoptext


Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, 
you'll notice a reasonably sized gap on the right hand side, how do I 
get rid of it?

The work around seems to be

\setuplayout[width=middle]

But this isn't want I want as the width of the text betters slightly 
bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc .


Thanks

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Centering the page
  2008-11-22 16:44 Centering the page Mohamed Bana
@ 2008-11-27 12:17 ` Mohamed Bana
  2008-11-27 12:20   ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Mohamed Bana @ 2008-11-27 12:17 UTC (permalink / raw)
  To: ntg-context

anyone?

Mohamed Bana wrote:
> %%% Document %%%
> 
> % engine=luatex
> \enableregime [utf-8]
> \mainlanguage[uk]
> \language[uk]
> \setuppapersize [A4]
>                  [A4]
> \showframe
> %\showlayout
> 
> %\setuplayout[width=middle]
> 
> \setupwhitespace  [medium]
> 
> \starttext
> \input knuth
> 
> \input zapf
> 
> \input tufte
> \stoptext
> 
> 
> Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, 
> you'll notice a reasonably sized gap on the right hand side, how do I 
> get rid of it?
> 
> The work around seems to be
> 
> \setuplayout[width=middle]
> 
> But this isn't want I want as the width of the text betters slightly 
> bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc .
> 
> 
> Thanks
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Centering the page
  2008-11-27 12:17 ` Mohamed Bana
@ 2008-11-27 12:20   ` Wolfgang Schuster
  2008-11-27 12:46     ` Mohamed Bana
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2008-11-27 12:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Nov 27, 2008 at 1:17 PM, Mohamed Bana
<mbana.lists@googlemail.com> wrote:
> anyone?

\setuplayout
  [backspace=8cm,
   width=middle]

Wolfgang

> Mohamed Bana wrote:
>> %%% Document %%%
>>
>> % engine=luatex
>> \enableregime [utf-8]
>> \mainlanguage[uk]
>> \language[uk]
>> \setuppapersize [A4]
>>                  [A4]
>> \showframe
>> %\showlayout
>>
>> %\setuplayout[width=middle]
>>
>> \setupwhitespace  [medium]
>>
>> \starttext
>> \input knuth
>>
>> \input zapf
>>
>> \input tufte
>> \stoptext
>>
>>
>> Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz,
>> you'll notice a reasonably sized gap on the right hand side, how do I
>> get rid of it?
>>
>> The work around seems to be
>>
>> \setuplayout[width=middle]
>>
>> But this isn't want I want as the width of the text betters slightly
>> bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc .
>>
>>
>> Thanks
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Centering the page
  2008-11-27 12:20   ` Wolfgang Schuster
@ 2008-11-27 12:46     ` Mohamed Bana
  2008-11-27 12:51       ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Mohamed Bana @ 2008-11-27 12:46 UTC (permalink / raw)
  To: ntg-context

Thanks, but that's not what I had in mind.  Look at the right edge of 
the pdf (http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz) 
there's a gap - about 1/2 a centimetres - which isn't on the left side. 
  It doesn't look uniform.

Wolfgang Schuster wrote:
> On Thu, Nov 27, 2008 at 1:17 PM, Mohamed Bana
> <mbana.lists@googlemail.com> wrote:
>> anyone?
> 
> \setuplayout
>   [backspace=8cm,
>    width=middle]
> 
> Wolfgang
> 
>> Mohamed Bana wrote:
>>> %%% Document %%%
>>>
>>> % engine=luatex
>>> \enableregime [utf-8]
>>> \mainlanguage[uk]
>>> \language[uk]
>>> \setuppapersize [A4]
>>>                  [A4]
>>> \showframe
>>> %\showlayout
>>>
>>> %\setuplayout[width=middle]
>>>
>>> \setupwhitespace  [medium]
>>>
>>> \starttext
>>> \input knuth
>>>
>>> \input zapf
>>>
>>> \input tufte
>>> \stoptext
>>>
>>>
>>> Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz,
>>> you'll notice a reasonably sized gap on the right hand side, how do I
>>> get rid of it?
>>>
>>> The work around seems to be
>>>
>>> \setuplayout[width=middle]
>>>
>>> But this isn't want I want as the width of the text betters slightly
>>> bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc .
>>>
>>>
>>> Thanks
>>>
>>> ___________________________________________________________________________________
>>> 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
>>> ___________________________________________________________________________________
>>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Centering the page
  2008-11-27 12:46     ` Mohamed Bana
@ 2008-11-27 12:51       ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2008-11-27 12:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Nov 27, 2008 at 1:46 PM, Mohamed Bana
<mbana.lists@googlemail.com> wrote:
> Thanks, but that's not what I had in mind.  Look at the right edge of
> the pdf (http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz)
> there's a gap - about 1/2 a centimetres - which isn't on the left side.
>  It doesn't look uniform.

The left and right margina re different but they have nothing to do
with the distance of the text block from the left and right margin
of the paper.

\setuplayout
  [width=middle,
   leftmargin=2cm,
   rightmargin=2cm]

\showframe

\starttext
Hello world!
\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-27 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-22 16:44 Centering the page Mohamed Bana
2008-11-27 12:17 ` Mohamed Bana
2008-11-27 12:20   ` Wolfgang Schuster
2008-11-27 12:46     ` Mohamed Bana
2008-11-27 12:51       ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).