From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70315 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: solved-how to make "\getmarking[title]" show using default font size? (Wolfgang Schuster) Date: Thu, 28 Jul 2011 10:05:22 +0200 Message-ID: <645530C2-7C2D-4BA2-8D51-0C31927A1413@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311840348 30065 80.91.229.12 (28 Jul 2011 08:05:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 08:05:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 28 10:05:44 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 1QmLbD-0004Kk-Mg for gctc-ntg-context-518@m.gmane.org; Thu, 28 Jul 2011 10:05:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3E9ECAE56; Thu, 28 Jul 2011 10:05:41 +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 m4yWGerbleY8; Thu, 28 Jul 2011 10:05:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 094A9CAE8C; Thu, 28 Jul 2011 10:05:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CF68CAE8C for ; Thu, 28 Jul 2011 10:05:38 +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 55AkEE71FaO6 for ; Thu, 28 Jul 2011 10:05:35 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id C60B3CAE56 for ; Thu, 28 Jul 2011 10:05:35 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6S85Vf7003258 for ; Thu, 28 Jul 2011 10:05:35 +0200 Original-Received: by fxg9 with SMTP id 9so1322057fxg.14 for ; Thu, 28 Jul 2011 01:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=RBzyGjvGbV2sNX+7/JBM3Gilryzp26IWXYWPCNzlt3E=; b=dUtkq0QAHMoey2nHG9gVv904dybV91eal+h4dsIUE8NJ0PivXIzFGLkofUwJPZ/MBN ib/g8SqMDH6WXdb08TdkhFBpjmnUZmTszOu9I8Ow4qTQWMpaF4vLRNd3UovVtW5ThO4k ACQ/ERHicMVqb0Aa4vlxjb7dzmS4FjFye6np4= Original-Received: by 10.223.76.71 with SMTP id b7mr209910fak.30.1311840331500; Thu, 28 Jul 2011 01:05:31 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482C4E2.dip.t-dialin.net [84.130.196.226]) by mx.google.com with ESMTPS id y15sm299785fah.35.2011.07.28.01.05.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jul 2011 01:05:30 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) 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: 0eFdk5vWk - 0496497b873f - 20110728 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:70315 Archived-At: Am 28.07.2011 um 02:32 schrieb Jeong Dalyoung: > Dear Wolfgang, > > Thank you for your help. > >> Don?t set the font style with the argument of the \title command, use \setuphead. > > I'll keep in mind. > >> \define[2]\Mytitle >> {\framedtext >> [width=broad, >> height=5\bodyfontsize, >> background=color, >> backgroundcolor=lightgray, >> offset=2pt, >> strut=no, >> frame=off, >> align={middle,middle}] >> {#2}} >> >> \setuphead >> [title] >> [command=\Mytitle, >> style=\ssbfb] % \ss\bfb >> > > Why is the number of arguments 2? What is #1 for? #1 : Number (not necessary in your case) #2 : Text 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 ___________________________________________________________________________________