From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95448 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Setting \textrules Date: Thu, 14 Jul 2016 11:57:04 +0200 Message-ID: References: <57871802.7070906@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6725465575644467161==" X-Trace: ger.gmane.org 1468490275 18958 80.91.229.3 (14 Jul 2016 09:57:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2016 09:57:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 14 11:57:41 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 1bNdOi-0004rH-Uh for gctc-ntg-context-518@m.gmane.org; Thu, 14 Jul 2016 11:57:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B6B4011BDD; Thu, 14 Jul 2016 11:57:20 +0200 (CEST) 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 WXoGQ3T19Smm; Thu, 14 Jul 2016 11:57:20 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 0205F11BE7; Thu, 14 Jul 2016 11:57:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0458611BDB for ; Thu, 14 Jul 2016 11:57:19 +0200 (CEST) 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 M-mBvWhgoM8M for ; Thu, 14 Jul 2016 11:57:18 +0200 (CEST) Original-Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.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 B0F3311BD6 for ; Thu, 14 Jul 2016 11:57:06 +0200 (CEST) Original-Received: by mail-it0-f51.google.com with SMTP id u186so43479702ita.0 for ; Thu, 14 Jul 2016 02:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=v9dNTGoeZZzvXc3PVpGiu/SXEyrKtczVP6DOql1TVZk=; b=Qbnkk8EjWGZokD+eEisWIOuXH7X6cVO140WyrFCxlUFFo1i/X7sKzHtSrax3DHDGLY L80OpyWLZT9tK1l9lJ1uJLEouLnJDR6z1HRpBuzQtQ9WKSH767XJN0R655/X3d5m5Hbe fRHqr2GJClBLSb4hUNIHQ1whZyu+7MRaaOsannLwEgGvpttcL/f1k1e7A0alfiAfg58N Q/z3FvGckxq7sLlRfJDhEEqPoLbWTUoG3SLazm0uFziIPLPz3SIoE/w03eoyKf05v41E TaNeLV2kB1+MiqF6dRXNH293EsUobsSn4x0D7G+R/w7taVNjJh9/3Y1kpnZPsKQ+6TlF I+mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=v9dNTGoeZZzvXc3PVpGiu/SXEyrKtczVP6DOql1TVZk=; b=QDq0PmaLsSZL2Q+ubsdZdzpK/mRIdFhT0/pqOKxuUB3HQHG9dPXcexj4fdKezTEE5/ vK/YBKWtNNQtv/mAroWYK21JY5Ne47GCmXIQmtjyWSCfzPydVuWWNmj6ebFA+oioVb+i dlZsWWM4dCfriMXndl70BtUJbcnmH0elbdsjzQ2ZIg/Z2rF36v2aMSYTGUhbOe9p/ZrO ZEJ6Vt/T/hlsKuOYjQR4fc6o0gwe8JPUGQEpn7WDsARG5tHX33baxwkMMXPCI2x4pXcY +PPDnGkTgMUVEzYY6ay8RsxJDBHg86BmkRRn9n+IUVRG/6dJr+5fV8cmpJMlnRy4grjD UdFw== X-Gm-Message-State: ALyK8tJL5kMMMd3+CL86AwaOYy2GIETEfLRMjXacKCOKF6SmojC8p5bNQVU0KR6DKVHKKpvmgiRpMpk1dxeVsw== X-Received: by 10.36.36.149 with SMTP id f143mr27296836ita.43.1468490225101; Thu, 14 Jul 2016 02:57:05 -0700 (PDT) Original-Received: by 10.64.10.2 with HTTP; Thu, 14 Jul 2016 02:57:04 -0700 (PDT) In-Reply-To: <57871802.7070906@gmail.com> 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:95448 Archived-At: --===============6725465575644467161== Content-Type: multipart/alternative; boundary=001a1146f05a392f100537958644 --001a1146f05a392f100537958644 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Wolfgang, it's perfect ! thanks, Fabrice 2016-07-14 6:41 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 13. Juli 2016 um 01:02 > Hello, > I would like the text of the property is in italic without using the > environment {\it}. > > Use the enumeration environment. > > Is this the best way when I use \setuptextrules[width=3D-1ex] ? > > You can set the width and distance values to 0pt and put a space after th= e > counter. > > %%%% begin example > \setupbodyfont[pagella,11pt] > > \define[1]\ProprieteHeadcommand > {\textrule[top]{#1}} > > \defineenumeration > [propriete] > [text=3DPropri=C3=A9t=C3=A9 , > style=3Ditalic, > headcommand=3D\ProprieteHeadcommand, > numbercommand=3D\groupedcommand{}{\nbsp}, > after=3D\textrule] > > \setuptextrules[width=3D0pt,distance=3D0pt] > > \starttext > > \startpropriete > Soit \math{q} un r=C3=A9el \math{\neq 1}, alors pour tout entier natu= rel > \math{n\geqslant 1} on a : > \startformula > S=3D1+q+q^2+\dots+q^n=3D\frac{1-q^{n+1}}{1-q}. > \stopformula > \stoppropriete > > \stoptext > %%%% end example > > 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 > > _________________________________________________________________________= __________ > --001a1146f05a392f100537958644 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
H= i Wolfgang,
it's perfect !
<= span class=3D"">thanks,
Fabrice

2016-07-14 6:41 GMT+02:00 Wolfgang Schu= ster <schuster.wolfgang@gmail.com>:
13.=20 Juli 2016 um 01:02
=
Hello,
I would like=20 the text of the property is in italic without using the environment {\it}.
Use the enumeration environment.
Is this the best way when I use \setuptextrules[wi= dth=3D-1ex] ?
You can set the width and distance values to 0pt and put a space after=20 the counter.

%%%% begin example
\setupbodyfont[pagella,11pt]

\define[1]\ProprieteHeadcommand
=C2=A0 {\textrule[top]{#1}}

\defineenumeration
=C2=A0 [propriete]
=C2=A0 [text=3DPropri=C3=A9t=C3=A9 ,
=C2=A0=C2=A0 style=3Ditalic,
=C2=A0=C2=A0 headcommand=3D\ProprieteHeadcommand,
=C2=A0=C2=A0 numbercommand=3D\groupedcommand{}{\nbsp},
=C2=A0=C2=A0 after=3D\textrule]

\setuptextrules[width=3D0pt,distance=3D0pt]

\starttext

\startpropriete
=C2=A0=C2=A0=C2=A0 Soit \math{q} un r=C3=A9el \math{\neq 1}, alors pour tou= t entier naturel=20 \math{n\geqslant 1} on a :
=C2=A0=C2=A0=C2=A0 \startformula
=C2=A0=C2=A0=C2=A0 S=3D1+q+q^2+\dots+q^n=3D\frac{1-q^{n+1}}{1-q}.
=C2=A0=C2=A0=C2=A0 \stopformula
\stoppropriete

\stoptext
%%%% end example

Wolfgang

_______________________________________________________________________= ____________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--001a1146f05a392f100537958644-- --===============6725465575644467161== 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= --===============6725465575644467161==--