From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qN46IFMXeWKSRAAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 15:29:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8FRVH1MXeWLnygAAG6o9tA (envelope-from ) for ; Mon, 09 May 2022 15:29:55 +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 D19B84E92 for ; Mon, 9 May 2022 15:29:54 +0200 (CEST) Received: from localhost ([::1]:54034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no3ST-0004f3-TP for larch@yhetil.org; Mon, 09 May 2022 09:29:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no3Em-0002kO-8C for emacs-orgmode@gnu.org; Mon, 09 May 2022 09:15:44 -0400 Received: from mail-db8eur05on2120.outbound.protection.outlook.com ([40.107.20.120]:53601 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no3Ej-0006xQ-1s for emacs-orgmode@gnu.org; Mon, 09 May 2022 09:15:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AQYGZgLiPOWiL53U7oCIdLLvTuC73yQ5PPK2KCeu/hVzB6/UfyZtdgxlF9lUBRn+CMNqF9PfAxe5JVm8SeGQltiy80BJml60jf8JAbEJ6nveZTUUesHVC7w11MNEYYPXu6YORqt6F36D9UtGzQpv8BgQSWh+OdTFvyB5Kge6SRmDLUBEUhre5idiOfwUVelH9uQF/Wb9TCh/X+1zzLP2Teruq91c4h5cF7lqk8vsra0I825NaIifG6Adxen/EoylitR/DaY9xaBeOixd+LDeJYSgTGKD3spPeBG8tfGf4lfpuUt6Xcp0vZn5JBIEU8Pvurj5KCyjK6cNmhDuBCtHUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=W1BB2zXE/1fzxtI4hdj/2tabFWe7qMG95TRlT7ix1SQ=; b=MmV1xuqodOa2a9jKuxW8IVEQLcvPrBu2KAuR1TVXktA9C8R6MbhcXtga7sxOXvCbFveEm0zlbfjtRj3kCL52p8wgRE4v03Ruo2Hvaq/1yVJew72yGwQNUzWisccDplYmdvHPVtfPf5/trkVij8EvEQFwORR3luqlxY8PdCv6GvK/JKxFe8mA81tQ8QpZeCp8UM/s2lp6LGi+YruyHy7LhQs3sAK+JhiYuWBUncnZQB2YWVHU34K5XjgPMbOxCr8HBxSBFbfaGSXASQwF9o6rwxG89T9Cx6yOSoAQKZ9ITC+IhSQRD3oKpLYeq+4u39YZ8L3EWW+tGpHwtJLZPvFr5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W1BB2zXE/1fzxtI4hdj/2tabFWe7qMG95TRlT7ix1SQ=; b=dUc3W/9fOOigE/NGIUoESf0HF4jmINUt9uh7dkDSimOHWs8++lpGl0/ZZEF9fzM0/hgdgxuZYj0rsjSwgn9SWy3Gxk21QQ0GrXOMVhxh9P22p223Lt6rUBGr+hSwrWOv3i/SP8rdrYYy4VeZPHtoHinU6LMtXrPqEXoL7yerfPI= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by PA4PR01MB9089.eurprd01.prod.exchangelabs.com (2603:10a6:102:2a9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.22; Mon, 9 May 2022 13:15:37 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::d962:3976:ea80:955e]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::d962:3976:ea80:955e%4]) with mapi id 15.20.5227.023; Mon, 9 May 2022 13:15:37 +0000 From: Eric S Fraga To: Ihor Radchenko Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , Timothy , orgmode Subject: Re: [tip] Insert arbitrary LaTeX code at the beginning of any float environment Organization: On the Interweb somewhere References: <87o807r7fr.fsf@posteo.net> <874k1y3mb3.fsf@localhost> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Mon, 09 May 2022 14:15:36 +0100 In-Reply-To: <874k1y3mb3.fsf@localhost> (Ihor Radchenko's message of "Mon, 09 May 2022 20:47:12 +0800") Message-ID: <87y1za979j.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Content-Type: text/plain X-ClientProxiedBy: LO2P265CA0074.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::14) To AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 71c175c2-c5c1-4907-ba97-08da31be0200 X-MS-TrafficTypeDiagnostic: PA4PR01MB9089:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sp8qgpOWYNAhc+Qihbwfk2kkILGhLxPYO2e8ZRwxyt04Cpk41Ts+Vcw2ZhoYW2RNPWnZSHDjq2CKx+xuJCa0D521nmofcj/yYP+RkoIg3SxCNHRs9Wc5fVjZmrzG+Gj6butsBDxLsNlmBlYbtmj7NUuQJ2XZ13C7tXFNSDfsUnnvPtIr3X49Jloy+lG2mM1nk2z6hoWLiLo/yrQueJ26dVJ3iOUAOLnAYBpxvADr/4igyzm1fGxT/7XstT0oOd6t//TW2HrUrYsZHRHS7MH4mbNMvdJMi4DWhJEy4zeCw+qgXLfXgTbTwyPZE4jnoIL2TORZV7FiRo7KQ7Y+16yxjBf9VvkueLH5noiPYftMzMgjAAr3y3Rxbt5IDbbfLByxNrjABwqWiB0wL66Y+Z2PfKxzPLEYB0fh+/e/dSQOcWjt8pdbRS6C3rxXIjEGArVXN6K4tQUZ2ggN5Hnt1CvnVIbBjTUP507sJateIqSTY7Uv3EO5XdOWQ2aKw/RISZ6fck1QUEHj///5WtJVWNUNXizmFi1oh+HUe8DSAW/ZvAPJupvWUxTbkphwXQqrWXh2PQmDwBHMshNQCoY1sw/nxebcc2HC2iymkNqKXQTFw8T19K2sEyt4wc+Q/6oAShiaGkbwUlAmmSlnDjGmh1MFSytxgqrcG/5npbpmm2dbLziDUy6MiWmvDvJSZQWyXwuaHj4fq+5DkKG48f6iYSzpvQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230001)(6029001)(4636009)(366004)(66946007)(66476007)(66556008)(2616005)(8676002)(508600001)(83380400001)(186003)(4326008)(26005)(6486002)(6512007)(86362001)(316002)(786003)(54906003)(6506007)(36916002)(6916009)(52116002)(4744005)(2906002)(36756003)(5660300002)(38100700002)(38350700002)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?erZWIt3/bV1KFJJwZYEn9d94evHtbMXGX4gu8fcxxoKpwcKNoeVLTAsS28IU?= =?us-ascii?Q?wbhaDaHxIwWsT6zMGvhMsLIrM2jaF4+nK7VVx74z2Nmopb3izVM32j50WKtw?= =?us-ascii?Q?GVqdp/jkzm8zcSlxel23e3wDXibP2Ustvie8tYlQjpvdN3ItzYrn2jGFRa3g?= =?us-ascii?Q?36S6yZUwWsPUJamN+vvaYIHmBcvxT+/wUGSZYMoOiH73+URXMZu5wu5Hqkp+?= =?us-ascii?Q?RSQhS5b7yyakEyfNmDd+YhLvtdlM7syN8+3QQCYH3kabjiir5mWqjxLCFUeu?= =?us-ascii?Q?uK+aMuHcJj4DY8yCgIVRdXz5hnWogLl1lUUbXOaXFedbmOYBgfISXFr8L1mG?= =?us-ascii?Q?r3vQm9tQ1qgERvRRE7d3fbwicsxexMFxz6MZZyxktbFve7hgeic8VIZyBt0X?= =?us-ascii?Q?I80mgZ6tJxXQc7sAg+io22uQlvWPBP2QsMSzNHJxMfLEXFcBz5ofNahqOOl/?= =?us-ascii?Q?u5uA6eCdhNkuYT9Q4v04CfBJP9ErHtaPrVF9SNjoCPPpcHyPq5ukdJQk1anu?= =?us-ascii?Q?eg2nUWWLjsboX2AA7XrlCEw4wJT/FOlrkk6B2P4poDIwvnyk7EBYBEwsa1Zs?= =?us-ascii?Q?inkcASX2JHv/pwsnkT1AYE9pfqTR8NM/s+MSvnsgbz9vnsKgvas27qjzvd6f?= =?us-ascii?Q?pCkEtGZ8AfTl8G1KUG0BSF34Bpf1Di2VZrX0tbxLrceKG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SplDz/DPBUAGH9wVEpIEAd5XJZsD7ReMYNlh7XGf0MqwoUV6FJefKkl1J3Aq?= =?us-ascii?Q?2NMyqUY51OYUBYD19NqGZF9RW+imkLCeVt8CX51ov5/vRkokpuxmppmnILK7?= =?us-ascii?Q?FkACLBC+mSCcs/k2W6nIoasp+ExDBPvtDYHzRFK5M6dqwDMaEss8cdy+M85x?= =?us-ascii?Q?24I98/DRGQ=3D=3D?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 71c175c2-c5c1-4907-ba97-08da31be0200 X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 May 2022 13:15:37.5683 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7QSciezu+FmjfKLhuJVDQN942ez6gm+J1L5QDlGgJCnb1OxYrPTayopRL5GrQYTzpfcoN70DA4C6fmcfY9qb0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR01MB9089 Received-SPF: pass client-ip=40.107.20.120; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652102994; 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=W1BB2zXE/1fzxtI4hdj/2tabFWe7qMG95TRlT7ix1SQ=; b=N3kKsXI2j4la/tjU/08tqh17x3TaJ5G7j4++NDwAm0zytYbkT/fVQAe2mXuMm/+Ud8Fujo 9okdSxv4uDruCQTQggbVx/mNlXNmwYcugEUB7ShC1URQfBdin/0c3jBpdGJteuWqlLbSVi Ym7kelEEQWHe8z33m5T6r3moPpf7X2Vjw6ScfMbjKqz+vI6zY2aMqL4JNDlee78V4Vn977 oUosJyvXSFj0x5vp2AQssrf+GI1jiuCPTVP3M2hLkVn0GGTLJuOXBc4vpfYl2u736uxx60 D8oB5Y0PlfbsYpnxrA7tfPvpy7iAENs2Kw26b3tyfDBHZQnzrxXAgjlO/5/xPw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1652102994; a=rsa-sha256; cv=pass; b=SYFR9IELw//RTrvRkevjo9xnaI4EC410vRi4FHfn13poL8z0FMW1kHwzcWCd1rpYn5IP1N G0dU/qyhcx6ut+a8iGt+KeDL9awHCKf2rCMAcXPYkKo5RbpXe2Ep1vRslP3E6ApuNiKMd2 ZZtmZEjlxmsqMYK2RZVUgmPdRV4hoBbzL5yRnZXlNgtIANnHuMtXadq4HQv8u4wS/KgKE8 PMGelQ9lfjZy+v1B54AUNgwC5UzKviowlljLraizPYrUHDvGxVRylf+0SfiqhL0D8yqvBv PJ/gQld74omyr/KdQLmFGSjoExn+AKkzyse17qqkt5pVeh0Zc6WGhxaJRDbxhA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b="dUc3W/9f"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: -10.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b="dUc3W/9f"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: D19B84E92 X-Spam-Score: -10.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: IchaZfFN9Eqm On Monday, 9 May 2022 at 20:47, Ihor Radchenko wrote: > Moreover, it would be useful to be able to wrap the whole chunk into > custom environment: > #+attr_latex: :wrap [options]environmant This is already possible using special blocks? I.e. #+begin_environment ... figure stuff #+end_environment unless you mean something different. -- : Eric S Fraga, with org release_9.5.3-478-g2a6f5c in Emacs 29.0.50