From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CMoHOoKLdmGlMAEAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 12:48:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sPyVNYKLdmGPUgAAbx9fmQ (envelope-from ) for ; Mon, 25 Oct 2021 10:48:34 +0000 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 C642FB7F3 for ; Mon, 25 Oct 2021 12:48:33 +0200 (CEST) Received: from localhost ([::1]:36902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mexWq-0001XN-0C for larch@yhetil.org; Mon, 25 Oct 2021 06:48:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mexTS-0001Nw-68 for emacs-orgmode@gnu.org; Mon, 25 Oct 2021 06:45:02 -0400 Received: from mail-eopbgr70138.outbound.protection.outlook.com ([40.107.7.138]:57319 helo=EUR04-HE1-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 1mexTO-00008t-5Y for emacs-orgmode@gnu.org; Mon, 25 Oct 2021 06:45:01 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dqMfIXJxwNt5jSOqpwrWPoVkqUQMOIWS25fCRoX6b18mDc0jpzt12gFu5Ly08A3wnVxzlfavg8aomlJLLUN0Nirm9qbceyJ14sSwOb6i5DMd+Nqui8dnQkuWIlQDSphAoEt5LMlDLVHRigaFNyaHAblvVcn5WtLEc9eOupwRT8HDbKSUbBvJntGU22VAPiNW1+9G+ckR6I1FhWI/x1bTV3KQh4rzMZLP8E09oI968tvHm7BnOSR47xcNRGMdqUW5H3dERV4X+S/mCHQusSg9smW/X6UvIFnetFKfr7m6uNAz8SnSbQIvLiLiB67wSzNtHQBHC3yfbv3xvTXxJxH5qg== 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=AflL2ZTWjQLdWctxOR018vy0abNI/TxPg+Mqdpv+Cj4=; b=bKIWx8O8A7O1nyccoKmGsmTjJznZWksqjXg4x1PmXKQQdso+Ccv1U434zGBSd5Nj8UyR9lmGVvPTsv52kdUAKbY5fhQr4xuacTYPh6HZ9u23lm5hbDQGb50WHowo61smtJJEv+4Bg2eHW/QotUtzmRHUKNHRosumcDv3y+M74uxB5Z6BJmxL/LWash+ndwPQ1Kxu2zdizeA/4BiqB4bKlH+FMZ5JvgzELtG1e0hD6QX1RHc9tp38o8lD8LvN9WHC/FMf+WAKrUsNHqJpFVCNUF2vO2g4R5ro7/jOFm9lWxl6q0PHp/owP0gkZIUx/ybHZVBxMhGeXt4bksO7xaZFOg== 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=AflL2ZTWjQLdWctxOR018vy0abNI/TxPg+Mqdpv+Cj4=; b=aHvvnKM9DMMmgB1RtphjndXW4cPDYNizMsBY0SiLPRAmc3JmZ4Q+54kYFQVfcIRLSJTBsPPb+xnYXr94wQM5Q/euukcQRjObwz1fkkMOGMhfJ0aC9n5VJSafeDg1/N9DSjwjBwfxmHI9Gy5RotS2azLaEwwUSBORyA1YImP/D+A= Received: from AS8PR01MB8404.eurprd01.prod.exchangelabs.com (2603:10a6:20b:42b::16) by AS8PR01MB8053.eurprd01.prod.exchangelabs.com (2603:10a6:20b:374::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Mon, 25 Oct 2021 10:44:53 +0000 Received: from AS8PR01MB8404.eurprd01.prod.exchangelabs.com ([fe80::6035:2ab2:642c:fb4]) by AS8PR01MB8404.eurprd01.prod.exchangelabs.com ([fe80::6035:2ab2:642c:fb4%4]) with mapi id 15.20.4628.020; Mon, 25 Oct 2021 10:44:53 +0000 From: Eric S Fraga To: Jason Ross Subject: Re: Sub-figures in Org Mode Organization: On the Interweb somewhere References: X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Mon, 25 Oct 2021 11:44:52 +0100 In-Reply-To: (Jason Ross's message of "Fri, 22 Oct 2021 16:27:25 -0700") Message-ID: <87mtmxgz8b.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Content-Type: multipart/mixed; boundary="=-=-=" X-ClientProxiedBy: LO4P123CA0167.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18a::10) To AS8PR01MB8404.eurprd01.prod.exchangelabs.com (2603:10a6:20b:42b::16) MIME-Version: 1.0 Received: from t3610 (95.146.75.170) by LO4P123CA0167.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Mon, 25 Oct 2021 10:44:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88cc2068-00e0-47d9-49ea-08d997a47a1d X-MS-TrafficTypeDiagnostic: AS8PR01MB8053: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CWSTFE2LV+W1VZy02jsgAOctpnFFanoV51zATGoAijhDkJW66wlRWiMAXobs0rDIdgvrGP/e7V8bWmRKWobYFyadb1pM/TSPUpFz/adBxO0cHBbyhYP2fNXZZnr2utiCZgZxVfI5zMHT3UatQdjFAO/6y90OzQmZ2EsM8CXDYomjOQuSJOw4ql5xJoY11AmJApZ/bfCQc4vBQy3HT7zZ7cpDESrGUmWK3far7mtCaUlcnYf6h+dWXozWm/DG2JfDPYvAlwR5KYutVoMBtZx1eURRYzkgnYAfTgb5IIEViz1fEUIFfGl+vPzjh6fYTLcgmVCaTIBVjTHQXCtxEzb1xiTiCzUZJQYh63FuTyXZdinBicHsqJPXcRTJaGHYYPqxnazI+vKi6Vfey0Y7Tf1TkJ7SupFTfMnNk1h61EcBnFYFsISOswK39xdOXM0FuqdtLyIhLXWl+8vK1f18otW1DTJux6z+vJqC4czbS26nLuPkjk7L+sCAifMWzZkZa+gfEt0U0iK95/TmJf3po702c+aL1vqv1QW4AQqh7/9Vj6qmCxBVTamKdN/vpN6NOZjSxl+2E0Uoou9Qfx45Xc6eLNUBFW2XSjQHmznSGnEXEEPlfEPrTDgxTxQrGvMerm3WSX8Ky3SQLx4RoZrp+9qGtG/l82FEtcp45NsXiZjAHn9ud0ZpE7+Ws3MvKN/pi453N9CNFNNhEr17QRm2pkrFpMbu8ShYtVMD0Jbzg4eh290BSsteslxwE4hL8b0zhgww4pKQKVv2VyEFtqFBMWNcnJeQTFDt8Nt/7z2ao43jzfs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR01MB8404.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(786003)(316002)(6486002)(36756003)(3480700007)(38350700002)(52116002)(26005)(2616005)(8676002)(66556008)(966005)(2906002)(36916002)(508600001)(5660300002)(86362001)(8936002)(6916009)(66946007)(38100700002)(235185007)(4326008)(186003)(6496006)(956004)(66476007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?uMPM6P2S3CeJMi8Ickf4U6H3Ed0XzJzoMNcJ3wMcTxlRhi8LWNdiZtoPrDWY?= =?us-ascii?Q?Usg1+GYdBhVCNdzosJS/ccFgR46mytCPMBBBxtDd1Fh0QOel2jMXK83XwtWn?= =?us-ascii?Q?ZMEY0/NlAAVB+iLzKTfy+EpMHOMhOREJ2jMJFPsaKeKBLfZ9xkuqVlkXSMw5?= =?us-ascii?Q?H7GgBsU1GOp6rKi0avP51f061lPGLO5/2IzD9kKDwd0HNPpuz9LAMuzTYyTu?= =?us-ascii?Q?rpObT0/euIdgg/pefauO93Dsisjs2RhjkLywVQWM4T6oE/eFDZOdWjerYjbS?= =?us-ascii?Q?XKHWokmjayT9i7IZIybxAtP1jCqIf3qk0gV5fuUxzOKrr+3DLZYU+y+ebouV?= =?us-ascii?Q?ZyWHVtTCyAh6OShcFXZXqqkEEhv7EImsXtbL+Xq2BzyBCA+9bcrWh0CpIUIg?= =?us-ascii?Q?r4SWwlFmFfQKc1ul0mMeGFRLjxHjwBeYAGgqvH7Vlcq+yN9vfY0IfLNz0aMA?= =?us-ascii?Q?N4oqy3umboZGeL2ZqA7nxfkbQQjZYVcqam/W9cbg5h39sVdo/FN2+MG6NlW5?= =?us-ascii?Q?GaA4nMGqt3u+j3hpJXBrDg/6UEYuion5Mo4mEv3TooV0EHiyuRYwuR6iCr3x?= =?us-ascii?Q?ljHL5Ja6tjbpCchBpiel3QRYWpBS6hMPoYT7OEhv9wI8dUrVrZw3Cx7D/wG2?= =?us-ascii?Q?WKhYGcZeE5nAmBPTTaI4JaV3aSMK+rbPGEUrQ9+pF6bzSygLsfpZLtrOX5pg?= =?us-ascii?Q?g2C4Pb0aNSiNB+IPhvixK9p3ujCK6VpxngzogiRq/ZFoUmIYg5jfnjswjkMl?= =?us-ascii?Q?0o7Lu5zCQYPlGuAnhWdVBRocE0iA/3IJ1S7rGXrGCfc8dja+DxtnGzQ59l1r?= =?us-ascii?Q?JRZXJcCCBqvkKM+GZx78xWspWPucbmvPn+vaMJF6pm3r7jX96iTaATFOGnEq?= =?us-ascii?Q?ITquwKMDiXic6zHobL/YbejRjpv4A0okOV/Xp8a5oMel1m9rYD6Sj3DJzWEq?= =?us-ascii?Q?7U2fbbLcVN5/dgsVird/x5Y1L7o0UXT0RVNGjLTAVFG5c6XOqahxCVDownz9?= =?us-ascii?Q?quljo6f0oD817fQXT6rfdVoZZ12BG+iPnuJIMAskVB4Ev1r8mvw0S0BKJSd9?= =?us-ascii?Q?dCtyt5hL5oFyJa8ATL+cFj/FLRTXJwKWoJ2zI66LW09V1rlFEGN4oXc3HnQF?= =?us-ascii?Q?watF9Oc/K93MlCthKgCBjLBDZ7CW9mFRuhXjYFtzCfMFxsUboJ1CQw3yvf9e?= =?us-ascii?Q?sTFmpQkPTW48JihU9PmiBYsUuVdnKPgfZWf5FRejEkOjV2N1z2oEePulZtSl?= =?us-ascii?Q?G93sfBGy7KG3M8Qrc0SrXFRk3sJfoRN/qv8XX251H1DbGFQV4nvq8jFm4l1K?= =?us-ascii?Q?eNopg+0RKC94s6lPwaUS/6W7?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 88cc2068-00e0-47d9-49ea-08d997a47a1d X-MS-Exchange-CrossTenant-AuthSource: AS8PR01MB8404.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2021 10:44:53.4511 (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: eaC/mufokFy+tF2BwvzhvjUYf1HNHBpOFF/Xijln6HS7G5uc6anCaSHN6bTmqd8SkU5eWZ0iCxVhRhi6nvGlqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR01MB8053 Received-SPF: pass client-ip=40.107.7.138; envelope-from=e.fraga@ucl.ac.uk; helo=EUR04-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635158914; 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=AflL2ZTWjQLdWctxOR018vy0abNI/TxPg+Mqdpv+Cj4=; b=DyphKCEWJXUe0KmzbOA/84DHSagrabwU6FOcRh/aMLLf4A5Gt1h0mj+342fAiaREYQ5jTZ 7R5rd6pfuckv8CKeSsq0r3SNsmA75cXIj4qSTgTbjo1lIP4mZGADD5HIBAkCYw7dId6bRt 0yHUpcNwiovTB5yUwW0Qo8LoGQWmeNX1Tf+mCvE+EUCG0Mp6NaFyT3S+AlP9mZa4/KAF2N NtdKMxPLMLwNJyJUEzmJiuFJdPWNJ/f+6YU4e/dBS9nKdOGea+tDJoOlan3iv37TYCCGo8 TnnV00xVxoEDbUZDJT+Ta4tdBeYvZZ6JuVoXmrn3Kt8xH6kEuKJzPxuVwfv/zw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1635158914; a=rsa-sha256; cv=pass; b=QEFsShZhjOJJ9CUSo2+AiC2nP9oQMxwJwyabDft6cwbHKTQZmSUzueOJiAWnyNEBYrj7Px NzhyE8X66Z7fDc0pu/JOsBdqcqosUATws/fwNS5hQ6vj79hDcwfbssgEciYMWxmQ9zLmB3 psVOhwVqtMWYHO5EG52sbKTZmcs3Bw2JWl80Pzpzx2vHJHb5RlnRm2cnpU2E+pqXziYcnq 6FxccHv3poUSu02CSlP3kTN2k+eMKmrSqgXTFIPvVGgVAQO6w0W5Ucm6v14eFMg1fjBoGQ 8B9GZFqT28ikO9KYCnRn3vgiNnFSqfw1GzBp3GYiXN56kbXITOeqeo+7ekRlGA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=aHvvnKM9; 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=aHvvnKM9; 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C642FB7F3 X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZoDUYRpz/QDQ --=-=-= Content-Type: text/plain On Friday, 22 Oct 2021 at 16:27, Jason Ross wrote: > Are there any workarounds people use to create subfigures in Org Mode > when exporting to LaTeX? Example output: The attached should do the job? At least, it seems to export to your sample LaTeX. I cannot compile as for some reason subcaption conflicts with my standard org to LaTeX setup. -- : Eric S Fraga via Emacs 28.0.60, Org release_9.5-163-g4eab5b : Latest paper written in org: https://arxiv.org/abs/2106.05096 --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=t.org #+latex_header: \usepackage[demo]{graphicx} #+latex_header: \usepackage{subcaption} * Question Are there any workarounds people use to create subfigures in Org Mode when exporting to LaTeX? Example output: * Attempt #+name: fig:fig #+caption: plots of.... #+begin_figure #+name: fig:sfig1 #+caption: 1a #+attr_latex: :options {0.5\textwidth} #+begin_subfigure #+attr_latex: :width 0.8\linewidth [[~/s/test/mip.png]] #+end_subfigure #+name: fig:sfig2 #+attr_latex: :options {0.5\textwidth} #+caption: 1a #+begin_subfigure #+attr_latex: :width 0.8\linewidth [[~/s/test/mip.png]] #+end_subfigure #+end_figure --=-=-=--