ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Define the dimensions of a layout
@ 2018-08-08 22:54 Fabrice Couvreur
  2018-08-09  2:46 ` Lizardo M. Reyna Bowen
  2018-08-09  2:50 ` Lizardo M. Reyna Bowen
  0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Couvreur @ 2018-08-08 22:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Wolfgang Schuster


[-- Attachment #1.1: Type: text/plain, Size: 398 bytes --]

Hello,
I want the text area to be surrounded by a margin of 20 mm (top, right,
left and bottom).
I have already done this to have a left and right margin of 20 mm.

\setuplayout
  [height=middle,
   backspace=20mm,
   width=middle]

I  think that I must now have :

topdistance + header + headerdistance = 20mm

footerdistance + footer + bottomdistance + bottom = 20 mm

How to do ?
Thanks
Fabrice

[-- Attachment #1.2: Type: text/html, Size: 2637 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Define the dimensions of a layout
  2018-08-08 22:54 Define the dimensions of a layout Fabrice Couvreur
@ 2018-08-09  2:46 ` Lizardo M. Reyna Bowen
  2018-08-09  2:50 ` Lizardo M. Reyna Bowen
  1 sibling, 0 replies; 4+ messages in thread
From: Lizardo M. Reyna Bowen @ 2018-08-09  2:46 UTC (permalink / raw)
  To: fabrice1.couvreur, mailing list for ConTeXt users

Hi,

May be this setup works.

\setuppapersize[A4]


\setuplayout[
  header=20mm,
  footer=20mm,
  height=fit,
  topspace=0cm,
  width=fit,
  backspace=2cm,
  rightmargin=0cm,
  leftmargin=0cm,
  leftmargindistance=0pt,
  rightmargindistance=0pt]

\showframe

\starttext
 \showsetups
\stoptext


Regards

-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Define the dimensions of a layout
  2018-08-08 22:54 Define the dimensions of a layout Fabrice Couvreur
  2018-08-09  2:46 ` Lizardo M. Reyna Bowen
@ 2018-08-09  2:50 ` Lizardo M. Reyna Bowen
  2018-08-09  3:47   ` Wolfgang Schuster
  1 sibling, 1 reply; 4+ messages in thread
From: Lizardo M. Reyna Bowen @ 2018-08-09  2:50 UTC (permalink / raw)
  To: fabrice1.couvreur, mailing list for ConTeXt users

Hi,

May be this setup works.

\setuppapersize[A4]

\setuplayout[
  header=20mm,
  footer=20mm,
  height=fit,
  topspace=0cm,
  width=fit,
  backspace=2cm,
  rightmargin=0cm,
  leftmargin=0cm,
  leftmargindistance=0pt,
  rightmargindistance=0pt]

\showframe

\starttext
 \showsetups
\stoptext

-- 
Dr. Lizardo M. Reyna Bowen
Docente
Facultad de Ingeniería Agrícola | Universidad Técnica de Manabí
[Dirección]  Lodana, Santa Ana, Manabí, Ecuador
[Móvil]  +593  982924637
PGP Key: 0xa35a15b90ee64e8d

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Define the dimensions of a layout
  2018-08-09  2:50 ` Lizardo M. Reyna Bowen
@ 2018-08-09  3:47   ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2018-08-09  3:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Lizardo M. Reyna Bowen

\setuplayout
   [topspace=10mm,
    header=10mm,
    footer=10mm,
    height=middle,
    backspace=20mm,
    width=middle]

\showframe

\starttext
\showsetups
\stoptext

Wolfgang


Lizardo M. Reyna Bowen schrieb am 09.08.18 um 04:50:
> Hi,
>
> May be this setup works.
>
> \setuppapersize[A4]
>
> \setuplayout[
>    header=20mm,
>    footer=20mm,
>    height=fit,
>    topspace=0cm,
>    width=fit,
>    backspace=2cm,
>    rightmargin=0cm,
>    leftmargin=0cm,
>    leftmargindistance=0pt,
>    rightmargindistance=0pt]
>
> \showframe
>
> \starttext
>   \showsetups
> \stoptext
>

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-08-09  3:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 22:54 Define the dimensions of a layout Fabrice Couvreur
2018-08-09  2:46 ` Lizardo M. Reyna Bowen
2018-08-09  2:50 ` Lizardo M. Reyna Bowen
2018-08-09  3:47   ` 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).