From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54641 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: \vspace Date: Sun, 22 Nov 2009 23:52:34 +0100 Message-ID: <01760E86-9173-44D7-B117-49DB4ECA2725@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258930420 14941 80.91.229.12 (22 Nov 2009 22:53:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2009 22:53:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 22 23:53:33 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCLJE-0004dN-60 for gctc-ntg-context-518@m.gmane.org; Sun, 22 Nov 2009 23:53:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 555B7C9B21; Sun, 22 Nov 2009 23:50:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nsB9t8EY-P-k; Sun, 22 Nov 2009 23:50:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53E17C9AF1; Sun, 22 Nov 2009 23:50:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1336C9AF1 for ; Sun, 22 Nov 2009 23:50:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2N8fmGlBM3ae for ; Sun, 22 Nov 2009 23:50:00 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 74515C9AAA for ; Sun, 22 Nov 2009 23:49:59 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so3488392bwz.34 for ; Sun, 22 Nov 2009 14:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=eNXQPbywWl1TOXm35zDudGy6k7JKbj9y3353ZlyqA+c=; b=hQzqgUQWGdIS8F0HxbYlZOQwYT/JiRp6xveens6oWe4UqxxY9zu3VT5qxhq7U02YEO gnAnfXIEXUN7WhFuxzuo6NZodyd2RSUbvDjo7piwWygZzp9hFgCvjAy4DeAyIqRxWd0j aX5y8iNh7oj4Lp5suk1AUrWM9ep7Yco2+muoc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=d51SLQGn6mBhayzMyCrO40ioOx15zJN50+CX6lhzHlv7+Z9pzQ74T4RYxpJ/NDurWz 0tA1TQigXDcp0+WHw1sg1gjGvfUmNYXJI9d9U7rg4ticBLV0nNLPJRNijMAQV+2H51Zt v/PNmgNV8YNsW7gN5xCKGuA9P533rn+ccB4Ls= Original-Received: by 10.204.33.140 with SMTP id h12mr3899123bkd.167.1258930357529; Sun, 22 Nov 2009 14:52:37 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B29516D.dip.t-dialin.net [91.41.81.109]) by mx.google.com with ESMTPS id 14sm946544bwz.5.2009.11.22.14.52.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Nov 2009 14:52:36 -0800 (PST) X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54641 Archived-At: Hi Hans, can you add a \vspace command which behaves like \hspace but for vertical mode, there are some cases where \blank is not so well suited (i know the \??vs namespace is already used by \blank) \def\definevspace {\dotripleempty\dodefinevspace} \def\dodefinevspace[#1][#2][#3]% {\ifthirdargument \setvalue{\??vs#1:#2}{#3}% \else \setvalue{\??vs:#1}{#2}% \fi} \unexpanded\def\vspace {\dodoubleempty\dohspace} \def\dovspace[#1][#2]% {\ifsecondargument \dodovspace[#1][#2]% \else\iffirstargument \vspace[][#1]% \else \vspace[][\s!default]% \fi\fi} \def\dodovspace[#1][#2]% {\vskip\vspaceamount{#1}{#2}} \def\vspaceamount#1#2% {\executeifdefined{\??vs#1:#2}{\executeifdefined{\??vs:#2}\zeropoint}} Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________