From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93258 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Backgrounds header and footers Date: Mon, 11 Jan 2016 14:48:32 +0100 Message-ID: <5693B2B0.8080403@gmail.com> References: <000001d14c76$41e0abb0$c5a20310$@univie.ac.at> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5431334953419012818==" X-Trace: ger.gmane.org 1452520408 1177 80.91.229.3 (11 Jan 2016 13:53:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2016 13:53:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 11 14:53:13 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aIcuC-0002GV-Dn for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jan 2016 14:53:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1E74C5E7A; Mon, 11 Jan 2016 14:48:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OUGSsQZ46-Vx; Mon, 11 Jan 2016 14:48:47 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 512FA5E2C; Mon, 11 Jan 2016 14:48:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C069C5E2C for ; Mon, 11 Jan 2016 14:48:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n9CeTplh_nJe for ; Mon, 11 Jan 2016 14:48:45 +0100 (CET) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 519FE5940 for ; Mon, 11 Jan 2016 14:48:35 +0100 (CET) Original-Received: by mail-wm0-f51.google.com with SMTP id f206so269353495wmf.0 for ; Mon, 11 Jan 2016 05:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=e7p96VzPRndJPZTRnFDDvUWIxA9olZ2tL+/SejMOv6M=; b=MzQx4HIpDMWzfGSXtbGnTi0s2JbQKivqK0DwjBjb5gm6s/IGLjHGNbm/ZYH60/Vkqg /6RxZL7ukdTPvxEC/RYEq/LzIz0oHuEeTAQF0eUfwydu07o9U1001XbK3PFE94GuLTf0 IHR4CHv+5ALkYhWVkCnDhf4I4RPykBaYBpd1u2ZLIIWoQF7A0oQAnpxFhQPTU7Kk7s4p TawLGcCjQnFyy62lxWCI9d7WUv6teir4xzhnzdRMl8qBYIobzYc0iS057isMnBUYMBsJ 0q52ly11x6Ijpb4gkzrOXLvuQ8/QmUCtPEuKRrjgptkFz98kC6o5IgVlgD/M8IatyXlc 0odQ== X-Received: by 10.194.87.1 with SMTP id t1mr96906913wjz.170.1452520115074; Mon, 11 Jan 2016 05:48:35 -0800 (PST) Original-Received: from keima.localdomain (x2f23e6f.dyn.telefonica.de. [2.242.62.111]) by smtp.gmail.com with ESMTPSA id w8sm75759259wjx.21.2016.01.11.05.48.34 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jan 2016 05:48:34 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <000001d14c76$41e0abb0$c5a20310$@univie.ac.at> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93258 Archived-At: This is a multi-part message in MIME format. --===============5431334953419012818== Content-Type: multipart/alternative; boundary="------------080403000809070202010503" This is a multi-part message in MIME format. --------------080403000809070202010503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Ursula Hermann > 11. Januar 2016 um 14:44 > > Hello evryone! > > I have just a problem. > > I want the colored header only in the middle where the text is > written, but not in the margin. > > \setuppapersize[A4] > > \setupbackgrounds[header][background=color, backgroundcolor=gray] > > \setupbackgrounds[leftmargin][background=color, backgroundcolor=white] > \setupbackgrounds[header][text][background=color,backgroundcolor=gray] Wolfgang --------------080403000809070202010503 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
11. Januar 2016 um 14:44

Hello evryone!

 

I have just a problem.

 

I want the colored header only in the middle where the text is written, but not in the margin.

 

\setuppapersize[A4]

 

 

\setupbackgrounds[header][background=color, backgroundcolor=gray]

\setupbackgrounds[leftmargin][background=color, backgroundcolor=white]

\setupbackgrounds[header][text][background=color,backgroundcolor=gray]

Wolfgang
--------------080403000809070202010503-- --===============5431334953419012818== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============5431334953419012818==--