ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Anchoring layer
@ 2005-10-05 10:48 Thomas A. Schmitz
  2005-10-05 11:12 ` Peter Rolf
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas A. Schmitz @ 2005-10-05 10:48 UTC (permalink / raw)


I'm trying to write a module that will mimick the behavior of  
crop.sty in LaTeX (providing fancier cropmarks than the ones given by  
the ConTeXt \setuplayout command). I'm done with the code for the  
cropmarks, and this is working fine. Now I want to have a status line  
in between the two top marks. How can I give an absolute position for  
a layer that will put this line midaligned and exactly, say 0.5cm  
above the level of the upper corners of the page? What I tried so far  
is:
\composedlayer and something like \setlayer[y=2cm] - will only be on  
the first page, not repeated;
\framed - I can give the frame a height like 1.3\textheight, but then  
the position will not be fixed, but change with the textheight

I guess there must be a trivial solution, but I haven't found it yet...

Best

Thomas

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: D R A F T on pages
@ 2005-10-07 19:08 Idris Samawi Hamid
  0 siblings, 0 replies; 19+ messages in thread
From: Idris Samawi Hamid @ 2005-10-07 19:08 UTC (permalink / raw)


>===== Original Message From Peter Münster <pmlists@free.fr> =====

>Perhaps a bit simpler:
>
>\setupcolors[state=start]
>\defineoverlay[Draft][{\lightgray
>  \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
>\setupbackgrounds[page][background=Draft]
>\starttext
>\input tufte
>\stoptext

Indeed! Wonderful!!

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

end of thread, other threads:[~2005-10-10 10:26 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-05 10:48 Anchoring layer Thomas A. Schmitz
2005-10-05 11:12 ` Peter Rolf
2005-10-05 12:57   ` Thomas A. Schmitz
2005-10-05 13:55     ` Peter Rolf
2005-10-05 16:17       ` Thomas A. Schmitz
2005-10-06 20:20         ` D R A F T on pages Jilani Khaldi
2005-10-06 20:36           ` Thomas A. Schmitz
2005-10-06 21:49             ` Jilani Khaldi
2005-10-06 23:12               ` Idris Samawi Hamid
2005-10-07 10:03                 ` Jilani Khaldi
2005-10-07 17:35                   ` Thomas A. Schmitz
2005-10-07 18:34                     ` Peter Münster
2005-10-07 19:28                       ` Jilani Khaldi
2005-10-07  6:35               ` andrea valle
2005-10-07  7:03               ` ASCII art inclusion andrea valle
2005-10-09  9:38                 ` Mojca Miklavec
2005-10-10 10:26                   ` andrea valle
2005-10-06 20:47           ` D R A F T on pages Idris Samawi Hamid
2005-10-07 19:08 Idris Samawi Hamid

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