From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67150 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Macro for acronyms Date: Sat, 19 Mar 2011 03:29:28 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0972472122==" X-Trace: dough.gmane.org 1300501800 6069 80.91.229.12 (19 Mar 2011 02:30:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 02:30:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 03:29:55 2011 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.69) (envelope-from ) id 1Q0lvP-0006vV-5w for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 03:29:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9306DCAB28; Sat, 19 Mar 2011 03:29:49 +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 td4pc4g04V4j; Sat, 19 Mar 2011 03:29:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06363CAAF6; Sat, 19 Mar 2011 03:29:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6CE0CAAF6 for ; Sat, 19 Mar 2011 03:29:35 +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 KPegPic3GNNN for ; Sat, 19 Mar 2011 03:29:24 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9F8D4CAAD7 for ; Sat, 19 Mar 2011 03:29:24 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2J2TSnp004469 for ; Sat, 19 Mar 2011 03:29:29 +0100 Original-Received: by fxm18 with SMTP id 18so5478687fxm.14 for ; Fri, 18 Mar 2011 19:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=xtpEFIgf4i8FzJ83IL8cOohBHysgXAWa6NH81OC7GYI=; b=N1Sm67nlGtaUpn0LvruTcFEBrhwS/BZhPeRE/F23y7zJe4yqzMc6PnEyOm/kSxb1yl UFB2FWUtLNg06rzX8DQbqvzNDkY9pVOTGxqWyTlPK/eGugB15xeO7bv9xK6HcWHVUCQ4 WuODMnWpd6vRFDGwD05HiuMGNMudLQ/HFWIXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eUO7kwu0AvTEEYhDMwU5uVNp+MRcRg/8d2Z501yDxLyOf/MJefYw4ZP6kAbDLk6dXh eGgl+BJrIdgnaLeFDnNUdEYxOFYE+e3EDdZPWwGnxBoIehAQQdV0WRRwEXyz+gc2ezSo Ancma4VHls4Bfr9l19KYFfSdnWZTxWKLXpveQ= Original-Received: by 10.223.126.140 with SMTP id c12mr2105325fas.31.1300501768189; Fri, 18 Mar 2011 19:29:28 -0700 (PDT) Original-Received: by 10.223.110.71 with HTTP; Fri, 18 Mar 2011 19:29:28 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEkOtsJq - 70638626852d - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:67150 Archived-At: --===============0972472122== Content-Type: multipart/alternative; boundary=001636c5ab62ec37bf049ecca962 --001636c5ab62ec37bf049ecca962 Content-Type: text/plain; charset=ISO-8859-1 At the moment I have I my document: {\switchtobodyfont[1.25em]\bf M}ust {\switchtobodyfont[1.25em]\bf S}hould {\switchtobodyfont[1.25em]\bf C}ould {\switchtobodyfont[1.25em]\bf N}ot now But I like to have a macro for this, so I could just do: \Acronym{Must Should Could Not~now} Is more readable and when I want a change (for example another color for the first letter), this is much easier to implement. How should I implement such a macro? -- Cecil Westerhof --001636c5ab62ec37bf049ecca962 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable At the moment I have I my document:
{\switchtobodyfont[1.25em]\bf M}ust<= br>
{\switchtobodyfont[1.25em]\bf S}hould

{\switchtobodyfont[1.25= em]\bf C}ould

{\switchtobodyfont[1.25em]\bf N}ot now

But I li= ke to have a macro for this, so I could just do:
\Acronym{Must Should Could Not~now}

Is more readable and when I want= a change (for example another color for the first letter), this is much ea= sier to implement. How should I implement such a macro?

--
Cecil Westerhof
--001636c5ab62ec37bf049ecca962-- --===============0972472122== 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 ___________________________________________________________________________________ --===============0972472122==--