From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42749 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: centered frame centered ? Date: Fri, 25 Jul 2008 15:21:58 +0200 Message-ID: <115224fb0807250621i2ce21ca8o38bd92f9cafc4d9e@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1216992240 11387 80.91.229.12 (25 Jul 2008 13:24:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2008 13:24:00 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 25 15:24:43 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KMNHf-00055o-Sq for gctc-ntg-context-518@m.gmane.org; Fri, 25 Jul 2008 15:24:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C75F1FD8C; Fri, 25 Jul 2008 15:23:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09207-02-11; Fri, 25 Jul 2008 15:22:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64A3D1FD76; Fri, 25 Jul 2008 15:22:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4ACAB1FD76 for ; Fri, 25 Jul 2008 15:22:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10453-01-9 for ; Fri, 25 Jul 2008 15:22:01 +0200 (CEST) Original-Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.242]) by ronja.ntg.nl (Postfix) with ESMTP id 344831FBE8 for ; Fri, 25 Jul 2008 15:22:01 +0200 (CEST) Original-Received: by ag-out-0708.google.com with SMTP id 35so16621521aga.1 for ; Fri, 25 Jul 2008 06:22:00 -0700 (PDT) Original-Received: by 10.100.124.6 with SMTP id w6mr587633anc.92.1216992118804; Fri, 25 Jul 2008 06:21:58 -0700 (PDT) Original-Received: by 10.100.109.20 with HTTP; Fri, 25 Jul 2008 06:21:58 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42749 Archived-At: On Thu, Jul 24, 2008 at 9:58 PM, Aditya Mahajan wrote: > On Thu, 24 Jul 2008, Steffen Wolfrum wrote: > >> Hi, >> >> the content is centered, but how do I center the frame: > > Do you want > > \midaligned{\framed[...]{...}} > > Aditya \presetlocalframed[centeredframe] \def\startcenteredframed {\dosingleempty\dostartcenteredframed} \def\dostartcenteredframed[#1]% {\startalignment[middle] \dontleavehmode\localframed[centeredframe][#1] \bgroup} \def\stopcenteredframed {\egroup \stopalignment} \showframe \starttext \startcenteredframed [frame=3Don,before=3D\vskip5cm,location=3Dcenter,align=3Dmiddle,width=3D0= .8\textwidth,offset=3D0pt] =84Wir m=FCssen f=FCr die Freiheit planen und nicht f=FCr die Sicherheit, wenn auch vielleicht aus keinem anderen Grund als dem, dass nur die Freiheit die Sicherheit sichern kann." \blank[3pt] \it{Karl Popper} \stopcenteredframed \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________