ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About \setupbackgrounds
@ 2017-07-31 10:11 Fabrice Couvreur
  2017-07-31 19:30 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2017-07-31 10:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

https://tex.stackexchange.com/questions/84425/fancyhdr-equivalent-in-context

Hello,
I considered the solution proposed by Aditya. How to have a larger space
between the title and the bottomframe ?
Thank you
Fabrice

\setupbodyfont[11pt]
\setupcolors[state=start]
\setuplayout
  [header=2\lineheight,
   headerdistance=\lineheight,
   backspace=2cm,
   width=middle,
   topspace=2cm]

\setupbackgrounds[header][text][frame=off, bottomframe=on]


\setupheader[style=bold]


\defineframed[headerframed]
             [frame=off,
              align=middle,
              width=fit]

\setupheadertexts[\headerframed{\red contrôle n\high{o}1 \\ }]
\setupheadertexts[\headerframed{Lycée JANSON DE SAILLY\\ 31 juillet
2017}][\headerframed{T ES 2 \\ Durée 1 heure 30}]

\starttext
\input knuth
\stoptext

[-- Attachment #1.2: Type: text/html, Size: 1286 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

end of thread, other threads:[~2017-08-02  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 10:11 About \setupbackgrounds Fabrice Couvreur
2017-07-31 19:30 ` Aditya Mahajan
2017-08-01 10:21   ` Fabrice Couvreur
2017-08-02  9:43     ` Fabrice Couvreur

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