From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86338 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to center a \placefloat? Date: Tue, 18 Feb 2014 11:28:35 +0100 Message-ID: References: <20140218112410.3d5d8563@aga-netbook> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392719337 3455 80.91.229.3 (18 Feb 2014 10:28:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 10:28:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 18 11:29:04 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 1WFhvC-0008SX-RN for gctc-ntg-context-518@m.gmane.org; Tue, 18 Feb 2014 11:29:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44AE5101E9; Tue, 18 Feb 2014 11:29:02 +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 4ej50WCOFMk4; Tue, 18 Feb 2014 11:29:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C9027101E3; Tue, 18 Feb 2014 11:29:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C916101E3 for ; Tue, 18 Feb 2014 11:28:59 +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 LK-5oG0yXAzY for ; Tue, 18 Feb 2014 11:28:58 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 5A903101E2 for ; Tue, 18 Feb 2014 11:28:48 +0100 (CET) Original-Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1IASlIW002059 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 18 Feb 2014 11:28:48 +0100 Original-Received: by mail-ee0-f53.google.com with SMTP id t10so7674563eei.12 for ; Tue, 18 Feb 2014 02:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=F9dHs2rRswqppLMcMPcamNSmAKdML27oOnn3AYhQaqY=; b=O6ca+eZonN2UmIg+MwU6WcYc4oZoMKh35br93n3bEaFmZ4ArwbDV3V9XUM3CN7V7qZ TlXXPbJ5zdC1E9T0zV7zgRwT9RxKorIBDNzEyWQyBjg1R3SuG5lOyFJr+HYk+gJPlCOt 2LRDiVk7T+YjVP1qMbLYwlQIE7CbY09yDOm2PDp9uFgBgVKwCHrivdqCkmV7qlvc3EOv EUJUPfkk2oQqKuyMEPdNsIIQapqiMjLgy29hHA5e5BjrwES/Q7V+v053gc8+ZTfqDScy OG63MfyBpmDmfQkFcLefWufzI4TURpiVW/i1992X9d7Mx9U/xGO6F+FNSWAftOuDNjaO jbMw== X-Received: by 10.14.215.133 with SMTP id e5mr1264140eep.103.1392719327732; Tue, 18 Feb 2014 02:28:47 -0800 (PST) Original-Received: from keima.localdomain (x2f21901.dyn.telefonica.de. [2.242.25.1]) by mx.google.com with ESMTPSA id m1sm68376151een.7.2014.02.18.02.28.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Feb 2014 02:28:46 -0800 (PST) In-Reply-To: <20140218112410.3d5d8563@aga-netbook> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LrKsLNa - addcbdf29c80 - 20140218 (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:86338 Archived-At: Am 18.02.2014 um 11:24 schrieb Marcin Borkowski : > Hi list, > > I'd like to have a figure (by means of \placefigure) centered > horizontally. Currently, I'm doing > > \placefigure[bottom,none,middle]{}{% > \hbox to\textwidth{\hfil\externalfigure[logo-2-t][height=1.5cm]\hfil}} > > Is there a better way? If yes, how to do this? \setupexternalfigures[location=default] \starttext \input knuth \placefigure {A dutch cow} {\externalfigure[cow][width=8cm]} \input ward \stoptext 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 ___________________________________________________________________________________