From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46593 Path: news.gmane.org!not-for-mail From: "Alan STONE" Newsgroups: gmane.comp.tex.context Subject: line spacing in frame with centered text Date: Sat, 3 Jan 2009 18:12:56 +0100 Message-ID: <326847810901030912v44dfbe23je14223627b8ed37@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1272995445==" X-Trace: ger.gmane.org 1231002883 15725 80.91.229.12 (3 Jan 2009 17:14:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2009 17:14:43 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 03 18:15:51 2009 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 1LJA6I-0002WX-KK for gctc-ntg-context-518@m.gmane.org; Sat, 03 Jan 2009 18:15:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7A9E1FC14; Sat, 3 Jan 2009 18:14:32 +0100 (CET) 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 15174-01-7; Sat, 3 Jan 2009 18:13:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B95A1FBBE; Sat, 3 Jan 2009 18:13:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C94391FBBE for ; Sat, 3 Jan 2009 18:13:35 +0100 (CET) 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 03953-05-23 for ; Sat, 3 Jan 2009 18:12:56 +0100 (CET) Original-Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by ronja.ntg.nl (Postfix) with ESMTP id 9B07B1FBA8 for ; Sat, 3 Jan 2009 18:12:56 +0100 (CET) Original-Received: by ewy14 with SMTP id 14so7500586ewy.2 for ; Sat, 03 Jan 2009 09:12:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=c7Z97iDzDzM0b7xNgufrbmnjJtVXBp4Jkm6USujmRmU=; b=PNOAuwph3i+rAO1Oq1wYOlnqbuXObMt1iWa/jm0xPlXreETIvIjQXe0UZ2R3/wnrra CmYZMm/PutCNzkkt8ZIRPSrXMbA3BSFMoGGixMPBTWQdPNwJoaHVlnN7ZLxCvRs50gjW M9d116yO803AMgUGP/7JvYuPWjbXnpEb1OX2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=nY6L+0Xl3mMqB7+ChoXewWDwNO92+SUjZscttHv9EYh5nNlnKYRKwXaw3jDHcRUmP+ b89PVHE1UpCNj2CElxNohc8UinnsBRx0NrG5A92kMCUJmjpPTxHZJojsmnT7shYl1jJ3 LqK4mVxXfJKsCkV51zdcdoeQH1ttgpDmlj8+o= Original-Received: by 10.210.82.2 with SMTP id f2mr22279907ebb.82.1231002776335; Sat, 03 Jan 2009 09:12:56 -0800 (PST) Original-Received: by 10.210.21.16 with HTTP; Sat, 3 Jan 2009 09:12:56 -0800 (PST) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:46593 Archived-At: --===============1272995445== Content-Type: multipart/alternative; boundary="----=_Part_14738_13128925.1231002776325" ------=_Part_14738_13128925.1231002776325 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, How do you get a uniform line spacing in the following frames where it's not the case ? \setuplayout[header=0pt,footer=0pt] \def\myFrameSetupA{\setupframed[width=\textwidth,frame=on,top=\vss,bottom=\vss,align=middle]} \def\myFrameSetupB{\setupframed[width=\textwidth,frame=on,location=middle,align=middle,offset=15pt]} \def\myFrameTextA{Text\\In A\\Frame} \def\myFrameTextB{Text\blank[medium]In A\blank[medium]Frame} \def\myFrameA{\framed[height=50mm]{\bf\myFrameTextA}} \def\myFrameB{\framed[height=50mm]{\bf\myFrameTextB}} \def\myFrameC{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextA}} \def\myFrameD{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextB}} \def\myFrameOne{\myFrameSetupA\myFrameA} % OK \def\myFrameTwo{\myFrameSetupA\myFrameB} % OK \def\myFrameThree{\myFrameSetupA\myFrameC} % line spacing is not uniform \def\myFrameFour{\myFrameSetupA\myFrameD} % line spacing is not uniform \def\myFrameFive{\myFrameSetupB\myFrameA} % OK \def\myFrameSix{\myFrameSetupB\myFrameB} % OK \def\myFrameSeven{\myFrameSetupB\myFrameC} % line spacing is not uniform \def\myFrameEight{\myFrameSetupB\myFrameD} % line spacing is not uniform \starttext \myFrameOne \blank \myFrameTwo \blank \myFrameThree \blank \myFrameFour \page \myFrameFive \blank \myFrameSix \blank \myFrameSeven \blank \myFrameEight \stoptext -- Best, Alan ------=_Part_14738_13128925.1231002776325 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
 
How do you get a uniform line spacing in the following frames where it's not the case ?
 
\setuplayout[header=0pt,footer=0pt]
 
\def\myFrameSetupA{\setupframed[width=\textwidth,frame=on,top=\vss,bottom=\vss,align=middle]}
\def\myFrameSetupB{\setupframed[width=\textwidth,frame=on,location=middle,align=middle,offset=15pt]}
 
\def\myFrameTextA{Text\\In A\\Frame}
\def\myFrameTextB{Text\blank[medium]In A\blank[medium]Frame}
 
\def\myFrameA{\framed[height=50mm]{\bf\myFrameTextA}}
\def\myFrameB{\framed[height=50mm]{\bf\myFrameTextB}}
\def\myFrameC{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextA}}
\def\myFrameD{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextB}}
 
\def\myFrameOne{\myFrameSetupA\myFrameA}  % OK
\def\myFrameTwo{\myFrameSetupA\myFrameB}   % OK
\def\myFrameThree{\myFrameSetupA\myFrameC}  % line spacing is not uniform
\def\myFrameFour{\myFrameSetupA\myFrameD}  % line spacing is not uniform
 
\def\myFrameFive{\myFrameSetupB\myFrameA}  % OK
\def\myFrameSix{\myFrameSetupB\myFrameB}   % OK
\def\myFrameSeven{\myFrameSetupB\myFrameC} % line spacing is not uniform
\def\myFrameEight{\myFrameSetupB\myFrameD}  % line spacing is not uniform
  
\starttext
 \myFrameOne
 \blank
 \myFrameTwo
 \blank
 \myFrameThree
 \blank
 \myFrameFour
 
 \page
 
 \myFrameFive
 \blank
 \myFrameSix
 \blank
 \myFrameSeven
 \blank
 \myFrameEight
\stoptext

--
Best,
Alan
------=_Part_14738_13128925.1231002776325-- --===============1272995445== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1272995445==--