From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2HytOWAPd2K4PAEAbAwnHQ (envelope-from ) for ; Sun, 08 May 2022 02:31:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uFbQOWAPd2L8LgEA9RJhRA (envelope-from ) for ; Sun, 08 May 2022 02:31:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6B5D92DAA6 for ; Sun, 8 May 2022 02:31:28 +0200 (CEST) Received: from localhost ([::1]:45782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnUpb-0001Of-GP for larch@yhetil.org; Sat, 07 May 2022 20:31:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnUpB-0001OW-4y for emacs-orgmode@gnu.org; Sat, 07 May 2022 20:31:01 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnUp9-0003en-7p for emacs-orgmode@gnu.org; Sat, 07 May 2022 20:31:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2BE47240107 for ; Sun, 8 May 2022 02:30:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1651969854; bh=Wu787YcU6vqQZ/rniFFKk8OUVu5Q8d+nZH9KhXmifbE=; h=From:To:Cc:Subject:Date:From; b=P6qZV/RSfh4wD2oCtpCyOJpFtQBhGygIOrRGBkePEDavtQWDC05OObPXsV4cId0fn 2Bvwuk4ge/1YSER9OG4QmXAUCIgslsP2HDr8GQz9DUXOQBqTWN7+EeqMsNkeH/xZuR n9AW8qjzOIv2ULMXucZZSAp69uPdj79EGaI+kVOe7FOAHTa4Smaegq8Bl1mh7iXt68 v8J/O5rSGNUgezoTxfjTYNlEjloRPAgrnDBpunxz2ZrqcLV2lPsC9lIn1eqa9B/NRS ZBEUmfvxdId04jQ1DVWCu88guBPsKPrR89AU9+E128G1FWOd63jvmDZyZe0jnuYsvm +KmwMrDkaaygA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kwlb10wdxz6tm6; Sun, 8 May 2022 02:30:52 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: "Thomas S. Dye" Cc: orgmode Subject: Re: Export LaTeX command inside figure environment References: <871qx4c3ii.fsf@tsdye.online> Date: Sun, 08 May 2022 00:30:54 +0000 In-Reply-To: <871qx4c3ii.fsf@tsdye.online> (Thomas S. Dye's message of "Sat, 07 May 2022 13:43:49 -1000") Message-ID: <874k20dfwh.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651969888; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rpfvqzkPvk1xc/3FvnzW74oIsGF+58CecCChY2TyOJ0=; b=qrbZ5smUrbupEQb6Q7Ma3fT4iluWq/qQcBc2Gq1oaWOpA3WqHj5b7kJJBqieRviuDVugrV 2aDFkgXzjcggXgcHw3heUlcHadnZ4QOO3m0y7uaHra6Zaff07XMwzeOndAMKkvQDOcF2En i6Pvwz0rNovfFS57bseRaZUSmXx7ZInOruU6TAen/rYmAnLtjffrDRHZ2+BOmpY+/3CWpf +KtC0uKkGDpRU1wju+2kfwP0ymie4RpMMxa9YFkY6eHssI5kJ7pbgjfdv4mD8uhMy8PiZl yZxhPFeKn2CMaM89Z/i/3ydyC3mV+Iv+VycLrR9kkjo25i2iSLG2lBn+3UTdAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651969888; a=rsa-sha256; cv=none; b=Sy1L3f51bMbbe0eJlj4Af3lcMz6kHeev8Ngo6MIxhXB9XuzDXW6iiKYQMbGLt8FH15Jl/M EzctKeuwVkcnSyLakbM0lA4t/oFz0bbFq02olgEdSgYIan/prcUjk0k8HWRhlv+EW98C24 vC4GUR94TmRJJbNVuBBaDsCB1bqeiVn4DYc23HAB2xzW0b2ehzwjNgQYPwQRAQCTCRvfzu tkN3lsMaCo/AI2Um9BaQ6w3d8falWcXEixJKTgxLhBa/7HJIYle8VX3YFn1TY4lDM91n8Z 0KaOY2ypqL1q4rtmq98v0mxfMat7t3OQsc3khXOQmxoofJkVozSC5Y2Z7gAzbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="P6qZV/RS"; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="P6qZV/RS"; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6B5D92DAA6 X-Spam-Score: -4.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: 183RYz7ECvCX Hi, Thomas, Thomas S. Dye writes: > Is there a way to add an arbitrary LaTeX command between > \begin{figure} ... \end{figure} during LaTeX export? I want to end up > with the following snippet, but can't figure out how to slip in > \setfloatalignment{b}. \begin{figure}[htb] > \centering > \includegraphics[width=.9\linewidth]{hilbertcurves.pdf} > \caption[Hilbert curves]{\label{fig:orgparagraph1} Hilbert curves of > various degrees \emph{n}.} > \setfloatalignment{b} > \end{figure} I think the :caption attribute could do the trick (of course everything must be on one line): #+ATTR_LaTeX: :caption \caption[Hilbert curves]{\label{fig:orgparagraph1} Hilbert curves of various degrees \emph{n}.}\setfloatalignment{b} Best regards, Juan Manuel