From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id NqQiFLwVd2I2UgAAbAwnHQ (envelope-from ) for ; Sun, 08 May 2022 02:58:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AHAiE7wVd2IcgQEAauVa8A (envelope-from ) for ; Sun, 08 May 2022 02:58:36 +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 B7ED23FE22 for ; Sun, 8 May 2022 02:58:35 +0200 (CEST) Received: from localhost ([::1]:52656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnVFq-00074D-J2 for larch@yhetil.org; Sat, 07 May 2022 20:58:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnVFJ-000743-DS for emacs-orgmode@gnu.org; Sat, 07 May 2022 20:58:01 -0400 Received: from outbound-ss-820.bluehost.com ([69.89.24.241]:43713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnVFG-0006nk-MS for emacs-orgmode@gnu.org; Sat, 07 May 2022 20:58:00 -0400 Received: from cmgw12.mail.unifiedlayer.com (unknown [10.0.90.127]) by progateway2.mail.pro1.eigbox.com (Postfix) with ESMTP id 3961010047FBB for ; Sun, 8 May 2022 00:57:57 +0000 (UTC) Received: from box2035.bluehost.com ([74.220.219.237]) by cmsmtp with ESMTP id nVFFnR7Gyb2WGnVFFni4wG; Sun, 08 May 2022 00:57:57 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=SqtVVNC0 c=1 sm=1 tr=0 ts=62771595 a=VozZY++RX3oc2UgfNhVfaA==:117 a=VozZY++RX3oc2UgfNhVfaA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10:nop_charset_1 a=MKtGQD3n3ToA:10:nop_fastflux_from_domain_1 a=1oJP67jkp3AA:10:nop_fastflux_mid_domain_1 a=oZkIemNP1mAA:10:nop_rcvd_month_year a=DPR-AOO6AYYA:10:endurance_base64_authed_username_1 a=A2tt7buDTgEA:10:from_fastflux_domain1 a=ZZnuYtJkoWoA:10:nop_header_rescan a=uChsZFC9AAAA:8 a=o9zw6IYYAAAA:8 a=_VT7aStvcUg5nuZ3zfAA:9 a=QEXdDO2ut3YA:10:nop_charset_2 a=-FEs8UIgK8oA:10:nop_fastflux_domain_1 a=NWVoK91CQyQA:10:nop_rescan a=ULtXvzFHYWHLyBAuiDia:22 a=BtxB1_lq3pBo68oZtZ_9:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsdye.online; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:In-reply-to:Subject:Cc:To:From:References:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cd02AumN3BTDjCmrC/gJTyTgPVYCKohQgG7oU2vTGgE=; b=CCPIY4Znk0vOb0twMovUxvi2wB 2qzjXg/LEJHoV7LlhRyUrbzuP/H0odiWBYpI7xh6PCb8jMRTK94kBexuD+0H0lxDXmZXU3saoHasG MdfsoDlpvewEpyUs42e3vrTweyik4nTbh7e20ZvZo4SaZ28HdRSb5xmo0MNmHVucMjJ4GZwbiCnvB 3FsXtC67PlupzrCAO+uCY8DkOxGOSvl+2m7x9EiM6fHhjdRWDfiboQ6lrirBYD3G2c+m17l7NDKxY gP5GTvk4UnLFUJ/zAaq1Xaqg/DyaOMIyIMwtbgIJXNwksIZfLH4XFuujsm9lWTt0TV7WxGjs35C6F qJk9VARg==; Received: from cpe-50-113-33-148.hawaii.res.rr.com ([50.113.33.148]:45624 helo=poto-foou.tsdye.online) by box2035.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nnVFE-0013Mo-NE; Sat, 07 May 2022 18:57:56 -0600 References: <871qx4c3ii.fsf@tsdye.online> <874k20dfwh.fsf@posteo.net> User-agent: mu4e 1.4.15; emacs 27.1 From: "Thomas S. Dye" To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: "Thomas S. Dye" , orgmode Subject: Re: Export LaTeX command inside figure environment In-reply-to: <874k20dfwh.fsf@posteo.net> Date: Sat, 07 May 2022 14:57:55 -1000 Message-ID: <87y1zcalik.fsf@tsdye.online> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2035.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tsdye.online X-BWhitelist: no X-Source-IP: 50.113.33.148 X-Source-L: No X-Exim-ID: 1nnVFE-0013Mo-NE X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-50-113-33-148.hawaii.res.rr.com (poto-foou.tsdye.online) [50.113.33.148]:45624 X-Source-Auth: tsd@tsdye.online X-Email-Count: 2 X-Source-Cap: dHNkeWVvbmw7dHNkeWVvbmw7Ym94MjAzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: pass client-ip=69.89.24.241; envelope-from=tsd@tsdye.online; helo=outbound-ss-820.bluehost.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1651971516; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=cd02AumN3BTDjCmrC/gJTyTgPVYCKohQgG7oU2vTGgE=; b=AacDZY+78wewHFBpNU+LT44g9LcHPyvFaJ+muqSBypg/EI2NbkK9uqjiuEDlOGtNEzdiQV bGz8/1gcmbVy1NMKqWm+QxhfTHO9AjLjGlfVFsCXdivIcI5CgKraIAYJfI3GraAGGJb6Wi x5LKxrMWepuznmmyLS6X9N/4mwXAvapOOCtUSwQCm9tmL6QrglXDuHjFLPSxut5+Z9SsoT 12W6opE6lGXm0VaIkNJrd1bEi0daQ9RLdzySfzT+I3aK54XPtOl3ZuatYxEUmgfpQHhVmv 4XlNyGVYM/HN5adI9w1zyeTOo+ImOJ/2r26AigoQMpe5nDaFiRbxElprYYXVvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651971516; a=rsa-sha256; cv=none; b=aZwwVG4/YATjakyQAddj3LcDHI/OlqZerVMjGR8Mgi4/Hzqp7OWLrY7KDWIQFPpafUcrNd Y5fNjVB36jKmWGIZYrupZruMMBy+pbvnee4GR8HknNBedBaynUufd3PaO4RvR7AB1HqX5M 4Y8EHX1u01p87SfYUX9jidvNqNlCwqZ79tRXzDztRZK7fnE89JtMhraIN5/ntRWO+iXS+E TJMHGzlcuF3gFpkiXFfYR7Oe8iTpn2CE9MQ7YvSYxHD/a0Y6EsrzezX/+AN5BZ6ynzc8xp SNgVhiZmU8n4iqGma4ez+6PhkW5iA7VF02Tt1yoW18drd+J0gwxtaf8b0Oypiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=CCPIY4Zn; dmarc=none; 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: 1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=CCPIY4Zn; dmarc=none; 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: B7ED23FE22 X-Spam-Score: 1.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: Djan5vzUseoA Aloha Juan Manuel, Juan Manuel Mac=C3=ADas writes: > 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=20 >> end up >> with the following snippet, but can't figure out how to slip in >> \setfloatalignment{b}. \begin{figure}[htb] >> \centering >> \includegraphics[width=3D.9\linewidth]{hilbertcurves.pdf} >> \caption[Hilbert curves]{\label{fig:orgparagraph1} Hilbert=20 >> curves of >> various degrees \emph{n}.} >> \setfloatalignment{b} >> \end{figure} > > I think the :caption attribute could do the trick (of course=20 > everything > must be on one line): > > #+ATTR_LaTeX: :caption \caption[Hilbert > curves]{\label{fig:orgparagraph1} Hilbert curves of various=20 > degrees > \emph{n}.}\setfloatalignment{b} > That works. Thanks! All the best, Tom --=20 Thomas S. Dye https://tsdye.online/tsdye