From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qMyVO8MucGHMYAAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 16:59:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ODgwN8MucGG1YQAA1q6Kng (envelope-from ) for ; Wed, 20 Oct 2021 14:59:15 +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 7719411F9A for ; Wed, 20 Oct 2021 16:59:15 +0200 (CEST) Received: from localhost ([::1]:49874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdD3i-0003IU-Fc for larch@yhetil.org; Wed, 20 Oct 2021 10:59:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdD2c-0002xT-3W for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 10:58:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:32991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdD2Z-0004yF-FC for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 10:58:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A76BE240106 for ; Wed, 20 Oct 2021 16:57:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634741879; bh=x0xaDurBMua76m/bQtzsGtfWdQv8z1ZuFdxe5lxZmrs=; h=From:To:Subject:Date:From; b=pxv4TWO8NgbbAZ1YwWr/zM2ko6otZmSgk91fznoWhaOkn8r3oDgykgmocqhH+bXPG IFkcn3Br/uEhzC+YRi4WnHXGq9+fsDryZBKHKbQwXZdKaivW7dy/M0qSwJnWgXBBgO siJbu9Qb+/FbMnCVFXFKCD+ikdam5CcFATmEeHx9j/aKUXiaGqlKMaiAtU19KgK/wg MKn849vkb5R4BgGPI/snajYYeJRzd28gFKG3DihE2hzgYoHVKMA8VspLkcGUb/D6Ro aHiE0fuuwlc4ee4WRWiBOQAKfNsgk6c/oS/O+f0zDnKlvHlqyX2EgFVJsXj+3KuQED ZX3SGv0b0R/Lw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HZDHp6JlZz9rxY for ; Wed, 20 Oct 2021 16:57:58 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Fancy underlines in Org to LaTeX Date: Wed, 20 Oct 2021 14:57:57 +0000 Message-ID: <87sfwvlp56.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634741955; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=x0xaDurBMua76m/bQtzsGtfWdQv8z1ZuFdxe5lxZmrs=; b=cABY0vUNPNaT8gQQKkRL+aBkRUbR6VnY7NI6PXT1vTFRQMtR6QdaD0YF+KBJP+CFHp8A6h +FHj3AqW1DLAl/GBpQEr5SpIIRbBvcXXnvGiXsR41k0Xs1/v8IVu7x4lciM9ShVL7Xp3o6 I99Fc4uDVulpZx4u4Ela00/zY+ng0VdKL7iI7oH5OesU3l+eycugYggD1f+J2w7jsRL6Tx 7SCmv6nwF28x1JpJL41zOGgxn60+hjKTvLwPD4tkyBhvumLOnpPcq6pEFQc3eGnzGBGewk 0p6P61lTdB+qnBz6Zc8oZEy4aVivvWOVqu5eWmsL/r7zRQqSyTqHxsQuVdkDCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634741955; a=rsa-sha256; cv=none; b=GWU0ijVdLEW9W73ZrUsG7nR/di3QnK9RWc/juopAn8inLRGewftFAI8+iMEHkftI0b/FYl WhmDF6q3oLrVD+nHkLRDsAYy7BUeryhch5PysOU+5cTZLTT8bgSyIfSgHQK6Q2jhmuTF0A 7bva9gSroC46ZFbOhwWKbLMA3ZPsH0kqM+XXwXkjVPQbzt0HQtYNTeWwOjipkgAJ1R2g0W E+sRtQauOnAW2EvnhSN8ZPBsthdw9qmd812/X4CAm0ksdCXsQUtWTChoNOyayaKD1pm7P5 tMYITOyI2XZqbhTxKYJT7/ZOurIM3zDC6PJ0oq3uTXgzd3aPeyeNlcLaHBIxwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pxv4TWO8; dmarc=pass (policy=none) header.from=posteo.net; 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.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pxv4TWO8; dmarc=pass (policy=none) header.from=posteo.net; 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: 7719411F9A X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: mHWJpL3odAn9 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, A very interesting LaTeX package, soulpos (by Javier Bezos), has recently been uploaded to CTAN, which allows you to define personalized underlining styles in a very free way: https://www.ctan.org/pkg/soulpos I have tried to adapt its use to Org, so I am attaching a small test document here. In the preamble I have defined a command \myuline (with the xparse syntax), with five different values for \uline: - \myuline the default value, a single underline, - \myuline[ul1], \myuline[ul2], \myuline[ul3] and \myuline[ul4], four different underline styles, taken from the examples in the soulpos documentation. See this screenshot: https://i.imgur.com/UK6W8sl.png Best regards, Juan Manuel -- -- ------------------------------------------------------ Juan Manuel Mac=C3=ADas https://juanmanuelmacias.com/ --=-=-= Content-Type: application/vnd.lotus-organizer Content-Disposition: attachment; filename=soulpos-test.org Content-Transfer-Encoding: base64 IytUSVRMRTogU291bHBvcyB0ZXN0CiMrT1BUSU9OUzogdG9jOm5pbAojK09QVElPTlM6IGF1dGhv cjpuaWwKIytPUFRJT05TOiBkYXRlOm5pbAojK09QVElPTlM6IHRpdGxlOm5pbAoKKiBUZXN0cwog IDpQUk9QRVJUSUVTOgogIDpDUkVBRE86ICAgWzIwMjEtMTAtMjAgbWnDqSAxNjoxMF0KICA6RU5E OgoKTG9yZW0gaXBzdW0gZG9sb3Igc2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