From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87424 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Define a new command from the command \periods[n] Date: Tue, 20 May 2014 10:30:00 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0595924282==" X-Trace: ger.gmane.org 1400575800 6919 80.91.229.3 (20 May 2014 08:50:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2014 08:50:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 20 10:49:55 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WmfRE-0006oF-1v for gctc-ntg-context-518@m.gmane.org; Tue, 20 May 2014 10:30:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8EB3F10262 for ; Tue, 20 May 2014 10:30:19 +0200 (CEST) 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 UWTfoUKEYK-C for ; Tue, 20 May 2014 10:30:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B733B10220 for ; Tue, 20 May 2014 10:30:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6388B101E7 for ; Tue, 20 May 2014 10:30:09 +0200 (CEST) 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 TaQ7hmNxp9mp for ; Tue, 20 May 2014 10:30:07 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id D7305101E2 for ; Tue, 20 May 2014 10:30:02 +0200 (CEST) Original-Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4K8U0NF019727 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 20 May 2014 10:30:01 +0200 Original-Received: by mail-ig0-f179.google.com with SMTP id hn18so423957igb.12 for ; Tue, 20 May 2014 01:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7QInm31YHFDfQ0D7NreMNVG7F3GpqpRHBsdrhLYBlJY=; b=qJMwduLJrygI6/gQg1VB9HVMkXtMkZ7H3Txi9zyK3bwRprjdzTihxBu5EcqhAV2xQP ae8S6x8K5nili9YZOXlwW3zWLHDvQHwW5tnIEbW86XWxsztlHowjPBAHL+lrPKpxBWqk Uq53BfV7WpBY7t7lmpiwgrC214HVIe/N7hhPF8GAQxj2sO+hzeOxUi6orbu4vkSAWVqV 3SlbmzJJPFHaqOMq+oTm5QFWoOaPSuU/Ck7Yx0ZIETsl3E37okNKB+jCQqK2Rwfp7eRB BaPtVo3IyUzH7+QdBITuqOzM2UO4b7ZZ10EgtNuHHLwh7r6EhUONxp6V1/rU0pPp5mrj /mTA== X-Received: by 10.42.120.15 with SMTP id d15mr39727038icr.35.1400574600355; Tue, 20 May 2014 01:30:00 -0700 (PDT) Original-Received: by 10.50.194.133 with HTTP; Tue, 20 May 2014 01:30:00 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::233; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TM48u1BQ - 58b30b39ee55 - 20140520 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87424 Archived-At: --===============0595924282== Content-Type: multipart/alternative; boundary=90e6ba613c3a8924d004f9d0af93 --90e6ba613c3a8924d004f9d0af93 Content-Type: text/plain; charset=UTF-8 Hi, Is it possible to redefine the command \periods[n] to have a line that goes from the end of the word to the edge of the page without having to play on the number n ? Regards, Fabrice \starttext \startitemize[a][stopper=),style=bold] \item $x\mapsto -x^2+x+1$ : \periods[66] \item $x\mapsto 2x^3+4x-7$ : \periods[65] \item $x\mapsto x^2-3$ : \periods[70] \item $x\mapsto \frac{x^2+x}2$ : \periods[72] \item $x\mapsto (x-2)^2$ : \periods[69] \stopitemize \stoptext --90e6ba613c3a8924d004f9d0af93 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<= span id=3D"result_box" class=3D"" lang=3D"en">Hi,
Is it possible to = redefine the command \periods[n] to have= a line that goes from the = end of the word to the edge of the page without havi= ng to play on the number n ?
Regards,
Fabrice

\starttext
\sta= rtitemize[a][stopper=3D),style=3Dbold]
\item $x\mapsto -x^2+x+1$ : \periods[66]
\item $x\mapsto 2x^3+4x-7$ : \p= eriods[65]
\item $x\mapsto x^2-3$ : \periods[70]
\item $x\mapsto \fra= c{x^2+x}2$ : \periods[72]
\item $x\mapsto (x-2)^2$ : \periods[69]
\stopitemize
\stoptext
--90e6ba613c3a8924d004f9d0af93-- --===============0595924282== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0595924282==--