ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Page Layout
@ 1999-06-03 18:43 David Arnold
  1999-06-03 23:13 ` Hans Hagen
  0 siblings, 1 reply; 28+ messages in thread
From: David Arnold @ 1999-06-03 18:43 UTC (permalink / raw)


All,

On page 182 of Lamport's "Latex, A Document Preparation System," one can
find a picture of the layout of a latex style, with all of the various
parameters (topmargin, headheight, etc) clearly indicated in the figure.

Is there such a thing available in Context?

Yes, I am aware of \showframe, \showlayout, but these don't actually
indicate on the picture what each parameter represents, though most are
intuitive. Still, it would be helpful to have such a layout as that in
Lamport's book.


^ permalink raw reply	[flat|nested] 28+ messages in thread
* Re: Page Layout
@ 1999-06-07  9:50 Gilbert van den Dobbelsteen
  1999-06-07 11:52 ` Hans Hagen
  0 siblings, 1 reply; 28+ messages in thread
From: Gilbert van den Dobbelsteen @ 1999-06-07  9:50 UTC (permalink / raw)


>Is there such a thing available in Context?

Not really, and Context doesn't show all boxes (like edges), so what I
usually do is this:

\def\BOX#1#2{\framed[width=#1,height=#2]{}}

And then:

\setuptexttexts
  [edge]
  [\BOX\leftedgewidth,\textheight]
  [\BOX\rightedgewidth,\textheight]

This shows some boxes on places where you want it. If this clobbers your
usual stuff, you can use overlays and backgrounds to do so. It is not
exactly the same as \showlayout etc, but it gets the job done:

\defineoverlay[BACKFRAME][{\BOX\overlaywidth\overlayheight}]

\setupbackgrounds
  [text]
  [leftedge]
  [background=BACKFRAME]

This also shows the offset if you had one.

The \showlayout macro creates a solid filled box, which clobbers all
backgrounds, I don't know if this is a bug or a feature, but sometimes I do
not want to have the backgrounds clobbered, especially if I use offsetted
backgrounds.

So ok, there is no in-the-box solution, but as usual, you can roll your own.

Happy experimenting, Gilbert.


^ permalink raw reply	[flat|nested] 28+ messages in thread
* Re: Page Layout
@ 1999-06-07 13:24 Gilbert van den Dobbelsteen
  1999-06-08  7:24 ` Hans Hagen
  0 siblings, 1 reply; 28+ messages in thread
From: Gilbert van den Dobbelsteen @ 1999-06-07 13:24 UTC (permalink / raw)
  Cc: ntg-context

>
>Well, then how about just saying:
>
>\setupbackgrounds
>  [text][leftedge][frame=on]

Never looked at the command, looks good. But let me state something useless:

\startsillystatement
Usually I seek for features in \CONTEXT\ and I don't find them.
After that, I program them my own,
which is usually pretty trivial in \CONTEXT.

After feeling very content about my hacking/solution finding, Hans
points out there was already support for it.
I just missed it in the docs/sources.

Conclusion: I need \CONTEXT-aware-spectacles so documentation gets
into my brain more easily.

Can that be integrated in the next-version?
\stopsillystatement

Gilbert.


^ permalink raw reply	[flat|nested] 28+ messages in thread
* page layout
@ 2010-04-02 10:13 Sebastien Mengin
  2010-04-02 11:56 ` Wolfgang Schuster
  0 siblings, 1 reply; 28+ messages in thread
From: Sebastien Mengin @ 2010-04-02 10:13 UTC (permalink / raw)
  To: ntg-context

Hi,

Say I want to typeset a 10 x 18 cm book and print proofs on a A4 paper.
Margins :
top = 1cm
bottom = 1.5cm
left & right = 1cm

I'd like crop marks to.

My attempts based on the docs fail.

Sorry, but this simple request is not easy to deduce directly from the
beginners doc -- although I translated the chapter about page layout
(sigh...)

Thanks in advance.
-- 
Sébastien Mengin
Édition et logiciels libres
< Mise en page avec LaTeX >
http://edilibre.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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-04-08 11:55 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-03 18:43 Page Layout David Arnold
1999-06-03 23:13 ` Hans Hagen
1999-06-07  9:50 Gilbert van den Dobbelsteen
1999-06-07 11:52 ` Hans Hagen
1999-06-07 13:24 Gilbert van den Dobbelsteen
1999-06-08  7:24 ` Hans Hagen
2010-04-02 10:13 page layout Sebastien Mengin
2010-04-02 11:56 ` Wolfgang Schuster
2010-04-06 14:37   ` Sebastien Mengin
2010-04-06 18:52     ` Willi Egger
2010-04-06 18:58       ` Willi Egger
2010-04-06 19:27         ` Sebastien Mengin
2010-04-06 19:44           ` Willi Egger
2010-04-06 19:23       ` Sebastien Mengin
2010-04-06 19:43         ` Willi Egger
2010-04-06 20:05           ` Sebastien Mengin
2010-04-06 20:54             ` Willi Egger
2010-04-06 20:21         ` Hans Hagen
2010-04-06 21:45         ` Wolfgang Schuster
2010-04-07 13:08           ` Sebastien Mengin
2010-04-07 13:16             ` Vianney le Clément
2010-04-07 13:23               ` Taco Hoekwater
2010-04-07 13:31                 ` Sebastien Mengin
2010-04-07 13:39                   ` Vianney le Clément
2010-04-07 13:46                     ` Sebastien Mengin
2010-04-07 13:27               ` Sebastien Mengin
2010-04-07 14:19                 ` Hans Hagen
2010-04-08 11:55                 ` R. Bastian

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).